diff --git a/sdk/relay/azure-mgmt-relay/CHANGELOG.md b/sdk/relay/azure-mgmt-relay/CHANGELOG.md index f0dc6bcd93c8..660921f2745d 100644 --- a/sdk/relay/azure-mgmt-relay/CHANGELOG.md +++ b/sdk/relay/azure-mgmt-relay/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.1.0 (2021-09-06) + +**Features** + + - generated by new autorest + ## 1.0.0 (2020-12-22) - GA release diff --git a/sdk/relay/azure-mgmt-relay/MANIFEST.in b/sdk/relay/azure-mgmt-relay/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/relay/azure-mgmt-relay/MANIFEST.in +++ b/sdk/relay/azure-mgmt-relay/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/relay/azure-mgmt-relay/_meta.json b/sdk/relay/azure-mgmt-relay/_meta.json new file mode 100644 index 000000000000..13e1e65bcc38 --- /dev/null +++ b/sdk/relay/azure-mgmt-relay/_meta.json @@ -0,0 +1,11 @@ +{ + "autorest": "3.4.5", + "use": [ + "@autorest/python@5.8.4", + "@autorest/modelerfour@4.19.2" + ], + "commit": "327b222a6bb23bd1edfe14a75fd8cdc53b4faf61", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/relay/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5", + "readme": "specification/relay/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_metadata.json b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_metadata.json new file mode 100644 index 000000000000..4ce42f2ebea1 --- /dev/null +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_metadata.json @@ -0,0 +1,106 @@ +{ + "chosen_version": "2017-04-01", + "total_api_version_list": ["2017-04-01"], + "client": { + "name": "RelayAPI", + "filename": "_relay_api", + "description": "Use these API to manage Azure Relay resources through Azure Resource Manager.", + "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\": [\"RelayAPIConfiguration\"]}}, \"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\": [\"RelayAPIConfiguration\"]}}, \"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": "Subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "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": "Subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "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", + "namespaces": "NamespacesOperations", + "hybrid_connections": "HybridConnectionsOperations", + "wcf_relays": "WCFRelaysOperations" + } +} \ No newline at end of file diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_relay_api.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_relay_api.py index 0786f6e6b3c6..3bfceca35349 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_relay_api.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_relay_api.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 RelayAPIConfiguration from .operations import Operations @@ -71,6 +72,24 @@ def __init__( self.wcf_relays = WCFRelaysOperations( 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/relay/azure-mgmt-relay/azure/mgmt/relay/_version.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_version.py index c47f66669f1b..59deb8c7263b 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_version.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/_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 = "1.1.0" diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/_relay_api.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/_relay_api.py index 1d0bdc654b74..fcc4e8abe27e 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/_relay_api.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/_relay_api.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 @@ -68,6 +69,23 @@ def __init__( self.wcf_relays = WCFRelaysOperations( 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/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_hybrid_connections_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_hybrid_connections_operations.py index a017bbf53d20..9a8ddf571bee 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_hybrid_connections_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_hybrid_connections_operations.py @@ -45,7 +45,7 @@ def list_by_namespace( self, resource_group_name: str, namespace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.HybridConnectionListResult"]: """Lists the hybrid connection within the namespace. @@ -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) @@ -122,7 +122,7 @@ async def create_or_update( namespace_name: str, hybrid_connection_name: str, parameters: "_models.HybridConnection", - **kwargs + **kwargs: Any ) -> "_models.HybridConnection": """Creates or updates a service hybrid connection. This operation is idempotent. @@ -176,7 +176,7 @@ async def create_or_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('HybridConnection', pipeline_response) @@ -192,7 +192,7 @@ async def delete( resource_group_name: str, namespace_name: str, hybrid_connection_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a hybrid connection. @@ -239,7 +239,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: @@ -252,7 +252,7 @@ async def get( resource_group_name: str, namespace_name: str, hybrid_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.HybridConnection": """Returns the description for the specified hybrid connection. @@ -299,7 +299,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('HybridConnection', pipeline_response) @@ -315,7 +315,7 @@ def list_authorization_rules( resource_group_name: str, namespace_name: str, hybrid_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AuthorizationRuleListResult"]: """Authorization rules for a hybrid connection. @@ -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) @@ -396,7 +396,7 @@ async def create_or_update_authorization_rule( hybrid_connection_name: str, authorization_rule_name: str, parameters: "_models.AuthorizationRule", - **kwargs + **kwargs: Any ) -> "_models.AuthorizationRule": """Creates or updates an authorization rule for a hybrid connection. @@ -453,7 +453,7 @@ async def create_or_update_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -470,7 +470,7 @@ async def delete_authorization_rule( namespace_name: str, hybrid_connection_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a hybrid connection authorization rule. @@ -520,7 +520,7 @@ async def delete_authorization_rule( 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: @@ -534,7 +534,7 @@ async def get_authorization_rule( namespace_name: str, hybrid_connection_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> "_models.AuthorizationRule": """Hybrid connection authorization rule for a hybrid connection by name. @@ -584,7 +584,7 @@ async def get_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -601,7 +601,7 @@ async def list_keys( namespace_name: str, hybrid_connection_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> "_models.AccessKeys": """Primary and secondary connection strings to the hybrid connection. @@ -651,7 +651,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('AccessKeys', pipeline_response) @@ -669,7 +669,7 @@ async def regenerate_keys( hybrid_connection_name: str, authorization_rule_name: str, parameters: "_models.RegenerateAccessKeyParameters", - **kwargs + **kwargs: Any ) -> "_models.AccessKeys": """Regenerates the primary or secondary connection strings to the hybrid connection. @@ -726,7 +726,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('AccessKeys', pipeline_response) diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_namespaces_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_namespaces_operations.py index f5e251146c16..0a213e54d254 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_namespaces_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_namespaces_operations.py @@ -46,7 +46,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: async def check_name_availability( self, parameters: "_models.CheckNameAvailability", - **kwargs + **kwargs: Any ) -> "_models.CheckNameAvailabilityResult": """Check the specified namespace name availability. @@ -91,7 +91,7 @@ async def check_name_availability( 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('CheckNameAvailabilityResult', pipeline_response) @@ -104,7 +104,7 @@ async def check_name_availability( def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RelayNamespaceListResult"]: """Lists all the available namespaces within the subscription regardless of the resourceGroups. @@ -158,7 +158,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) @@ -172,7 +172,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RelayNamespaceListResult"]: """Lists all the available namespaces within the ResourceGroup. @@ -229,7 +229,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) @@ -245,7 +245,7 @@ async def _create_or_update_initial( resource_group_name: str, namespace_name: str, parameters: "_models.RelayNamespace", - **kwargs + **kwargs: Any ) -> "_models.RelayNamespace": cls = kwargs.pop('cls', None) # type: ClsType["_models.RelayNamespace"] error_map = { @@ -283,7 +283,7 @@ async def _create_or_update_initial( 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: @@ -303,7 +303,7 @@ async def begin_create_or_update( resource_group_name: str, namespace_name: str, parameters: "_models.RelayNamespace", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.RelayNamespace"]: """Create Azure Relay namespace. @@ -315,8 +315,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.relay.models.RelayNamespace :keyword callable cls: A custom type or function 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: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in 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 RelayNamespace or the result of cls(response) @@ -373,7 +373,7 @@ async def _delete_initial( self, resource_group_name: str, namespace_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -406,7 +406,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 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: @@ -418,7 +418,7 @@ async def begin_delete( self, resource_group_name: str, namespace_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing namespace. This operation also removes all associated resources under the namespace. @@ -429,8 +429,8 @@ async def begin_delete( :type namespace_name: str :keyword callable cls: A custom type or function 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: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in 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) @@ -483,7 +483,7 @@ async def get( self, resource_group_name: str, namespace_name: str, - **kwargs + **kwargs: Any ) -> "_models.RelayNamespace": """Returns the description for the specified namespace. @@ -527,7 +527,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('RelayNamespace', pipeline_response) @@ -543,7 +543,7 @@ async def update( resource_group_name: str, namespace_name: str, parameters: "_models.RelayUpdateParameters", - **kwargs + **kwargs: Any ) -> "_models.RelayNamespace": """Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent. @@ -595,7 +595,7 @@ async def 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: @@ -614,7 +614,7 @@ def list_authorization_rules( self, resource_group_name: str, namespace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AuthorizationRuleListResult"]: """Authorization rules for a namespace. @@ -674,7 +674,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) @@ -691,7 +691,7 @@ async def create_or_update_authorization_rule( namespace_name: str, authorization_rule_name: str, parameters: "_models.AuthorizationRule", - **kwargs + **kwargs: Any ) -> "_models.AuthorizationRule": """Creates or updates an authorization rule for a namespace. @@ -745,7 +745,7 @@ async def create_or_update_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -761,7 +761,7 @@ async def delete_authorization_rule( resource_group_name: str, namespace_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a namespace authorization rule. @@ -808,7 +808,7 @@ async def delete_authorization_rule( 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: @@ -821,7 +821,7 @@ async def get_authorization_rule( resource_group_name: str, namespace_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> "_models.AuthorizationRule": """Authorization rule for a namespace by name. @@ -868,7 +868,7 @@ async def get_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -884,7 +884,7 @@ async def list_keys( resource_group_name: str, namespace_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> "_models.AccessKeys": """Primary and secondary connection strings to the namespace. @@ -931,7 +931,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('AccessKeys', pipeline_response) @@ -948,7 +948,7 @@ async def regenerate_keys( namespace_name: str, authorization_rule_name: str, parameters: "_models.RegenerateAccessKeyParameters", - **kwargs + **kwargs: Any ) -> "_models.AccessKeys": """Regenerates the primary or secondary connection strings to the namespace. @@ -1002,7 +1002,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('AccessKeys', pipeline_response) diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_operations.py index 504e703d4197..ae7b426b5abd 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Lists all available Relay REST API operations. @@ -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/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_wcf_relays_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_wcf_relays_operations.py index 242f111fe9e5..495577abf105 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_wcf_relays_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/aio/operations/_wcf_relays_operations.py @@ -45,7 +45,7 @@ def list_by_namespace( self, resource_group_name: str, namespace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.WcfRelaysListResult"]: """Lists the WCF relays within the namespace. @@ -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) @@ -122,7 +122,7 @@ async def create_or_update( namespace_name: str, relay_name: str, parameters: "_models.WcfRelay", - **kwargs + **kwargs: Any ) -> "_models.WcfRelay": """Creates or updates a WCF relay. This operation is idempotent. @@ -176,7 +176,7 @@ async def create_or_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('WcfRelay', pipeline_response) @@ -192,7 +192,7 @@ async def delete( resource_group_name: str, namespace_name: str, relay_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a WCF relay. @@ -239,7 +239,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: @@ -252,7 +252,7 @@ async def get( resource_group_name: str, namespace_name: str, relay_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.WcfRelay"]: """Returns the description for the specified WCF relay. @@ -299,7 +299,7 @@ async def get( 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) deserialized = None @@ -317,7 +317,7 @@ def list_authorization_rules( resource_group_name: str, namespace_name: str, relay_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AuthorizationRuleListResult"]: """Authorization rules for a WCF relay. @@ -397,7 +397,7 @@ async def create_or_update_authorization_rule( relay_name: str, authorization_rule_name: str, parameters: "_models.AuthorizationRule", - **kwargs + **kwargs: Any ) -> "_models.AuthorizationRule": """Creates or updates an authorization rule for a WCF relay. @@ -454,7 +454,7 @@ async def create_or_update_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -471,7 +471,7 @@ async def delete_authorization_rule( namespace_name: str, relay_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a WCF relay authorization rule. @@ -521,7 +521,7 @@ async def delete_authorization_rule( 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: @@ -535,7 +535,7 @@ async def get_authorization_rule( namespace_name: str, relay_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> "_models.AuthorizationRule": """Get authorizationRule for a WCF relay by name. @@ -585,7 +585,7 @@ async def get_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -602,7 +602,7 @@ async def list_keys( namespace_name: str, relay_name: str, authorization_rule_name: str, - **kwargs + **kwargs: Any ) -> "_models.AccessKeys": """Primary and secondary connection strings to the WCF relay. @@ -652,7 +652,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('AccessKeys', pipeline_response) @@ -670,7 +670,7 @@ async def regenerate_keys( relay_name: str, authorization_rule_name: str, parameters: "_models.RegenerateAccessKeyParameters", - **kwargs + **kwargs: Any ) -> "_models.AccessKeys": """Regenerates the primary or secondary connection strings to the WCF relay. @@ -727,7 +727,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('AccessKeys', pipeline_response) diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models.py index 5ef1a6551e4b..1c63266d15fd 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models.py @@ -688,15 +688,15 @@ class Sku(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar name: Required. Name of this SKU. Default value: "Standard". + :ivar name: Name of this SKU. Has constant value: "Standard". :vartype name: str - :ivar tier: The tier of this SKU. Default value: "Standard". - :vartype tier: str + :param tier: The tier of this SKU. The only acceptable values to pass in are None and + "Standard". The default value is None. + :type tier: str """ _validation = { 'name': {'required': True, 'constant': True}, - 'tier': {'constant': True}, } _attribute_map = { @@ -705,13 +705,13 @@ class Sku(msrest.serialization.Model): } name = "Standard" - tier = "Standard" def __init__( self, **kwargs ): super(Sku, self).__init__(**kwargs) + self.tier = kwargs.get('tier', None) class WcfRelay(Resource): diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models_py3.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models_py3.py index 48cdcd8c783e..03221951b2dd 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models_py3.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/models/_models_py3.py @@ -737,15 +737,15 @@ class Sku(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :ivar name: Required. Name of this SKU. Default value: "Standard". + :ivar name: Name of this SKU. Has constant value: "Standard". :vartype name: str - :ivar tier: The tier of this SKU. Default value: "Standard". - :vartype tier: str + :param tier: The tier of this SKU. The only acceptable values to pass in are None and + "Standard". The default value is None. + :type tier: str """ _validation = { 'name': {'required': True, 'constant': True}, - 'tier': {'constant': True}, } _attribute_map = { @@ -754,13 +754,15 @@ class Sku(msrest.serialization.Model): } name = "Standard" - tier = "Standard" def __init__( self, + *, + tier: Optional[str] = None, **kwargs ): super(Sku, self).__init__(**kwargs) + self.tier = tier class WcfRelay(Resource): diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_hybrid_connections_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_hybrid_connections_operations.py index 75144c17f0f3..19037210fe16 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_hybrid_connections_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_hybrid_connections_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) @@ -182,7 +182,7 @@ def create_or_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('HybridConnection', pipeline_response) @@ -246,7 +246,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: @@ -307,7 +307,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('HybridConnection', pipeline_response) @@ -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) @@ -463,7 +463,7 @@ def create_or_update_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -531,7 +531,7 @@ def delete_authorization_rule( 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: @@ -596,7 +596,7 @@ def get_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -664,7 +664,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('AccessKeys', pipeline_response) @@ -740,7 +740,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('AccessKeys', pipeline_response) diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_namespaces_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_namespaces_operations.py index 6a42ed83120b..5da271a25902 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_namespaces_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_namespaces_operations.py @@ -96,7 +96,7 @@ def check_name_availability( 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('CheckNameAvailabilityResult', pipeline_response) @@ -164,7 +164,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) @@ -236,7 +236,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) @@ -291,7 +291,7 @@ def _create_or_update_initial( 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: @@ -324,8 +324,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.relay.models.RelayNamespace :keyword callable cls: A custom type or function 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: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in 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 RelayNamespace or the result of cls(response) @@ -416,7 +416,7 @@ def _delete_initial( if response.status_code not in [200, 202, 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: @@ -440,8 +440,8 @@ def begin_delete( :type namespace_name: str :keyword callable cls: A custom type or function 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: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in 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) @@ -539,7 +539,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('RelayNamespace', pipeline_response) @@ -608,7 +608,7 @@ def 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: @@ -688,7 +688,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) @@ -760,7 +760,7 @@ def create_or_update_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -824,7 +824,7 @@ def delete_authorization_rule( 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: @@ -885,7 +885,7 @@ def get_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -949,7 +949,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('AccessKeys', pipeline_response) @@ -1021,7 +1021,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('AccessKeys', pipeline_response) diff --git a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_operations.py index 7c0dfdd28b4e..62feb3749fb8 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_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/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_wcf_relays_operations.py b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_wcf_relays_operations.py index 90c3ace7d3bf..b3f42d45e81d 100644 --- a/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_wcf_relays_operations.py +++ b/sdk/relay/azure-mgmt-relay/azure/mgmt/relay/operations/_wcf_relays_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) @@ -182,7 +182,7 @@ def create_or_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('WcfRelay', pipeline_response) @@ -246,7 +246,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: @@ -307,7 +307,7 @@ def get( 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) deserialized = None @@ -464,7 +464,7 @@ def create_or_update_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -532,7 +532,7 @@ def delete_authorization_rule( 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: @@ -597,7 +597,7 @@ def get_authorization_rule( 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('AuthorizationRule', pipeline_response) @@ -665,7 +665,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('AccessKeys', pipeline_response) @@ -741,7 +741,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('AccessKeys', pipeline_response) diff --git a/sdk/relay/azure-mgmt-relay/setup.py b/sdk/relay/azure-mgmt-relay/setup.py index 7029f5db20ab..40a05a9f7ebe 100644 --- a/sdk/relay/azure-mgmt-relay/setup.py +++ b/sdk/relay/azure-mgmt-relay/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/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_hybridconnection.test_hybridconnetion_curd.yaml b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_hybridconnection.test_hybridconnetion_curd.yaml index 8221c857fc82..4343566aedb0 100644 --- a/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_hybridconnection.test_hybridconnetion_curd.yaml +++ b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_hybridconnection.test_hybridconnetion_curd.yaml @@ -14,31 +14,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection","name":"testingpythontestcasenamespacehybridconnection","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2020-12-22T03:33:22.987Z","updatedAt":"2020-12-22T03:33:22.987Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2021-09-03T03:08:49.9Z","updatedAt":"2021-09-03T03:08:49.9Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '772' + - '773' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:33:24 GMT + - Fri, 03 Sep 2021 03:08:50 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -62,22 +63,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection","name":"testingpythontestcasenamespacehybridconnection","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2020-12-22T03:33:22.987Z","updatedAt":"2020-12-22T03:33:22.987Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2021-09-03T03:08:49.9Z","updatedAt":"2021-09-03T03:08:49.9Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '772' + - '773' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:33:54 GMT + - Fri, 03 Sep 2021 03:09:20 GMT expires: - '-1' pragma: @@ -108,31 +110,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection","name":"testingpythontestcasenamespacehybridconnection","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2020-12-22T03:33:22.987Z","updatedAt":"2020-12-22T03:34:06.027Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2021-09-03T03:08:49.9Z","updatedAt":"2021-09-03T03:09:34.433Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '770' + - '773' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:24 GMT + - Fri, 03 Sep 2021 03:09:50 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -154,31 +157,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection","name":"testingpythontestcasenamespacehybridconnection","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2020-12-22T03:33:22.987Z","updatedAt":"2020-12-22T03:34:06.027Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespacehybridconnection","createdAt":"2021-09-03T03:08:49.9Z","updatedAt":"2021-09-03T03:09:34.433Z","serviceBusEndpoint":"https://testingpythontestcasenamespacehybridconnection.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '770' + - '773' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:25 GMT + - Fri, 03 Sep 2021 03:09:50 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -205,23 +209,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection?api-version=2017-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection","name":"testingpythontestcasehybridconnection","type":"Microsoft.Relay/Namespaces/HybridConnections","location":"West - US","properties":{"createdAt":"2020-12-22T03:34:27.9322971Z","updatedAt":"2020-12-22T03:34:27.9322971Z","listenerCount":0,"requiresClientAuthorization":true,"userMetadata":"User + US","properties":{"createdAt":"2021-09-03T03:09:52.4570713Z","updatedAt":"2021-09-03T03:09:52.4570713Z","listenerCount":0,"requiresClientAuthorization":true,"userMetadata":"User data for HybridConnection"}}' headers: cache-control: - no-cache content-length: - - '606' + - '611' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:27 GMT + - Fri, 03 Sep 2021 03:09:52 GMT expires: - '-1' pragma: @@ -254,23 +259,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection?api-version=2017-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection","name":"testingpythontestcasehybridconnection","type":"Microsoft.Relay/Namespaces/HybridConnections","location":"West - US","properties":{"createdAt":"2020-12-22T03:34:27.9322971Z","updatedAt":"2020-12-22T03:34:27.9322971Z","listenerCount":0,"requiresClientAuthorization":true,"userMetadata":"User + US","properties":{"createdAt":"2021-09-03T03:09:52.4570713Z","updatedAt":"2021-09-03T03:09:52.4570713Z","listenerCount":0,"requiresClientAuthorization":true,"userMetadata":"User data for HybridConnection"}}' headers: cache-control: - no-cache content-length: - - '606' + - '611' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:28 GMT + - Fri, 03 Sep 2021 03:09:52 GMT expires: - '-1' pragma: @@ -301,23 +307,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections?api-version=2017-04-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection","name":"testingpythontestcasehybridconnection","type":"Microsoft.Relay/Namespaces/HybridConnections","location":"West - US","properties":{"createdAt":"2020-12-22T03:34:27.9322971Z","updatedAt":"2020-12-22T03:34:27.9322971Z","listenerCount":0,"requiresClientAuthorization":true,"userMetadata":"User + US","properties":{"createdAt":"2021-09-03T03:09:52.4570713Z","updatedAt":"2021-09-03T03:09:52.4570713Z","listenerCount":0,"requiresClientAuthorization":true,"userMetadata":"User data for HybridConnection"}}]}' headers: cache-control: - no-cache content-length: - - '618' + - '623' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:29 GMT + - Fri, 03 Sep 2021 03:09:52 GMT expires: - '-1' pragma: @@ -354,7 +361,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection?api-version=2017-04-01 response: @@ -366,20 +374,20 @@ interactions: cache-control: - no-cache content-length: - - '596' + - '601' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:30 GMT + - Fri, 03 Sep 2021 03:09:53 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -407,7 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -418,20 +427,20 @@ interactions: cache-control: - no-cache content-length: - - '482' + - '487' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:31 GMT + - Fri, 03 Sep 2021 03:09:53 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -455,7 +464,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -466,11 +476,11 @@ interactions: cache-control: - no-cache content-length: - - '482' + - '487' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:32 GMT + - Fri, 03 Sep 2021 03:09:53 GMT expires: - '-1' pragma: @@ -505,7 +515,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -516,11 +527,11 @@ interactions: cache-control: - no-cache content-length: - - '491' + - '496' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:32 GMT + - Fri, 03 Sep 2021 03:09:54 GMT expires: - '-1' pragma: @@ -553,7 +564,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules?api-version=2017-04-01 response: @@ -564,11 +576,11 @@ interactions: cache-control: - no-cache content-length: - - '503' + - '508' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:33 GMT + - Fri, 03 Sep 2021 03:09:54 GMT expires: - '-1' pragma: @@ -601,12 +613,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules/testingauthrulepy/listKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=kVUA3jngk5bfCunJhQfLYH2zjwd4TmGs928vfZ3AiNg=;EntityPath=testingpythontestcasehybridconnection","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Ro86PuoQuFgdbT5u3sh/kjnA60ZQuznylcrUnSKhkxk=;EntityPath=testingpythontestcasehybridconnection","primaryKey":"kVUA3jngk5bfCunJhQfLYH2zjwd4TmGs928vfZ3AiNg=","secondaryKey":"Ro86PuoQuFgdbT5u3sh/kjnA60ZQuznylcrUnSKhkxk=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=O6uOlLxeGWZGidUUA/bSvPPtzOeDkybJyPrvlNm6Yk0=;EntityPath=testingpythontestcasehybridconnection","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=GWZDi4nC8qzqU9qfm32kZzdmKZhBNWoJyWiTNYZdasU=;EntityPath=testingpythontestcasehybridconnection","primaryKey":"O6uOlLxeGWZGidUUA/bSvPPtzOeDkybJyPrvlNm6Yk0=","secondaryKey":"GWZDi4nC8qzqU9qfm32kZzdmKZhBNWoJyWiTNYZdasU=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -615,7 +628,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:33 GMT + - Fri, 03 Sep 2021 03:09:55 GMT expires: - '-1' pragma: @@ -652,12 +665,13 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=eRRpAMNY+e/96rKi9t3DZ2xGZUrh5XlmZcNfvJgxcLI=;EntityPath=testingpythontestcasehybridconnection","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Ro86PuoQuFgdbT5u3sh/kjnA60ZQuznylcrUnSKhkxk=;EntityPath=testingpythontestcasehybridconnection","primaryKey":"eRRpAMNY+e/96rKi9t3DZ2xGZUrh5XlmZcNfvJgxcLI=","secondaryKey":"Ro86PuoQuFgdbT5u3sh/kjnA60ZQuznylcrUnSKhkxk=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=ok51xI8zpHZDr0/qepA7PKvCL/zPYvCao3j9uN+nfKM=;EntityPath=testingpythontestcasehybridconnection","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=GWZDi4nC8qzqU9qfm32kZzdmKZhBNWoJyWiTNYZdasU=;EntityPath=testingpythontestcasehybridconnection","primaryKey":"ok51xI8zpHZDr0/qepA7PKvCL/zPYvCao3j9uN+nfKM=","secondaryKey":"GWZDi4nC8qzqU9qfm32kZzdmKZhBNWoJyWiTNYZdasU=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -666,16 +680,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:34 GMT + - Fri, 03 Sep 2021 03:09:55 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -703,12 +717,13 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=eRRpAMNY+e/96rKi9t3DZ2xGZUrh5XlmZcNfvJgxcLI=;EntityPath=testingpythontestcasehybridconnection","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=Mw1hfVP1RTmjd5vs6fap05u4xBgOd5uBAuF1jPmV2ys=;EntityPath=testingpythontestcasehybridconnection","primaryKey":"eRRpAMNY+e/96rKi9t3DZ2xGZUrh5XlmZcNfvJgxcLI=","secondaryKey":"Mw1hfVP1RTmjd5vs6fap05u4xBgOd5uBAuF1jPmV2ys=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=ok51xI8zpHZDr0/qepA7PKvCL/zPYvCao3j9uN+nfKM=;EntityPath=testingpythontestcasehybridconnection","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespacehybridconnection.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=u4H4VtqJtX9cUyODTAEjZqhfeUg6nCM8NenjbveHsOg=;EntityPath=testingpythontestcasehybridconnection","primaryKey":"ok51xI8zpHZDr0/qepA7PKvCL/zPYvCao3j9uN+nfKM=","secondaryKey":"u4H4VtqJtX9cUyODTAEjZqhfeUg6nCM8NenjbveHsOg=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -717,16 +732,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:34:35 GMT + - Fri, 03 Sep 2021 03:09:56 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -752,7 +767,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -764,16 +780,16 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:34:35 GMT + - Fri, 03 Sep 2021 03:09:56 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -795,7 +811,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/hybridConnections/testingpythontestcasehybridconnection?api-version=2017-04-01 response: @@ -807,16 +824,16 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:34:36 GMT + - Fri, 03 Sep 2021 03:09:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -838,7 +855,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection?api-version=2017-04-01 response: @@ -850,7 +868,7 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:34:37 GMT + - Fri, 03 Sep 2021 03:09:58 GMT expires: - '-1' location: @@ -858,10 +876,10 @@ interactions: pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -881,7 +899,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_hybridconnection_test_hybridconnetion_curdc8bc1815/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespacehybridconnection/operationresults/testingpythontestcasenamespacehybridconnection?api-version=2017-04-01 response: @@ -893,7 +912,7 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:35:14 GMT + - Fri, 03 Sep 2021 03:10:29 GMT expires: - '-1' pragma: diff --git a/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_check_name_availability.test_eh_namespace_available.yaml b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_check_name_availability.test_eh_namespace_available.yaml index 6244f64c4128..35ec2db3c7d8 100644 --- a/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_check_name_availability.test_eh_namespace_available.yaml +++ b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_check_name_availability.test_eh_namespace_available.yaml @@ -13,7 +13,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Relay/checkNameAvailability?api-version=2017-04-01 response: @@ -27,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:35:19 GMT + - Fri, 03 Sep 2021 03:10:30 GMT expires: - '-1' pragma: @@ -46,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK diff --git a/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_namespace.test_relay_namespace_curd.yaml b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_namespace.test_relay_namespace_curd.yaml index e8ab3cdfca87..f23b51f0aa4b 100644 --- a/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_namespace.test_relay_namespace_curd.yaml +++ b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_relay_namespace.test_relay_namespace_curd.yaml @@ -14,31 +14,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2020-12-22T03:35:27.397Z","updatedAt":"2020-12-22T03:35:27.397Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2021-09-03T03:10:33.757Z","updatedAt":"2021-09-03T03:10:33.757Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '707' + - '712' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:35:29 GMT + - Fri, 03 Sep 2021 03:10:33 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -48,7 +49,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 200 message: OK @@ -62,31 +63,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2020-12-22T03:35:27.397Z","updatedAt":"2020-12-22T03:35:27.397Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2021-09-03T03:10:33.757Z","updatedAt":"2021-09-03T03:10:33.757Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '707' + - '712' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:35:59 GMT + - Fri, 03 Sep 2021 03:11:03 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -108,31 +110,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2020-12-22T03:35:27.397Z","updatedAt":"2020-12-22T03:36:09.157Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2021-09-03T03:10:33.757Z","updatedAt":"2021-09-03T03:11:17.993Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '705' + - '710' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:29 GMT + - Fri, 03 Sep 2021 03:11:33 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -154,31 +157,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2020-12-22T03:35:27.397Z","updatedAt":"2020-12-22T03:36:09.157Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2021-09-03T03:10:33.757Z","updatedAt":"2021-09-03T03:11:17.993Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '705' + - '710' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:29 GMT + - Fri, 03 Sep 2021 03:11:33 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -204,31 +208,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Updating","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2020-12-22T03:35:27.397Z","updatedAt":"2020-12-22T03:36:31.79Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Updating","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2021-09-03T03:10:33.757Z","updatedAt":"2021-09-03T03:11:34.917Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '707' + - '713' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:33 GMT + - Fri, 03 Sep 2021 03:11:34 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -238,7 +243,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 200 message: OK @@ -252,31 +257,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces?api-version=2017-04-01 response: body: string: '{"value":[{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2020-12-22T03:35:27.397Z","updatedAt":"2020-12-22T03:36:34Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}]}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Updating","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2021-09-03T03:10:33.757Z","updatedAt":"2021-09-03T03:11:34.917Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}]}' headers: cache-control: - no-cache content-length: - - '713' + - '725' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:34 GMT + - Fri, 03 Sep 2021 03:11:34 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -298,31 +304,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Relay/namespaces?api-version=2017-04-01 response: body: string: '{"value":[{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace","name":"testingpythontestcasenamespace","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2020-12-22T03:35:27.397Z","updatedAt":"2020-12-22T03:36:34Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Active"}}]}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Updating","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcasenamespace","createdAt":"2021-09-03T03:10:33.757Z","updatedAt":"2021-09-03T03:11:34.917Z","serviceBusEndpoint":"https://testingpythontestcasenamespace.servicebus.windows.net:443/","status":"Activating"}}]}' headers: cache-control: - no-cache content-length: - - '713' + - '725' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:34 GMT + - Fri, 03 Sep 2021 03:11:34 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -331,6 +338,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-inline-count: + - '' status: code: 200 message: OK @@ -344,7 +353,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/RootManageSharedAccessKey?api-version=2017-04-01 response: @@ -355,20 +365,20 @@ interactions: cache-control: - no-cache content-length: - - '416' + - '421' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:35 GMT + - Fri, 03 Sep 2021 03:11:35 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -394,7 +404,59 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy?api-version=2017-04-01 + response: + body: + string: '{"error":{"message":"Namespace provisioning in transition. For more + information visit https://aka.ms/eventhubsarmexceptions. CorrelationId: 5acb1e85-f710-4b20-addc-ade8bb4f170d","code":"429"}}' + headers: + cache-control: + - no-cache + connection: + - close + content-length: + - '192' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 03 Sep 2021 03:11:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Service-Bus-Resource-Provider/CH3 + - Microsoft-HTTPAPI/2.0 + server-sb: + - Service-Bus-Resource-Provider/CH3 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 429 + message: '' +- request: + body: '{"properties": {"rights": ["Send", "Listen"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '46' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -405,11 +467,11 @@ interactions: cache-control: - no-cache content-length: - - '391' + - '396' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:41 GMT + - Fri, 03 Sep 2021 03:16:00 GMT expires: - '-1' pragma: @@ -428,7 +490,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 200 message: OK @@ -442,7 +504,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -453,11 +516,11 @@ interactions: cache-control: - no-cache content-length: - - '391' + - '396' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:42 GMT + - Fri, 03 Sep 2021 03:16:01 GMT expires: - '-1' pragma: @@ -492,7 +555,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -503,11 +567,11 @@ interactions: cache-control: - no-cache content-length: - - '400' + - '405' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:49 GMT + - Fri, 03 Sep 2021 03:16:07 GMT expires: - '-1' pragma: @@ -526,7 +590,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1197' status: code: 200 message: OK @@ -540,7 +604,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules?api-version=2017-04-01 response: @@ -552,11 +617,11 @@ interactions: cache-control: - no-cache content-length: - - '829' + - '839' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:49 GMT + - Fri, 03 Sep 2021 03:16:07 GMT expires: - '-1' pragma: @@ -589,12 +654,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy/listKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=kxuuD1hkeQo51iABOZhKQPgoMtM2QwGXZRND4uApzf0=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=lj6UAa0441d+duc85Y0Lkn48N422WduzW/4jy1QxxDo=","primaryKey":"kxuuD1hkeQo51iABOZhKQPgoMtM2QwGXZRND4uApzf0=","secondaryKey":"lj6UAa0441d+duc85Y0Lkn48N422WduzW/4jy1QxxDo=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=DnhpzxQPWod/z3/hNl3hrvAggjUccxAWC7h41MKQCUI=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=SSbYg0hZ6UZoMAaouYZMKmn0SeMUt9saN1h2qcoQYfk=","primaryKey":"DnhpzxQPWod/z3/hNl3hrvAggjUccxAWC7h41MKQCUI=","secondaryKey":"SSbYg0hZ6UZoMAaouYZMKmn0SeMUt9saN1h2qcoQYfk=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -603,7 +669,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:51 GMT + - Fri, 03 Sep 2021 03:16:08 GMT expires: - '-1' pragma: @@ -622,7 +688,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -640,12 +706,13 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=xKqaAcLYBmDuTJO05LzElpNWxrEKdu7bapTTTUajmmc=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=lj6UAa0441d+duc85Y0Lkn48N422WduzW/4jy1QxxDo=","primaryKey":"xKqaAcLYBmDuTJO05LzElpNWxrEKdu7bapTTTUajmmc=","secondaryKey":"lj6UAa0441d+duc85Y0Lkn48N422WduzW/4jy1QxxDo=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=kloJXsCT+sRmKQTj0IFtfJTEUZP2P9l+2niBaaizhgY=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=SSbYg0hZ6UZoMAaouYZMKmn0SeMUt9saN1h2qcoQYfk=","primaryKey":"kloJXsCT+sRmKQTj0IFtfJTEUZP2P9l+2niBaaizhgY=","secondaryKey":"SSbYg0hZ6UZoMAaouYZMKmn0SeMUt9saN1h2qcoQYfk=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -654,7 +721,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:36:57 GMT + - Fri, 03 Sep 2021 03:16:14 GMT expires: - '-1' pragma: @@ -673,7 +740,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 200 message: OK @@ -691,12 +758,13 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=xKqaAcLYBmDuTJO05LzElpNWxrEKdu7bapTTTUajmmc=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=CETepA+aicMYqNDq02K7h8ropncduF2BMwF7iizbTCE=","primaryKey":"xKqaAcLYBmDuTJO05LzElpNWxrEKdu7bapTTTUajmmc=","secondaryKey":"CETepA+aicMYqNDq02K7h8ropncduF2BMwF7iizbTCE=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=kloJXsCT+sRmKQTj0IFtfJTEUZP2P9l+2niBaaizhgY=","secondaryConnectionString":"Endpoint=sb://testingpythontestcasenamespace.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=EY9YxVsjodtQFCXGL7DW5/x1bmVyUJ09xpzB0K+NF/Q=","primaryKey":"kloJXsCT+sRmKQTj0IFtfJTEUZP2P9l+2niBaaizhgY=","secondaryKey":"EY9YxVsjodtQFCXGL7DW5/x1bmVyUJ09xpzB0K+NF/Q=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -705,7 +773,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:37:03 GMT + - Fri, 03 Sep 2021 03:16:20 GMT expires: - '-1' pragma: @@ -724,7 +792,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1197' status: code: 200 message: OK @@ -740,7 +808,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -752,7 +821,7 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:37:09 GMT + - Fri, 03 Sep 2021 03:16:26 GMT expires: - '-1' pragma: @@ -767,7 +836,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14998' status: code: 200 message: OK @@ -781,7 +850,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/authorizationRules?api-version=2017-04-01 response: @@ -792,11 +862,11 @@ interactions: cache-control: - no-cache content-length: - - '428' + - '433' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:37:10 GMT + - Fri, 03 Sep 2021 03:16:27 GMT expires: - '-1' pragma: @@ -829,7 +899,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace?api-version=2017-04-01 response: @@ -841,7 +912,7 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:37:11 GMT + - Fri, 03 Sep 2021 03:16:28 GMT expires: - '-1' location: @@ -858,7 +929,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14997' status: code: 202 message: Accepted @@ -872,7 +943,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_relay_namespace_test_relay_namespace_curdaba01766/providers/Microsoft.Relay/namespaces/testingpythontestcasenamespace/operationresults/testingpythontestcasenamespace?api-version=2017-04-01 response: @@ -884,16 +956,16 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:37:41 GMT + - Fri, 03 Sep 2021 03:16:57 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: diff --git a/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_wcfrelay.test_wcfrelay_curd.yaml b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_wcfrelay.test_wcfrelay_curd.yaml index 161b61d69080..e68533dbb177 100644 --- a/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_wcfrelay.test_wcfrelay_curd.yaml +++ b/sdk/relay/azure-mgmt-relay/tests/recordings/test_azure_mgmt_wcfrelay.test_wcfrelay_curd.yaml @@ -14,31 +14,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub","name":"testingpythontestcaseeventhubnamespaceEventhub","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2020-12-22T03:37:55.04Z","updatedAt":"2020-12-22T03:37:55.04Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2021-09-03T03:17:02.983Z","updatedAt":"2021-09-03T03:17:02.983Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '755' + - '762' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:37:56 GMT + - Fri, 03 Sep 2021 03:17:02 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -62,31 +63,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub","name":"testingpythontestcaseeventhubnamespaceEventhub","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2020-12-22T03:37:55.04Z","updatedAt":"2020-12-22T03:37:55.04Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Created","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2021-09-03T03:17:02.983Z","updatedAt":"2021-09-03T03:17:02.983Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '755' + - '762' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:38:27 GMT + - Fri, 03 Sep 2021 03:17:33 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -108,31 +110,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub","name":"testingpythontestcaseeventhubnamespaceEventhub","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2020-12-22T03:37:55.04Z","updatedAt":"2020-12-22T03:38:39.743Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2021-09-03T03:17:02.983Z","updatedAt":"2021-09-03T03:17:44.973Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '754' + - '760' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:38:58 GMT + - Fri, 03 Sep 2021 03:18:03 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -154,31 +157,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: body: string: '{"sku":{"name":"Standard","tier":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub","name":"testingpythontestcaseeventhubnamespaceEventhub","type":"Microsoft.Relay/Namespaces","location":"West - US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2020-12-22T03:37:55.04Z","updatedAt":"2020-12-22T03:38:39.743Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' + US","tags":{"tag1":"value1","tag2":"value2"},"properties":{"provisioningState":"Succeeded","metricId":"00000000-0000-0000-0000-000000000000:testingpythontestcaseeventhubnamespaceeventhub","createdAt":"2021-09-03T03:17:02.983Z","updatedAt":"2021-09-03T03:17:44.973Z","serviceBusEndpoint":"https://testingpythontestcaseeventhubnamespaceEventhub.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '754' + - '760' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:38:58 GMT + - Fri, 03 Sep 2021 03:18:03 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -205,32 +209,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay?api-version=2017-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay","name":"testingpythontestcasewcfrelay","type":"Microsoft.Relay/Namespaces/WcfRelays","location":"West - US","properties":{"createdAt":"2020-12-22T03:39:00.9355084Z","updatedAt":"2020-12-22T03:39:00.9355084Z","listenerCount":0,"requiresClientAuthorization":true,"relayType":"NetTcp","requiresTransportSecurity":true,"isDynamic":false,"userMetadata":"User + US","properties":{"createdAt":"2021-09-03T03:18:05.7293697Z","updatedAt":"2021-09-03T03:18:05.7293697Z","listenerCount":0,"requiresClientAuthorization":true,"relayType":"NetTcp","requiresTransportSecurity":true,"isDynamic":false,"userMetadata":"User data for WcfRelay"}}' headers: cache-control: - no-cache content-length: - - '623' + - '628' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:01 GMT + - Fri, 03 Sep 2021 03:18:05 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -254,32 +259,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay?api-version=2017-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay","name":"testingpythontestcasewcfrelay","type":"Microsoft.Relay/Namespaces/WcfRelays","location":"West - US","properties":{"createdAt":"2020-12-22T03:39:00.9355084Z","updatedAt":"2020-12-22T03:39:00.9355084Z","listenerCount":0,"requiresClientAuthorization":true,"relayType":"NetTcp","requiresTransportSecurity":true,"isDynamic":false,"userMetadata":"User + US","properties":{"createdAt":"2021-09-03T03:18:05.7293697Z","updatedAt":"2021-09-03T03:18:05.7293697Z","listenerCount":0,"requiresClientAuthorization":true,"relayType":"NetTcp","requiresTransportSecurity":true,"isDynamic":false,"userMetadata":"User data for WcfRelay"}}' headers: cache-control: - no-cache content-length: - - '623' + - '628' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:01 GMT + - Fri, 03 Sep 2021 03:18:05 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -301,32 +307,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays?api-version=2017-04-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay","name":"testingpythontestcasewcfrelay","type":"Microsoft.Relay/Namespaces/WcfRelays","location":"West - US","properties":{"createdAt":"2020-12-22T03:39:00.9355084Z","updatedAt":"2020-12-22T03:39:00.9355084Z","listenerCount":0,"requiresClientAuthorization":true,"relayType":"NetTcp","requiresTransportSecurity":true,"isDynamic":false,"userMetadata":"User + US","properties":{"createdAt":"2021-09-03T03:18:05.7293697Z","updatedAt":"2021-09-03T03:18:05.7293697Z","listenerCount":0,"requiresClientAuthorization":true,"relayType":"NetTcp","requiresTransportSecurity":true,"isDynamic":false,"userMetadata":"User data for WcfRelay"}}]}' headers: cache-control: - no-cache content-length: - - '635' + - '640' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:02 GMT + - Fri, 03 Sep 2021 03:18:06 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -355,7 +362,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay?api-version=2017-04-01 response: @@ -367,20 +375,20 @@ interactions: cache-control: - no-cache content-length: - - '613' + - '618' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:03 GMT + - Fri, 03 Sep 2021 03:18:06 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -408,7 +416,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -419,20 +428,20 @@ interactions: cache-control: - no-cache content-length: - - '443' + - '448' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:03 GMT + - Fri, 03 Sep 2021 03:18:07 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -456,7 +465,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -467,20 +477,20 @@ interactions: cache-control: - no-cache content-length: - - '443' + - '448' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:04 GMT + - Fri, 03 Sep 2021 03:18:07 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -506,7 +516,8 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -517,20 +528,20 @@ interactions: cache-control: - no-cache content-length: - - '452' + - '457' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:04 GMT + - Fri, 03 Sep 2021 03:18:07 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -554,7 +565,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules?api-version=2017-04-01 response: @@ -565,20 +577,20 @@ interactions: cache-control: - no-cache content-length: - - '464' + - '469' content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:05 GMT + - Fri, 03 Sep 2021 03:18:08 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -602,12 +614,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules/testingauthrulepy/listKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=VWaEnVR34vDytJooXuE3+zarQUJJ4dC19A4PpZu0yQE=;EntityPath=testingpythontestcasewcfrelay","secondaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=2iMOsUu7QL5MhF1ci5XU15lYsmpQ2Jy9orqWLBqmA7g=;EntityPath=testingpythontestcasewcfrelay","primaryKey":"VWaEnVR34vDytJooXuE3+zarQUJJ4dC19A4PpZu0yQE=","secondaryKey":"2iMOsUu7QL5MhF1ci5XU15lYsmpQ2Jy9orqWLBqmA7g=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=lrKVVAH/Jk6Ra9Hylp036dLou/k2WEPUbjv6ZM83fzE=;EntityPath=testingpythontestcasewcfrelay","secondaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=6FYTUMBCVAgyPn7wjO1RQYRtmwC5B2a0Y0UC6ZT7qJ4=;EntityPath=testingpythontestcasewcfrelay","primaryKey":"lrKVVAH/Jk6Ra9Hylp036dLou/k2WEPUbjv6ZM83fzE=","secondaryKey":"6FYTUMBCVAgyPn7wjO1RQYRtmwC5B2a0Y0UC6ZT7qJ4=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -616,16 +629,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:05 GMT + - Fri, 03 Sep 2021 03:18:08 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -653,12 +666,13 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=XBijgLFQqLsTtOjtfInWkWyOo2VB3DzGGHeQkz+lyiU=;EntityPath=testingpythontestcasewcfrelay","secondaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=2iMOsUu7QL5MhF1ci5XU15lYsmpQ2Jy9orqWLBqmA7g=;EntityPath=testingpythontestcasewcfrelay","primaryKey":"XBijgLFQqLsTtOjtfInWkWyOo2VB3DzGGHeQkz+lyiU=","secondaryKey":"2iMOsUu7QL5MhF1ci5XU15lYsmpQ2Jy9orqWLBqmA7g=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=+ZYbi+MnUp99E0CL5iJEdHXua8ghOTsPUwSa95xXvBk=;EntityPath=testingpythontestcasewcfrelay","secondaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=6FYTUMBCVAgyPn7wjO1RQYRtmwC5B2a0Y0UC6ZT7qJ4=;EntityPath=testingpythontestcasewcfrelay","primaryKey":"+ZYbi+MnUp99E0CL5iJEdHXua8ghOTsPUwSa95xXvBk=","secondaryKey":"6FYTUMBCVAgyPn7wjO1RQYRtmwC5B2a0Y0UC6ZT7qJ4=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -667,16 +681,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:06 GMT + - Fri, 03 Sep 2021 03:18:09 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -704,12 +718,13 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules/testingauthrulepy/regenerateKeys?api-version=2017-04-01 response: body: - string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=XBijgLFQqLsTtOjtfInWkWyOo2VB3DzGGHeQkz+lyiU=;EntityPath=testingpythontestcasewcfrelay","secondaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=nGqYFEJHdqGC642ACKtYna3knjUxrecKzy4MKuP+l+Y=;EntityPath=testingpythontestcasewcfrelay","primaryKey":"XBijgLFQqLsTtOjtfInWkWyOo2VB3DzGGHeQkz+lyiU=","secondaryKey":"nGqYFEJHdqGC642ACKtYna3knjUxrecKzy4MKuP+l+Y=","keyName":"testingauthrulepy"}' + string: '{"primaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=+ZYbi+MnUp99E0CL5iJEdHXua8ghOTsPUwSa95xXvBk=;EntityPath=testingpythontestcasewcfrelay","secondaryConnectionString":"Endpoint=sb://testingpythontestcaseeventhubnamespaceeventhub.servicebus.windows.net/;SharedAccessKeyName=testingauthrulepy;SharedAccessKey=glBSYt3MiQtpwC3zL3CX0Bm5kgdVUV0Tkj4CwTZXe5w=;EntityPath=testingpythontestcasewcfrelay","primaryKey":"+ZYbi+MnUp99E0CL5iJEdHXua8ghOTsPUwSa95xXvBk=","secondaryKey":"glBSYt3MiQtpwC3zL3CX0Bm5kgdVUV0Tkj4CwTZXe5w=","keyName":"testingauthrulepy"}' headers: cache-control: - no-cache @@ -718,16 +733,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 22 Dec 2020 03:39:06 GMT + - Fri, 03 Sep 2021 03:18:09 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -753,7 +768,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay/authorizationRules/testingauthrulepy?api-version=2017-04-01 response: @@ -765,16 +781,16 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:39:07 GMT + - Fri, 03 Sep 2021 03:18:09 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -796,7 +812,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/wcfRelays/testingpythontestcasewcfrelay?api-version=2017-04-01 response: @@ -808,16 +825,16 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:39:08 GMT + - Fri, 03 Sep 2021 03:18:10 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -839,7 +856,8 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: @@ -851,7 +869,7 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:39:09 GMT + - Fri, 03 Sep 2021 03:18:10 GMT expires: - '-1' location: @@ -859,10 +877,10 @@ interactions: pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: @@ -882,7 +900,8 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-relay/1.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-mgmt-relay/0.0.0 Python/3.8.11 (Linux-5.8.0-1040-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_azure_mgmt_wcfrelay_test_wcfrelay_curd89e511ce/providers/Microsoft.Relay/namespaces/testingpythontestcaseeventhubnamespaceEventhub/operationresults/testingpythontestcaseeventhubnamespaceEventhub?api-version=2017-04-01 response: @@ -894,16 +913,16 @@ interactions: content-length: - '0' date: - - Tue, 22 Dec 2020 03:39:39 GMT + - Fri, 03 Sep 2021 03:18:40 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: diff --git a/shared_requirements.txt b/shared_requirements.txt index d100dfb35818..62c0435d0d9b 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -340,3 +340,4 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-mgmt-servicebus msrest>=0.6.21 #override azure-mgmt-security msrest>=0.6.21 #override azure-mgmt-apimanagement msrest>=0.6.21 +#override azure-mgmt-relay msrest>=0.6.21