diff --git a/sdk/agrifood/azure-mgmt-agrifood/_meta.json b/sdk/agrifood/azure-mgmt-agrifood/_meta.json index b3f2f06ce9d7..7c6d538797b9 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/_meta.json +++ b/sdk/agrifood/azure-mgmt-agrifood/_meta.json @@ -1,11 +1,11 @@ { - "autorest": "3.4.2", + "autorest": "3.7.2", "use": [ - "@autorest/python@5.8.0", - "@autorest/modelerfour@4.19.2" + "@autorest/python@5.13.0", + "@autorest/modelerfour@4.19.3" ], - "commit": "5ee4aa771330a0120416c066386e6d86693978b4", + "commit": "8713239a8b6cfcd49cbf0c34638269b41cfe0ed7", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/agfood/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.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", - "readme": "specification/agfood/resource-manager/readme.md" + "autorest_command": "autorest agrifood/resource-manager/readme.md --multiapi --python --python-sdks-folder=/sdk-repo/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", + "readme": "agrifood/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/__init__.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/__init__.py index 4fcfb2a1473a..dc261435b5ee 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/__init__.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/__init__.py @@ -12,8 +12,7 @@ __version__ = VERSION __all__ = ['AzureAgriFoodRPService'] -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_azure_agri_food_rp_service.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_azure_agri_food_rp_service.py index 169943642901..517c10fcaf35 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_azure_agri_food_rp_service.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_azure_agri_food_rp_service.py @@ -6,28 +6,23 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING +from copy import deepcopy +from typing import Any, TYPE_CHECKING -from azure.mgmt.core import ARMPipelineClient from msrest import Deserializer, Serializer -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.rest import HttpRequest, HttpResponse +from azure.mgmt.core import ARMPipelineClient -from ._configuration import AzureAgriFoodRPServiceConfiguration -from .operations import ExtensionsOperations -from .operations import FarmBeatsExtensionsOperations -from .operations import FarmBeatsModelsOperations -from .operations import LocationsOperations -from .operations import Operations from . import models +from ._configuration import AzureAgriFoodRPServiceConfiguration +from .operations import ExtensionsOperations, FarmBeatsExtensionsOperations, FarmBeatsModelsOperations, LocationsOperations, Operations +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential -class AzureAgriFoodRPService(object): +class AzureAgriFoodRPService: """APIs documentation for Azure AgriFood Resource Provider Service. :ivar extensions: ExtensionsOperations operations @@ -44,55 +39,59 @@ class AzureAgriFoodRPService(object): :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str - :param str base_url: Service URL + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2020-05-12-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str """ def __init__( self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = AzureAgriFoodRPServiceConfiguration(credential, subscription_id, **kwargs) + credential: "TokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = AzureAgriFoodRPServiceConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.extensions = ExtensionsOperations(self._client, self._config, self._serialize, self._deserialize) + self.farm_beats_extensions = FarmBeatsExtensionsOperations(self._client, self._config, self._serialize, self._deserialize) + self.farm_beats_models = FarmBeatsModelsOperations(self._client, self._config, self._serialize, self._deserialize) + self.locations = LocationsOperations(self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + - self.extensions = ExtensionsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.farm_beats_extensions = FarmBeatsExtensionsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.farm_beats_models = FarmBeatsModelsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.locations = LocationsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - - def _send_request(self, http_request, **kwargs): - # type: (HttpRequest, Any) -> HttpResponse + def _send_request( + self, + request: HttpRequest, + **kwargs: 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. + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. :return: The response of your network call. Does not do error handling on your response. - :rtype: ~azure.core.pipeline.transport.HttpResponse + :rtype: ~azure.core.rest.HttpResponse """ - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - http_request.url = self._client.format_url(http_request.url, **path_format_arguments) - stream = kwargs.pop("stream", True) - pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) - return pipeline_response.http_response + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) def close(self): # type: () -> None diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_configuration.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_configuration.py index ed8612f63772..b4de908bf53c 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_configuration.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_configuration.py @@ -6,22 +6,20 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING +from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy from ._version import VERSION if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any - from azure.core.credentials import TokenCredential -class AzureAgriFoodRPServiceConfiguration(Configuration): +class AzureAgriFoodRPServiceConfiguration(Configuration): # pylint: disable=too-many-instance-attributes """Configuration for AzureAgriFoodRPService. Note that all parameters used to create this instance are saved as instance @@ -31,24 +29,28 @@ class AzureAgriFoodRPServiceConfiguration(Configuration): :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str + :keyword api_version: Api Version. Default value is "2020-05-12-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str """ def __init__( self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None + credential: "TokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(AzureAgriFoodRPServiceConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + if credential is None: raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - super(AzureAgriFoodRPServiceConfiguration, self).__init__(**kwargs) self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-05-12-preview" + self.api_version = api_version self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-agrifood/{}'.format(VERSION)) self._configure(**kwargs) @@ -68,4 +70,4 @@ def _configure( self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_metadata.json b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_metadata.json index cd0d729c4e21..945e196250dd 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_metadata.json +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_metadata.json @@ -5,13 +5,13 @@ "name": "AzureAgriFoodRPService", "filename": "_azure_agri_food_rp_service", "description": "APIs documentation for Azure AgriFood Resource Provider Service.", - "base_url": "\u0027https://management.azure.com\u0027", - "custom_base_url": null, + "host_value": "\"https://management.azure.com\"", + "parameterized_host_template": null, "azure_arm": true, "has_lro_operations": false, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureAgriFoodRPServiceConfiguration\"]}}, \"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\": [\"AzureAgriFoodRPServiceConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureAgriFoodRPServiceConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"], \"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureAgriFoodRPServiceConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" }, "global_parameters": { "sync": { @@ -54,7 +54,7 @@ "required": false }, "base_url": { - "signature": "base_url=None, # type: Optional[str]", + "signature": "base_url=\"https://management.azure.com\", # type: str", "description": "Service URL", "docstring_type": "str", "required": false @@ -74,7 +74,7 @@ "required": false }, "base_url": { - "signature": "base_url: Optional[str] = None,", + "signature": "base_url: str = \"https://management.azure.com\",", "description": "Service URL", "docstring_type": "str", "required": false @@ -91,11 +91,10 @@ "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\"]}}}" + "credential_call_sync": "ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "credential_call_async": "AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMChallengeAuthenticationPolicy\", \"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\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "extensions": "ExtensionsOperations", diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_patch.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_vendor.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_vendor.py new file mode 100644 index 000000000000..138f663c53a4 --- /dev/null +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/_vendor.py @@ -0,0 +1,27 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest(method=request.method, url=request.url, headers=request.headers, data=data) + if files: + request.set_formdata_body(files) + return request + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c for c in formatted_components if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/__init__.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/__init__.py index c487b62feac1..be2624219d74 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/__init__.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/__init__.py @@ -8,3 +8,8 @@ from ._azure_agri_food_rp_service import AzureAgriFoodRPService __all__ = ['AzureAgriFoodRPService'] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_azure_agri_food_rp_service.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_azure_agri_food_rp_service.py index 70ef0291a186..f9dfe5d87d11 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_azure_agri_food_rp_service.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_azure_agri_food_rp_service.py @@ -6,32 +6,30 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Optional, TYPE_CHECKING +from copy import deepcopy +from typing import Any, Awaitable, TYPE_CHECKING -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential +from azure.core.rest import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient -from ._configuration import AzureAgriFoodRPServiceConfiguration -from .operations import ExtensionsOperations -from .operations import FarmBeatsExtensionsOperations -from .operations import FarmBeatsModelsOperations -from .operations import LocationsOperations -from .operations import Operations from .. import models +from ._configuration import AzureAgriFoodRPServiceConfiguration +from .operations import ExtensionsOperations, FarmBeatsExtensionsOperations, FarmBeatsModelsOperations, LocationsOperations, Operations +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential -class AzureAgriFoodRPService(object): +class AzureAgriFoodRPService: """APIs documentation for Azure AgriFood Resource Provider Service. :ivar extensions: ExtensionsOperations operations :vartype extensions: azure.mgmt.agrifood.aio.operations.ExtensionsOperations :ivar farm_beats_extensions: FarmBeatsExtensionsOperations operations - :vartype farm_beats_extensions: azure.mgmt.agrifood.aio.operations.FarmBeatsExtensionsOperations + :vartype farm_beats_extensions: + azure.mgmt.agrifood.aio.operations.FarmBeatsExtensionsOperations :ivar farm_beats_models: FarmBeatsModelsOperations operations :vartype farm_beats_models: azure.mgmt.agrifood.aio.operations.FarmBeatsModelsOperations :ivar locations: LocationsOperations operations @@ -42,53 +40,59 @@ class AzureAgriFoodRPService(object): :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str - :param str base_url: Service URL + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2020-05-12-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str """ def __init__( self, credential: "AsyncTokenCredential", subscription_id: str, - base_url: Optional[str] = None, + base_url: str = "https://management.azure.com", **kwargs: Any ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = AzureAgriFoodRPServiceConfiguration(credential, subscription_id, **kwargs) + self._config = AzureAgriFoodRPServiceConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.extensions = ExtensionsOperations(self._client, self._config, self._serialize, self._deserialize) + self.farm_beats_extensions = FarmBeatsExtensionsOperations(self._client, self._config, self._serialize, self._deserialize) + self.farm_beats_models = FarmBeatsModelsOperations(self._client, self._config, self._serialize, self._deserialize) + self.locations = LocationsOperations(self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) - self.extensions = ExtensionsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.farm_beats_extensions = FarmBeatsExtensionsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.farm_beats_models = FarmBeatsModelsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.locations = LocationsOperations( - self._client, self._config, self._serialize, self._deserialize) - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - - async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> Awaitable[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. + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. :return: The response of your network call. Does not do error handling on your response. - :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + :rtype: ~azure.core.rest.AsyncHttpResponse """ - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - http_request.url = self._client.format_url(http_request.url, **path_format_arguments) - stream = kwargs.pop("stream", True) - pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) - return pipeline_response.http_response + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) async def close(self) -> None: await self._client.close() diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_configuration.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_configuration.py index a6d4c3c11f1a..c78d976c6853 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_configuration.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_configuration.py @@ -10,7 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy from .._version import VERSION @@ -19,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class AzureAgriFoodRPServiceConfiguration(Configuration): +class AzureAgriFoodRPServiceConfiguration(Configuration): # pylint: disable=too-many-instance-attributes """Configuration for AzureAgriFoodRPService. Note that all parameters used to create this instance are saved as instance @@ -29,6 +29,9 @@ class AzureAgriFoodRPServiceConfiguration(Configuration): :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str + :keyword api_version: Api Version. Default value is "2020-05-12-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str """ def __init__( @@ -37,15 +40,17 @@ def __init__( subscription_id: str, **kwargs: Any ) -> None: + super(AzureAgriFoodRPServiceConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + if credential is None: raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - super(AzureAgriFoodRPServiceConfiguration, self).__init__(**kwargs) self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-05-12-preview" + self.api_version = api_version self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-agrifood/{}'.format(VERSION)) self._configure(**kwargs) @@ -64,4 +69,4 @@ def _configure( self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_patch.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_extensions_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_extensions_operations.py index c0a08187a777..fea09eee10b8 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_extensions_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_extensions_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,17 +6,20 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar -import warnings +from typing import Any, AsyncIterable, Callable, Dict, List, Optional, TypeVar from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async from azure.mgmt.core.exceptions import ARMErrorFormat from ... import models as _models - +from ..._vendor import _convert_request +from ...operations._extensions_operations import build_create_request, build_delete_request, build_get_request, build_list_by_farm_beats_request, build_update_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -41,6 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + @distributed_trace_async async def create( self, extension_id: str, @@ -66,34 +71,31 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_create_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.create.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.put(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Extension', pipeline_response) @@ -102,8 +104,11 @@ async def create( return cls(pipeline_response, deserialized, {}) return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore + create.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + + @distributed_trace_async async def get( self, extension_id: str, @@ -129,34 +134,31 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Extension', pipeline_response) @@ -165,8 +167,11 @@ async def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + + @distributed_trace_async async def update( self, extension_id: str, @@ -192,34 +197,31 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_update_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.update.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.patch(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Extension', pipeline_response) @@ -228,9 +230,12 @@ async def update( return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore - async def delete( + update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + + @distributed_trace_async + async def delete( # pylint: disable=inconsistent-return-statements self, extension_id: str, farm_beats_resource_name: str, @@ -255,41 +260,40 @@ async def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_delete_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.delete.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore + delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + @distributed_trace def list_by_farm_beats( self, resource_group_name: str, @@ -306,63 +310,66 @@ def list_by_farm_beats( :type resource_group_name: str :param farm_beats_resource_name: FarmBeats resource name. :type farm_beats_resource_name: str - :param extension_ids: Installed extension ids. + :param extension_ids: Installed extension ids. Default value is None. :type extension_ids: list[str] - :param extension_categories: Installed extension categories. + :param extension_categories: Installed extension categories. Default value is None. :type extension_categories: list[str] :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int - :param skip_token: Skip token for getting next set of results. + :param skip_token: Skip token for getting next set of results. Default value is None. :type skip_token: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ExtensionListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.ExtensionListResponse] + :return: An iterator like instance of either ExtensionListResponse or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.ExtensionListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExtensionListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_farm_beats.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if extension_ids is not None: - query_parameters['extensionIds'] = [self._serialize.query("extension_ids", q, 'str') if q is not None else '' for q in extension_ids] - if extension_categories is not None: - query_parameters['extensionCategories'] = [self._serialize.query("extension_categories", q, 'str') if q is not None else '' for q in extension_categories] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - if skip_token is not None: - query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_farm_beats_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + extension_ids=extension_ids, + extension_categories=extension_categories, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=self.list_by_farm_beats.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_farm_beats_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + extension_ids=extension_ids, + extension_categories=extension_categories, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('ExtensionListResponse', pipeline_response) + deserialized = self._deserialize("ExtensionListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -371,17 +378,22 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list_by_farm_beats.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions'} # type: ignore + list_by_farm_beats.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions"} # type: ignore diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_extensions_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_extensions_operations.py index 3eac9ce7992b..c5c4b41fc6ef 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_extensions_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_extensions_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,17 +6,20 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar -import warnings +from typing import Any, AsyncIterable, Callable, Dict, List, Optional, TypeVar from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async from azure.mgmt.core.exceptions import ARMErrorFormat from ... import models as _models - +from ..._vendor import _convert_request +from ...operations._farm_beats_extensions_operations import build_get_request, build_list_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -41,6 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + @distributed_trace def list( self, farm_beats_extension_ids: Optional[List[str]] = None, @@ -52,61 +57,64 @@ def list( ) -> AsyncIterable["_models.FarmBeatsExtensionListResponse"]: """Get list of farmBeats extension. - :param farm_beats_extension_ids: FarmBeatsExtension ids. + :param farm_beats_extension_ids: FarmBeatsExtension ids. Default value is None. :type farm_beats_extension_ids: list[str] - :param farm_beats_extension_names: FarmBeats extension names. + :param farm_beats_extension_names: FarmBeats extension names. Default value is None. :type farm_beats_extension_names: list[str] - :param extension_categories: Extension categories. + :param extension_categories: Extension categories. Default value is None. :type extension_categories: list[str] - :param publisher_ids: Publisher ids. + :param publisher_ids: Publisher ids. Default value is None. :type publisher_ids: list[str] :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FarmBeatsExtensionListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.FarmBeatsExtensionListResponse] + :return: An iterator like instance of either FarmBeatsExtensionListResponse or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.FarmBeatsExtensionListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.FarmBeatsExtensionListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if farm_beats_extension_ids is not None: - query_parameters['farmBeatsExtensionIds'] = [self._serialize.query("farm_beats_extension_ids", q, 'str') if q is not None else '' for q in farm_beats_extension_ids] - if farm_beats_extension_names is not None: - query_parameters['farmBeatsExtensionNames'] = [self._serialize.query("farm_beats_extension_names", q, 'str') if q is not None else '' for q in farm_beats_extension_names] - if extension_categories is not None: - query_parameters['extensionCategories'] = [self._serialize.query("extension_categories", q, 'str') if q is not None else '' for q in extension_categories] - if publisher_ids is not None: - query_parameters['publisherIds'] = [self._serialize.query("publisher_ids", q, 'str') if q is not None else '' for q in publisher_ids] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + farm_beats_extension_ids=farm_beats_extension_ids, + farm_beats_extension_names=farm_beats_extension_names, + extension_categories=extension_categories, + publisher_ids=publisher_ids, + max_page_size=max_page_size, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + farm_beats_extension_ids=farm_beats_extension_ids, + farm_beats_extension_names=farm_beats_extension_names, + extension_categories=extension_categories, + publisher_ids=publisher_ids, + max_page_size=max_page_size, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('FarmBeatsExtensionListResponse', pipeline_response) + deserialized = self._deserialize("FarmBeatsExtensionListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -115,21 +123,27 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list.metadata = {'url': '/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions'} # type: ignore + list.metadata = {'url': "/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions"} # type: ignore + @distributed_trace_async async def get( self, farm_beats_extension_id: str, @@ -149,31 +163,28 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'farmBeatsExtensionId': self._serialize.url("farm_beats_extension_id", farm_beats_extension_id, 'str', pattern=r'^[A-za-z]{3,50}[.][A-za-z]{3,100}$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + farm_beats_extension_id=farm_beats_extension_id, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FarmBeatsExtension', pipeline_response) @@ -182,4 +193,6 @@ async def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/{farmBeatsExtensionId}'} # type: ignore + + get.metadata = {'url': "/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/{farmBeatsExtensionId}"} # type: ignore + diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_models_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_models_operations.py index 9130a4e1c96a..8b7355a0ac21 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_models_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_farm_beats_models_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,17 +6,20 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async from azure.mgmt.core.exceptions import ARMErrorFormat from ... import models as _models - +from ..._vendor import _convert_request +from ...operations._farm_beats_models_operations import build_create_or_update_request, build_delete_request, build_get_request, build_list_by_resource_group_request, build_list_by_subscription_request, build_update_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -41,6 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + @distributed_trace_async async def get( self, resource_group_name: str, @@ -63,33 +68,30 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FarmBeats', pipeline_response) @@ -98,8 +100,11 @@ async def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + + @distributed_trace_async async def create_or_update( self, farm_beats_resource_name: str, @@ -125,38 +130,34 @@ async def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(body, 'FarmBeats') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(body, 'FarmBeats') + + request = build_create_or_update_request( + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create_or_update.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -169,8 +170,11 @@ async def create_or_update( return cls(pipeline_response, deserialized, {}) return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore + create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + + @distributed_trace_async async def update( self, farm_beats_resource_name: str, @@ -196,38 +200,34 @@ async def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(body, 'FarmBeatsUpdateRequestModel') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(body, 'FarmBeatsUpdateRequestModel') + + request = build_update_request( + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FarmBeats', pipeline_response) @@ -236,9 +236,12 @@ async def update( return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore - async def delete( + update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + + @distributed_trace_async + async def delete( # pylint: disable=inconsistent-return-statements self, resource_group_name: str, farm_beats_resource_name: str, @@ -260,40 +263,39 @@ async def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_delete_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + template_url=self.delete.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore + delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + @distributed_trace def list_by_subscription( self, max_page_size: Optional[int] = 50, @@ -303,52 +305,53 @@ def list_by_subscription( """Lists the FarmBeats instances for a subscription. :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int - :param skip_token: Skip token for getting next set of results. + :param skip_token: Skip token for getting next set of results. Default value is None. :type skip_token: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FarmBeatsListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.FarmBeatsListResponse] + :return: An iterator like instance of either FarmBeatsListResponse or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.FarmBeatsListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.FarmBeatsListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - if skip_token is not None: - query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=self.list_by_subscription.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('FarmBeatsListResponse', pipeline_response) + deserialized = self._deserialize("FarmBeatsListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -357,21 +360,27 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats'} # type: ignore + list_by_subscription.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats"} # type: ignore + @distributed_trace def list_by_resource_group( self, resource_group_name: str, @@ -384,53 +393,55 @@ def list_by_resource_group( :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int - :param skip_token: Continuation token for getting next set of results. + :param skip_token: Continuation token for getting next set of results. Default value is None. :type skip_token: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FarmBeatsListResponse or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.FarmBeatsListResponse] + :return: An iterator like instance of either FarmBeatsListResponse or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.FarmBeatsListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.FarmBeatsListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - if skip_token is not None: - query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('FarmBeatsListResponse', pipeline_response) + deserialized = self._deserialize("FarmBeatsListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -439,17 +450,22 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats'} # type: ignore + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats"} # type: ignore diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_locations_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_locations_operations.py index 8945fd477bef..65191ff9b871 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_locations_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_locations_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,16 +6,18 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Generic, Optional, TypeVar -import warnings +from typing import Any, Callable, Dict, Optional, TypeVar from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator_async import distributed_trace_async from azure.mgmt.core.exceptions import ARMErrorFormat from ... import models as _models - +from ..._vendor import _convert_request +from ...operations._locations_operations import build_check_name_availability_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -40,6 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + @distributed_trace_async async def check_name_availability( self, body: "_models.CheckNameAvailabilityRequest", @@ -59,36 +63,32 @@ async def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.check_name_availability.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(body, 'CheckNameAvailabilityRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(body, 'CheckNameAvailabilityRequest') + + request = build_check_name_availability_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.check_name_availability.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('CheckNameAvailabilityResponse', pipeline_response) @@ -97,4 +97,6 @@ async def check_name_availability( return cls(pipeline_response, deserialized, {}) return deserialized - check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability'} # type: ignore + + check_name_availability.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability"} # type: ignore + diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_operations.py index b06846411fb4..05580fa30a03 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/aio/operations/_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,17 +6,19 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from ... import models as _models - +from ..._vendor import _convert_request +from ...operations._operations import build_list_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -41,6 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + @distributed_trace def list( self, **kwargs: Any @@ -49,38 +53,40 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.OperationListResult] + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.agrifood.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResult', pipeline_response) + deserialized = self._deserialize("OperationListResult", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -89,17 +95,22 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list.metadata = {'url': '/providers/Microsoft.AgFoodPlatform/operations'} # type: ignore + list.metadata = {'url': "/providers/Microsoft.AgFoodPlatform/operations"} # type: ignore diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/__init__.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/__init__.py index 1fd95721b298..8cfc9611daf7 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/__init__.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/__init__.py @@ -6,50 +6,28 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -try: - from ._models_py3 import CheckNameAvailabilityRequest - from ._models_py3 import CheckNameAvailabilityResponse - from ._models_py3 import DetailedInformation - from ._models_py3 import ErrorAdditionalInfo - from ._models_py3 import ErrorDetail - from ._models_py3 import ErrorResponse - from ._models_py3 import Extension - from ._models_py3 import ExtensionListResponse - from ._models_py3 import FarmBeats - from ._models_py3 import FarmBeatsExtension - from ._models_py3 import FarmBeatsExtensionListResponse - from ._models_py3 import FarmBeatsListResponse - from ._models_py3 import FarmBeatsUpdateRequestModel - from ._models_py3 import Operation - from ._models_py3 import OperationDisplay - from ._models_py3 import OperationListResult - from ._models_py3 import ProxyResource - from ._models_py3 import Resource - from ._models_py3 import SystemData - from ._models_py3 import TrackedResource - from ._models_py3 import UnitSystemsInfo -except (SyntaxError, ImportError): - from ._models import CheckNameAvailabilityRequest # type: ignore - from ._models import CheckNameAvailabilityResponse # type: ignore - from ._models import DetailedInformation # type: ignore - from ._models import ErrorAdditionalInfo # type: ignore - from ._models import ErrorDetail # type: ignore - from ._models import ErrorResponse # type: ignore - from ._models import Extension # type: ignore - from ._models import ExtensionListResponse # type: ignore - from ._models import FarmBeats # type: ignore - from ._models import FarmBeatsExtension # type: ignore - from ._models import FarmBeatsExtensionListResponse # type: ignore - from ._models import FarmBeatsListResponse # type: ignore - from ._models import FarmBeatsUpdateRequestModel # type: ignore - from ._models import Operation # type: ignore - from ._models import OperationDisplay # type: ignore - from ._models import OperationListResult # type: ignore - from ._models import ProxyResource # type: ignore - from ._models import Resource # type: ignore - from ._models import SystemData # type: ignore - from ._models import TrackedResource # type: ignore - from ._models import UnitSystemsInfo # type: ignore +from ._models_py3 import CheckNameAvailabilityRequest +from ._models_py3 import CheckNameAvailabilityResponse +from ._models_py3 import DetailedInformation +from ._models_py3 import ErrorAdditionalInfo +from ._models_py3 import ErrorDetail +from ._models_py3 import ErrorResponse +from ._models_py3 import Extension +from ._models_py3 import ExtensionListResponse +from ._models_py3 import FarmBeats +from ._models_py3 import FarmBeatsExtension +from ._models_py3 import FarmBeatsExtensionListResponse +from ._models_py3 import FarmBeatsListResponse +from ._models_py3 import FarmBeatsUpdateRequestModel +from ._models_py3 import Operation +from ._models_py3 import OperationDisplay +from ._models_py3 import OperationListResult +from ._models_py3 import ProxyResource +from ._models_py3 import Resource +from ._models_py3 import SystemData +from ._models_py3 import TrackedResource +from ._models_py3 import UnitSystemsInfo + from ._azure_agri_food_rp_service_enums import ( ActionType, diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_azure_agri_food_rp_service_enums.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_azure_agri_food_rp_service_enums.py index ab2c44fae3be..f642a0470d6d 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_azure_agri_food_rp_service_enums.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_azure_agri_food_rp_service_enums.py @@ -6,40 +6,25 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum, EnumMeta +from enum import Enum from six import with_metaclass +from azure.core import CaseInsensitiveEnumMeta -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class ActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class ActionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. """ INTERNAL = "Internal" -class CheckNameAvailabilityReason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class CheckNameAvailabilityReason(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The reason why the given name is not available. """ INVALID = "Invalid" ALREADY_EXISTS = "AlreadyExists" -class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of identity that created the resource. """ @@ -48,7 +33,7 @@ class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key" -class Origin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class Origin(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" """ @@ -57,7 +42,7 @@ class Origin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SYSTEM = "system" USER_SYSTEM = "user,system" -class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """FarmBeats instance provisioning state. """ diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_models.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_models.py deleted file mode 100644 index 0cbcff067e3e..000000000000 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_models.py +++ /dev/null @@ -1,830 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -from azure.core.exceptions import HttpResponseError -import msrest.serialization - - -class CheckNameAvailabilityRequest(msrest.serialization.Model): - """The check availability request body. - - :param name: The name of the resource for which availability needs to be checked. - :type name: str - :param type: The resource type. - :type type: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(CheckNameAvailabilityRequest, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.type = kwargs.get('type', None) - - -class CheckNameAvailabilityResponse(msrest.serialization.Model): - """The check availability result. - - :param name_available: Indicates if the resource name is available. - :type name_available: bool - :param reason: The reason why the given name is not available. Possible values include: - "Invalid", "AlreadyExists". - :type reason: str or ~azure.mgmt.agrifood.models.CheckNameAvailabilityReason - :param message: Detailed reason why the given name is available. - :type message: str - """ - - _attribute_map = { - 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, - 'reason': {'key': 'reason', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(CheckNameAvailabilityResponse, self).__init__(**kwargs) - self.name_available = kwargs.get('name_available', None) - self.reason = kwargs.get('reason', None) - self.message = kwargs.get('message', None) - - -class DetailedInformation(msrest.serialization.Model): - """Model to capture detailed information for farmBeatsExtensions. - - :param api_name: ApiName available for the farmBeatsExtension. - :type api_name: str - :param custom_parameters: List of customParameters. - :type custom_parameters: list[str] - :param platform_parameters: List of platformParameters. - :type platform_parameters: list[str] - :param units_supported: Unit systems info for the data provider. - :type units_supported: ~azure.mgmt.agrifood.models.UnitSystemsInfo - :param api_input_parameters: List of apiInputParameters. - :type api_input_parameters: list[str] - """ - - _attribute_map = { - 'api_name': {'key': 'apiName', 'type': 'str'}, - 'custom_parameters': {'key': 'customParameters', 'type': '[str]'}, - 'platform_parameters': {'key': 'platformParameters', 'type': '[str]'}, - 'units_supported': {'key': 'unitsSupported', 'type': 'UnitSystemsInfo'}, - 'api_input_parameters': {'key': 'apiInputParameters', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(DetailedInformation, self).__init__(**kwargs) - self.api_name = kwargs.get('api_name', None) - self.custom_parameters = kwargs.get('custom_parameters', None) - self.platform_parameters = kwargs.get('platform_parameters', None) - self.units_supported = kwargs.get('units_supported', None) - self.api_input_parameters = kwargs.get('api_input_parameters', None) - - -class ErrorAdditionalInfo(msrest.serialization.Model): - """The resource management error additional info. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar type: The additional info type. - :vartype type: str - :ivar info: The additional info. - :vartype info: any - """ - - _validation = { - 'type': {'readonly': True}, - 'info': {'readonly': True}, - } - - _attribute_map = { - 'type': {'key': 'type', 'type': 'str'}, - 'info': {'key': 'info', 'type': 'object'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorAdditionalInfo, self).__init__(**kwargs) - self.type = None - self.info = None - - -class ErrorDetail(msrest.serialization.Model): - """The error detail. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar code: The error code. - :vartype code: str - :ivar message: The error message. - :vartype message: str - :ivar target: The error target. - :vartype target: str - :ivar details: The error details. - :vartype details: list[~azure.mgmt.agrifood.models.ErrorDetail] - :ivar additional_info: The error additional info. - :vartype additional_info: list[~azure.mgmt.agrifood.models.ErrorAdditionalInfo] - """ - - _validation = { - 'code': {'readonly': True}, - 'message': {'readonly': True}, - 'target': {'readonly': True}, - 'details': {'readonly': True}, - 'additional_info': {'readonly': True}, - } - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorDetail]'}, - 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorDetail, self).__init__(**kwargs) - self.code = None - self.message = None - self.target = None - self.details = None - self.additional_info = None - - -class ErrorResponse(msrest.serialization.Model): - """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). - - :param error: The error object. - :type error: ~azure.mgmt.agrifood.models.ErrorDetail - """ - - _attribute_map = { - 'error': {'key': 'error', 'type': 'ErrorDetail'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorResponse, self).__init__(**kwargs) - self.error = kwargs.get('error', None) - - -class Resource(msrest.serialization.Model): - """Common fields that are returned in the response for all Azure Resource Manager resources. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class ProxyResource(Resource): - """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ProxyResource, self).__init__(**kwargs) - - -class Extension(ProxyResource): - """Extension resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.agrifood.models.SystemData - :ivar e_tag: The ETag value to implement optimistic concurrency. - :vartype e_tag: str - :ivar extension_id: Extension Id. - :vartype extension_id: str - :ivar extension_category: Extension category. e.g. weather/sensor/satellite. - :vartype extension_category: str - :ivar installed_extension_version: Installed extension version. - :vartype installed_extension_version: str - :ivar extension_auth_link: Extension auth link. - :vartype extension_auth_link: str - :ivar extension_api_docs_link: Extension api docs link. - :vartype extension_api_docs_link: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'e_tag': {'readonly': True}, - 'extension_id': {'readonly': True, 'pattern': r'^[A-za-z]{3,50}[.][A-za-z]{3,100}$'}, - 'extension_category': {'readonly': True}, - 'installed_extension_version': {'readonly': True, 'pattern': r'^([1-9]|10).\d$'}, - 'extension_auth_link': {'readonly': True}, - 'extension_api_docs_link': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'e_tag': {'key': 'eTag', 'type': 'str'}, - 'extension_id': {'key': 'properties.extensionId', 'type': 'str'}, - 'extension_category': {'key': 'properties.extensionCategory', 'type': 'str'}, - 'installed_extension_version': {'key': 'properties.installedExtensionVersion', 'type': 'str'}, - 'extension_auth_link': {'key': 'properties.extensionAuthLink', 'type': 'str'}, - 'extension_api_docs_link': {'key': 'properties.extensionApiDocsLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Extension, self).__init__(**kwargs) - self.system_data = None - self.e_tag = None - self.extension_id = None - self.extension_category = None - self.installed_extension_version = None - self.extension_auth_link = None - self.extension_api_docs_link = None - - -class ExtensionListResponse(msrest.serialization.Model): - """Paged response contains list of requested objects and a URL link to get the next set of results. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param value: List of requested objects. - :type value: list[~azure.mgmt.agrifood.models.Extension] - :ivar next_link: Continuation link (absolute URI) to the next page of results in the list. - :vartype next_link: str - """ - - _validation = { - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Extension]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ExtensionListResponse, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs['location'] - - -class FarmBeats(TrackedResource): - """FarmBeats ARM Resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.agrifood.models.SystemData - :ivar instance_uri: Uri of the FarmBeats instance. - :vartype instance_uri: str - :ivar provisioning_state: FarmBeats instance provisioning state. Possible values include: - "Succeeded", "Failed". - :vartype provisioning_state: str or ~azure.mgmt.agrifood.models.ProvisioningState - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - 'system_data': {'readonly': True}, - 'instance_uri': {'readonly': True}, - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'instance_uri': {'key': 'properties.instanceUri', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(FarmBeats, self).__init__(**kwargs) - self.system_data = None - self.instance_uri = None - self.provisioning_state = None - - -class FarmBeatsExtension(ProxyResource): - """FarmBeats extension resource. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~azure.mgmt.agrifood.models.SystemData - :ivar target_resource_type: Target ResourceType of the farmBeatsExtension. - :vartype target_resource_type: str - :ivar farm_beats_extension_id: FarmBeatsExtension ID. - :vartype farm_beats_extension_id: str - :ivar farm_beats_extension_name: FarmBeatsExtension name. - :vartype farm_beats_extension_name: str - :ivar farm_beats_extension_version: FarmBeatsExtension version. - :vartype farm_beats_extension_version: str - :ivar publisher_id: Publisher ID. - :vartype publisher_id: str - :ivar description: Textual description. - :vartype description: str - :ivar extension_category: Category of the extension. e.g. weather/sensor/satellite. - :vartype extension_category: str - :ivar extension_auth_link: FarmBeatsExtension auth link. - :vartype extension_auth_link: str - :ivar extension_api_docs_link: FarmBeatsExtension api docs link. - :vartype extension_api_docs_link: str - :ivar detailed_information: Detailed information which shows summary of requested data. - Used in descriptive get extension metadata call. - Information for weather category per api included are apisSupported, - customParameters, PlatformParameters and Units supported. - :vartype detailed_information: list[~azure.mgmt.agrifood.models.DetailedInformation] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'system_data': {'readonly': True}, - 'target_resource_type': {'readonly': True}, - 'farm_beats_extension_id': {'readonly': True, 'max_length': 100, 'min_length': 2, 'pattern': r'^[A-za-z]{3,50}[.][A-za-z]{3,100}$'}, - 'farm_beats_extension_name': {'readonly': True, 'max_length': 100, 'min_length': 2}, - 'farm_beats_extension_version': {'readonly': True, 'max_length': 100, 'min_length': 2, 'pattern': r'^([1-9]|10).\d$'}, - 'publisher_id': {'readonly': True, 'max_length': 100, 'min_length': 2}, - 'description': {'readonly': True, 'max_length': 500, 'min_length': 2}, - 'extension_category': {'readonly': True, 'max_length': 100, 'min_length': 2}, - 'extension_auth_link': {'readonly': True}, - 'extension_api_docs_link': {'readonly': True}, - 'detailed_information': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'system_data': {'key': 'systemData', 'type': 'SystemData'}, - 'target_resource_type': {'key': 'properties.targetResourceType', 'type': 'str'}, - 'farm_beats_extension_id': {'key': 'properties.farmBeatsExtensionId', 'type': 'str'}, - 'farm_beats_extension_name': {'key': 'properties.farmBeatsExtensionName', 'type': 'str'}, - 'farm_beats_extension_version': {'key': 'properties.farmBeatsExtensionVersion', 'type': 'str'}, - 'publisher_id': {'key': 'properties.publisherId', 'type': 'str'}, - 'description': {'key': 'properties.description', 'type': 'str'}, - 'extension_category': {'key': 'properties.extensionCategory', 'type': 'str'}, - 'extension_auth_link': {'key': 'properties.extensionAuthLink', 'type': 'str'}, - 'extension_api_docs_link': {'key': 'properties.extensionApiDocsLink', 'type': 'str'}, - 'detailed_information': {'key': 'properties.detailedInformation', 'type': '[DetailedInformation]'}, - } - - def __init__( - self, - **kwargs - ): - super(FarmBeatsExtension, self).__init__(**kwargs) - self.system_data = None - self.target_resource_type = None - self.farm_beats_extension_id = None - self.farm_beats_extension_name = None - self.farm_beats_extension_version = None - self.publisher_id = None - self.description = None - self.extension_category = None - self.extension_auth_link = None - self.extension_api_docs_link = None - self.detailed_information = None - - -class FarmBeatsExtensionListResponse(msrest.serialization.Model): - """Paged response contains list of requested objects and a URL link to get the next set of results. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param value: List of requested objects. - :type value: list[~azure.mgmt.agrifood.models.FarmBeatsExtension] - :ivar next_link: Continuation link (absolute URI) to the next page of results in the list. - :vartype next_link: str - """ - - _validation = { - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[FarmBeatsExtension]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(FarmBeatsExtensionListResponse, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class FarmBeatsListResponse(msrest.serialization.Model): - """Paged response contains list of requested objects and a URL link to get the next set of results. - - Variables are only populated by the server, and will be ignored when sending a request. - - :param value: List of requested objects. - :type value: list[~azure.mgmt.agrifood.models.FarmBeats] - :ivar next_link: Continuation link (absolute URI) to the next page of results in the list. - :vartype next_link: str - """ - - _validation = { - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[FarmBeats]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(FarmBeatsListResponse, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = None - - -class FarmBeatsUpdateRequestModel(msrest.serialization.Model): - """FarmBeats update request. - - :param location: Geo-location where the resource lives. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - """ - - _attribute_map = { - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - } - - def __init__( - self, - **kwargs - ): - super(FarmBeatsUpdateRequestModel, self).__init__(**kwargs) - self.location = kwargs.get('location', None) - self.tags = kwargs.get('tags', None) - - -class Operation(msrest.serialization.Model): - """Details of a REST API operation, returned from the Resource Provider Operations API. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: - "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". - :vartype name: str - :ivar is_data_action: Whether the operation applies to data-plane. This is "true" for - data-plane operations and "false" for ARM/control-plane operations. - :vartype is_data_action: bool - :param display: Localized display information for this particular operation. - :type display: ~azure.mgmt.agrifood.models.OperationDisplay - :ivar origin: The intended executor of the operation; as in Resource Based Access Control - (RBAC) and audit logs UX. Default value is "user,system". Possible values include: "user", - "system", "user,system". - :vartype origin: str or ~azure.mgmt.agrifood.models.Origin - :ivar action_type: Enum. Indicates the action type. "Internal" refers to actions that are for - internal only APIs. Possible values include: "Internal". - :vartype action_type: str or ~azure.mgmt.agrifood.models.ActionType - """ - - _validation = { - 'name': {'readonly': True}, - 'is_data_action': {'readonly': True}, - 'origin': {'readonly': True}, - 'action_type': {'readonly': True}, - } - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, - 'display': {'key': 'display', 'type': 'OperationDisplay'}, - 'origin': {'key': 'origin', 'type': 'str'}, - 'action_type': {'key': 'actionType', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Operation, self).__init__(**kwargs) - self.name = None - self.is_data_action = None - self.display = kwargs.get('display', None) - self.origin = None - self.action_type = None - - -class OperationDisplay(msrest.serialization.Model): - """Localized display information for this particular operation. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar provider: The localized friendly form of the resource provider name, e.g. "Microsoft - Monitoring Insights" or "Microsoft Compute". - :vartype provider: str - :ivar resource: The localized friendly name of the resource type related to this operation. - E.g. "Virtual Machines" or "Job Schedule Collections". - :vartype resource: str - :ivar operation: The concise, localized friendly name for the operation; suitable for - dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". - :vartype operation: str - :ivar description: The short, localized friendly description of the operation; suitable for - tool tips and detailed views. - :vartype description: str - """ - - _validation = { - 'provider': {'readonly': True}, - 'resource': {'readonly': True}, - 'operation': {'readonly': True}, - 'description': {'readonly': True}, - } - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationDisplay, self).__init__(**kwargs) - self.provider = None - self.resource = None - self.operation = None - self.description = None - - -class OperationListResult(msrest.serialization.Model): - """A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar value: List of operations supported by the resource provider. - :vartype value: list[~azure.mgmt.agrifood.models.Operation] - :ivar next_link: URL to get the next set of operation list results (if there are any). - :vartype next_link: str - """ - - _validation = { - 'value': {'readonly': True}, - 'next_link': {'readonly': True}, - } - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Operation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationListResult, self).__init__(**kwargs) - self.value = None - self.next_link = None - - -class SystemData(msrest.serialization.Model): - """Metadata pertaining to creation and last modification of the resource. - - :param created_by: The identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource. Possible values - include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). - :type created_at: ~datetime.datetime - :param last_modified_by: The identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource. Possible - values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: ~datetime.datetime - """ - - _attribute_map = { - 'created_by': {'key': 'createdBy', 'type': 'str'}, - 'created_by_type': {'key': 'createdByType', 'type': 'str'}, - 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, - 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, - 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, - 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, - } - - def __init__( - self, - **kwargs - ): - super(SystemData, self).__init__(**kwargs) - self.created_by = kwargs.get('created_by', None) - self.created_by_type = kwargs.get('created_by_type', None) - self.created_at = kwargs.get('created_at', None) - self.last_modified_by = kwargs.get('last_modified_by', None) - self.last_modified_by_type = kwargs.get('last_modified_by_type', None) - self.last_modified_at = kwargs.get('last_modified_at', None) - - -class UnitSystemsInfo(msrest.serialization.Model): - """Unit systems info for the data provider. - - All required parameters must be populated in order to send to Azure. - - :param key: Required. UnitSystem key sent as part of ProviderInput. - :type key: str - :param values: Required. List of unit systems supported by this data provider. - :type values: list[str] - """ - - _validation = { - 'key': {'required': True, 'max_length': 100, 'min_length': 2}, - 'values': {'required': True}, - } - - _attribute_map = { - 'key': {'key': 'key', 'type': 'str'}, - 'values': {'key': 'values', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(UnitSystemsInfo, self).__init__(**kwargs) - self.key = kwargs['key'] - self.values = kwargs['values'] diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_models_py3.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_models_py3.py index 1caf4a77a5cf..c51e359d8fa6 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_models_py3.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/models/_models_py3.py @@ -18,10 +18,10 @@ class CheckNameAvailabilityRequest(msrest.serialization.Model): """The check availability request body. - :param name: The name of the resource for which availability needs to be checked. - :type name: str - :param type: The resource type. - :type type: str + :ivar name: The name of the resource for which availability needs to be checked. + :vartype name: str + :ivar type: The resource type. + :vartype type: str """ _attribute_map = { @@ -36,6 +36,12 @@ def __init__( type: Optional[str] = None, **kwargs ): + """ + :keyword name: The name of the resource for which availability needs to be checked. + :paramtype name: str + :keyword type: The resource type. + :paramtype type: str + """ super(CheckNameAvailabilityRequest, self).__init__(**kwargs) self.name = name self.type = type @@ -44,13 +50,13 @@ def __init__( class CheckNameAvailabilityResponse(msrest.serialization.Model): """The check availability result. - :param name_available: Indicates if the resource name is available. - :type name_available: bool - :param reason: The reason why the given name is not available. Possible values include: + :ivar name_available: Indicates if the resource name is available. + :vartype name_available: bool + :ivar reason: The reason why the given name is not available. Possible values include: "Invalid", "AlreadyExists". - :type reason: str or ~azure.mgmt.agrifood.models.CheckNameAvailabilityReason - :param message: Detailed reason why the given name is available. - :type message: str + :vartype reason: str or ~azure.mgmt.agrifood.models.CheckNameAvailabilityReason + :ivar message: Detailed reason why the given name is available. + :vartype message: str """ _attribute_map = { @@ -67,6 +73,15 @@ def __init__( message: Optional[str] = None, **kwargs ): + """ + :keyword name_available: Indicates if the resource name is available. + :paramtype name_available: bool + :keyword reason: The reason why the given name is not available. Possible values include: + "Invalid", "AlreadyExists". + :paramtype reason: str or ~azure.mgmt.agrifood.models.CheckNameAvailabilityReason + :keyword message: Detailed reason why the given name is available. + :paramtype message: str + """ super(CheckNameAvailabilityResponse, self).__init__(**kwargs) self.name_available = name_available self.reason = reason @@ -76,16 +91,16 @@ def __init__( class DetailedInformation(msrest.serialization.Model): """Model to capture detailed information for farmBeatsExtensions. - :param api_name: ApiName available for the farmBeatsExtension. - :type api_name: str - :param custom_parameters: List of customParameters. - :type custom_parameters: list[str] - :param platform_parameters: List of platformParameters. - :type platform_parameters: list[str] - :param units_supported: Unit systems info for the data provider. - :type units_supported: ~azure.mgmt.agrifood.models.UnitSystemsInfo - :param api_input_parameters: List of apiInputParameters. - :type api_input_parameters: list[str] + :ivar api_name: ApiName available for the farmBeatsExtension. + :vartype api_name: str + :ivar custom_parameters: List of customParameters. + :vartype custom_parameters: list[str] + :ivar platform_parameters: List of platformParameters. + :vartype platform_parameters: list[str] + :ivar units_supported: Unit systems info for the data provider. + :vartype units_supported: ~azure.mgmt.agrifood.models.UnitSystemsInfo + :ivar api_input_parameters: List of apiInputParameters. + :vartype api_input_parameters: list[str] """ _attribute_map = { @@ -106,6 +121,18 @@ def __init__( api_input_parameters: Optional[List[str]] = None, **kwargs ): + """ + :keyword api_name: ApiName available for the farmBeatsExtension. + :paramtype api_name: str + :keyword custom_parameters: List of customParameters. + :paramtype custom_parameters: list[str] + :keyword platform_parameters: List of platformParameters. + :paramtype platform_parameters: list[str] + :keyword units_supported: Unit systems info for the data provider. + :paramtype units_supported: ~azure.mgmt.agrifood.models.UnitSystemsInfo + :keyword api_input_parameters: List of apiInputParameters. + :paramtype api_input_parameters: list[str] + """ super(DetailedInformation, self).__init__(**kwargs) self.api_name = api_name self.custom_parameters = custom_parameters @@ -139,6 +166,8 @@ def __init__( self, **kwargs ): + """ + """ super(ErrorAdditionalInfo, self).__init__(**kwargs) self.type = None self.info = None @@ -181,6 +210,8 @@ def __init__( self, **kwargs ): + """ + """ super(ErrorDetail, self).__init__(**kwargs) self.code = None self.message = None @@ -192,8 +223,8 @@ def __init__( class ErrorResponse(msrest.serialization.Model): """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). - :param error: The error object. - :type error: ~azure.mgmt.agrifood.models.ErrorDetail + :ivar error: The error object. + :vartype error: ~azure.mgmt.agrifood.models.ErrorDetail """ _attribute_map = { @@ -206,6 +237,10 @@ def __init__( error: Optional["ErrorDetail"] = None, **kwargs ): + """ + :keyword error: The error object. + :paramtype error: ~azure.mgmt.agrifood.models.ErrorDetail + """ super(ErrorResponse, self).__init__(**kwargs) self.error = error @@ -241,6 +276,8 @@ def __init__( self, **kwargs ): + """ + """ super(Resource, self).__init__(**kwargs) self.id = None self.name = None @@ -278,6 +315,8 @@ def __init__( self, **kwargs ): + """ + """ super(ProxyResource, self).__init__(**kwargs) @@ -316,7 +355,7 @@ class Extension(ProxyResource): 'type': {'readonly': True}, 'system_data': {'readonly': True}, 'e_tag': {'readonly': True}, - 'extension_id': {'readonly': True, 'pattern': r'^[A-za-z]{3,50}[.][A-za-z]{3,100}$'}, + 'extension_id': {'readonly': True, 'pattern': r'^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$'}, 'extension_category': {'readonly': True}, 'installed_extension_version': {'readonly': True, 'pattern': r'^([1-9]|10).\d$'}, 'extension_auth_link': {'readonly': True}, @@ -340,6 +379,8 @@ def __init__( self, **kwargs ): + """ + """ super(Extension, self).__init__(**kwargs) self.system_data = None self.e_tag = None @@ -355,8 +396,8 @@ class ExtensionListResponse(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :param value: List of requested objects. - :type value: list[~azure.mgmt.agrifood.models.Extension] + :ivar value: List of requested objects. + :vartype value: list[~azure.mgmt.agrifood.models.Extension] :ivar next_link: Continuation link (absolute URI) to the next page of results in the list. :vartype next_link: str """ @@ -376,6 +417,10 @@ def __init__( value: Optional[List["Extension"]] = None, **kwargs ): + """ + :keyword value: List of requested objects. + :paramtype value: list[~azure.mgmt.agrifood.models.Extension] + """ super(ExtensionListResponse, self).__init__(**kwargs) self.value = value self.next_link = None @@ -396,10 +441,10 @@ class TrackedResource(Resource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str """ _validation = { @@ -424,6 +469,12 @@ def __init__( tags: Optional[Dict[str, str]] = None, **kwargs ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ super(TrackedResource, self).__init__(**kwargs) self.tags = tags self.location = location @@ -444,10 +495,10 @@ class FarmBeats(TrackedResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str :ivar system_data: Metadata pertaining to creation and last modification of the resource. :vartype system_data: ~azure.mgmt.agrifood.models.SystemData :ivar instance_uri: Uri of the FarmBeats instance. @@ -485,6 +536,12 @@ def __init__( tags: Optional[Dict[str, str]] = None, **kwargs ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ super(FarmBeats, self).__init__(tags=tags, location=location, **kwargs) self.system_data = None self.instance_uri = None @@ -537,7 +594,7 @@ class FarmBeatsExtension(ProxyResource): 'type': {'readonly': True}, 'system_data': {'readonly': True}, 'target_resource_type': {'readonly': True}, - 'farm_beats_extension_id': {'readonly': True, 'max_length': 100, 'min_length': 2, 'pattern': r'^[A-za-z]{3,50}[.][A-za-z]{3,100}$'}, + 'farm_beats_extension_id': {'readonly': True, 'max_length': 100, 'min_length': 2, 'pattern': r'^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$'}, 'farm_beats_extension_name': {'readonly': True, 'max_length': 100, 'min_length': 2}, 'farm_beats_extension_version': {'readonly': True, 'max_length': 100, 'min_length': 2, 'pattern': r'^([1-9]|10).\d$'}, 'publisher_id': {'readonly': True, 'max_length': 100, 'min_length': 2}, @@ -569,6 +626,8 @@ def __init__( self, **kwargs ): + """ + """ super(FarmBeatsExtension, self).__init__(**kwargs) self.system_data = None self.target_resource_type = None @@ -588,8 +647,8 @@ class FarmBeatsExtensionListResponse(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :param value: List of requested objects. - :type value: list[~azure.mgmt.agrifood.models.FarmBeatsExtension] + :ivar value: List of requested objects. + :vartype value: list[~azure.mgmt.agrifood.models.FarmBeatsExtension] :ivar next_link: Continuation link (absolute URI) to the next page of results in the list. :vartype next_link: str """ @@ -609,6 +668,10 @@ def __init__( value: Optional[List["FarmBeatsExtension"]] = None, **kwargs ): + """ + :keyword value: List of requested objects. + :paramtype value: list[~azure.mgmt.agrifood.models.FarmBeatsExtension] + """ super(FarmBeatsExtensionListResponse, self).__init__(**kwargs) self.value = value self.next_link = None @@ -619,8 +682,8 @@ class FarmBeatsListResponse(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. - :param value: List of requested objects. - :type value: list[~azure.mgmt.agrifood.models.FarmBeats] + :ivar value: List of requested objects. + :vartype value: list[~azure.mgmt.agrifood.models.FarmBeats] :ivar next_link: Continuation link (absolute URI) to the next page of results in the list. :vartype next_link: str """ @@ -640,6 +703,10 @@ def __init__( value: Optional[List["FarmBeats"]] = None, **kwargs ): + """ + :keyword value: List of requested objects. + :paramtype value: list[~azure.mgmt.agrifood.models.FarmBeats] + """ super(FarmBeatsListResponse, self).__init__(**kwargs) self.value = value self.next_link = None @@ -648,10 +715,10 @@ def __init__( class FarmBeatsUpdateRequestModel(msrest.serialization.Model): """FarmBeats update request. - :param location: Geo-location where the resource lives. - :type location: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] + :ivar location: Geo-location where the resource lives. + :vartype location: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] """ _attribute_map = { @@ -666,6 +733,12 @@ def __init__( tags: Optional[Dict[str, str]] = None, **kwargs ): + """ + :keyword location: Geo-location where the resource lives. + :paramtype location: str + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + """ super(FarmBeatsUpdateRequestModel, self).__init__(**kwargs) self.location = location self.tags = tags @@ -682,8 +755,8 @@ class Operation(msrest.serialization.Model): :ivar is_data_action: Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. :vartype is_data_action: bool - :param display: Localized display information for this particular operation. - :type display: ~azure.mgmt.agrifood.models.OperationDisplay + :ivar display: Localized display information for this particular operation. + :vartype display: ~azure.mgmt.agrifood.models.OperationDisplay :ivar origin: The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Possible values include: "user", "system", "user,system". @@ -714,6 +787,10 @@ def __init__( display: Optional["OperationDisplay"] = None, **kwargs ): + """ + :keyword display: Localized display information for this particular operation. + :paramtype display: ~azure.mgmt.agrifood.models.OperationDisplay + """ super(Operation, self).__init__(**kwargs) self.name = None self.is_data_action = None @@ -759,6 +836,8 @@ def __init__( self, **kwargs ): + """ + """ super(OperationDisplay, self).__init__(**kwargs) self.provider = None self.resource = None @@ -791,6 +870,8 @@ def __init__( self, **kwargs ): + """ + """ super(OperationListResult, self).__init__(**kwargs) self.value = None self.next_link = None @@ -799,20 +880,20 @@ def __init__( class SystemData(msrest.serialization.Model): """Metadata pertaining to creation and last modification of the resource. - :param created_by: The identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource. Possible values - include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). - :type created_at: ~datetime.datetime - :param last_modified_by: The identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource. Possible + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType - :param last_modified_at: The timestamp of resource last modification (UTC). - :type last_modified_at: ~datetime.datetime + :vartype last_modified_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime """ _attribute_map = { @@ -835,6 +916,22 @@ def __init__( last_modified_at: Optional[datetime.datetime] = None, **kwargs ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure.mgmt.agrifood.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ super(SystemData, self).__init__(**kwargs) self.created_by = created_by self.created_by_type = created_by_type @@ -849,10 +946,10 @@ class UnitSystemsInfo(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param key: Required. UnitSystem key sent as part of ProviderInput. - :type key: str - :param values: Required. List of unit systems supported by this data provider. - :type values: list[str] + :ivar key: Required. UnitSystem key sent as part of ProviderInput. + :vartype key: str + :ivar values: Required. List of unit systems supported by this data provider. + :vartype values: list[str] """ _validation = { @@ -872,6 +969,12 @@ def __init__( values: List[str], **kwargs ): + """ + :keyword key: Required. UnitSystem key sent as part of ProviderInput. + :paramtype key: str + :keyword values: Required. List of unit systems supported by this data provider. + :paramtype values: list[str] + """ super(UnitSystemsInfo, self).__init__(**kwargs) self.key = key self.values = values diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_extensions_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_extensions_operations.py index 74ee8b5017fa..6222bd70c1f0 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_extensions_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_extensions_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,23 +6,225 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Iterable, List, Optional, TypeVar + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_create_request( + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}") # pylint: disable=line-too-long + path_format_arguments = { + "extensionId": _SERIALIZER.url("extension_id", extension_id, 'str'), + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}") # pylint: disable=line-too-long + path_format_arguments = { + "extensionId": _SERIALIZER.url("extension_id", extension_id, 'str'), + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request( + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}") # pylint: disable=line-too-long + path_format_arguments = { + "extensionId": _SERIALIZER.url("extension_id", extension_id, 'str'), + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request( + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}") # pylint: disable=line-too-long + path_format_arguments = { + "extensionId": _SERIALIZER.url("extension_id", extension_id, 'str'), + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_farm_beats_request( + resource_group_name: str, + subscription_id: str, + farm_beats_resource_name: str, + *, + extension_ids: Optional[List[str]] = None, + extension_categories: Optional[List[str]] = None, + max_page_size: Optional[int] = 50, + skip_token: Optional[str] = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions") # pylint: disable=line-too-long + path_format_arguments = { + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + if extension_ids is not None: + _query_parameters['extensionIds'] = [_SERIALIZER.query("extension_ids", q, 'str') if q is not None else '' for q in extension_ids] + if extension_categories is not None: + _query_parameters['extensionCategories'] = [_SERIALIZER.query("extension_categories", q, 'str') if q is not None else '' for q in extension_categories] + if max_page_size is not None: + _query_parameters['$maxPageSize'] = _SERIALIZER.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) + if skip_token is not None: + _query_parameters['$skipToken'] = _SERIALIZER.query("skip_token", skip_token, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) class ExtensionsOperations(object): """ExtensionsOperations operations. @@ -45,14 +248,14 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def create( self, - extension_id, # type: str - farm_beats_resource_name, # type: str - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.Extension" + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + **kwargs: Any + ) -> "_models.Extension": """Install extension. :param extension_id: Id of extension resource. @@ -71,34 +274,31 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.create.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_create_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.create.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.put(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Extension', pipeline_response) @@ -107,16 +307,18 @@ def create( return cls(pipeline_response, deserialized, {}) return deserialized - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore + create.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + + @distributed_trace def get( self, - extension_id, # type: str - farm_beats_resource_name, # type: str - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.Extension" + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + **kwargs: Any + ) -> "_models.Extension": """Get installed extension details by extension id. :param extension_id: Id of extension resource. @@ -135,34 +337,31 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Extension', pipeline_response) @@ -171,16 +370,18 @@ def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + + @distributed_trace def update( self, - extension_id, # type: str - farm_beats_resource_name, # type: str - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.Extension" + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + **kwargs: Any + ) -> "_models.Extension": """Upgrade to latest extension. :param extension_id: Id of extension resource. @@ -199,34 +400,31 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_update_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.update.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.patch(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Extension', pipeline_response) @@ -235,16 +433,18 @@ def update( return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore - def delete( + update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + + @distributed_trace + def delete( # pylint: disable=inconsistent-return-statements self, - extension_id, # type: str - farm_beats_resource_name, # type: str - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None + extension_id: str, + farm_beats_resource_name: str, + resource_group_name: str, + **kwargs: Any + ) -> None: """Uninstall extension. :param extension_id: Id of extension resource. @@ -263,115 +463,115 @@ def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'extensionId': self._serialize.url("extension_id", extension_id, 'str'), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_delete_request( + extension_id=extension_id, + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.delete.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}'} # type: ignore + delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions/{extensionId}"} # type: ignore + + @distributed_trace def list_by_farm_beats( self, - resource_group_name, # type: str - farm_beats_resource_name, # type: str - extension_ids=None, # type: Optional[List[str]] - extension_categories=None, # type: Optional[List[str]] - max_page_size=50, # type: Optional[int] - skip_token=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ExtensionListResponse"] + resource_group_name: str, + farm_beats_resource_name: str, + extension_ids: Optional[List[str]] = None, + extension_categories: Optional[List[str]] = None, + max_page_size: Optional[int] = 50, + skip_token: Optional[str] = None, + **kwargs: Any + ) -> Iterable["_models.ExtensionListResponse"]: """Get installed extensions details. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :param farm_beats_resource_name: FarmBeats resource name. :type farm_beats_resource_name: str - :param extension_ids: Installed extension ids. + :param extension_ids: Installed extension ids. Default value is None. :type extension_ids: list[str] - :param extension_categories: Installed extension categories. + :param extension_categories: Installed extension categories. Default value is None. :type extension_categories: list[str] :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int - :param skip_token: Skip token for getting next set of results. + :param skip_token: Skip token for getting next set of results. Default value is None. :type skip_token: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ExtensionListResponse or the result of cls(response) + :return: An iterator like instance of either ExtensionListResponse or the result of + cls(response) :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.agrifood.models.ExtensionListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExtensionListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_farm_beats.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - if extension_ids is not None: - query_parameters['extensionIds'] = [self._serialize.query("extension_ids", q, 'str') if q is not None else '' for q in extension_ids] - if extension_categories is not None: - query_parameters['extensionCategories'] = [self._serialize.query("extension_categories", q, 'str') if q is not None else '' for q in extension_categories] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - if skip_token is not None: - query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_farm_beats_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + extension_ids=extension_ids, + extension_categories=extension_categories, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=self.list_by_farm_beats.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_farm_beats_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + extension_ids=extension_ids, + extension_categories=extension_categories, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('ExtensionListResponse', pipeline_response) + deserialized = self._deserialize("ExtensionListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -380,17 +580,22 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return ItemPaged( get_next, extract_data ) - list_by_farm_beats.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions'} # type: ignore + list_by_farm_beats.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}/extensions"} # type: ignore diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_extensions_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_extensions_operations.py index d101e1342bd7..afe51213327e 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_extensions_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_extensions_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,23 +6,98 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Iterable, List, Optional, TypeVar + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + *, + farm_beats_extension_ids: Optional[List[str]] = None, + farm_beats_extension_names: Optional[List[str]] = None, + extension_categories: Optional[List[str]] = None, + publisher_ids: Optional[List[str]] = None, + max_page_size: Optional[int] = 50, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if farm_beats_extension_ids is not None: + _query_parameters['farmBeatsExtensionIds'] = [_SERIALIZER.query("farm_beats_extension_ids", q, 'str') if q is not None else '' for q in farm_beats_extension_ids] + if farm_beats_extension_names is not None: + _query_parameters['farmBeatsExtensionNames'] = [_SERIALIZER.query("farm_beats_extension_names", q, 'str') if q is not None else '' for q in farm_beats_extension_names] + if extension_categories is not None: + _query_parameters['extensionCategories'] = [_SERIALIZER.query("extension_categories", q, 'str') if q is not None else '' for q in extension_categories] + if publisher_ids is not None: + _query_parameters['publisherIds'] = [_SERIALIZER.query("publisher_ids", q, 'str') if q is not None else '' for q in publisher_ids] + if max_page_size is not None: + _query_parameters['$maxPageSize'] = _SERIALIZER.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + farm_beats_extension_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/{farmBeatsExtensionId}") # pylint: disable=line-too-long + path_format_arguments = { + "farmBeatsExtensionId": _SERIALIZER.url("farm_beats_extension_id", farm_beats_extension_id, 'str', pattern=r'^[a-zA-Z]{3,50}[.][a-zA-Z]{3,100}$'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) class FarmBeatsExtensionsOperations(object): """FarmBeatsExtensionsOperations operations. @@ -45,73 +121,76 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def list( self, - farm_beats_extension_ids=None, # type: Optional[List[str]] - farm_beats_extension_names=None, # type: Optional[List[str]] - extension_categories=None, # type: Optional[List[str]] - publisher_ids=None, # type: Optional[List[str]] - max_page_size=50, # type: Optional[int] - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.FarmBeatsExtensionListResponse"] + farm_beats_extension_ids: Optional[List[str]] = None, + farm_beats_extension_names: Optional[List[str]] = None, + extension_categories: Optional[List[str]] = None, + publisher_ids: Optional[List[str]] = None, + max_page_size: Optional[int] = 50, + **kwargs: Any + ) -> Iterable["_models.FarmBeatsExtensionListResponse"]: """Get list of farmBeats extension. - :param farm_beats_extension_ids: FarmBeatsExtension ids. + :param farm_beats_extension_ids: FarmBeatsExtension ids. Default value is None. :type farm_beats_extension_ids: list[str] - :param farm_beats_extension_names: FarmBeats extension names. + :param farm_beats_extension_names: FarmBeats extension names. Default value is None. :type farm_beats_extension_names: list[str] - :param extension_categories: Extension categories. + :param extension_categories: Extension categories. Default value is None. :type extension_categories: list[str] - :param publisher_ids: Publisher ids. + :param publisher_ids: Publisher ids. Default value is None. :type publisher_ids: list[str] :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FarmBeatsExtensionListResponse or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.agrifood.models.FarmBeatsExtensionListResponse] + :return: An iterator like instance of either FarmBeatsExtensionListResponse or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.agrifood.models.FarmBeatsExtensionListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.FarmBeatsExtensionListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if farm_beats_extension_ids is not None: - query_parameters['farmBeatsExtensionIds'] = [self._serialize.query("farm_beats_extension_ids", q, 'str') if q is not None else '' for q in farm_beats_extension_ids] - if farm_beats_extension_names is not None: - query_parameters['farmBeatsExtensionNames'] = [self._serialize.query("farm_beats_extension_names", q, 'str') if q is not None else '' for q in farm_beats_extension_names] - if extension_categories is not None: - query_parameters['extensionCategories'] = [self._serialize.query("extension_categories", q, 'str') if q is not None else '' for q in extension_categories] - if publisher_ids is not None: - query_parameters['publisherIds'] = [self._serialize.query("publisher_ids", q, 'str') if q is not None else '' for q in publisher_ids] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + farm_beats_extension_ids=farm_beats_extension_ids, + farm_beats_extension_names=farm_beats_extension_names, + extension_categories=extension_categories, + publisher_ids=publisher_ids, + max_page_size=max_page_size, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + farm_beats_extension_ids=farm_beats_extension_ids, + farm_beats_extension_names=farm_beats_extension_names, + extension_categories=extension_categories, + publisher_ids=publisher_ids, + max_page_size=max_page_size, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('FarmBeatsExtensionListResponse', pipeline_response) + deserialized = self._deserialize("FarmBeatsExtensionListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -120,27 +199,32 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return ItemPaged( get_next, extract_data ) - list.metadata = {'url': '/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions'} # type: ignore + list.metadata = {'url': "/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions"} # type: ignore + @distributed_trace def get( self, - farm_beats_extension_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.FarmBeatsExtension" + farm_beats_extension_id: str, + **kwargs: Any + ) -> "_models.FarmBeatsExtension": """Get farmBeats extension. :param farm_beats_extension_id: farmBeatsExtensionId to be queried. @@ -155,31 +239,28 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'farmBeatsExtensionId': self._serialize.url("farm_beats_extension_id", farm_beats_extension_id, 'str', pattern=r'^[A-za-z]{3,50}[.][A-za-z]{3,100}$'), - } - url = self._client.format_url(url, **path_format_arguments) + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + farm_beats_extension_id=farm_beats_extension_id, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FarmBeatsExtension', pipeline_response) @@ -188,4 +269,6 @@ def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/{farmBeatsExtensionId}'} # type: ignore + + get.metadata = {'url': "/providers/Microsoft.AgFoodPlatform/farmBeatsExtensionDefinitions/{farmBeatsExtensionId}"} # type: ignore + diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_models_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_models_operations.py index e58a1a2cfc2b..a1772f1be2f1 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_models_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_farm_beats_models_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,23 +6,265 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +JSONType = Any +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_get_request( + resource_group_name: str, + subscription_id: str, + farm_beats_resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_or_update_request( + farm_beats_resource_name: str, + resource_group_name: str, + subscription_id: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_update_request( + farm_beats_resource_name: str, + resource_group_name: str, + subscription_id: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_delete_request( + resource_group_name: str, + subscription_id: str, + farm_beats_resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "farmBeatsResourceName": _SERIALIZER.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_subscription_request( + subscription_id: str, + *, + max_page_size: Optional[int] = 50, + skip_token: Optional[str] = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if max_page_size is not None: + _query_parameters['$maxPageSize'] = _SERIALIZER.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) + if skip_token is not None: + _query_parameters['$skipToken'] = _SERIALIZER.query("skip_token", skip_token, 'str') + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + resource_group_name: str, + subscription_id: str, + *, + max_page_size: Optional[int] = 50, + skip_token: Optional[str] = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats") # pylint: disable=line-too-long + path_format_arguments = { + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + if max_page_size is not None: + _query_parameters['$maxPageSize'] = _SERIALIZER.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) + if skip_token is not None: + _query_parameters['$skipToken'] = _SERIALIZER.query("skip_token", skip_token, 'str') + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) class FarmBeatsModelsOperations(object): """FarmBeatsModelsOperations operations. @@ -45,13 +288,13 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def get( self, - resource_group_name, # type: str - farm_beats_resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.FarmBeats" + resource_group_name: str, + farm_beats_resource_name: str, + **kwargs: Any + ) -> "_models.FarmBeats": """Get FarmBeats resource. :param resource_group_name: The name of the resource group. The name is case insensitive. @@ -68,33 +311,30 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FarmBeats', pipeline_response) @@ -103,16 +343,18 @@ def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + + @distributed_trace def create_or_update( self, - farm_beats_resource_name, # type: str - resource_group_name, # type: str - body, # type: "_models.FarmBeats" - **kwargs # type: Any - ): - # type: (...) -> "_models.FarmBeats" + farm_beats_resource_name: str, + resource_group_name: str, + body: "_models.FarmBeats", + **kwargs: Any + ) -> "_models.FarmBeats": """Create or update FarmBeats resource. :param farm_beats_resource_name: FarmBeats resource name. @@ -131,38 +373,34 @@ def create_or_update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.create_or_update.metadata['url'] # type: ignore - path_format_arguments = { - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(body, 'FarmBeats') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(body, 'FarmBeats') + + request = build_create_or_update_request( + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.create_or_update.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -175,16 +413,18 @@ def create_or_update( return cls(pipeline_response, deserialized, {}) return deserialized - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore + create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + + @distributed_trace def update( self, - farm_beats_resource_name, # type: str - resource_group_name, # type: str - body, # type: "_models.FarmBeatsUpdateRequestModel" - **kwargs # type: Any - ): - # type: (...) -> "_models.FarmBeats" + farm_beats_resource_name: str, + resource_group_name: str, + body: "_models.FarmBeatsUpdateRequestModel", + **kwargs: Any + ) -> "_models.FarmBeats": """Update a FarmBeats resource. :param farm_beats_resource_name: FarmBeats resource name. @@ -203,38 +443,34 @@ def update( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.update.metadata['url'] # type: ignore - path_format_arguments = { - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(body, 'FarmBeatsUpdateRequestModel') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(body, 'FarmBeatsUpdateRequestModel') + + request = build_update_request( + farm_beats_resource_name=farm_beats_resource_name, + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FarmBeats', pipeline_response) @@ -243,15 +479,17 @@ def update( return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore - def delete( + update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + + @distributed_trace + def delete( # pylint: disable=inconsistent-return-statements self, - resource_group_name, # type: str - farm_beats_resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None + resource_group_name: str, + farm_beats_resource_name: str, + **kwargs: Any + ) -> None: """Delete a FarmBeats resource. :param resource_group_name: The name of the resource group. The name is case insensitive. @@ -268,96 +506,94 @@ def delete( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - - # Construct URL - url = self.delete.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'farmBeatsResourceName': self._serialize.url("farm_beats_resource_name", farm_beats_resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_delete_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + farm_beats_resource_name=farm_beats_resource_name, + api_version=api_version, + template_url=self.delete.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: return cls(pipeline_response, None, {}) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}'} # type: ignore + delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{farmBeatsResourceName}"} # type: ignore + + @distributed_trace def list_by_subscription( self, - max_page_size=50, # type: Optional[int] - skip_token=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.FarmBeatsListResponse"] + max_page_size: Optional[int] = 50, + skip_token: Optional[str] = None, + **kwargs: Any + ) -> Iterable["_models.FarmBeatsListResponse"]: """Lists the FarmBeats instances for a subscription. :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int - :param skip_token: Skip token for getting next set of results. + :param skip_token: Skip token for getting next set of results. Default value is None. :type skip_token: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FarmBeatsListResponse or the result of cls(response) + :return: An iterator like instance of either FarmBeatsListResponse or the result of + cls(response) :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.agrifood.models.FarmBeatsListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.FarmBeatsListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - if skip_token is not None: - query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=self.list_by_subscription.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('FarmBeatsListResponse', pipeline_response) + deserialized = self._deserialize("FarmBeatsListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -366,81 +602,87 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return ItemPaged( get_next, extract_data ) - list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats'} # type: ignore + list_by_subscription.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/farmBeats"} # type: ignore + @distributed_trace def list_by_resource_group( self, - resource_group_name, # type: str - max_page_size=50, # type: Optional[int] - skip_token=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.FarmBeatsListResponse"] + resource_group_name: str, + max_page_size: Optional[int] = 50, + skip_token: Optional[str] = None, + **kwargs: Any + ) -> Iterable["_models.FarmBeatsListResponse"]: """Lists the FarmBeats instances for a resource group. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :param max_page_size: Maximum number of items needed (inclusive). - Minimum = 10, Maximum = 1000, Default value = 50. + Minimum = 10, Maximum = 1000, Default value = 50. Default value is 50. :type max_page_size: int - :param skip_token: Continuation token for getting next set of results. + :param skip_token: Continuation token for getting next set of results. Default value is None. :type skip_token: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either FarmBeatsListResponse or the result of cls(response) + :return: An iterator like instance of either FarmBeatsListResponse or the result of + cls(response) :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.agrifood.models.FarmBeatsListResponse] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.FarmBeatsListResponse"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - if max_page_size is not None: - query_parameters['$maxPageSize'] = self._serialize.query("max_page_size", max_page_size, 'int', maximum=1000, minimum=10) - if skip_token is not None: - query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + resource_group_name=resource_group_name, + subscription_id=self._config.subscription_id, + api_version=api_version, + max_page_size=max_page_size, + skip_token=skip_token, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('FarmBeatsListResponse', pipeline_response) + deserialized = self._deserialize("FarmBeatsListResponse", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -449,17 +691,22 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return ItemPaged( get_next, extract_data ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats'} # type: ignore + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats"} # type: ignore diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_locations_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_locations_operations.py index 3903612ef1b4..74262501a47c 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_locations_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_locations_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,22 +6,64 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Optional, TypeVar + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +JSONType = Any +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_check_name_availability_request( + subscription_id: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) class LocationsOperations(object): """LocationsOperations operations. @@ -44,12 +87,12 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def check_name_availability( self, - body, # type: "_models.CheckNameAvailabilityRequest" - **kwargs # type: Any - ): - # type: (...) -> "_models.CheckNameAvailabilityResponse" + body: "_models.CheckNameAvailabilityRequest", + **kwargs: Any + ) -> "_models.CheckNameAvailabilityResponse": """Checks the name availability of the resource with requested resource name. :param body: NameAvailabilityRequest object. @@ -64,36 +107,32 @@ def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.check_name_availability.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(body, 'CheckNameAvailabilityRequest') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(body, 'CheckNameAvailabilityRequest') + + request = build_check_name_availability_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.check_name_availability.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('CheckNameAvailabilityResponse', pipeline_response) @@ -102,4 +141,6 @@ def check_name_availability( return cls(pipeline_response, deserialized, {}) return deserialized - check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability'} # type: ignore + + check_name_availability.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability"} # type: ignore + diff --git a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_operations.py b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_operations.py index c781c686e1cc..585345dbc39f 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_operations.py +++ b/sdk/agrifood/azure-mgmt-agrifood/azure/mgmt/agrifood/operations/_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,23 +6,50 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +from .._vendor import _convert_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.AgFoodPlatform/operations") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) class Operations(object): """Operations operations. @@ -45,11 +73,11 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def list( self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.OperationListResult"] + **kwargs: Any + ) -> Iterable["_models.OperationListResult"]: """Lists the available operations of Microsoft.AgFoodPlatform resource provider. :keyword callable cls: A custom type or function that will be passed the direct response @@ -57,35 +85,36 @@ def list( :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.agrifood.models.OperationListResult] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-05-12-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-05-12-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('OperationListResult', pipeline_response) + deserialized = self._deserialize("OperationListResult", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -94,17 +123,22 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response + return ItemPaged( get_next, extract_data ) - list.metadata = {'url': '/providers/Microsoft.AgFoodPlatform/operations'} # type: ignore + list.metadata = {'url': "/providers/Microsoft.AgFoodPlatform/operations"} # type: ignore diff --git a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md index b3790768609b..aeeee415a673 100644 --- a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md @@ -1,16 +1,13 @@ # Release History -## 1.0.1 (Unreleased) +## 1.1.0b1 (2022-05-10) ### Features Added - -### Breaking Changes - -### Bugs Fixed - +- Support uploading and downloading OCI manifests and artifact blobs in synchronous `ContainerRegistryClient`. ([#24004](https://github.com/Azure/azure-sdk-for-python/pull/24004)) ### Other Changes - Fixed a spell error in a property of `RepositoryProperties` to `last_updated_on`. +- Bumped dependency on `azure-core` to `>=1.23.0`. ## 1.0.0 (2022-01-25) diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_authentication_policy.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_authentication_policy.py index 4f97428d6b61..8d71eb4b8eed 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_authentication_policy.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_authentication_policy.py @@ -5,6 +5,7 @@ # ------------------------------------ from typing import TYPE_CHECKING, Any +from io import SEEK_SET, UnsupportedOperation from azure.core.pipeline.policies import HTTPPolicy @@ -52,6 +53,14 @@ def send(self, request): if response.http_response.status_code == 401: challenge = response.http_response.headers.get("WWW-Authenticate") if challenge and self.on_challenge(request, response, challenge): + if request.http_request.body and hasattr(request.http_request.body, 'read'): + try: + # attempt to rewind the body to the initial position + request.http_request.body.seek(0, SEEK_SET) + except (UnsupportedOperation, ValueError, AttributeError): + # if body is not seekable, then retry would not work + return response + response = self.next.send(request) return response diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_container_registry_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_container_registry_client.py index 575e240def9f..27beca997757 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_container_registry_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_container_registry_client.py @@ -3,7 +3,8 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -from typing import TYPE_CHECKING, overload, Any, Dict, Optional, Union +from io import BytesIO +from typing import TYPE_CHECKING, Any, IO, Optional, overload, Union from azure.core.exceptions import ( ClientAuthenticationError, ResourceNotFoundError, @@ -15,12 +16,30 @@ from azure.core.tracing.decorator import distributed_trace from ._base_client import ContainerRegistryBaseClient -from ._generated.models import AcrErrors -from ._helpers import _parse_next_link, _is_tag, SUPPORTED_API_VERSIONS -from ._models import RepositoryProperties, ArtifactTagProperties, ArtifactManifestProperties +from ._generated.models import AcrErrors, OCIManifest +from ._helpers import ( + _compute_digest, + _is_tag, + _parse_next_link, + _serialize_manifest, + _validate_digest, + OCI_MANIFEST_MEDIA_TYPE, + SUPPORTED_API_VERSIONS, +) +from ._models import ( + RepositoryProperties, + ArtifactTagProperties, + ArtifactManifestProperties, + DownloadBlobResult, + DownloadManifestResult, +) if TYPE_CHECKING: from azure.core.credentials import TokenCredential + from typing import Dict + +def _return_response(pipeline_response, deserialized, response_headers): + return pipeline_response, deserialized, response_headers class ContainerRegistryClient(ContainerRegistryBaseClient): @@ -338,33 +357,6 @@ def get_next(next_link=None): return ItemPaged(get_next, extract_data) - @distributed_trace - def delete_manifest(self, repository, tag_or_digest, **kwargs): - # type: (str, str, **Any) -> None - """Delete a manifest. If the manifest cannot be found or a response status code of - 404 is returned an error will not be raised. - - :param str repository: Name of the repository the manifest belongs to - :param str tag_or_digest: Tag or digest of the manifest to be deleted - :returns: None - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - - Example - - .. code-block:: python - - from azure.containerregistry import ContainerRegistryClient - from azure.identity import DefaultAzureCredential - endpoint = os.environ["CONTAINERREGISTRY_ENDPOINT"] - client = ContainerRegistryClient(endpoint, DefaultAzureCredential(), audience="my_audience") - client.delete_manifest("my_repository", "my_tag_or_digest") - """ - if _is_tag(tag_or_digest): - tag_or_digest = self._get_digest_from_tag(repository, tag_or_digest) - - self._client.container_registry.delete_manifest(repository, tag_or_digest, **kwargs) - @distributed_trace def delete_tag(self, repository, tag, **kwargs): # type: (str, str, **Any) -> None @@ -764,3 +756,190 @@ def update_repository_properties(self, *args, **kwargs): repository, value=properties._to_generated(), **kwargs # pylint: disable=protected-access ) ) + + @distributed_trace + def upload_manifest( + self, repository: str, manifest: "Union['OCIManifest', 'IO']", *, tag: "Optional[str]" = None, **kwargs: "Any" + ) -> str: + """Upload a manifest for an OCI artifact. + + :param str repository: Name of the repository + :param manifest: The manifest to upload. Note: This must be a seekable stream. + :type manifest: ~azure.containerregistry.models.OCIManifest or IO + :keyword tag: Tag of the manifest. + :paramtype tag: str or None + :returns: The digest of the uploaded manifest, calculated by the registry. + :rtype: str + :raises ValueError: If the parameter repository or manifest is None. + :raises ~azure.core.exceptions.HttpResponseError: + If the digest in the response does not match the digest of the uploaded manifest. + """ + try: + data = manifest + if isinstance(manifest, OCIManifest): + data = _serialize_manifest(manifest) + tag_or_digest = tag + if tag is None: + tag_or_digest = _compute_digest(data) + + _, _, response_headers = self._client.container_registry.create_manifest( + name=repository, + reference=tag_or_digest, + payload=data, + content_type=OCI_MANIFEST_MEDIA_TYPE, + headers={"Accept": OCI_MANIFEST_MEDIA_TYPE}, + cls=_return_response, + **kwargs + ) + + digest = response_headers['Docker-Content-Digest'] + except ValueError: + if repository is None or manifest is None: + raise ValueError("The parameter repository and manifest cannot be None.") + if not _validate_digest(data, digest): + raise ValueError("The digest in the response does not match the digest of the uploaded manifest.") + raise + + return digest + + @distributed_trace + def upload_blob(self, repository, data, **kwargs): + # type: (str, IO, **Any) -> str + """Upload an artifact blob. + + :param str repository: Name of the repository + :param data: The blob to upload. Note: This must be a seekable stream. + :type data: IO + :returns: The digest of the uploaded blob, calculated by the registry. + :rtype: str + :raises ValueError: If the parameter repository or data is None. + """ + try: + _, _, start_upload_response_headers = self._client.container_registry_blob.start_upload( + repository, cls=_return_response, **kwargs + ) + _, _, upload_chunk_response_headers = self._client.container_registry_blob.upload_chunk( + start_upload_response_headers['Location'], data, cls=_return_response, **kwargs + ) + digest = _compute_digest(data) + _, _, complete_upload_response_headers = self._client.container_registry_blob.complete_upload( + digest=digest, next_link=upload_chunk_response_headers['Location'], cls=_return_response, **kwargs + ) + except ValueError: + if repository is None or data is None: + raise ValueError("The parameter repository and data cannot be None.") + raise + return complete_upload_response_headers['Docker-Content-Digest'] + + @distributed_trace + def download_manifest(self, repository, tag_or_digest, **kwargs): + # type: (str, str, **Any) -> DownloadManifestResult + """Download the manifest for an OCI artifact. + + :param str repository: Name of the repository + :param str tag_or_digest: The tag or digest of the manifest to download. + :returns: DownloadManifestResult + :rtype: ~azure.containerregistry.models.DownloadManifestResult + :raises ValueError: If the parameter repository or tag_or_digest is None. + :raises ~azure.core.exceptions.HttpResponseError: + If the requested digest does not match the digest of the received manifest. + """ + try: + response, manifest_wrapper, _ = self._client.container_registry.get_manifest( + name=repository, + reference=tag_or_digest, + headers={"Accept": OCI_MANIFEST_MEDIA_TYPE}, + cls=_return_response, + **kwargs + ) + digest = response.http_response.headers['Docker-Content-Digest'] + manifest = OCIManifest.deserialize(manifest_wrapper.serialize()) + manifest_stream = _serialize_manifest(manifest) + except ValueError: + if repository is None or tag_or_digest is None: + raise ValueError("The parameter repository and tag_or_digest cannot be None.") + if not _validate_digest(manifest_stream, digest): + raise ValueError("The requested digest does not match the digest of the received manifest.") + raise + + return DownloadManifestResult(digest=digest, data=manifest_stream, manifest=manifest) + + @distributed_trace + def download_blob(self, repository, digest, **kwargs): + # type: (str, str, **Any) -> DownloadBlobResult | None + """Download a blob that is part of an artifact. + + :param str repository: Name of the repository + :param str digest: The digest of the blob to download. + :returns: DownloadBlobResult or None + :rtype: ~azure.containerregistry.DownloadBlobResult or None + :raises ValueError: If the parameter repository or digest is None. + """ + try: + _, deserialized, _ = self._client.container_registry_blob.get_blob( + repository, digest, cls=_return_response, **kwargs + ) + except ValueError: + if repository is None or digest is None: + raise ValueError("The parameter repository and digest cannot be None.") + raise + + if deserialized: + blob_content = b'' + for chunk in deserialized: + if chunk: + blob_content += chunk + return DownloadBlobResult(data=BytesIO(blob_content), digest=digest) + return None + + @distributed_trace + def delete_manifest(self, repository, tag_or_digest, **kwargs): + # type: (str, str, **Any) -> None + """Delete a manifest. If the manifest cannot be found or a response status code of + 404 is returned an error will not be raised. + + :param str repository: Name of the repository the manifest belongs to + :param str tag_or_digest: Tag or digest of the manifest to be deleted + :returns: None + :raises: ~azure.core.exceptions.HttpResponseError + + Example + + .. code-block:: python + + from azure.containerregistry import ContainerRegistryClient + from azure.identity import DefaultAzureCredential + endpoint = os.environ["CONTAINERREGISTRY_ENDPOINT"] + client = ContainerRegistryClient(endpoint, DefaultAzureCredential(), audience="my_audience") + client.delete_manifest("my_repository", "my_tag_or_digest") + """ + if _is_tag(tag_or_digest): + tag_or_digest = self._get_digest_from_tag(repository, tag_or_digest) + + self._client.container_registry.delete_manifest(repository, tag_or_digest, **kwargs) + + @distributed_trace + def delete_blob(self, repository, tag_or_digest, **kwargs): + # type: (str, str, **Any) -> None + """Delete a blob. If the blob cannot be found or a response status code of + 404 is returned an error will not be raised. + + :param str repository: Name of the repository the manifest belongs to + :param str tag_or_digest: Tag or digest of the blob to be deleted + :returns: None + :raises: ~azure.core.exceptions.HttpResponseError + + Example + + .. code-block:: python + + from azure.containerregistry import ContainerRegistryClient + from azure.identity import DefaultAzureCredential + endpoint = os.environ["CONTAINERREGISTRY_ENDPOINT"] + client = ContainerRegistryClient(endpoint, DefaultAzureCredential(), audience="my_audience") + client.delete_blob("my_repository", "my_tag_or_digest") + """ + if _is_tag(tag_or_digest): + tag_or_digest = self._get_digest_from_tag(repository, tag_or_digest) + + self._client.container_registry_blob.delete_blob(repository, tag_or_digest, **kwargs) diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/__init__.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/__init__.py index 8ef23f2d9eac..2fe2f31e947b 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/__init__.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/__init__.py @@ -1,13 +1,18 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from ._container_registry import ContainerRegistry + +try: + from ._patch import __all__ as _patch_all + from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] +from ._patch import patch_sdk as _patch_sdk __all__ = ['ContainerRegistry'] +__all__.extend([p for p in _patch_all if p not in __all__]) -# `._patch.py` is used for handwritten extensions to the generated code -# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md -from ._patch import patch_sdk -patch_sdk() +_patch_sdk() diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_configuration.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_configuration.py index 74918e8be76c..e1a50aad36c1 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_configuration.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_configuration.py @@ -1,6 +1,6 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -15,7 +15,7 @@ VERSION = "unknown" -class ContainerRegistryConfiguration(Configuration): +class ContainerRegistryConfiguration(Configuration): # pylint: disable=too-many-instance-attributes """Configuration for ContainerRegistry. Note that all parameters used to create this instance are saved as instance @@ -23,7 +23,8 @@ class ContainerRegistryConfiguration(Configuration): :param url: Registry login URL. :type url: str - :keyword api_version: Api Version. The default value is "2021-07-01". Note that overriding this default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2021-07-01". Note that overriding this + default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_container_registry.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_container_registry.py index 29ce8e7e887d..52b987703f9b 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_container_registry.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_container_registry.py @@ -1,15 +1,16 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from copy import deepcopy from typing import TYPE_CHECKING -from azure.core import PipelineClient from msrest import Deserializer, Serializer +from azure.core import PipelineClient + from . import models from ._configuration import ContainerRegistryConfiguration from .operations import AuthenticationOperations, ContainerRegistryBlobOperations, ContainerRegistryOperations @@ -31,7 +32,7 @@ class ContainerRegistry(object): :vartype authentication: container_registry.operations.AuthenticationOperations :param url: Registry login URL. :type url: str - :keyword api_version: Api Version. The default value is "2021-07-01". Note that overriding this + :keyword api_version: Api Version. Default value is "2021-07-01". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -50,9 +51,15 @@ def __init__( self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self._serialize.client_side_validation = False - self.container_registry = ContainerRegistryOperations(self._client, self._config, self._serialize, self._deserialize) - self.container_registry_blob = ContainerRegistryBlobOperations(self._client, self._config, self._serialize, self._deserialize) - self.authentication = AuthenticationOperations(self._client, self._config, self._serialize, self._deserialize) + self.container_registry = ContainerRegistryOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.container_registry_blob = ContainerRegistryBlobOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.authentication = AuthenticationOperations( + self._client, self._config, self._serialize, self._deserialize + ) def _send_request( diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_vendor.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_vendor.py index f294c2aae4e1..5c6e1d9f50d9 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_vendor.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_vendor.py @@ -1,5 +1,5 @@ # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/__init__.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/__init__.py index 8ef23f2d9eac..2fe2f31e947b 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/__init__.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/__init__.py @@ -1,13 +1,18 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from ._container_registry import ContainerRegistry + +try: + from ._patch import __all__ as _patch_all + from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] +from ._patch import patch_sdk as _patch_sdk __all__ = ['ContainerRegistry'] +__all__.extend([p for p in _patch_all if p not in __all__]) -# `._patch.py` is used for handwritten extensions to the generated code -# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md -from ._patch import patch_sdk -patch_sdk() +_patch_sdk() diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_configuration.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_configuration.py index a8de260d01d6..5b63ebd5b4c2 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_configuration.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_configuration.py @@ -1,6 +1,6 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -11,7 +11,7 @@ VERSION = "unknown" -class ContainerRegistryConfiguration(Configuration): +class ContainerRegistryConfiguration(Configuration): # pylint: disable=too-many-instance-attributes """Configuration for ContainerRegistry. Note that all parameters used to create this instance are saved as instance @@ -19,7 +19,8 @@ class ContainerRegistryConfiguration(Configuration): :param url: Registry login URL. :type url: str - :keyword api_version: Api Version. The default value is "2021-07-01". Note that overriding this default value may result in unsupported behavior. + :keyword api_version: Api Version. Default value is "2021-07-01". Note that overriding this + default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_container_registry.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_container_registry.py index 42bdc954fdfb..551bcef7a441 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_container_registry.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_container_registry.py @@ -1,15 +1,16 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from copy import deepcopy from typing import Any, Awaitable +from msrest import Deserializer, Serializer + from azure.core import AsyncPipelineClient from azure.core.rest import AsyncHttpResponse, HttpRequest -from msrest import Deserializer, Serializer from .. import models from ._configuration import ContainerRegistryConfiguration @@ -27,7 +28,7 @@ class ContainerRegistry: :vartype authentication: container_registry.aio.operations.AuthenticationOperations :param url: Registry login URL. :type url: str - :keyword api_version: Api Version. The default value is "2021-07-01". Note that overriding this + :keyword api_version: Api Version. Default value is "2021-07-01". Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ @@ -45,9 +46,15 @@ def __init__( self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self._serialize.client_side_validation = False - self.container_registry = ContainerRegistryOperations(self._client, self._config, self._serialize, self._deserialize) - self.container_registry_blob = ContainerRegistryBlobOperations(self._client, self._config, self._serialize, self._deserialize) - self.authentication = AuthenticationOperations(self._client, self._config, self._serialize, self._deserialize) + self.container_registry = ContainerRegistryOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.container_registry_blob = ContainerRegistryBlobOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.authentication = AuthenticationOperations( + self._client, self._config, self._serialize, self._deserialize + ) def _send_request( diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/__init__.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/__init__.py index 12151dd8616a..bbce3721e2af 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/__init__.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/__init__.py @@ -1,6 +1,6 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -8,8 +8,13 @@ from ._container_registry_blob_operations import ContainerRegistryBlobOperations from ._authentication_operations import AuthenticationOperations +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk __all__ = [ 'ContainerRegistryOperations', 'ContainerRegistryBlobOperations', 'AuthenticationOperations', ] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() \ No newline at end of file diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_authentication_operations.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_authentication_operations.py index 8d2f6e6672ea..63313bccce9b 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_authentication_operations.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_authentication_operations.py @@ -1,17 +1,17 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import functools -from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings +from typing import Any, Callable, Dict, Optional, TypeVar, Union from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.utils import case_insensitive_dict from ... import models as _models from ..._vendor import _convert_request @@ -20,26 +20,24 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class AuthenticationOperations: - """AuthenticationOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~container_registry.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through + :class:`~container_registry.aio.ContainerRegistry`'s + :attr:`authentication` attribute. """ models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + @distributed_trace_async async def exchange_aad_access_token_for_acr_refresh_token( @@ -50,7 +48,7 @@ async def exchange_aad_access_token_for_acr_refresh_token( refresh_token: Optional[str] = None, access_token: Optional[str] = None, **kwargs: Any - ) -> "_models.AcrRefreshToken": + ) -> _models.AcrRefreshToken: """Exchange AAD tokens for an ACR refresh Token. :param grant_type: Can take a value of access_token_refresh_token, or access_token, or @@ -58,27 +56,30 @@ async def exchange_aad_access_token_for_acr_refresh_token( :type grant_type: str or ~container_registry.models.PostContentSchemaGrantType :param service: Indicates the name of your Azure container registry. :type service: str - :param tenant: AAD tenant associated to the AAD credentials. + :param tenant: AAD tenant associated to the AAD credentials. Default value is None. :type tenant: str :param refresh_token: AAD refresh token, mandatory when grant_type is - access_token_refresh_token or refresh_token. + access_token_refresh_token or refresh_token. Default value is None. :type refresh_token: str :param access_token: AAD access token, mandatory when grant_type is access_token_refresh_token - or access_token. + or access_token. Default value is None. :type access_token: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AcrRefreshToken, or the result of cls(response) :rtype: ~container_registry.models.AcrRefreshToken :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AcrRefreshToken"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/x-www-form-urlencoded") # type: Optional[str] + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/x-www-form-urlencoded")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.AcrRefreshToken] # Construct form data _data = { @@ -94,14 +95,20 @@ async def exchange_aad_access_token_for_acr_refresh_token( content_type=content_type, data=_data, template_url=self.exchange_aad_access_token_for_acr_refresh_token.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -116,7 +123,7 @@ async def exchange_aad_access_token_for_acr_refresh_token( return deserialized - exchange_aad_access_token_for_acr_refresh_token.metadata = {'url': '/oauth2/exchange'} # type: ignore + exchange_aad_access_token_for_acr_refresh_token.metadata = {'url': "/oauth2/exchange"} # type: ignore @distributed_trace_async @@ -127,7 +134,7 @@ async def exchange_acr_refresh_token_for_acr_access_token( refresh_token: str, grant_type: Union[str, "_models.TokenGrantType"] = "refresh_token", **kwargs: Any - ) -> "_models.AcrAccessToken": + ) -> _models.AcrAccessToken: """Exchange ACR Refresh token for an ACR Access Token. :param service: Indicates the name of your Azure container registry. @@ -138,21 +145,25 @@ async def exchange_acr_refresh_token_for_acr_access_token( :type scope: str :param refresh_token: Must be a valid ACR refresh token. :type refresh_token: str - :param grant_type: Grant type is expected to be refresh_token. + :param grant_type: Grant type is expected to be refresh_token. Default value is + "refresh_token". :type grant_type: str or ~container_registry.models.TokenGrantType :keyword callable cls: A custom type or function that will be passed the direct response :return: AcrAccessToken, or the result of cls(response) :rtype: ~container_registry.models.AcrAccessToken :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AcrAccessToken"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/x-www-form-urlencoded") # type: Optional[str] + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/x-www-form-urlencoded")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.AcrAccessToken] # Construct form data _data = { @@ -167,14 +178,20 @@ async def exchange_acr_refresh_token_for_acr_access_token( content_type=content_type, data=_data, template_url=self.exchange_acr_refresh_token_for_acr_access_token.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -189,5 +206,5 @@ async def exchange_acr_refresh_token_for_acr_access_token( return deserialized - exchange_acr_refresh_token_for_acr_access_token.metadata = {'url': '/oauth2/token'} # type: ignore + exchange_acr_refresh_token_for_acr_access_token.metadata = {'url': "/oauth2/token"} # type: ignore diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_blob_operations.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_blob_operations.py index 7084e765fd46..4c9623d53db2 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_blob_operations.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_blob_operations.py @@ -1,17 +1,17 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import functools -from typing import Any, Callable, Dict, Generic, IO, Optional, TypeVar -import warnings +from typing import Any, Callable, Dict, IO, Optional, TypeVar from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.utils import case_insensitive_dict from ... import models as _models from ..._vendor import _convert_request @@ -20,26 +20,24 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class ContainerRegistryBlobOperations: - """ContainerRegistryBlobOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~container_registry.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through + :class:`~container_registry.aio.ContainerRegistry`'s + :attr:`container_registry_blob` attribute. """ models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + @distributed_trace_async async def get_blob( @@ -59,25 +57,35 @@ async def get_blob( :rtype: IO or None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional[IO]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[Optional[IO]] request = build_get_blob_request( name=name, digest=digest, template_url=self.get_blob.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=True, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=True, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 307]: @@ -101,11 +109,11 @@ async def get_blob( return deserialized - get_blob.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + get_blob.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace_async - async def check_blob_exists( + async def check_blob_exists( # pylint: disable=inconsistent-return-statements self, name: str, digest: str, @@ -122,25 +130,35 @@ async def check_blob_exists( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_check_blob_exists_request( name=name, digest=digest, template_url=self.check_blob_exists.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 307]: @@ -161,7 +179,7 @@ async def check_blob_exists( if cls: return cls(pipeline_response, None, response_headers) - check_blob_exists.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + check_blob_exists.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace_async @@ -182,25 +200,35 @@ async def delete_blob( :rtype: IO :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[IO] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[IO] request = build_delete_blob_request( name=name, digest=digest, template_url=self.delete_blob.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=True, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=True, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202]: @@ -217,11 +245,11 @@ async def delete_blob( return deserialized - delete_blob.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + delete_blob.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace_async - async def mount_blob( + async def mount_blob( # pylint: disable=inconsistent-return-statements self, name: str, from_parameter: str, @@ -241,11 +269,15 @@ async def mount_blob( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_mount_blob_request( @@ -253,14 +285,20 @@ async def mount_blob( from_parameter=from_parameter, mount=mount, template_url=self.mount_blob.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: @@ -277,44 +315,54 @@ async def mount_blob( if cls: return cls(pipeline_response, None, response_headers) - mount_blob.metadata = {'url': '/v2/{name}/blobs/uploads/'} # type: ignore + mount_blob.metadata = {'url': "/v2/{name}/blobs/uploads/"} # type: ignore @distributed_trace_async - async def get_upload_status( + async def get_upload_status( # pylint: disable=inconsistent-return-statements self, - location: str, + next_link: str, **kwargs: Any ) -> None: """Retrieve status of upload identified by uuid. The primary purpose of this endpoint is to resolve the current status of a resumable upload. - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str + :type next_link: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_get_upload_status_request( - location=location, + next_link=next_link, template_url=self.get_upload_status.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [204]: @@ -330,21 +378,21 @@ async def get_upload_status( if cls: return cls(pipeline_response, None, response_headers) - get_upload_status.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + get_upload_status.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace_async - async def upload_chunk( + async def upload_chunk( # pylint: disable=inconsistent-return-statements self, - location: str, + next_link: str, value: IO, **kwargs: Any ) -> None: """Upload a stream of data without completing the upload. - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str + :type next_link: str :param value: Raw data of blob. :type value: IO :keyword callable cls: A custom type or function that will be passed the direct response @@ -352,29 +400,38 @@ async def upload_chunk( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} - content_type = kwargs.pop('content_type', "application/octet-stream") # type: Optional[str] + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/octet-stream")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[None] _content = value request = build_upload_chunk_request( - location=location, + next_link=next_link, content_type=content_type, content=_content, template_url=self.upload_chunk.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202]: @@ -391,14 +448,14 @@ async def upload_chunk( if cls: return cls(pipeline_response, None, response_headers) - upload_chunk.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + upload_chunk.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace_async - async def complete_upload( + async def complete_upload( # pylint: disable=inconsistent-return-statements self, digest: str, - location: str, + next_link: str, value: Optional[IO] = None, **kwargs: Any ) -> None: @@ -407,40 +464,49 @@ async def complete_upload( :param digest: Digest of a BLOB. :type digest: str - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str - :param value: Optional raw data of blob. + :type next_link: str + :param value: Optional raw data of blob. Default value is None. :type value: IO :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} - content_type = kwargs.pop('content_type', "application/octet-stream") # type: Optional[str] + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/octet-stream")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[None] _content = value request = build_complete_upload_request( - location=location, + next_link=next_link, content_type=content_type, digest=digest, content=_content, template_url=self.complete_upload.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: @@ -457,44 +523,54 @@ async def complete_upload( if cls: return cls(pipeline_response, None, response_headers) - complete_upload.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + complete_upload.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace_async - async def cancel_upload( + async def cancel_upload( # pylint: disable=inconsistent-return-statements self, - location: str, + next_link: str, **kwargs: Any ) -> None: """Cancel outstanding upload processes, releasing associated resources. If this is not called, the unfinished uploads will eventually timeout. - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str + :type next_link: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_cancel_upload_request( - location=location, + next_link=next_link, template_url=self.cancel_upload.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [204]: @@ -505,11 +581,11 @@ async def cancel_upload( if cls: return cls(pipeline_response, None, {}) - cancel_upload.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + cancel_upload.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace_async - async def start_upload( + async def start_upload( # pylint: disable=inconsistent-return-statements self, name: str, **kwargs: Any @@ -523,24 +599,34 @@ async def start_upload( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_start_upload_request( name=name, template_url=self.start_upload.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202]: @@ -557,7 +643,7 @@ async def start_upload( if cls: return cls(pipeline_response, None, response_headers) - start_upload.metadata = {'url': '/v2/{name}/blobs/uploads/'} # type: ignore + start_upload.metadata = {'url': "/v2/{name}/blobs/uploads/"} # type: ignore @distributed_trace_async @@ -585,11 +671,15 @@ async def get_chunk( :rtype: IO :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[IO] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[IO] request = build_get_chunk_request( @@ -597,14 +687,20 @@ async def get_chunk( digest=digest, range=range, template_url=self.get_chunk.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=True, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=True, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [206]: @@ -622,11 +718,11 @@ async def get_chunk( return deserialized - get_chunk.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + get_chunk.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace_async - async def check_chunk_exists( + async def check_chunk_exists( # pylint: disable=inconsistent-return-statements self, name: str, digest: str, @@ -647,11 +743,15 @@ async def check_chunk_exists( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_check_chunk_exists_request( @@ -659,14 +759,20 @@ async def check_chunk_exists( digest=digest, range=range, template_url=self.check_chunk_exists.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -682,5 +788,5 @@ async def check_chunk_exists( if cls: return cls(pipeline_response, None, response_headers) - check_chunk_exists.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + check_chunk_exists.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_operations.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_operations.py index 6ce439813481..8655b9548316 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_operations.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_container_registry_operations.py @@ -1,11 +1,10 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import functools -from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings +from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error @@ -14,6 +13,7 @@ from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.utils import case_insensitive_dict from ... import models as _models from ..._vendor import _convert_request @@ -22,29 +22,27 @@ ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] class ContainerRegistryOperations: - """ContainerRegistryOperations async operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~container_registry.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through + :class:`~container_registry.aio.ContainerRegistry`'s + :attr:`container_registry` attribute. """ models = _models - def __init__(self, client, config, serializer, deserializer) -> None: - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + @distributed_trace_async - async def check_docker_v2_support( + async def check_docker_v2_support( # pylint: disable=inconsistent-return-statements self, **kwargs: Any ) -> None: @@ -55,23 +53,33 @@ async def check_docker_v2_support( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_check_docker_v2_support_request( template_url=self.check_docker_v2_support.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -82,7 +90,7 @@ async def check_docker_v2_support( if cls: return cls(pipeline_response, None, {}) - check_docker_v2_support.metadata = {'url': '/v2/'} # type: ignore + check_docker_v2_support.metadata = {'url': "/v2/"} # type: ignore @distributed_trace_async @@ -90,9 +98,8 @@ async def get_manifest( self, name: str, reference: str, - accept: Optional[str] = None, **kwargs: Any - ) -> "_models.ManifestWrapper": + ) -> _models.ManifestWrapper: """Get the manifest identified by ``name`` and ``reference`` where ``reference`` can be a tag or digest. @@ -100,34 +107,40 @@ async def get_manifest( :type name: str :param reference: A tag or a digest, pointing to a specific image. :type reference: str - :param accept: Accept header string delimited by comma. For example, - application/vnd.docker.distribution.manifest.v2+json. - :type accept: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManifestWrapper, or the result of cls(response) :rtype: ~container_registry.models.ManifestWrapper :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManifestWrapper"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[_models.ManifestWrapper] request = build_get_manifest_request( name=name, reference=reference, - accept=accept, template_url=self.get_manifest.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -142,7 +155,7 @@ async def get_manifest( return deserialized - get_manifest.metadata = {'url': '/v2/{name}/manifests/{reference}'} # type: ignore + get_manifest.metadata = {'url': "/v2/{name}/manifests/{reference}"} # type: ignore @distributed_trace_async @@ -150,7 +163,7 @@ async def create_manifest( self, name: str, reference: str, - payload: "_models.Manifest", + payload: IO, **kwargs: Any ) -> Any: """Put the manifest identified by ``name`` and ``reference`` where ``reference`` can be a tag or @@ -161,36 +174,45 @@ async def create_manifest( :param reference: A tag or a digest, pointing to a specific image. :type reference: str :param payload: Manifest body, can take v1 or v2 values depending on accept header. - :type payload: ~container_registry.models.Manifest + :type payload: IO :keyword callable cls: A custom type or function that will be passed the direct response :return: any, or the result of cls(response) :rtype: any :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[Any] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} - content_type = kwargs.pop('content_type', "application/vnd.docker.distribution.manifest.v2+json") # type: Optional[str] + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/vnd.docker.distribution.manifest.v2+json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Any] - _json = self._serialize.body(payload, 'Manifest') + _content = payload request = build_create_manifest_request( name=name, reference=reference, content_type=content_type, - json=_json, + content=_content, template_url=self.create_manifest.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: @@ -210,11 +232,11 @@ async def create_manifest( return deserialized - create_manifest.metadata = {'url': '/v2/{name}/manifests/{reference}'} # type: ignore + create_manifest.metadata = {'url': "/v2/{name}/manifests/{reference}"} # type: ignore @distributed_trace_async - async def delete_manifest( + async def delete_manifest( # pylint: disable=inconsistent-return-statements self, name: str, reference: str, @@ -232,25 +254,35 @@ async def delete_manifest( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_delete_manifest_request( name=name, reference=reference, template_url=self.delete_manifest.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 404]: @@ -261,7 +293,7 @@ async def delete_manifest( if cls: return cls(pipeline_response, None, {}) - delete_manifest.metadata = {'url': '/v2/{name}/manifests/{reference}'} # type: ignore + delete_manifest.metadata = {'url': "/v2/{name}/manifests/{reference}"} # type: ignore @distributed_trace @@ -270,26 +302,29 @@ def get_repositories( last: Optional[str] = None, n: Optional[int] = None, **kwargs: Any - ) -> AsyncIterable["_models.Repositories"]: + ) -> AsyncIterable[_models.Repositories]: """List repositories. :param last: Query parameter for the last item in previous query. Result set will include - values lexically after last. + values lexically after last. Default value is None. :type last: str - :param n: query parameter for max number of items. + :param n: query parameter for max number of items. Default value is None. :type n: int :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Repositories or the result of cls(response) :rtype: ~azure.core.async_paging.AsyncItemPaged[~container_registry.models.Repositories] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.Repositories] - cls = kwargs.pop('cls', None) # type: ClsType["_models.Repositories"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) def prepare_request(next_link=None): if not next_link: @@ -298,12 +333,14 @@ def prepare_request(next_link=None): last=last, n=n, template_url=self.get_repositories.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore else: @@ -312,12 +349,14 @@ def prepare_request(next_link=None): last=last, n=n, template_url=next_link, + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), @@ -335,7 +374,11 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -349,14 +392,14 @@ async def get_next(next_link=None): return AsyncItemPaged( get_next, extract_data ) - get_repositories.metadata = {'url': '/acr/v1/_catalog'} # type: ignore + get_repositories.metadata = {'url': "/acr/v1/_catalog"} # type: ignore @distributed_trace_async async def get_properties( self, name: str, **kwargs: Any - ) -> "_models.ContainerRepositoryProperties": + ) -> _models.ContainerRepositoryProperties: """Get repository attributes. :param name: Name of the image (including the namespace). @@ -366,27 +409,36 @@ async def get_properties( :rtype: ~container_registry.models.ContainerRepositoryProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerRepositoryProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ContainerRepositoryProperties] request = build_get_properties_request( name=name, api_version=api_version, template_url=self.get_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -401,11 +453,11 @@ async def get_properties( return deserialized - get_properties.metadata = {'url': '/acr/v1/{name}'} # type: ignore + get_properties.metadata = {'url': "/acr/v1/{name}"} # type: ignore @distributed_trace_async - async def delete_repository( + async def delete_repository( # pylint: disable=inconsistent-return-statements self, name: str, **kwargs: Any @@ -419,27 +471,36 @@ async def delete_repository( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_delete_repository_request( name=name, api_version=api_version, template_url=self.delete_repository.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 404]: @@ -450,35 +511,38 @@ async def delete_repository( if cls: return cls(pipeline_response, None, {}) - delete_repository.metadata = {'url': '/acr/v1/{name}'} # type: ignore + delete_repository.metadata = {'url': "/acr/v1/{name}"} # type: ignore @distributed_trace_async async def update_properties( self, name: str, - value: Optional["_models.RepositoryWriteableProperties"] = None, + value: Optional[_models.RepositoryWriteableProperties] = None, **kwargs: Any - ) -> "_models.ContainerRepositoryProperties": + ) -> _models.ContainerRepositoryProperties: """Update the attribute identified by ``name`` where ``reference`` is the name of the repository. :param name: Name of the image (including the namespace). :type name: str - :param value: Repository attribute value. + :param value: Repository attribute value. Default value is None. :type value: ~container_registry.models.RepositoryWriteableProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: ContainerRepositoryProperties, or the result of cls(response) :rtype: ~container_registry.models.ContainerRepositoryProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerRepositoryProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.ContainerRepositoryProperties] if value is not None: _json = self._serialize.body(value, 'RepositoryWriteableProperties') @@ -491,14 +555,20 @@ async def update_properties( content_type=content_type, json=_json, template_url=self.update_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -513,7 +583,7 @@ async def update_properties( return deserialized - update_properties.metadata = {'url': '/acr/v1/{name}'} # type: ignore + update_properties.metadata = {'url': "/acr/v1/{name}"} # type: ignore @distributed_trace @@ -525,32 +595,35 @@ def get_tags( orderby: Optional[str] = None, digest: Optional[str] = None, **kwargs: Any - ) -> AsyncIterable["_models.TagList"]: + ) -> AsyncIterable[_models.TagList]: """List tags of a repository. :param name: Name of the image (including the namespace). :type name: str :param last: Query parameter for the last item in previous query. Result set will include - values lexically after last. + values lexically after last. Default value is None. :type last: str - :param n: query parameter for max number of items. + :param n: query parameter for max number of items. Default value is None. :type n: int - :param orderby: orderby query parameter. + :param orderby: orderby query parameter. Default value is None. :type orderby: str - :param digest: filter by digest. + :param digest: filter by digest. Default value is None. :type digest: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TagList or the result of cls(response) :rtype: ~azure.core.async_paging.AsyncItemPaged[~container_registry.models.TagList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.TagList] - cls = kwargs.pop('cls', None) # type: ClsType["_models.TagList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) def prepare_request(next_link=None): if not next_link: @@ -562,12 +635,14 @@ def prepare_request(next_link=None): orderby=orderby, digest=digest, template_url=self.get_tags.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore else: @@ -579,12 +654,14 @@ def prepare_request(next_link=None): orderby=orderby, digest=digest, template_url=next_link, + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), @@ -602,7 +679,11 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -616,7 +697,7 @@ async def get_next(next_link=None): return AsyncItemPaged( get_next, extract_data ) - get_tags.metadata = {'url': '/acr/v1/{name}/_tags'} # type: ignore + get_tags.metadata = {'url': "/acr/v1/{name}/_tags"} # type: ignore @distributed_trace_async async def get_tag_properties( @@ -624,7 +705,7 @@ async def get_tag_properties( name: str, reference: str, **kwargs: Any - ) -> "_models.ArtifactTagProperties": + ) -> _models.ArtifactTagProperties: """Get tag attributes by tag. :param name: Name of the image (including the namespace). @@ -636,13 +717,16 @@ async def get_tag_properties( :rtype: ~container_registry.models.ArtifactTagProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactTagProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactTagProperties] request = build_get_tag_properties_request( @@ -650,14 +734,20 @@ async def get_tag_properties( reference=reference, api_version=api_version, template_url=self.get_tag_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -672,7 +762,7 @@ async def get_tag_properties( return deserialized - get_tag_properties.metadata = {'url': '/acr/v1/{name}/_tags/{reference}'} # type: ignore + get_tag_properties.metadata = {'url': "/acr/v1/{name}/_tags/{reference}"} # type: ignore @distributed_trace_async @@ -680,30 +770,33 @@ async def update_tag_attributes( self, name: str, reference: str, - value: Optional["_models.TagWriteableProperties"] = None, + value: Optional[_models.TagWriteableProperties] = None, **kwargs: Any - ) -> "_models.ArtifactTagProperties": + ) -> _models.ArtifactTagProperties: """Update tag attributes. :param name: Name of the image (including the namespace). :type name: str :param reference: Tag name. :type reference: str - :param value: Tag attribute value. + :param value: Tag attribute value. Default value is None. :type value: ~container_registry.models.TagWriteableProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: ArtifactTagProperties, or the result of cls(response) :rtype: ~container_registry.models.ArtifactTagProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactTagProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactTagProperties] if value is not None: _json = self._serialize.body(value, 'TagWriteableProperties') @@ -717,14 +810,20 @@ async def update_tag_attributes( content_type=content_type, json=_json, template_url=self.update_tag_attributes.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -739,11 +838,11 @@ async def update_tag_attributes( return deserialized - update_tag_attributes.metadata = {'url': '/acr/v1/{name}/_tags/{reference}'} # type: ignore + update_tag_attributes.metadata = {'url': "/acr/v1/{name}/_tags/{reference}"} # type: ignore @distributed_trace_async - async def delete_tag( + async def delete_tag( # pylint: disable=inconsistent-return-statements self, name: str, reference: str, @@ -760,13 +859,16 @@ async def delete_tag( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_delete_tag_request( @@ -774,14 +876,20 @@ async def delete_tag( reference=reference, api_version=api_version, template_url=self.delete_tag.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 404]: @@ -792,7 +900,7 @@ async def delete_tag( if cls: return cls(pipeline_response, None, {}) - delete_tag.metadata = {'url': '/acr/v1/{name}/_tags/{reference}'} # type: ignore + delete_tag.metadata = {'url': "/acr/v1/{name}/_tags/{reference}"} # type: ignore @distributed_trace @@ -803,30 +911,33 @@ def get_manifests( n: Optional[int] = None, orderby: Optional[str] = None, **kwargs: Any - ) -> AsyncIterable["_models.AcrManifests"]: + ) -> AsyncIterable[_models.AcrManifests]: """List manifests of a repository. :param name: Name of the image (including the namespace). :type name: str :param last: Query parameter for the last item in previous query. Result set will include - values lexically after last. + values lexically after last. Default value is None. :type last: str - :param n: query parameter for max number of items. + :param n: query parameter for max number of items. Default value is None. :type n: int - :param orderby: orderby query parameter. + :param orderby: orderby query parameter. Default value is None. :type orderby: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AcrManifests or the result of cls(response) :rtype: ~azure.core.async_paging.AsyncItemPaged[~container_registry.models.AcrManifests] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.AcrManifests] - cls = kwargs.pop('cls', None) # type: ClsType["_models.AcrManifests"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) def prepare_request(next_link=None): if not next_link: @@ -837,12 +948,14 @@ def prepare_request(next_link=None): n=n, orderby=orderby, template_url=self.get_manifests.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore else: @@ -853,12 +966,14 @@ def prepare_request(next_link=None): n=n, orderby=orderby, template_url=next_link, + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), @@ -876,7 +991,11 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -890,7 +1009,7 @@ async def get_next(next_link=None): return AsyncItemPaged( get_next, extract_data ) - get_manifests.metadata = {'url': '/acr/v1/{name}/_manifests'} # type: ignore + get_manifests.metadata = {'url': "/acr/v1/{name}/_manifests"} # type: ignore @distributed_trace_async async def get_manifest_properties( @@ -898,7 +1017,7 @@ async def get_manifest_properties( name: str, digest: str, **kwargs: Any - ) -> "_models.ArtifactManifestProperties": + ) -> _models.ArtifactManifestProperties: """Get manifest attributes. :param name: Name of the image (including the namespace). @@ -910,13 +1029,16 @@ async def get_manifest_properties( :rtype: ~container_registry.models.ArtifactManifestProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactManifestProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactManifestProperties] request = build_get_manifest_properties_request( @@ -924,14 +1046,20 @@ async def get_manifest_properties( digest=digest, api_version=api_version, template_url=self.get_manifest_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -946,7 +1074,7 @@ async def get_manifest_properties( return deserialized - get_manifest_properties.metadata = {'url': '/acr/v1/{name}/_manifests/{digest}'} # type: ignore + get_manifest_properties.metadata = {'url': "/acr/v1/{name}/_manifests/{digest}"} # type: ignore @distributed_trace_async @@ -954,30 +1082,33 @@ async def update_manifest_properties( self, name: str, digest: str, - value: Optional["_models.ManifestWriteableProperties"] = None, + value: Optional[_models.ManifestWriteableProperties] = None, **kwargs: Any - ) -> "_models.ArtifactManifestProperties": + ) -> _models.ArtifactManifestProperties: """Update properties of a manifest. :param name: Name of the image (including the namespace). :type name: str :param digest: Digest of a BLOB. :type digest: str - :param value: Manifest attribute value. + :param value: Manifest attribute value. Default value is None. :type value: ~container_registry.models.ManifestWriteableProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: ArtifactManifestProperties, or the result of cls(response) :rtype: ~container_registry.models.ArtifactManifestProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactManifestProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactManifestProperties] if value is not None: _json = self._serialize.body(value, 'ManifestWriteableProperties') @@ -991,14 +1122,20 @@ async def update_manifest_properties( content_type=content_type, json=_json, template_url=self.update_manifest_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1013,5 +1150,5 @@ async def update_manifest_properties( return deserialized - update_manifest_properties.metadata = {'url': '/acr/v1/{name}/_manifests/{digest}'} # type: ignore + update_manifest_properties.metadata = {'url': "/acr/v1/{name}/_manifests/{digest}"} # type: ignore diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_patch.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_patch.py new file mode 100644 index 000000000000..8a35ddb87c7e --- /dev/null +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/operations/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/__init__.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/__init__.py index 0fc6a0cb7029..1e0d9df51dc5 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/__init__.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/__init__.py @@ -1,6 +1,6 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -91,7 +91,9 @@ PostContentSchemaGrantType, TokenGrantType, ) - +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk __all__ = [ 'AcrAccessToken', 'AcrErrorInfo', @@ -138,3 +140,5 @@ 'PostContentSchemaGrantType', 'TokenGrantType', ] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() \ No newline at end of file diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_container_registry_enums.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_container_registry_enums.py index 2cfcae496bf5..ec2bf579b5cb 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_container_registry_enums.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_container_registry_enums.py @@ -1,15 +1,14 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from enum import Enum -from six import with_metaclass from azure.core import CaseInsensitiveEnumMeta -class ArtifactArchitecture(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): +class ArtifactArchitecture(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The artifact platform's architecture. """ @@ -40,7 +39,7 @@ class ArtifactArchitecture(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): #: Wasm. WASM = "wasm" -class ArtifactManifestOrder(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): +class ArtifactManifestOrder(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Sort options for ordering manifests in a collection. """ @@ -51,7 +50,7 @@ class ArtifactManifestOrder(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): #: Order manifest by LastUpdatedOn field, from least recently updated to most recently updated. LAST_UPDATED_ON_ASCENDING = "timeasc" -class ArtifactOperatingSystem(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): +class ArtifactOperatingSystem(str, Enum, metaclass=CaseInsensitiveEnumMeta): AIX = "aix" ANDROID = "android" @@ -68,7 +67,7 @@ class ArtifactOperatingSystem(with_metaclass(CaseInsensitiveEnumMeta, str, Enum) SOLARIS = "solaris" WINDOWS = "windows" -class ArtifactTagOrder(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): +class ArtifactTagOrder(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Sort options for ordering tags in a collection. """ @@ -79,7 +78,7 @@ class ArtifactTagOrder(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): #: Order tags by LastUpdatedOn field, from least recently updated to most recently updated. LAST_UPDATED_ON_ASCENDING = "timeasc" -class PostContentSchemaGrantType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): +class PostContentSchemaGrantType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Can take a value of access_token_refresh_token, or access_token, or refresh_token """ @@ -87,7 +86,7 @@ class PostContentSchemaGrantType(with_metaclass(CaseInsensitiveEnumMeta, str, En ACCESS_TOKEN = "access_token" REFRESH_TOKEN = "refresh_token" -class TokenGrantType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): +class TokenGrantType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Grant type is expected to be refresh_token """ diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models.py index b00cc629fccd..5b9dda9cf8b5 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models.py @@ -1,6 +1,6 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -267,10 +267,10 @@ class ArtifactManifestPlatform(msrest.serialization.Model): :ivar digest: Required. Manifest digest. :vartype digest: str - :ivar architecture: CPU architecture. Possible values include: "386", "amd64", "arm", "arm64", - "mips", "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". + :ivar architecture: CPU architecture. Known values are: "386", "amd64", "arm", "arm64", "mips", + "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". :vartype architecture: str or ~container_registry.models.ArtifactArchitecture - :ivar operating_system: Operating system. Possible values include: "aix", "android", "darwin", + :ivar operating_system: Operating system. Known values are: "aix", "android", "darwin", "dragonfly", "freebsd", "illumos", "ios", "js", "linux", "netbsd", "openbsd", "plan9", "solaris", "windows". :vartype operating_system: str or ~container_registry.models.ArtifactOperatingSystem @@ -320,10 +320,10 @@ class ArtifactManifestProperties(msrest.serialization.Model): :vartype created_on: ~datetime.datetime :ivar last_updated_on: Required. Last update time. :vartype last_updated_on: ~datetime.datetime - :ivar architecture: CPU architecture. Possible values include: "386", "amd64", "arm", "arm64", - "mips", "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". + :ivar architecture: CPU architecture. Known values are: "386", "amd64", "arm", "arm64", "mips", + "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". :vartype architecture: str or ~container_registry.models.ArtifactArchitecture - :ivar operating_system: Operating system. Possible values include: "aix", "android", "darwin", + :ivar operating_system: Operating system. Known values are: "aix", "android", "darwin", "dragonfly", "freebsd", "illumos", "ios", "js", "linux", "netbsd", "openbsd", "plan9", "solaris", "windows". :vartype operating_system: str or ~container_registry.models.ArtifactOperatingSystem @@ -836,10 +836,10 @@ class ManifestAttributesBase(msrest.serialization.Model): :vartype created_on: ~datetime.datetime :ivar last_updated_on: Required. Last update time. :vartype last_updated_on: ~datetime.datetime - :ivar architecture: CPU architecture. Possible values include: "386", "amd64", "arm", "arm64", - "mips", "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". + :ivar architecture: CPU architecture. Known values are: "386", "amd64", "arm", "arm64", "mips", + "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". :vartype architecture: str or ~container_registry.models.ArtifactArchitecture - :ivar operating_system: Operating system. Possible values include: "aix", "android", "darwin", + :ivar operating_system: Operating system. Known values are: "aix", "android", "darwin", "dragonfly", "freebsd", "illumos", "ios", "js", "linux", "netbsd", "openbsd", "plan9", "solaris", "windows". :vartype operating_system: str or ~container_registry.models.ArtifactOperatingSystem @@ -1184,24 +1184,24 @@ def __init__( self.annotations = kwargs.get('annotations', None) -class OCIManifest(Manifest): +class OCIManifest(msrest.serialization.Model): """Returns the requested OCI Manifest file. - :ivar schema_version: Schema version. - :vartype schema_version: int :ivar config: V2 image config descriptor. :vartype config: ~container_registry.models.Descriptor :ivar layers: List of V2 image layer information. :vartype layers: list[~container_registry.models.Descriptor] :ivar annotations: Additional information provided through arbitrary metadata. :vartype annotations: ~container_registry.models.Annotations + :ivar schema_version: Schema version. + :vartype schema_version: int """ _attribute_map = { - 'schema_version': {'key': 'schemaVersion', 'type': 'int'}, 'config': {'key': 'config', 'type': 'Descriptor'}, 'layers': {'key': 'layers', 'type': '[Descriptor]'}, 'annotations': {'key': 'annotations', 'type': 'Annotations'}, + 'schema_version': {'key': 'schemaVersion', 'type': 'int'}, } def __init__( @@ -1209,19 +1209,20 @@ def __init__( **kwargs ): """ - :keyword schema_version: Schema version. - :paramtype schema_version: int :keyword config: V2 image config descriptor. :paramtype config: ~container_registry.models.Descriptor :keyword layers: List of V2 image layer information. :paramtype layers: list[~container_registry.models.Descriptor] :keyword annotations: Additional information provided through arbitrary metadata. :paramtype annotations: ~container_registry.models.Annotations + :keyword schema_version: Schema version. + :paramtype schema_version: int """ super(OCIManifest, self).__init__(**kwargs) self.config = kwargs.get('config', None) self.layers = kwargs.get('layers', None) self.annotations = kwargs.get('annotations', None) + self.schema_version = kwargs.get('schema_version', None) class Paths108HwamOauth2ExchangePostRequestbodyContentApplicationXWwwFormUrlencodedSchema(msrest.serialization.Model): @@ -1230,8 +1231,7 @@ class Paths108HwamOauth2ExchangePostRequestbodyContentApplicationXWwwFormUrlenco All required parameters must be populated in order to send to Azure. :ivar grant_type: Required. Can take a value of access_token_refresh_token, or access_token, or - refresh_token. Possible values include: "access_token_refresh_token", "access_token", - "refresh_token". + refresh_token. Known values are: "access_token_refresh_token", "access_token", "refresh_token". :vartype grant_type: str or ~container_registry.models.PostContentSchemaGrantType :ivar service: Required. Indicates the name of your Azure container registry. :vartype service: str @@ -1264,7 +1264,7 @@ def __init__( ): """ :keyword grant_type: Required. Can take a value of access_token_refresh_token, or access_token, - or refresh_token. Possible values include: "access_token_refresh_token", "access_token", + or refresh_token. Known values are: "access_token_refresh_token", "access_token", "refresh_token". :paramtype grant_type: str or ~container_registry.models.PostContentSchemaGrantType :keyword service: Required. Indicates the name of your Azure container registry. @@ -1299,8 +1299,8 @@ class PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedS :vartype scope: str :ivar acr_refresh_token: Required. Must be a valid ACR refresh token. :vartype acr_refresh_token: str - :ivar grant_type: Required. Grant type is expected to be refresh_token. Possible values - include: "refresh_token", "password". + :ivar grant_type: Required. Grant type is expected to be refresh_token. Known values are: + "refresh_token", "password". :vartype grant_type: str or ~container_registry.models.TokenGrantType """ @@ -1331,8 +1331,8 @@ def __init__( :paramtype scope: str :keyword acr_refresh_token: Required. Must be a valid ACR refresh token. :paramtype acr_refresh_token: str - :keyword grant_type: Required. Grant type is expected to be refresh_token. Possible values - include: "refresh_token", "password". + :keyword grant_type: Required. Grant type is expected to be refresh_token. Known values are: + "refresh_token", "password". :paramtype grant_type: str or ~container_registry.models.TokenGrantType """ super(PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema, self).__init__(**kwargs) diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models_py3.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models_py3.py index 07281f128fbd..6e052b9cf35c 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models_py3.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_models_py3.py @@ -1,16 +1,18 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- import datetime -from typing import Any, Dict, List, Optional, Union +from typing import Any, Dict, List, Optional, TYPE_CHECKING, Union from azure.core.exceptions import HttpResponseError import msrest.serialization -from ._container_registry_enums import * +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + import __init__ as _models class AcrAccessToken(msrest.serialization.Model): @@ -91,7 +93,7 @@ class AcrErrors(msrest.serialization.Model): def __init__( self, *, - errors: Optional[List["AcrErrorInfo"]] = None, + errors: Optional[List["_models.AcrErrorInfo"]] = None, **kwargs ): """ @@ -128,7 +130,7 @@ def __init__( *, registry_login_server: Optional[str] = None, repository: Optional[str] = None, - manifests: Optional[List["ManifestAttributesBase"]] = None, + manifests: Optional[List["_models.ManifestAttributesBase"]] = None, link: Optional[str] = None, **kwargs ): @@ -301,10 +303,10 @@ class ArtifactManifestPlatform(msrest.serialization.Model): :ivar digest: Required. Manifest digest. :vartype digest: str - :ivar architecture: CPU architecture. Possible values include: "386", "amd64", "arm", "arm64", - "mips", "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". + :ivar architecture: CPU architecture. Known values are: "386", "amd64", "arm", "arm64", "mips", + "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". :vartype architecture: str or ~container_registry.models.ArtifactArchitecture - :ivar operating_system: Operating system. Possible values include: "aix", "android", "darwin", + :ivar operating_system: Operating system. Known values are: "aix", "android", "darwin", "dragonfly", "freebsd", "illumos", "ios", "js", "linux", "netbsd", "openbsd", "plan9", "solaris", "windows". :vartype operating_system: str or ~container_registry.models.ArtifactOperatingSystem @@ -354,10 +356,10 @@ class ArtifactManifestProperties(msrest.serialization.Model): :vartype created_on: ~datetime.datetime :ivar last_updated_on: Required. Last update time. :vartype last_updated_on: ~datetime.datetime - :ivar architecture: CPU architecture. Possible values include: "386", "amd64", "arm", "arm64", - "mips", "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". + :ivar architecture: CPU architecture. Known values are: "386", "amd64", "arm", "arm64", "mips", + "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". :vartype architecture: str or ~container_registry.models.ArtifactArchitecture - :ivar operating_system: Operating system. Possible values include: "aix", "android", "darwin", + :ivar operating_system: Operating system. Known values are: "aix", "android", "darwin", "dragonfly", "freebsd", "illumos", "ios", "js", "linux", "netbsd", "openbsd", "plan9", "solaris", "windows". :vartype operating_system: str or ~container_registry.models.ArtifactOperatingSystem @@ -673,7 +675,7 @@ def __init__( size: Optional[int] = None, digest: Optional[str] = None, urls: Optional[List[str]] = None, - annotations: Optional["Annotations"] = None, + annotations: Optional["_models.Annotations"] = None, **kwargs ): """ @@ -766,7 +768,7 @@ class ImageSignature(msrest.serialization.Model): def __init__( self, *, - header: Optional["JWK"] = None, + header: Optional["_models.JWK"] = None, signature: Optional[str] = None, protected: Optional[str] = None, **kwargs @@ -802,7 +804,7 @@ class JWK(msrest.serialization.Model): def __init__( self, *, - jwk: Optional["JWKHeader"] = None, + jwk: Optional["_models.JWKHeader"] = None, alg: Optional[str] = None, **kwargs ): @@ -910,10 +912,10 @@ class ManifestAttributesBase(msrest.serialization.Model): :vartype created_on: ~datetime.datetime :ivar last_updated_on: Required. Last update time. :vartype last_updated_on: ~datetime.datetime - :ivar architecture: CPU architecture. Possible values include: "386", "amd64", "arm", "arm64", - "mips", "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". + :ivar architecture: CPU architecture. Known values are: "386", "amd64", "arm", "arm64", "mips", + "mipsle", "mips64", "mips64le", "ppc64", "ppc64le", "riscv64", "s390x", "wasm". :vartype architecture: str or ~container_registry.models.ArtifactArchitecture - :ivar operating_system: Operating system. Possible values include: "aix", "android", "darwin", + :ivar operating_system: Operating system. Known values are: "aix", "android", "darwin", "dragonfly", "freebsd", "illumos", "ios", "js", "linux", "netbsd", "openbsd", "plan9", "solaris", "windows". :vartype operating_system: str or ~container_registry.models.ArtifactOperatingSystem @@ -1007,7 +1009,7 @@ class ManifestAttributesManifest(msrest.serialization.Model): def __init__( self, *, - references: Optional[List["ArtifactManifestPlatform"]] = None, + references: Optional[List["_models.ArtifactManifestPlatform"]] = None, **kwargs ): """ @@ -1040,7 +1042,7 @@ def __init__( *, schema_version: Optional[int] = None, media_type: Optional[str] = None, - manifests: Optional[List["ManifestListAttributes"]] = None, + manifests: Optional[List["_models.ManifestListAttributes"]] = None, **kwargs ): """ @@ -1086,7 +1088,7 @@ def __init__( media_type: Optional[str] = None, size: Optional[int] = None, digest: Optional[str] = None, - platform: Optional["Platform"] = None, + platform: Optional["_models.Platform"] = None, **kwargs ): """ @@ -1160,16 +1162,16 @@ def __init__( *, schema_version: Optional[int] = None, media_type: Optional[str] = None, - manifests: Optional[List["ManifestListAttributes"]] = None, - config: Optional["Descriptor"] = None, - layers: Optional[List["Descriptor"]] = None, - annotations: Optional["Annotations"] = None, + manifests: Optional[List["_models.ManifestListAttributes"]] = None, + config: Optional["_models.Descriptor"] = None, + layers: Optional[List["_models.Descriptor"]] = None, + annotations: Optional["_models.Annotations"] = None, architecture: Optional[str] = None, name: Optional[str] = None, tag: Optional[str] = None, - fs_layers: Optional[List["FsLayer"]] = None, - history: Optional[List["History"]] = None, - signatures: Optional[List["ImageSignature"]] = None, + fs_layers: Optional[List["_models.FsLayer"]] = None, + history: Optional[List["_models.History"]] = None, + signatures: Optional[List["_models.ImageSignature"]] = None, **kwargs ): """ @@ -1279,8 +1281,8 @@ def __init__( self, *, schema_version: Optional[int] = None, - manifests: Optional[List["ManifestListAttributes"]] = None, - annotations: Optional["Annotations"] = None, + manifests: Optional[List["_models.ManifestListAttributes"]] = None, + annotations: Optional["_models.Annotations"] = None, **kwargs ): """ @@ -1296,49 +1298,50 @@ def __init__( self.annotations = annotations -class OCIManifest(Manifest): +class OCIManifest(msrest.serialization.Model): """Returns the requested OCI Manifest file. - :ivar schema_version: Schema version. - :vartype schema_version: int :ivar config: V2 image config descriptor. :vartype config: ~container_registry.models.Descriptor :ivar layers: List of V2 image layer information. :vartype layers: list[~container_registry.models.Descriptor] :ivar annotations: Additional information provided through arbitrary metadata. :vartype annotations: ~container_registry.models.Annotations + :ivar schema_version: Schema version. + :vartype schema_version: int """ _attribute_map = { - 'schema_version': {'key': 'schemaVersion', 'type': 'int'}, 'config': {'key': 'config', 'type': 'Descriptor'}, 'layers': {'key': 'layers', 'type': '[Descriptor]'}, 'annotations': {'key': 'annotations', 'type': 'Annotations'}, + 'schema_version': {'key': 'schemaVersion', 'type': 'int'}, } def __init__( self, *, + config: Optional["_models.Descriptor"] = None, + layers: Optional[List["_models.Descriptor"]] = None, + annotations: Optional["_models.Annotations"] = None, schema_version: Optional[int] = None, - config: Optional["Descriptor"] = None, - layers: Optional[List["Descriptor"]] = None, - annotations: Optional["Annotations"] = None, **kwargs ): """ - :keyword schema_version: Schema version. - :paramtype schema_version: int :keyword config: V2 image config descriptor. :paramtype config: ~container_registry.models.Descriptor :keyword layers: List of V2 image layer information. :paramtype layers: list[~container_registry.models.Descriptor] :keyword annotations: Additional information provided through arbitrary metadata. :paramtype annotations: ~container_registry.models.Annotations + :keyword schema_version: Schema version. + :paramtype schema_version: int """ - super(OCIManifest, self).__init__(schema_version=schema_version, **kwargs) + super(OCIManifest, self).__init__(**kwargs) self.config = config self.layers = layers self.annotations = annotations + self.schema_version = schema_version class Paths108HwamOauth2ExchangePostRequestbodyContentApplicationXWwwFormUrlencodedSchema(msrest.serialization.Model): @@ -1347,8 +1350,7 @@ class Paths108HwamOauth2ExchangePostRequestbodyContentApplicationXWwwFormUrlenco All required parameters must be populated in order to send to Azure. :ivar grant_type: Required. Can take a value of access_token_refresh_token, or access_token, or - refresh_token. Possible values include: "access_token_refresh_token", "access_token", - "refresh_token". + refresh_token. Known values are: "access_token_refresh_token", "access_token", "refresh_token". :vartype grant_type: str or ~container_registry.models.PostContentSchemaGrantType :ivar service: Required. Indicates the name of your Azure container registry. :vartype service: str @@ -1378,7 +1380,7 @@ class Paths108HwamOauth2ExchangePostRequestbodyContentApplicationXWwwFormUrlenco def __init__( self, *, - grant_type: Union[str, "PostContentSchemaGrantType"], + grant_type: Union[str, "_models.PostContentSchemaGrantType"], service: str, tenant: Optional[str] = None, refresh_token: Optional[str] = None, @@ -1387,7 +1389,7 @@ def __init__( ): """ :keyword grant_type: Required. Can take a value of access_token_refresh_token, or access_token, - or refresh_token. Possible values include: "access_token_refresh_token", "access_token", + or refresh_token. Known values are: "access_token_refresh_token", "access_token", "refresh_token". :paramtype grant_type: str or ~container_registry.models.PostContentSchemaGrantType :keyword service: Required. Indicates the name of your Azure container registry. @@ -1422,8 +1424,8 @@ class PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedS :vartype scope: str :ivar acr_refresh_token: Required. Must be a valid ACR refresh token. :vartype acr_refresh_token: str - :ivar grant_type: Required. Grant type is expected to be refresh_token. Possible values - include: "refresh_token", "password". + :ivar grant_type: Required. Grant type is expected to be refresh_token. Known values are: + "refresh_token", "password". :vartype grant_type: str or ~container_registry.models.TokenGrantType """ @@ -1447,7 +1449,7 @@ def __init__( service: str, scope: str, acr_refresh_token: str, - grant_type: Union[str, "TokenGrantType"] = "refresh_token", + grant_type: Union[str, "_models.TokenGrantType"] = "refresh_token", **kwargs ): """ @@ -1459,8 +1461,8 @@ def __init__( :paramtype scope: str :keyword acr_refresh_token: Required. Must be a valid ACR refresh token. :paramtype acr_refresh_token: str - :keyword grant_type: Required. Grant type is expected to be refresh_token. Possible values - include: "refresh_token", "password". + :keyword grant_type: Required. Grant type is expected to be refresh_token. Known values are: + "refresh_token", "password". :paramtype grant_type: str or ~container_registry.models.TokenGrantType """ super(PathsV3R3RxOauth2TokenPostRequestbodyContentApplicationXWwwFormUrlencodedSchema, self).__init__(**kwargs) @@ -1780,7 +1782,7 @@ def __init__( *, registry_login_server: str, repository: str, - tag_attribute_bases: List["TagAttributesBase"], + tag_attribute_bases: List["_models.TagAttributesBase"], link: Optional[str] = None, **kwargs ): @@ -1884,9 +1886,9 @@ def __init__( architecture: Optional[str] = None, name: Optional[str] = None, tag: Optional[str] = None, - fs_layers: Optional[List["FsLayer"]] = None, - history: Optional[List["History"]] = None, - signatures: Optional[List["ImageSignature"]] = None, + fs_layers: Optional[List["_models.FsLayer"]] = None, + history: Optional[List["_models.History"]] = None, + signatures: Optional[List["_models.ImageSignature"]] = None, **kwargs ): """ @@ -1939,8 +1941,8 @@ def __init__( *, schema_version: Optional[int] = None, media_type: Optional[str] = None, - config: Optional["Descriptor"] = None, - layers: Optional[List["Descriptor"]] = None, + config: Optional["_models.Descriptor"] = None, + layers: Optional[List["_models.Descriptor"]] = None, **kwargs ): """ diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_patch.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_patch.py new file mode 100644 index 000000000000..8a35ddb87c7e --- /dev/null +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/models/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/__init__.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/__init__.py index 12151dd8616a..bbce3721e2af 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/__init__.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/__init__.py @@ -1,6 +1,6 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -8,8 +8,13 @@ from ._container_registry_blob_operations import ContainerRegistryBlobOperations from ._authentication_operations import AuthenticationOperations +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk __all__ = [ 'ContainerRegistryOperations', 'ContainerRegistryBlobOperations', 'AuthenticationOperations', ] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() \ No newline at end of file diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_authentication_operations.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_authentication_operations.py index b4050231f472..4bd69810d58f 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_authentication_operations.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_authentication_operations.py @@ -1,25 +1,26 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import functools from typing import TYPE_CHECKING -import warnings + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace -from msrest import Serializer +from azure.core.utils import case_insensitive_dict from .. import models as _models from .._vendor import _convert_request if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + from typing import Any, Callable, Dict, Optional, TypeVar, Union T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -31,28 +32,29 @@ def build_exchange_aad_access_token_for_acr_refresh_token_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/oauth2/exchange') + _url = kwargs.pop("template_url", "/oauth2/exchange") # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="POST", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -61,53 +63,52 @@ def build_exchange_acr_refresh_token_for_acr_access_token_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/oauth2/token') + _url = kwargs.pop("template_url", "/oauth2/token") # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="POST", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) # fmt: on class AuthenticationOperations(object): - """AuthenticationOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~container_registry.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through + :class:`~container_registry.ContainerRegistry`'s + :attr:`authentication` attribute. """ models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + @distributed_trace def exchange_aad_access_token_for_acr_refresh_token( @@ -119,7 +120,7 @@ def exchange_aad_access_token_for_acr_refresh_token( access_token=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> "_models.AcrRefreshToken" + # type: (...) -> _models.AcrRefreshToken """Exchange AAD tokens for an ACR refresh Token. :param grant_type: Can take a value of access_token_refresh_token, or access_token, or @@ -127,27 +128,30 @@ def exchange_aad_access_token_for_acr_refresh_token( :type grant_type: str or ~container_registry.models.PostContentSchemaGrantType :param service: Indicates the name of your Azure container registry. :type service: str - :param tenant: AAD tenant associated to the AAD credentials. + :param tenant: AAD tenant associated to the AAD credentials. Default value is None. :type tenant: str :param refresh_token: AAD refresh token, mandatory when grant_type is - access_token_refresh_token or refresh_token. + access_token_refresh_token or refresh_token. Default value is None. :type refresh_token: str :param access_token: AAD access token, mandatory when grant_type is access_token_refresh_token - or access_token. + or access_token. Default value is None. :type access_token: str :keyword callable cls: A custom type or function that will be passed the direct response :return: AcrRefreshToken, or the result of cls(response) :rtype: ~container_registry.models.AcrRefreshToken :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AcrRefreshToken"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/x-www-form-urlencoded") # type: Optional[str] + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/x-www-form-urlencoded")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.AcrRefreshToken] # Construct form data _data = { @@ -163,14 +167,20 @@ def exchange_aad_access_token_for_acr_refresh_token( content_type=content_type, data=_data, template_url=self.exchange_aad_access_token_for_acr_refresh_token.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -185,7 +195,7 @@ def exchange_aad_access_token_for_acr_refresh_token( return deserialized - exchange_aad_access_token_for_acr_refresh_token.metadata = {'url': '/oauth2/exchange'} # type: ignore + exchange_aad_access_token_for_acr_refresh_token.metadata = {'url': "/oauth2/exchange"} # type: ignore @distributed_trace @@ -197,7 +207,7 @@ def exchange_acr_refresh_token_for_acr_access_token( grant_type="refresh_token", # type: Union[str, "_models.TokenGrantType"] **kwargs # type: Any ): - # type: (...) -> "_models.AcrAccessToken" + # type: (...) -> _models.AcrAccessToken """Exchange ACR Refresh token for an ACR Access Token. :param service: Indicates the name of your Azure container registry. @@ -208,21 +218,25 @@ def exchange_acr_refresh_token_for_acr_access_token( :type scope: str :param refresh_token: Must be a valid ACR refresh token. :type refresh_token: str - :param grant_type: Grant type is expected to be refresh_token. + :param grant_type: Grant type is expected to be refresh_token. Default value is + "refresh_token". :type grant_type: str or ~container_registry.models.TokenGrantType :keyword callable cls: A custom type or function that will be passed the direct response :return: AcrAccessToken, or the result of cls(response) :rtype: ~container_registry.models.AcrAccessToken :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.AcrAccessToken"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/x-www-form-urlencoded") # type: Optional[str] + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/x-www-form-urlencoded")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.AcrAccessToken] # Construct form data _data = { @@ -237,14 +251,20 @@ def exchange_acr_refresh_token_for_acr_access_token( content_type=content_type, data=_data, template_url=self.exchange_acr_refresh_token_for_acr_access_token.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -259,5 +279,5 @@ def exchange_acr_refresh_token_for_acr_access_token( return deserialized - exchange_acr_refresh_token_for_acr_access_token.metadata = {'url': '/oauth2/token'} # type: ignore + exchange_acr_refresh_token_for_acr_access_token.metadata = {'url': "/oauth2/token"} # type: ignore diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_blob_operations.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_blob_operations.py index 8a375b75e7ad..4d03cda4c682 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_blob_operations.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_blob_operations.py @@ -1,25 +1,26 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import functools from typing import TYPE_CHECKING -import warnings + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import HttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace -from msrest import Serializer +from azure.core.utils import case_insensitive_dict from .. import models as _models from .._vendor import _convert_request, _format_url_section if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, IO, Optional, TypeVar + from typing import Any, Callable, Dict, IO, Optional, TypeVar T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -33,24 +34,26 @@ def build_get_blob_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/octet-stream" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/octet-stream") + # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/blobs/{digest}') + _url = kwargs.pop("template_url", "/v2/{name}/blobs/{digest}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "digest": _SERIALIZER.url("digest", digest, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -61,24 +64,26 @@ def build_check_blob_exists_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/json" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/json") + # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/blobs/{digest}') + _url = kwargs.pop("template_url", "/v2/{name}/blobs/{digest}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "digest": _SERIALIZER.url("digest", digest, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="HEAD", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -89,24 +94,26 @@ def build_delete_blob_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/octet-stream" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/octet-stream") + # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/blobs/{digest}') + _url = kwargs.pop("template_url", "/v2/{name}/blobs/{digest}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "digest": _SERIALIZER.url("digest", digest, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="DELETE", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -116,150 +123,157 @@ def build_mount_blob_request( **kwargs # type: Any ): # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + from_parameter = kwargs.pop('from_parameter') # type: str mount = kwargs.pop('mount') # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/blobs/uploads/') + _url = kwargs.pop("template_url", "/v2/{name}/blobs/uploads/") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['from'] = _SERIALIZER.query("from_parameter", from_parameter, 'str') - query_parameters['mount'] = _SERIALIZER.query("mount", mount, 'str') + _params['from'] = _SERIALIZER.query("from_parameter", from_parameter, 'str') + _params['mount'] = _SERIALIZER.query("mount", mount, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="POST", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) def build_get_upload_status_request( - location, # type: str + next_link, # type: str **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/json" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/json") + # Construct URL - url = kwargs.pop("template_url", '/{nextBlobUuidLink}') + _url = kwargs.pop("template_url", "/{nextBlobUuidLink}") path_format_arguments = { - "nextBlobUuidLink": _SERIALIZER.url("location", location, 'str', skip_quote=True), + "nextBlobUuidLink": _SERIALIZER.url("next_link", next_link, 'str', skip_quote=True), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) def build_upload_chunk_request( - location, # type: str + next_link, # type: str **kwargs # type: Any ): # type: (...) -> HttpRequest - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/{nextBlobUuidLink}') + _url = kwargs.pop("template_url", "/{nextBlobUuidLink}") path_format_arguments = { - "nextBlobUuidLink": _SERIALIZER.url("location", location, 'str', skip_quote=True), + "nextBlobUuidLink": _SERIALIZER.url("next_link", next_link, 'str', skip_quote=True), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PATCH", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) def build_complete_upload_request( - location, # type: str + next_link, # type: str **kwargs # type: Any ): # type: (...) -> HttpRequest - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] digest = kwargs.pop('digest') # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/{nextBlobUuidLink}') + _url = kwargs.pop("template_url", "/{nextBlobUuidLink}") path_format_arguments = { - "nextBlobUuidLink": _SERIALIZER.url("location", location, 'str', skip_quote=True), + "nextBlobUuidLink": _SERIALIZER.url("next_link", next_link, 'str', skip_quote=True), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['digest'] = _SERIALIZER.query("digest", digest, 'str') + _params['digest'] = _SERIALIZER.query("digest", digest, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) def build_cancel_upload_request( - location, # type: str + next_link, # type: str **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/json" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/json") + # Construct URL - url = kwargs.pop("template_url", '/{nextBlobUuidLink}') + _url = kwargs.pop("template_url", "/{nextBlobUuidLink}") path_format_arguments = { - "nextBlobUuidLink": _SERIALIZER.url("location", location, 'str', skip_quote=True), + "nextBlobUuidLink": _SERIALIZER.url("next_link", next_link, 'str', skip_quote=True), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="DELETE", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -269,23 +283,25 @@ def build_start_upload_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/json" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/json") + # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/blobs/uploads/') + _url = kwargs.pop("template_url", "/v2/{name}/blobs/uploads/") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="POST", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -296,27 +312,28 @@ def build_get_chunk_request( **kwargs # type: Any ): # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + range = kwargs.pop('range') # type: str + accept = _headers.pop('Accept', "application/octet-stream") - accept = "application/octet-stream" # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/blobs/{digest}') + _url = kwargs.pop("template_url", "/v2/{name}/blobs/{digest}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "digest": _SERIALIZER.url("digest", digest, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Range'] = _SERIALIZER.header("range", range, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Range'] = _SERIALIZER.header("range", range, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -327,52 +344,51 @@ def build_check_chunk_exists_request( **kwargs # type: Any ): # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + range = kwargs.pop('range') # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/blobs/{digest}') + _url = kwargs.pop("template_url", "/v2/{name}/blobs/{digest}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "digest": _SERIALIZER.url("digest", digest, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Range'] = _SERIALIZER.header("range", range, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Range'] = _SERIALIZER.header("range", range, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="HEAD", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) # fmt: on class ContainerRegistryBlobOperations(object): - """ContainerRegistryBlobOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~container_registry.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through + :class:`~container_registry.ContainerRegistry`'s + :attr:`container_registry_blob` attribute. """ models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + @distributed_trace def get_blob( @@ -393,25 +409,35 @@ def get_blob( :rtype: IO or None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[Optional[IO]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[Optional[IO]] request = build_get_blob_request( name=name, digest=digest, template_url=self.get_blob.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=True, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=True, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 307]: @@ -435,11 +461,11 @@ def get_blob( return deserialized - get_blob.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + get_blob.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace - def check_blob_exists( + def check_blob_exists( # pylint: disable=inconsistent-return-statements self, name, # type: str digest, # type: str @@ -457,25 +483,35 @@ def check_blob_exists( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_check_blob_exists_request( name=name, digest=digest, template_url=self.check_blob_exists.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 307]: @@ -496,7 +532,7 @@ def check_blob_exists( if cls: return cls(pipeline_response, None, response_headers) - check_blob_exists.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + check_blob_exists.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace @@ -518,25 +554,35 @@ def delete_blob( :rtype: IO :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[IO] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[IO] request = build_delete_blob_request( name=name, digest=digest, template_url=self.delete_blob.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=True, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=True, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202]: @@ -553,11 +599,11 @@ def delete_blob( return deserialized - delete_blob.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + delete_blob.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace - def mount_blob( + def mount_blob( # pylint: disable=inconsistent-return-statements self, name, # type: str from_parameter, # type: str @@ -578,11 +624,15 @@ def mount_blob( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_mount_blob_request( @@ -590,14 +640,20 @@ def mount_blob( from_parameter=from_parameter, mount=mount, template_url=self.mount_blob.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: @@ -614,45 +670,55 @@ def mount_blob( if cls: return cls(pipeline_response, None, response_headers) - mount_blob.metadata = {'url': '/v2/{name}/blobs/uploads/'} # type: ignore + mount_blob.metadata = {'url': "/v2/{name}/blobs/uploads/"} # type: ignore @distributed_trace - def get_upload_status( + def get_upload_status( # pylint: disable=inconsistent-return-statements self, - location, # type: str + next_link, # type: str **kwargs # type: Any ): # type: (...) -> None """Retrieve status of upload identified by uuid. The primary purpose of this endpoint is to resolve the current status of a resumable upload. - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str + :type next_link: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_get_upload_status_request( - location=location, + next_link=next_link, template_url=self.get_upload_status.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [204]: @@ -668,22 +734,22 @@ def get_upload_status( if cls: return cls(pipeline_response, None, response_headers) - get_upload_status.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + get_upload_status.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace - def upload_chunk( + def upload_chunk( # pylint: disable=inconsistent-return-statements self, - location, # type: str + next_link, # type: str value, # type: IO **kwargs # type: Any ): # type: (...) -> None """Upload a stream of data without completing the upload. - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str + :type next_link: str :param value: Raw data of blob. :type value: IO :keyword callable cls: A custom type or function that will be passed the direct response @@ -691,29 +757,38 @@ def upload_chunk( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} - content_type = kwargs.pop('content_type', "application/octet-stream") # type: Optional[str] + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/octet-stream")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[None] _content = value request = build_upload_chunk_request( - location=location, + next_link=next_link, content_type=content_type, content=_content, template_url=self.upload_chunk.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202]: @@ -730,14 +805,14 @@ def upload_chunk( if cls: return cls(pipeline_response, None, response_headers) - upload_chunk.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + upload_chunk.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace - def complete_upload( + def complete_upload( # pylint: disable=inconsistent-return-statements self, digest, # type: str - location, # type: str + next_link, # type: str value=None, # type: Optional[IO] **kwargs # type: Any ): @@ -747,40 +822,49 @@ def complete_upload( :param digest: Digest of a BLOB. :type digest: str - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str - :param value: Optional raw data of blob. + :type next_link: str + :param value: Optional raw data of blob. Default value is None. :type value: IO :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - content_type = kwargs.pop('content_type', "application/octet-stream") # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} + + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/octet-stream")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[None] _content = value request = build_complete_upload_request( - location=location, + next_link=next_link, content_type=content_type, digest=digest, content=_content, template_url=self.complete_upload.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: @@ -797,45 +881,55 @@ def complete_upload( if cls: return cls(pipeline_response, None, response_headers) - complete_upload.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + complete_upload.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace - def cancel_upload( + def cancel_upload( # pylint: disable=inconsistent-return-statements self, - location, # type: str + next_link, # type: str **kwargs # type: Any ): # type: (...) -> None """Cancel outstanding upload processes, releasing associated resources. If this is not called, the unfinished uploads will eventually timeout. - :param location: Link acquired from upload start or previous chunk. Note, do not include + :param next_link: Link acquired from upload start or previous chunk. Note, do not include initial / (must do substring(1) ). - :type location: str + :type next_link: str :keyword callable cls: A custom type or function that will be passed the direct response :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_cancel_upload_request( - location=location, + next_link=next_link, template_url=self.cancel_upload.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [204]: @@ -846,11 +940,11 @@ def cancel_upload( if cls: return cls(pipeline_response, None, {}) - cancel_upload.metadata = {'url': '/{nextBlobUuidLink}'} # type: ignore + cancel_upload.metadata = {'url': "/{nextBlobUuidLink}"} # type: ignore @distributed_trace - def start_upload( + def start_upload( # pylint: disable=inconsistent-return-statements self, name, # type: str **kwargs # type: Any @@ -865,24 +959,34 @@ def start_upload( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_start_upload_request( name=name, template_url=self.start_upload.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202]: @@ -899,7 +1003,7 @@ def start_upload( if cls: return cls(pipeline_response, None, response_headers) - start_upload.metadata = {'url': '/v2/{name}/blobs/uploads/'} # type: ignore + start_upload.metadata = {'url': "/v2/{name}/blobs/uploads/"} # type: ignore @distributed_trace @@ -928,11 +1032,15 @@ def get_chunk( :rtype: IO :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[IO] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[IO] request = build_get_chunk_request( @@ -940,14 +1048,20 @@ def get_chunk( digest=digest, range=range, template_url=self.get_chunk.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=True, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=True, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [206]: @@ -965,11 +1079,11 @@ def get_chunk( return deserialized - get_chunk.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + get_chunk.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore @distributed_trace - def check_chunk_exists( + def check_chunk_exists( # pylint: disable=inconsistent-return-statements self, name, # type: str digest, # type: str @@ -991,11 +1105,15 @@ def check_chunk_exists( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_check_chunk_exists_request( @@ -1003,14 +1121,20 @@ def check_chunk_exists( digest=digest, range=range, template_url=self.check_chunk_exists.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1026,5 +1150,5 @@ def check_chunk_exists( if cls: return cls(pipeline_response, None, response_headers) - check_chunk_exists.metadata = {'url': '/v2/{name}/blobs/{digest}'} # type: ignore + check_chunk_exists.metadata = {'url': "/v2/{name}/blobs/{digest}"} # type: ignore diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_operations.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_operations.py index 064fa2f0ca53..c1469935e49e 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_operations.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_container_registry_operations.py @@ -1,11 +1,12 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.7.4, generator: @autorest/python@5.12.4) +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.1.3, generator: {generator}) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -import functools from typing import TYPE_CHECKING -import warnings + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged @@ -13,14 +14,14 @@ from azure.core.pipeline.transport import HttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace -from msrest import Serializer +from azure.core.utils import case_insensitive_dict from .. import models as _models from .._vendor import _convert_request, _format_url_section if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -32,18 +33,20 @@ def build_check_docker_v2_support_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/json" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/json") + # Construct URL - url = kwargs.pop("template_url", '/v2/') + _url = kwargs.pop("template_url", "/v2/") # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -54,26 +57,26 @@ def build_get_manifest_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = kwargs.pop('accept', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/manifests/{reference}') + _url = kwargs.pop("template_url", "/v2/{name}/manifests/{reference}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "reference": _SERIALIZER.url("reference", reference, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -84,28 +87,29 @@ def build_create_manifest_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/manifests/{reference}') + _url = kwargs.pop("template_url", "/v2/{name}/manifests/{reference}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "reference": _SERIALIZER.url("reference", reference, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PUT", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -116,24 +120,26 @@ def build_delete_manifest_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - accept = "application/json" + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + + accept = _headers.pop('Accept', "application/json") + # Construct URL - url = kwargs.pop("template_url", '/v2/{name}/manifests/{reference}') + _url = kwargs.pop("template_url", "/v2/{name}/manifests/{reference}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "reference": _SERIALIZER.url("reference", reference, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="DELETE", - url=url, - headers=header_parameters, + url=_url, + headers=_headers, **kwargs ) @@ -142,31 +148,32 @@ def build_get_repositories_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - last = kwargs.pop('last', None) # type: Optional[str] - n = kwargs.pop('n', None) # type: Optional[int] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + last = kwargs.pop('last', _params.pop('last', None)) # type: Optional[str] + n = kwargs.pop('n', _params.pop('n', None)) # type: Optional[int] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/_catalog') + _url = kwargs.pop("template_url", "/acr/v1/_catalog") # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] if last is not None: - query_parameters['last'] = _SERIALIZER.query("last", last, 'str') + _params['last'] = _SERIALIZER.query("last", last, 'str') if n is not None: - query_parameters['n'] = _SERIALIZER.query("n", n, 'int') - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['n'] = _SERIALIZER.query("n", n, 'int') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -176,30 +183,31 @@ def build_get_properties_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}') + _url = kwargs.pop("template_url", "/acr/v1/{name}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -209,30 +217,31 @@ def build_delete_repository_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}') + _url = kwargs.pop("template_url", "/acr/v1/{name}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="DELETE", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -242,33 +251,34 @@ def build_update_properties_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}') + _url = kwargs.pop("template_url", "/acr/v1/{name}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PATCH", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -278,42 +288,43 @@ def build_get_tags_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - last = kwargs.pop('last', None) # type: Optional[str] - n = kwargs.pop('n', None) # type: Optional[int] - orderby = kwargs.pop('orderby', None) # type: Optional[str] - digest = kwargs.pop('digest', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + last = kwargs.pop('last', _params.pop('last', None)) # type: Optional[str] + n = kwargs.pop('n', _params.pop('n', None)) # type: Optional[int] + orderby = kwargs.pop('orderby', _params.pop('orderby', None)) # type: Optional[str] + digest = kwargs.pop('digest', _params.pop('digest', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}/_tags') + _url = kwargs.pop("template_url", "/acr/v1/{name}/_tags") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] if last is not None: - query_parameters['last'] = _SERIALIZER.query("last", last, 'str') + _params['last'] = _SERIALIZER.query("last", last, 'str') if n is not None: - query_parameters['n'] = _SERIALIZER.query("n", n, 'int') + _params['n'] = _SERIALIZER.query("n", n, 'int') if orderby is not None: - query_parameters['orderby'] = _SERIALIZER.query("orderby", orderby, 'str') + _params['orderby'] = _SERIALIZER.query("orderby", orderby, 'str') if digest is not None: - query_parameters['digest'] = _SERIALIZER.query("digest", digest, 'str') - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['digest'] = _SERIALIZER.query("digest", digest, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -324,31 +335,32 @@ def build_get_tag_properties_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}/_tags/{reference}') + _url = kwargs.pop("template_url", "/acr/v1/{name}/_tags/{reference}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "reference": _SERIALIZER.url("reference", reference, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -359,34 +371,35 @@ def build_update_tag_attributes_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}/_tags/{reference}') + _url = kwargs.pop("template_url", "/acr/v1/{name}/_tags/{reference}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "reference": _SERIALIZER.url("reference", reference, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PATCH", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -397,31 +410,32 @@ def build_delete_tag_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}/_tags/{reference}') + _url = kwargs.pop("template_url", "/acr/v1/{name}/_tags/{reference}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "reference": _SERIALIZER.url("reference", reference, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="DELETE", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -431,39 +445,40 @@ def build_get_manifests_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - last = kwargs.pop('last', None) # type: Optional[str] - n = kwargs.pop('n', None) # type: Optional[int] - orderby = kwargs.pop('orderby', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + last = kwargs.pop('last', _params.pop('last', None)) # type: Optional[str] + n = kwargs.pop('n', _params.pop('n', None)) # type: Optional[int] + orderby = kwargs.pop('orderby', _params.pop('orderby', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}/_manifests') + _url = kwargs.pop("template_url", "/acr/v1/{name}/_manifests") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] if last is not None: - query_parameters['last'] = _SERIALIZER.query("last", last, 'str') + _params['last'] = _SERIALIZER.query("last", last, 'str') if n is not None: - query_parameters['n'] = _SERIALIZER.query("n", n, 'int') + _params['n'] = _SERIALIZER.query("n", n, 'int') if orderby is not None: - query_parameters['orderby'] = _SERIALIZER.query("orderby", orderby, 'str') - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['orderby'] = _SERIALIZER.query("orderby", orderby, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -474,31 +489,32 @@ def build_get_manifest_properties_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}/_manifests/{digest}') + _url = kwargs.pop("template_url", "/acr/v1/{name}/_manifests/{digest}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "digest": _SERIALIZER.url("digest", digest, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="GET", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) @@ -509,62 +525,61 @@ def build_update_manifest_properties_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', None) # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") - accept = "application/json" # Construct URL - url = kwargs.pop("template_url", '/acr/v1/{name}/_manifests/{digest}') + _url = kwargs.pop("template_url", "/acr/v1/{name}/_manifests/{digest}") path_format_arguments = { "name": _SERIALIZER.url("name", name, 'str'), "digest": _SERIALIZER.url("digest", digest, 'str'), } - url = _format_url_section(url, **path_format_arguments) + _url = _format_url_section(_url, **path_format_arguments) # Construct parameters - query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] - query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') # Construct headers - header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] if content_type is not None: - header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') - header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') return HttpRequest( method="PATCH", - url=url, - params=query_parameters, - headers=header_parameters, + url=_url, + params=_params, + headers=_headers, **kwargs ) # fmt: on class ContainerRegistryOperations(object): - """ContainerRegistryOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. + """ + .. warning:: + **DO NOT** instantiate this class directly. - :ivar models: Alias to model classes used in this operation group. - :type models: ~container_registry.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. + Instead, you should access the following operations through + :class:`~container_registry.ContainerRegistry`'s + :attr:`container_registry` attribute. """ models = _models - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + @distributed_trace - def check_docker_v2_support( + def check_docker_v2_support( # pylint: disable=inconsistent-return-statements self, **kwargs # type: Any ): @@ -576,23 +591,33 @@ def check_docker_v2_support( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_check_docker_v2_support_request( template_url=self.check_docker_v2_support.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -603,7 +628,7 @@ def check_docker_v2_support( if cls: return cls(pipeline_response, None, {}) - check_docker_v2_support.metadata = {'url': '/v2/'} # type: ignore + check_docker_v2_support.metadata = {'url': "/v2/"} # type: ignore @distributed_trace @@ -611,10 +636,9 @@ def get_manifest( self, name, # type: str reference, # type: str - accept=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> "_models.ManifestWrapper" + # type: (...) -> _models.ManifestWrapper """Get the manifest identified by ``name`` and ``reference`` where ``reference`` can be a tag or digest. @@ -622,34 +646,40 @@ def get_manifest( :type name: str :param reference: A tag or a digest, pointing to a specific image. :type reference: str - :param accept: Accept header string delimited by comma. For example, - application/vnd.docker.distribution.manifest.v2+json. - :type accept: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ManifestWrapper, or the result of cls(response) :rtype: ~container_registry.models.ManifestWrapper :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ManifestWrapper"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[_models.ManifestWrapper] request = build_get_manifest_request( name=name, reference=reference, - accept=accept, template_url=self.get_manifest.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -664,7 +694,7 @@ def get_manifest( return deserialized - get_manifest.metadata = {'url': '/v2/{name}/manifests/{reference}'} # type: ignore + get_manifest.metadata = {'url': "/v2/{name}/manifests/{reference}"} # type: ignore @distributed_trace @@ -672,7 +702,7 @@ def create_manifest( self, name, # type: str reference, # type: str - payload, # type: "_models.Manifest" + payload, # type: IO **kwargs # type: Any ): # type: (...) -> Any @@ -684,36 +714,45 @@ def create_manifest( :param reference: A tag or a digest, pointing to a specific image. :type reference: str :param payload: Manifest body, can take v1 or v2 values depending on accept header. - :type payload: ~container_registry.models.Manifest + :type payload: IO :keyword callable cls: A custom type or function that will be passed the direct response :return: any, or the result of cls(response) :rtype: any :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[Any] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - content_type = kwargs.pop('content_type', "application/vnd.docker.distribution.manifest.v2+json") # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = kwargs.pop("params", {}) or {} - _json = self._serialize.body(payload, 'Manifest') + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/vnd.docker.distribution.manifest.v2+json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Any] + + _content = payload request = build_create_manifest_request( name=name, reference=reference, content_type=content_type, - json=_json, + content=_content, template_url=self.create_manifest.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [201]: @@ -733,11 +772,11 @@ def create_manifest( return deserialized - create_manifest.metadata = {'url': '/v2/{name}/manifests/{reference}'} # type: ignore + create_manifest.metadata = {'url': "/v2/{name}/manifests/{reference}"} # type: ignore @distributed_trace - def delete_manifest( + def delete_manifest( # pylint: disable=inconsistent-return-statements self, name, # type: str reference, # type: str @@ -756,25 +795,35 @@ def delete_manifest( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_delete_manifest_request( name=name, reference=reference, template_url=self.delete_manifest.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 404]: @@ -785,7 +834,7 @@ def delete_manifest( if cls: return cls(pipeline_response, None, {}) - delete_manifest.metadata = {'url': '/v2/{name}/manifests/{reference}'} # type: ignore + delete_manifest.metadata = {'url': "/v2/{name}/manifests/{reference}"} # type: ignore @distributed_trace @@ -795,26 +844,29 @@ def get_repositories( n=None, # type: Optional[int] **kwargs # type: Any ): - # type: (...) -> Iterable["_models.Repositories"] + # type: (...) -> Iterable[_models.Repositories] """List repositories. :param last: Query parameter for the last item in previous query. Result set will include - values lexically after last. + values lexically after last. Default value is None. :type last: str - :param n: query parameter for max number of items. + :param n: query parameter for max number of items. Default value is None. :type n: int :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Repositories or the result of cls(response) :rtype: ~azure.core.paging.ItemPaged[~container_registry.models.Repositories] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.Repositories] - cls = kwargs.pop('cls', None) # type: ClsType["_models.Repositories"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) def prepare_request(next_link=None): if not next_link: @@ -823,12 +875,14 @@ def prepare_request(next_link=None): last=last, n=n, template_url=self.get_repositories.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore else: @@ -837,12 +891,14 @@ def prepare_request(next_link=None): last=last, n=n, template_url=next_link, + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), @@ -860,7 +916,11 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -874,7 +934,7 @@ def get_next(next_link=None): return ItemPaged( get_next, extract_data ) - get_repositories.metadata = {'url': '/acr/v1/_catalog'} # type: ignore + get_repositories.metadata = {'url': "/acr/v1/_catalog"} # type: ignore @distributed_trace def get_properties( @@ -882,7 +942,7 @@ def get_properties( name, # type: str **kwargs # type: Any ): - # type: (...) -> "_models.ContainerRepositoryProperties" + # type: (...) -> _models.ContainerRepositoryProperties """Get repository attributes. :param name: Name of the image (including the namespace). @@ -892,27 +952,36 @@ def get_properties( :rtype: ~container_registry.models.ContainerRepositoryProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerRepositoryProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ContainerRepositoryProperties] request = build_get_properties_request( name=name, api_version=api_version, template_url=self.get_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -927,11 +996,11 @@ def get_properties( return deserialized - get_properties.metadata = {'url': '/acr/v1/{name}'} # type: ignore + get_properties.metadata = {'url': "/acr/v1/{name}"} # type: ignore @distributed_trace - def delete_repository( + def delete_repository( # pylint: disable=inconsistent-return-statements self, name, # type: str **kwargs # type: Any @@ -946,27 +1015,36 @@ def delete_repository( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_delete_repository_request( name=name, api_version=api_version, template_url=self.delete_repository.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 404]: @@ -977,36 +1055,39 @@ def delete_repository( if cls: return cls(pipeline_response, None, {}) - delete_repository.metadata = {'url': '/acr/v1/{name}'} # type: ignore + delete_repository.metadata = {'url': "/acr/v1/{name}"} # type: ignore @distributed_trace def update_properties( self, name, # type: str - value=None, # type: Optional["_models.RepositoryWriteableProperties"] + value=None, # type: Optional[_models.RepositoryWriteableProperties] **kwargs # type: Any ): - # type: (...) -> "_models.ContainerRepositoryProperties" + # type: (...) -> _models.ContainerRepositoryProperties """Update the attribute identified by ``name`` where ``reference`` is the name of the repository. :param name: Name of the image (including the namespace). :type name: str - :param value: Repository attribute value. + :param value: Repository attribute value. Default value is None. :type value: ~container_registry.models.RepositoryWriteableProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: ContainerRepositoryProperties, or the result of cls(response) :rtype: ~container_registry.models.ContainerRepositoryProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerRepositoryProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.ContainerRepositoryProperties] if value is not None: _json = self._serialize.body(value, 'RepositoryWriteableProperties') @@ -1019,14 +1100,20 @@ def update_properties( content_type=content_type, json=_json, template_url=self.update_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1041,7 +1128,7 @@ def update_properties( return deserialized - update_properties.metadata = {'url': '/acr/v1/{name}'} # type: ignore + update_properties.metadata = {'url': "/acr/v1/{name}"} # type: ignore @distributed_trace @@ -1054,32 +1141,35 @@ def get_tags( digest=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> Iterable["_models.TagList"] + # type: (...) -> Iterable[_models.TagList] """List tags of a repository. :param name: Name of the image (including the namespace). :type name: str :param last: Query parameter for the last item in previous query. Result set will include - values lexically after last. + values lexically after last. Default value is None. :type last: str - :param n: query parameter for max number of items. + :param n: query parameter for max number of items. Default value is None. :type n: int - :param orderby: orderby query parameter. + :param orderby: orderby query parameter. Default value is None. :type orderby: str - :param digest: filter by digest. + :param digest: filter by digest. Default value is None. :type digest: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either TagList or the result of cls(response) :rtype: ~azure.core.paging.ItemPaged[~container_registry.models.TagList] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.TagList] - cls = kwargs.pop('cls', None) # type: ClsType["_models.TagList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) def prepare_request(next_link=None): if not next_link: @@ -1091,12 +1181,14 @@ def prepare_request(next_link=None): orderby=orderby, digest=digest, template_url=self.get_tags.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore else: @@ -1108,12 +1200,14 @@ def prepare_request(next_link=None): orderby=orderby, digest=digest, template_url=next_link, + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), @@ -1131,7 +1225,11 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1145,7 +1243,7 @@ def get_next(next_link=None): return ItemPaged( get_next, extract_data ) - get_tags.metadata = {'url': '/acr/v1/{name}/_tags'} # type: ignore + get_tags.metadata = {'url': "/acr/v1/{name}/_tags"} # type: ignore @distributed_trace def get_tag_properties( @@ -1154,7 +1252,7 @@ def get_tag_properties( reference, # type: str **kwargs # type: Any ): - # type: (...) -> "_models.ArtifactTagProperties" + # type: (...) -> _models.ArtifactTagProperties """Get tag attributes by tag. :param name: Name of the image (including the namespace). @@ -1166,13 +1264,16 @@ def get_tag_properties( :rtype: ~container_registry.models.ArtifactTagProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactTagProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactTagProperties] request = build_get_tag_properties_request( @@ -1180,14 +1281,20 @@ def get_tag_properties( reference=reference, api_version=api_version, template_url=self.get_tag_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1202,7 +1309,7 @@ def get_tag_properties( return deserialized - get_tag_properties.metadata = {'url': '/acr/v1/{name}/_tags/{reference}'} # type: ignore + get_tag_properties.metadata = {'url': "/acr/v1/{name}/_tags/{reference}"} # type: ignore @distributed_trace @@ -1210,31 +1317,34 @@ def update_tag_attributes( self, name, # type: str reference, # type: str - value=None, # type: Optional["_models.TagWriteableProperties"] + value=None, # type: Optional[_models.TagWriteableProperties] **kwargs # type: Any ): - # type: (...) -> "_models.ArtifactTagProperties" + # type: (...) -> _models.ArtifactTagProperties """Update tag attributes. :param name: Name of the image (including the namespace). :type name: str :param reference: Tag name. :type reference: str - :param value: Tag attribute value. + :param value: Tag attribute value. Default value is None. :type value: ~container_registry.models.TagWriteableProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: ArtifactTagProperties, or the result of cls(response) :rtype: ~container_registry.models.ArtifactTagProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactTagProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactTagProperties] if value is not None: _json = self._serialize.body(value, 'TagWriteableProperties') @@ -1248,14 +1358,20 @@ def update_tag_attributes( content_type=content_type, json=_json, template_url=self.update_tag_attributes.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1270,11 +1386,11 @@ def update_tag_attributes( return deserialized - update_tag_attributes.metadata = {'url': '/acr/v1/{name}/_tags/{reference}'} # type: ignore + update_tag_attributes.metadata = {'url': "/acr/v1/{name}/_tags/{reference}"} # type: ignore @distributed_trace - def delete_tag( + def delete_tag( # pylint: disable=inconsistent-return-statements self, name, # type: str reference, # type: str @@ -1292,13 +1408,16 @@ def delete_tag( :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[None] request = build_delete_tag_request( @@ -1306,14 +1425,20 @@ def delete_tag( reference=reference, api_version=api_version, template_url=self.delete_tag.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 404]: @@ -1324,7 +1449,7 @@ def delete_tag( if cls: return cls(pipeline_response, None, {}) - delete_tag.metadata = {'url': '/acr/v1/{name}/_tags/{reference}'} # type: ignore + delete_tag.metadata = {'url': "/acr/v1/{name}/_tags/{reference}"} # type: ignore @distributed_trace @@ -1336,30 +1461,33 @@ def get_manifests( orderby=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> Iterable["_models.AcrManifests"] + # type: (...) -> Iterable[_models.AcrManifests] """List manifests of a repository. :param name: Name of the image (including the namespace). :type name: str :param last: Query parameter for the last item in previous query. Result set will include - values lexically after last. + values lexically after last. Default value is None. :type last: str - :param n: query parameter for max number of items. + :param n: query parameter for max number of items. Default value is None. :type n: int - :param orderby: orderby query parameter. + :param orderby: orderby query parameter. Default value is None. :type orderby: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either AcrManifests or the result of cls(response) :rtype: ~azure.core.paging.ItemPaged[~container_registry.models.AcrManifests] :raises: ~azure.core.exceptions.HttpResponseError """ - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.AcrManifests] - cls = kwargs.pop('cls', None) # type: ClsType["_models.AcrManifests"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) def prepare_request(next_link=None): if not next_link: @@ -1370,12 +1498,14 @@ def prepare_request(next_link=None): n=n, orderby=orderby, template_url=self.get_manifests.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore else: @@ -1386,12 +1516,14 @@ def prepare_request(next_link=None): n=n, orderby=orderby, template_url=next_link, + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), @@ -1409,7 +1541,11 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1423,7 +1559,7 @@ def get_next(next_link=None): return ItemPaged( get_next, extract_data ) - get_manifests.metadata = {'url': '/acr/v1/{name}/_manifests'} # type: ignore + get_manifests.metadata = {'url': "/acr/v1/{name}/_manifests"} # type: ignore @distributed_trace def get_manifest_properties( @@ -1432,7 +1568,7 @@ def get_manifest_properties( digest, # type: str **kwargs # type: Any ): - # type: (...) -> "_models.ArtifactManifestProperties" + # type: (...) -> _models.ArtifactManifestProperties """Get manifest attributes. :param name: Name of the image (including the namespace). @@ -1444,13 +1580,16 @@ def get_manifest_properties( :rtype: ~container_registry.models.ArtifactManifestProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactManifestProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactManifestProperties] request = build_get_manifest_properties_request( @@ -1458,14 +1597,20 @@ def get_manifest_properties( digest=digest, api_version=api_version, template_url=self.get_manifest_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1480,7 +1625,7 @@ def get_manifest_properties( return deserialized - get_manifest_properties.metadata = {'url': '/acr/v1/{name}/_manifests/{digest}'} # type: ignore + get_manifest_properties.metadata = {'url': "/acr/v1/{name}/_manifests/{digest}"} # type: ignore @distributed_trace @@ -1488,31 +1633,34 @@ def update_manifest_properties( self, name, # type: str digest, # type: str - value=None, # type: Optional["_models.ManifestWriteableProperties"] + value=None, # type: Optional[_models.ManifestWriteableProperties] **kwargs # type: Any ): - # type: (...) -> "_models.ArtifactManifestProperties" + # type: (...) -> _models.ArtifactManifestProperties """Update properties of a manifest. :param name: Name of the image (including the namespace). :type name: str :param digest: Digest of a BLOB. :type digest: str - :param value: Manifest attribute value. + :param value: Manifest attribute value. Default value is None. :type value: ~container_registry.models.ManifestWriteableProperties :keyword callable cls: A custom type or function that will be passed the direct response :return: ArtifactManifestProperties, or the result of cls(response) :rtype: ~container_registry.models.ArtifactManifestProperties :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ArtifactManifestProperties"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } - error_map.update(kwargs.pop('error_map', {})) + error_map.update(kwargs.pop('error_map', {}) or {}) - api_version = kwargs.pop('api_version', "2021-07-01") # type: str - content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-07-01")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.ArtifactManifestProperties] if value is not None: _json = self._serialize.body(value, 'ManifestWriteableProperties') @@ -1526,14 +1674,20 @@ def update_manifest_properties( content_type=content_type, json=_json, template_url=self.update_manifest_properties.metadata['url'], + headers=_headers, + params=_params, ) request = _convert_request(request) path_format_arguments = { "url": self._serialize.url("self._config.url", self._config.url, 'str', skip_quote=True), } - request.url = self._client.format_url(request.url, **path_format_arguments) + request.url = self._client.format_url(request.url, **path_format_arguments) # type: ignore - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -1548,5 +1702,5 @@ def update_manifest_properties( return deserialized - update_manifest_properties.metadata = {'url': '/acr/v1/{name}/_manifests/{digest}'} # type: ignore + update_manifest_properties.metadata = {'url': "/acr/v1/{name}/_manifests/{digest}"} # type: ignore diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_patch.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_patch.py new file mode 100644 index 000000000000..8a35ddb87c7e --- /dev/null +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/operations/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_helpers.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_helpers.py index d9af0ea0bef2..f00b77452448 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_helpers.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_helpers.py @@ -4,18 +4,22 @@ # Licensed under the MIT License. # ------------------------------------ import base64 -import json +import hashlib import re import time -from typing import TYPE_CHECKING, List, Dict +import json +from typing import TYPE_CHECKING +from io import BytesIO try: from urllib.parse import urlparse except ImportError: from urlparse import urlparse from azure.core.exceptions import ServiceRequestError +from ._generated.models import OCIManifest if TYPE_CHECKING: + from typing import List, Dict, IO from azure.core.pipeline import PipelineRequest BEARER = "Bearer" @@ -24,13 +28,13 @@ "2019-08-15-preview", "2021-07-01" ] +OCI_MANIFEST_MEDIA_TYPE = "application/vnd.oci.image.manifest.v1+json" def _is_tag(tag_or_digest): # type: (str) -> bool tag = tag_or_digest.split(":") - return not (len(tag) == 2 and tag[0].startswith(u"sha")) - + return not (len(tag) == 2 and tag[0].startswith("sha")) def _clean(matches): # type: (List[str]) -> None @@ -47,7 +51,6 @@ def _clean(matches): except ValueError: return - def _parse_challenge(header): # type: (str) -> Dict[str, str] """Parse challenge header into service and scope""" @@ -63,7 +66,6 @@ def _parse_challenge(header): return ret - def _parse_next_link(link_string): # type: (str) -> str """Parses the next link in the list operations response URL @@ -81,7 +83,6 @@ def _parse_next_link(link_string): return None return link_string[1 : link_string.find(">")] - def _enforce_https(request): # type: (PipelineRequest) -> None """Raise ServiceRequestError if the request URL is non-HTTPS and the sender did not specify enforce_https=False""" @@ -100,18 +101,15 @@ def _enforce_https(request): "Bearer token authentication is not permitted for non-TLS protected (non-https) URLs." ) - def _host_only(url): # type: (str) -> str return urlparse(url).netloc - def _strip_alg(digest): if len(digest.split(":")) == 2: return digest.split(":")[1] return digest - def _parse_exp_time(raw_token): # type: (bytes) -> float value = raw_token.split(".") @@ -125,3 +123,27 @@ def _parse_exp_time(raw_token): return web_token.get("exp", time.time()) return time.time() + +def _serialize_manifest(manifest): + # type: (OCIManifest) -> IO + data = json.dumps(manifest.serialize()).encode('utf-8') + return BytesIO(data) + +def _deserialize_manifest(data): + # type: (IO) -> OCIManifest + data.seek(0) + value = data.read() + data.seek(0) + return OCIManifest.deserialize(json.loads(value.decode())) + +def _compute_digest(data): + # type: (IO) -> str + data.seek(0) + value = data.read() + data.seek(0) + return "sha256:" + hashlib.sha256(value).hexdigest() + +def _validate_digest(data, digest): + # type: (IO, str) -> bool + data_digest = _compute_digest(data) + return data_digest == digest diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py index 9ab797410e72..a41a61fd39eb 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py @@ -18,8 +18,9 @@ from ._helpers import _host_only, _is_tag, _strip_alg if TYPE_CHECKING: + from typing import IO from datetime import datetime - from ._generated.models import ManifestAttributesBase + from ._generated.models import ManifestAttributesBase, OCIManifest class ArtifactManifestProperties(object): # pylint: disable=too-many-instance-attributes @@ -312,6 +313,35 @@ def repository_name(self): return self._repository_name +class DownloadBlobResult(object): + """The result from downloading a blob from the registry. + + :ivar data: The blob content. + :vartype data: IO + :ivar str digest: The blob's digest, calculated by the registry. + """ + + def __init__(self, **kwargs): + self.data = kwargs.get("data") + self.digest = kwargs.get("digest") + + +class DownloadManifestResult(object): + """The result from downloading a manifest from the registry. + + :ivar manifest: The OCI manifest that was downloaded. + :vartype manifest: ~azure.containerregistry.models.OCIManifest + :ivar data: The manifest stream that was downloaded. + :vartype data: IO + :ivar str digest: The manifest's digest, calculated by the registry. + """ + + def __init__(self, **kwargs): + self.manifest = kwargs.get("manifest") + self.data = kwargs.get("data") + self.digest = kwargs.get("digest") + + class ArtifactArchitecture(str, Enum): # pylint: disable=enum-must-inherit-case-insensitive-enum-meta AMD64 = "amd64" diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_version.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_version.py index 010063f9dd93..dbc615c7f575 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_version.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "1.0.1" +VERSION = "1.1.0b1" diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py index 8f928afc9a3e..a1a5ca2e2d64 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_base_client.py @@ -59,7 +59,7 @@ async def close(self) -> None: def _is_tag(self, tag_or_digest: str) -> bool: # pylint: disable=no-self-use tag = tag_or_digest.split(":") - return not (len(tag) == 2 and tag[0].startswith(u"sha")) + return not (len(tag) == 2 and tag[0].startswith("sha")) class AsyncTransportWrapper(AsyncHttpTransport): diff --git a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_container_registry_client.py b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_container_registry_client.py index 6a36f9441209..f17252575e5b 100644 --- a/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_container_registry_client.py +++ b/sdk/containerregistry/azure-containerregistry/azure/containerregistry/aio/_async_container_registry_client.py @@ -3,7 +3,7 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -from typing import Any, Dict, TYPE_CHECKING, Optional, overload, Union +from typing import TYPE_CHECKING, Any, Optional, overload, Union from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ( @@ -23,11 +23,13 @@ if TYPE_CHECKING: from azure.core.credentials_async import AsyncTokenCredential + from typing import Dict class ContainerRegistryClient(ContainerRegistryBaseClient): def __init__( - self, endpoint: str, credential: Optional["AsyncTokenCredential"] = None, *, audience, **kwargs: Any) -> None: + self, endpoint: str, credential: "Optional['AsyncTokenCredential']" = None, *, audience: str, **kwargs: "Any" + ) -> None: """Create a ContainerRegistryClient from an ACR endpoint and a credential. :param str endpoint: An ACR endpoint. @@ -75,7 +77,7 @@ async def _get_digest_from_tag(self, repository: str, tag: str) -> str: return tag_props.digest @distributed_trace_async - async def delete_repository(self, repository: str, **kwargs: Any) -> None: + async def delete_repository(self, repository: str, **kwargs: "Any") -> None: """Delete a repository. If the repository cannot be found or a response status code of 404 is returned an error will not be raised. @@ -96,7 +98,7 @@ async def delete_repository(self, repository: str, **kwargs: Any) -> None: await self._client.container_registry.delete_repository(repository, **kwargs) @distributed_trace - def list_repository_names(self, **kwargs: Any) -> AsyncItemPaged[str]: + def list_repository_names(self, **kwargs: "Any") -> "AsyncItemPaged[str]": """List all repositories :keyword results_per_page: Number of repositories to return per page @@ -204,7 +206,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) @distributed_trace_async - async def get_repository_properties(self, repository: str, **kwargs: Any) -> RepositoryProperties: + async def get_repository_properties(self, repository: str, **kwargs: "Any") -> "RepositoryProperties": """Get the properties of a repository :param str repository: Name of the repository @@ -216,7 +218,9 @@ async def get_repository_properties(self, repository: str, **kwargs: Any) -> Rep ) @distributed_trace - def list_manifest_properties(self, repository: str, **kwargs: Any) -> AsyncItemPaged[ArtifactManifestProperties]: + def list_manifest_properties( + self, repository: str, **kwargs: "Any" + ) -> "AsyncItemPaged[ArtifactManifestProperties]": """List the manifests of a repository :param str repository: Name of the repository @@ -334,33 +338,7 @@ async def get_next(next_link=None): return AsyncItemPaged(get_next, extract_data) @distributed_trace_async - async def delete_manifest(self, repository: str, tag_or_digest: str, **kwargs: Any) -> None: - """Delete a manifest. If the manifest cannot be found or a response status code of - 404 is returned an error will not be raised. - - :param str repository: Repository the manifest belongs to - :param str tag_or_digest: Tag or digest of the manifest to be deleted. - :returns: None - :rtype: None - :raises: ~azure.core.exceptions.HttpResponseError - - Example - - .. code-block:: python - - from azure.containerregistry.aio import ContainerRegistryClient - from azure.identity.aio import DefaultAzureCredential - endpoint = os.environ["CONTAINERREGISTRY_ENDPOINT"] - client = ContainerRegistryClient(endpoint, DefaultAzureCredential(), audience="my_audience") - await client.delete_manifest("my_repository", "my_tag_or_digest") - """ - if _is_tag(tag_or_digest): - tag_or_digest = await self._get_digest_from_tag(repository, tag_or_digest) - - await self._client.container_registry.delete_manifest(repository, tag_or_digest, **kwargs) - - @distributed_trace_async - async def delete_tag(self, repository: str, tag: str, **kwargs: Any) -> None: + async def delete_tag(self, repository: str, tag: str, **kwargs: "Any") -> None: """Delete a tag from a repository. If the tag cannot be found or a response status code of 404 is returned an error will not be raised. @@ -385,8 +363,8 @@ async def delete_tag(self, repository: str, tag: str, **kwargs: Any) -> None: @distributed_trace_async async def get_manifest_properties( - self, repository: str, tag_or_digest: str, **kwargs: Any - ) -> ArtifactManifestProperties: + self, repository: str, tag_or_digest: str, **kwargs: "Any" + ) -> "ArtifactManifestProperties": """Get the properties of a registry artifact :param str repository: Name of the repository @@ -415,7 +393,7 @@ async def get_manifest_properties( ) @distributed_trace_async - async def get_tag_properties(self, repository: str, tag: str, **kwargs: Any) -> ArtifactTagProperties: + async def get_tag_properties(self, repository: str, tag: str, **kwargs: "Any") -> "ArtifactTagProperties": """Get the properties for a tag :param str repository: Repository the tag belongs to @@ -441,7 +419,7 @@ async def get_tag_properties(self, repository: str, tag: str, **kwargs: Any) -> ) @distributed_trace - def list_tag_properties(self, repository: str, **kwargs: Any) -> AsyncItemPaged[ArtifactTagProperties]: + def list_tag_properties(self, repository: str, **kwargs: "Any") -> "AsyncItemPaged[ArtifactTagProperties]": """List the tags for a repository :param str repository: Name of the repository @@ -572,18 +550,18 @@ async def get_next(next_link=None): @overload def update_repository_properties( - self, repository: str, properties: RepositoryProperties, **kwargs: Any + self, repository: str, properties: "RepositoryProperties", **kwargs: "Any" ) -> RepositoryProperties: ... @overload - def update_repository_properties(self, repository: str, **kwargs: Any) -> RepositoryProperties: + def update_repository_properties(self, repository: str, **kwargs: "Any") -> "RepositoryProperties": ... @distributed_trace_async async def update_repository_properties( - self, *args: Union[str, RepositoryProperties], **kwargs: Any - ) -> RepositoryProperties: + self, *args: "Union[str, RepositoryProperties]", **kwargs: "Any" + ) -> "RepositoryProperties": """Set the permission properties of a repository. The updatable properties include: `can_delete`, `can_list`, `can_read`, and `can_write`. @@ -620,20 +598,20 @@ async def update_repository_properties( @overload def update_manifest_properties( - self, repository: str, tag_or_digest: str, properties: ArtifactManifestProperties, **kwargs: Any - ) -> ArtifactManifestProperties: + self, repository: str, tag_or_digest: str, properties: "ArtifactManifestProperties", **kwargs: "Any" + ) -> "ArtifactManifestProperties": ... @overload def update_manifest_properties( - self, repository: str, tag_or_digest: str, **kwargs: Any - ) -> ArtifactManifestProperties: + self, repository: str, tag_or_digest: str, **kwargs: "Any" + ) -> "ArtifactManifestProperties": ... @distributed_trace_async async def update_manifest_properties( - self, *args: Union[str, ArtifactManifestProperties], **kwargs: Any - ) -> ArtifactManifestProperties: + self, *args: "Union[str, ArtifactManifestProperties]", **kwargs: "Any" + ) -> "ArtifactManifestProperties": """Set the permission properties for a manifest. The updatable properties include: `can_delete`, `can_list`, `can_read`, and `can_write`. @@ -697,18 +675,18 @@ async def update_manifest_properties( @overload def update_tag_properties( - self, repository: str, tag: str, properties: ArtifactTagProperties, **kwargs: Any - ) -> ArtifactTagProperties: + self, repository: str, tag: str, properties: "ArtifactTagProperties", **kwargs: "Any" + ) -> "ArtifactTagProperties": ... @overload - def update_tag_properties(self, repository: str, tag: str, **kwargs: Any) -> ArtifactTagProperties: + def update_tag_properties(self, repository: str, tag: str, **kwargs: "Any") -> "ArtifactTagProperties": ... @distributed_trace_async async def update_tag_properties( - self, *args: Union[str, ArtifactTagProperties], **kwargs: Any - ) -> ArtifactTagProperties: + self, *args: "Union[str, ArtifactTagProperties]", **kwargs: "Any" + ) -> "ArtifactTagProperties": """Set the permission properties for a tag. The updatable properties include: `can_delete`, `can_list`, `can_read`, and `can_write`. @@ -762,3 +740,29 @@ async def update_tag_properties( ), repository=repository, ) + + @distributed_trace_async + async def delete_manifest(self, repository: str, tag_or_digest: str, **kwargs: "Any") -> None: + """Delete a manifest. If the manifest cannot be found or a response status code of + 404 is returned an error will not be raised. + + :param str repository: Repository the manifest belongs to + :param str tag_or_digest: Tag or digest of the manifest to be deleted. + :returns: None + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + + Example + + .. code-block:: python + + from azure.containerregistry.aio import ContainerRegistryClient + from azure.identity.aio import DefaultAzureCredential + endpoint = os.environ["CONTAINERREGISTRY_ENDPOINT"] + client = ContainerRegistryClient(endpoint, DefaultAzureCredential(), audience="my_audience") + await client.delete_manifest("my_repository", "my_tag_or_digest") + """ + if _is_tag(tag_or_digest): + tag_or_digest = await self._get_digest_from_tag(repository, tag_or_digest) + + await self._client.container_registry.delete_manifest(repository, tag_or_digest, **kwargs) diff --git a/sdk/containerregistry/azure-containerregistry/setup.py b/sdk/containerregistry/azure-containerregistry/setup.py index 7be3cc945136..e6a860707bed 100644 --- a/sdk/containerregistry/azure-containerregistry/setup.py +++ b/sdk/containerregistry/azure-containerregistry/setup.py @@ -35,7 +35,7 @@ license="MIT License", # ensure that the development status reflects the status of your package classifiers=[ - "Development Status :: 5 - Production/Stable", + "Development Status :: 4 - Beta", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", @@ -55,7 +55,7 @@ ), python_requires=">=3.6", install_requires=[ - "azure-core>=1.20.0,<2.0.0", + "azure-core>=1.23.0,<2.0.0", "msrest>=0.6.21", ], project_urls={ diff --git a/sdk/containerregistry/azure-containerregistry/swagger/README.md b/sdk/containerregistry/azure-containerregistry/swagger/README.md index eee28f94cbfc..10b83eca3796 100644 --- a/sdk/containerregistry/azure-containerregistry/swagger/README.md +++ b/sdk/containerregistry/azure-containerregistry/swagger/README.md @@ -108,3 +108,66 @@ directive: transform: > $.required = true ``` + +# Change NextLink client name to nextLink +``` yaml +directive: + from: swagger-document + where: $.parameters.NextLink + transform: > + $["x-ms-client-name"] = "nextLink" +``` + +# Updates to OciManifest +``` yaml +directive: + from: swagger-document + where: $.definitions.OCIManifest + transform: > + $["x-csharp-usage"] = "model,input,output,converter"; + $["x-csharp-formats"] = "json"; + delete $["x-accessibility"]; + delete $["allOf"]; + $.properties["schemaVersion"] = { + "type": "integer", + "description": "Schema version" + }; +``` + +# Take stream as manifest body +``` yaml +directive: + from: swagger-document + where: $.parameters.ManifestBody + transform: > + $.schema = { + "type": "string", + "format": "binary" + } +``` + +# Make ArtifactBlobDescriptor a public type +``` yaml +directive: + from: swagger-document + where: $.definitions.Descriptor + transform: > + delete $["x-accessibility"] +``` + +# Make OciAnnotations a public type +``` yaml +directive: + from: swagger-document + where: $.definitions.Annotations + transform: > + delete $["x-accessibility"] +``` + +``` yaml +directive: + from: swagger-document + where-operation: ContainerRegistry_GetManifest + transform: > + $.parameters = $.parameters.filter(item => item.name !== "accept") +``` diff --git a/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed b/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed new file mode 100644 index 000000000000..80993781b54e Binary files /dev/null and b/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed differ diff --git a/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/config.json b/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/config.json new file mode 100644 index 000000000000..2e34cd1899dc Binary files /dev/null and b/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/config.json differ diff --git a/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/manifest.json b/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/manifest.json new file mode 100644 index 000000000000..97ab36d0ddcf --- /dev/null +++ b/sdk/containerregistry/azure-containerregistry/tests/data/oci_artifact/manifest.json @@ -0,0 +1,18 @@ +{ + "schemaVersion": 2, + "config": { + "mediaType": "application/vnd.acme.rocket.config", + "digest": "sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + "size": 171 + }, + "layers": [ + { + "mediaType": "application/vnd.oci.image.layer.v1.tar", + "digest": "sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + "size": 28, + "annotations": { + "org.opencontainers.image.title": "artifact.txt" + } + } + ] +} diff --git a/sdk/containerregistry/azure-containerregistry/tests/test_container_registry_client.py b/sdk/containerregistry/azure-containerregistry/tests/test_container_registry_client.py index bfd7dd9c7ae8..41823e99407b 100644 --- a/sdk/containerregistry/azure-containerregistry/tests/test_container_registry_client.py +++ b/sdk/containerregistry/azure-containerregistry/tests/test_container_registry_client.py @@ -4,10 +4,9 @@ # Licensed under the MIT License. # ------------------------------------ from datetime import datetime -from azure.core import credentials +import os import pytest import six -import time from azure.containerregistry import ( RepositoryProperties, @@ -17,6 +16,7 @@ ArtifactTagOrder, ContainerRegistryClient, ) +from azure.containerregistry._helpers import _deserialize_manifest from azure.core.exceptions import ResourceNotFoundError, ClientAuthenticationError from azure.core.paging import ItemPaged @@ -601,3 +601,136 @@ def test_get_misspell_property(self, containerregistry_endpoint): last_udpated_on = properties.last_udpated_on last_updated_on = properties.last_updated_on assert last_udpated_on == last_updated_on + + @pytest.mark.live_test_only + @acr_preparer() + def test_upload_oci_manifest(self, containerregistry_endpoint): + # TODO: remove the "@pytest.mark.live_test_only" annotation once moved to the new test framework + # Arrange + repo = self.get_resource_name("repo") + manifest = self.create_oci_manifest() + client = self.create_registry_client(containerregistry_endpoint) + + self.upload_manifest_prerequisites(repo, client) + + # Act + digest = client.upload_manifest(repo, manifest) + + # Assert + response = client.download_manifest(repo, digest) + assert response.digest == digest + assert response.data.tell() == 0 + self.assert_manifest(response.manifest, manifest) + + client.delete_manifest(repo, digest) + + @pytest.mark.live_test_only + @acr_preparer() + def test_upload_oci_manifest_stream(self, containerregistry_endpoint): + # TODO: remove the "@pytest.mark.live_test_only" annotation once moved to the new test framework + # Arrange + repo = self.get_resource_name("repo") + base_path = os.path.join(self.get_test_directory(), "data", "oci_artifact") + manifest_stream = open(os.path.join(base_path, "manifest.json"), "rb") + manifest = _deserialize_manifest(manifest_stream) + client = self.create_registry_client(containerregistry_endpoint) + + self.upload_manifest_prerequisites(repo, client) + + # Act + digest = client.upload_manifest(repo, manifest_stream) + + # Assert + response = client.download_manifest(repo, digest) + assert response.digest == digest + assert response.data.tell() == 0 + self.assert_manifest(response.manifest, manifest) + + client.delete_manifest(repo, digest) + + @pytest.mark.live_test_only + @acr_preparer() + def test_upload_oci_manifest_with_tag(self, containerregistry_endpoint): + # TODO: remove the "@pytest.mark.live_test_only" annotation once moved to the new test framework + # Arrange + repo = self.get_resource_name("repo") + manifest = self.create_oci_manifest() + client = self.create_registry_client(containerregistry_endpoint) + tag = "v1" + + self.upload_manifest_prerequisites(repo, client) + + # Act + digest = client.upload_manifest(repo, manifest, tag=tag) + + # Assert + response = client.download_manifest(repo, digest) + assert response.digest == digest + assert response.data.tell() == 0 + self.assert_manifest(response.manifest, manifest) + + response = client.download_manifest(repo, tag) + assert response.digest == digest + assert response.data.tell() == 0 + self.assert_manifest(response.manifest, manifest) + + tags = client.get_manifest_properties(repo, digest).tags + assert len(tags) == 1 + assert tags[0] == tag + + client.delete_manifest(repo, digest) + + @pytest.mark.live_test_only + @acr_preparer() + def test_upload_oci_manifest_stream_with_tag(self, containerregistry_endpoint): + # TODO: remove the "@pytest.mark.live_test_only" annotation once moved to the new test framework + # Arrange + repo = self.get_resource_name("repo") + base_path = os.path.join(self.get_test_directory(), "data", "oci_artifact") + manifest_stream = open(os.path.join(base_path, "manifest.json"), "rb") + manifest = _deserialize_manifest(manifest_stream) + client = self.create_registry_client(containerregistry_endpoint) + tag = "v1" + + self.upload_manifest_prerequisites(repo, client) + + # Act + digest = client.upload_manifest(repo, manifest_stream, tag=tag) + + # Assert + response = client.download_manifest(repo, digest) + assert response.digest == digest + assert response.data.tell() == 0 + self.assert_manifest(response.manifest, manifest) + + response = client.download_manifest(repo, tag) + assert response.digest == digest + assert response.data.tell() == 0 + self.assert_manifest(response.manifest, manifest) + + tags = client.get_manifest_properties(repo, digest).tags + assert len(tags) == 1 + assert tags[0] == tag + + client.delete_manifest(repo, digest) + + @pytest.mark.live_test_only + @acr_preparer() + def test_upload_blob(self, containerregistry_endpoint): + # TODO: remove the "@pytest.mark.live_test_only" annotation once moved to the new test framework + # Arrange + repo = self.get_resource_name("repo") + client = self.create_registry_client(containerregistry_endpoint) + blob = "654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed" + path = os.path.join(self.get_test_directory(), "data", "oci_artifact", blob) + + # Act + data = open(path, "rb") + digest = client.upload_blob(repo, data) + + # Assert + res = client.download_blob(repo, digest) + assert len(res.data.read()) == len(data.read()) + assert res.digest == digest + + client.delete_blob(repo, digest) diff --git a/sdk/containerregistry/azure-containerregistry/tests/testcase.py b/sdk/containerregistry/azure-containerregistry/tests/testcase.py index a87bd1c09eed..3140f9c89dc7 100644 --- a/sdk/containerregistry/azure-containerregistry/tests/testcase.py +++ b/sdk/containerregistry/azure-containerregistry/tests/testcase.py @@ -12,7 +12,8 @@ import time from azure.containerregistry import ContainerRegistryClient -from azure.containerregistry._helpers import _is_tag +from azure.containerregistry._helpers import _is_tag, OCI_MANIFEST_MEDIA_TYPE +from azure.containerregistry._generated.models import Annotations, Descriptor, OCIManifest from azure.core.credentials import AccessToken from azure.mgmt.containerregistry import ContainerRegistryManagementClient @@ -196,6 +197,18 @@ def assert_all_properties(self, properties, value): assert properties.can_write == value assert properties.can_list == value + def assert_manifest(self, manifest, expected): + assert manifest is not None + assert manifest.schema_version == expected.schema_version + assert manifest.config is not None + assert_manifest_config_or_layer_properties(manifest.config, expected.config) + assert manifest.layers is not None + assert len(manifest.layers) == len(expected.layers) + count = 0 + for layer in manifest.layers: + assert_manifest_config_or_layer_properties(layer, expected.layers[count]) + count += 1 + def create_fully_qualified_reference(self, registry, repository, digest): return "{}/{}{}{}".format( registry, @@ -206,7 +219,32 @@ def create_fully_qualified_reference(self, registry, repository, digest): def is_public_endpoint(self, endpoint): return ".azurecr.io" in endpoint - + + def create_oci_manifest(self): + config1 = Descriptor( + media_type="application/vnd.acme.rocket.config", + digest="sha256:d25b42d3dbad5361ed2d909624d899e7254a822c9a632b582ebd3a44f9b0dbc8", + size=171 + ) + config2 = Descriptor( + media_type="application/vnd.oci.image.layer.v1.tar", + digest="sha256:654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed", + size=28, + annotations=Annotations(name="artifact.txt") + ) + return OCIManifest(config=config1, schema_version=2, layers=[config2]) + + def upload_manifest_prerequisites(self, repo, client): + layer = "654b93f61054e4ce90ed203bb8d556a6200d5f906cf3eca0620738d6dc18cbed" + config = "config.json" + base_path = os.path.join(self.get_test_directory(), "data", "oci_artifact") + # upload config + client.upload_blob(repo, open(os.path.join(base_path, config), "rb")) + # upload layers + client.upload_blob(repo, open(os.path.join(base_path, layer), "rb")) + + def get_test_directory(self): + return os.path.join(os.getcwd(), "tests") def get_authority(endpoint): if ".azurecr.io" in endpoint: @@ -223,7 +261,6 @@ def get_authority(endpoint): return AzureAuthorityHosts.AZURE_GERMANY raise ValueError("Endpoint ({}) could not be understood".format(endpoint)) - def get_audience(authority): if authority == AzureAuthorityHosts.AZURE_PUBLIC_CLOUD: logger.warning("Public auth scope") @@ -306,7 +343,6 @@ def import_image(authority, repository, tags): while not result.done(): pass - @pytest.fixture(scope="session") def load_registry(): if not is_live(): @@ -332,4 +368,9 @@ def load_registry(): try: import_image(authority, repo, tag) except Exception as e: - print(e) \ No newline at end of file + print(e) + +def assert_manifest_config_or_layer_properties(value, expected): + assert value.media_type == expected.media_type + assert value.digest == expected.digest + assert value.size == expected.size diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/README.md b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/README.md index b61aa395ce50..a5ca5f7b4f8b 100644 --- a/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/README.md +++ b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/README.md @@ -17,6 +17,9 @@ These code samples show common champion scenario operations with the AzureMonito * Azure EventHub Send EventData: [sample_event_hub.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_event_hub.py) * Azure EventHub Blob Storage Checkpoint Store: [sample_blob_checkpoint.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_blob_checkpoint.py) * Azure EventGrid Send Event: [sample_event_grid.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_event_grid.py) +* Azure Communication Chat Create Client/Thread: [sample_comm_chat.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_chat.py) +* Azure Communication Phone Numbers List Purchased Numbers: [sample_comm_phone.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_phone.py) +* Azure Communication SMS Send Message: [sample_comm_sms.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_sms.py) * Client: [sample_client.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_client.py) * Event: [sample_span_event.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_span_event.py) * Jaeger: [sample_jaeger.py](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_jaeger.py) @@ -259,7 +262,7 @@ The following sample assumes that you have setup an Azure Event Grid [Topic](htt * Run the sample ```sh -$ # azure-eventhub-checkpointstoreblob library +$ # azure-azure-eventgrid library $ pip install azure-eventgrid $ # azure sdk core tracing library for opentelemetry $ pip install azure-core-tracing-opentelemetry @@ -267,6 +270,56 @@ $ # from this directory $ python sample_event_grid.py ``` +### Azure Communication Chat Create Client/Thread + +The following sample assumes that you have setup an Azure Communication Services [resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource). +* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable + +* Run the sample + +```sh +$ # azure-communication-chat library +$ pip install azure-communication-chat +$ # azure-communication-identity library for authentication +$ pip install azure-communication-identity +$ # azure sdk core tracing library for opentelemetry +$ pip install azure-core-tracing-opentelemetry +$ # from this directory +$ python sample_comm_chat.py +``` + +### Azure Communication Phone Numbers List Purchased Numbers + +The following sample assumes that you have setup an Azure Communication Services [resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource). +* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable + +* Run the sample + +```sh +$ # azure-communication-phonenumbers library +$ pip install azure-communication-phonenumbers +$ # azure sdk core tracing library for opentelemetry +$ pip install azure-core-tracing-opentelemetry +$ # from this directory +$ python sample_comm_phone.py +``` + +### Azure Communication SMS Send Message + +The following sample assumes that you have setup an Azure Communication Services [resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource). +* Update `APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable + +* Run the sample + +```sh +$ # azure-communication-sms library +$ pip install azure-communication-sms +$ # azure sdk core tracing library for opentelemetry +$ pip install azure-core-tracing-opentelemetry +$ # from this directory +$ python sample_comm_sms.py +``` + ## Explore the data After running the applications, data would be available in [Azure]( diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_chat.py b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_chat.py new file mode 100644 index 000000000000..0d9e9e565751 --- /dev/null +++ b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_chat.py @@ -0,0 +1,56 @@ +""" +Examples to show usage of the azure-core-tracing-opentelemetry +with the Communication Chat SDK and exporting to Azure monitor backend. +This example traces calls for creating a chat client and thread using +Communication Chat SDK. The telemetry will be collected automatically +and sent to Application Insights via the AzureMonitorTraceExporter +""" + +import os + +# Declare OpenTelemetry as enabled tracing plugin for Azure SDKs +from azure.core.settings import settings +from azure.core.tracing.ext.opentelemetry_span import OpenTelemetrySpan + +settings.tracing_implementation = OpenTelemetrySpan + +# Regular open telemetry usage from here, see https://github.com/open-telemetry/opentelemetry-python +# for details +from opentelemetry import trace +from opentelemetry.sdk.trace import TracerProvider +from opentelemetry.sdk.trace.export import BatchSpanProcessor + +trace.set_tracer_provider(TracerProvider()) +tracer = trace.get_tracer(__name__) + +# azure monitor trace exporter to send telemetry to appinsights +from azure.monitor.opentelemetry.exporter import AzureMonitorTraceExporter +span_processor = BatchSpanProcessor( + AzureMonitorTraceExporter.from_connection_string( + os.environ["APPLICATIONINSIGHTS_CONNECTION_STRING"] + ) +) +trace.get_tracer_provider().add_span_processor(span_processor) + +# Example with Communication Chat SDKs +# Authenticate with Communication Identity SDK +from azure.communication.identity import CommunicationIdentityClient +comm_connection_string = "" +identity_client = CommunicationIdentityClient.from_connection_string(comm_connection_string) + +# Telemetry will be sent for creating the user and getting the token as well +user = identity_client.create_user() +tokenresponse = identity_client.get_token(user, scopes=["chat"]) +token = tokenresponse.token + +# Create a Chat Client +from azure.communication.chat import ChatClient, CommunicationTokenCredential + +# Your unique Azure Communication service endpoint +endpoint = "https://.communcationservices.azure.com" +with tracer.start_as_current_span(name="CreateChatClient"): + chat_client = ChatClient(endpoint, CommunicationTokenCredential(token)) + # Create a Chat Thread + with tracer.start_as_current_span(name="CreateChatThread"): + create_chat_thread_result = chat_client.create_chat_thread("test topic") + chat_thread_client = chat_client.get_chat_thread_client(create_chat_thread_result.chat_thread.id) diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_phone.py b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_phone.py new file mode 100644 index 000000000000..0cb5d31fdf10 --- /dev/null +++ b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_phone.py @@ -0,0 +1,45 @@ +""" +Examples to show usage of the azure-core-tracing-opentelemetry +with the Communication Phone SDK and exporting to Azure monitor backend. +This example traces calls for creating a phone client getting phone numbers +using Communication Phone SDK. The telemetry will be collected automatically +and sent to Application Insights via the AzureMonitorTraceExporter +""" + +import os + +# Declare OpenTelemetry as enabled tracing plugin for Azure SDKs +from azure.core.settings import settings +from azure.core.tracing.ext.opentelemetry_span import OpenTelemetrySpan + +settings.tracing_implementation = OpenTelemetrySpan + +# Regular open telemetry usage from here, see https://github.com/open-telemetry/opentelemetry-python +# for details +from opentelemetry import trace +from opentelemetry.sdk.trace import TracerProvider +from opentelemetry.sdk.trace.export import BatchSpanProcessor + +trace.set_tracer_provider(TracerProvider()) +tracer = trace.get_tracer(__name__) + +# azure monitor trace exporter to send telemetry to appinsights +from azure.monitor.opentelemetry.exporter import AzureMonitorTraceExporter +span_processor = BatchSpanProcessor( + AzureMonitorTraceExporter.from_connection_string( + os.environ["APPLICATIONINSIGHTS_CONNECTION_STRING"] + ) +) +trace.get_tracer_provider().add_span_processor(span_processor) + +# Example with Communication Phone SDKs +from azure.communication.phonenumbers import PhoneNumbersClient + +# Create a Phone Client +connection_str = "endpoint=ENDPOINT;accessKey=KEY" +phone_numbers_client = PhoneNumbersClient.from_connection_string(connection_str) + +with tracer.start_as_current_span(name="PurchasedPhoneNumbers"): + purchased_phone_numbers = phone_numbers_client.list_purchased_phone_numbers() + for acquired_phone_number in purchased_phone_numbers: + print(acquired_phone_number.phone_number) diff --git a/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_sms.py b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_sms.py new file mode 100644 index 000000000000..755298c9ee0c --- /dev/null +++ b/sdk/monitor/azure-monitor-opentelemetry-exporter/samples/traces/sample_comm_sms.py @@ -0,0 +1,48 @@ +""" +Examples to show usage of the azure-core-tracing-opentelemetry +with the Communication SMS SDK and exporting to Azure monitor backend. +This example traces calls for sending an SMS message using Communication +SMS SDK. The telemetry will be collected automatically and sent to +Application Insights via the AzureMonitorTraceExporter +""" + +import os + +# Declare OpenTelemetry as enabled tracing plugin for Azure SDKs +from azure.core.settings import settings +from azure.core.tracing.ext.opentelemetry_span import OpenTelemetrySpan + +settings.tracing_implementation = OpenTelemetrySpan + +# Regular open telemetry usage from here, see https://github.com/open-telemetry/opentelemetry-python +# for details +from opentelemetry import trace +from opentelemetry.sdk.trace import TracerProvider +from opentelemetry.sdk.trace.export import BatchSpanProcessor + +trace.set_tracer_provider(TracerProvider()) +tracer = trace.get_tracer(__name__) + +# azure monitor trace exporter to send telemetry to appinsights +from azure.monitor.opentelemetry.exporter import AzureMonitorTraceExporter +span_processor = BatchSpanProcessor( + AzureMonitorTraceExporter.from_connection_string( + os.environ["APPLICATIONINSIGHTS_CONNECTION_STRING"] + ) +) +trace.get_tracer_provider().add_span_processor(span_processor) + +# Example with Communication SMS SDKs +from azure.communication.sms import SmsClient + +# Create a SMS Client +connection_str = "endpoint=ENDPOINT;accessKey=KEY" +sms_client = SmsClient.from_connection_string(connection_str) + +with tracer.start_as_current_span(name="SendSMS"): + sms_responses = sms_client.send( + from_="", + to="", + message="Hello World via SMS", + enable_delivery_report=True, # optional property + tag="custom-tag") # optional property diff --git a/sdk/network/azure-mgmt-network/CHANGELOG.md b/sdk/network/azure-mgmt-network/CHANGELOG.md index 8d51b30805e4..a8d53381bd43 100644 --- a/sdk/network/azure-mgmt-network/CHANGELOG.md +++ b/sdk/network/azure-mgmt-network/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 20.0.0 (2022-04-25) +## 20.0.0 (2022-05-10) **Features** diff --git a/sdk/network/azure-mgmt-network/_meta.json b/sdk/network/azure-mgmt-network/_meta.json index 06621ffb87b1..5958109cde20 100644 --- a/sdk/network/azure-mgmt-network/_meta.json +++ b/sdk/network/azure-mgmt-network/_meta.json @@ -4,7 +4,7 @@ "@autorest/python@5.13.0", "@autorest/modelerfour@4.19.3" ], - "commit": "ba936cf8f3b4720dc025837281241fdc903f7e4d", + "commit": "0baca05c851c1749e92beb0d2134cd958827dd54", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest_command": "autorest specification/network/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/network/resource-manager/readme.md" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py index 058d9a177a66..37c9e22eb51c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py @@ -147,7 +147,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-11-01: :mod:`v2020_11_01.models` * 2021-02-01: :mod:`v2021_02_01.models` * 2021-02-01-preview: :mod:`v2021_02_01_preview.models` - * 2021-05-01: :mod:`v2021_05_01.models` * 2021-08-01: :mod:`v2021_08_01.models` """ if api_version == '2015-06-15': @@ -246,9 +245,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2021-02-01-preview': from .v2021_02_01_preview import models return models - elif api_version == '2021-05-01': - from .v2021_05_01 import models - return models elif api_version == '2021-08-01': from .v2021_08_01 import models return models @@ -329,7 +325,6 @@ def application_gateway_private_endpoint_connections(self): * 2020-08-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2021-02-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` - * 2021-05-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2021-08-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('application_gateway_private_endpoint_connections') @@ -345,8 +340,6 @@ def application_gateway_private_endpoint_connections(self): from .v2020_11_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass else: @@ -363,7 +356,6 @@ def application_gateway_private_link_resources(self): * 2020-08-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2021-02-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` - * 2021-05-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2021-08-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` """ api_version = self._get_api_version('application_gateway_private_link_resources') @@ -379,8 +371,6 @@ def application_gateway_private_link_resources(self): from .v2020_11_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass else: @@ -422,7 +412,6 @@ def application_gateways(self): * 2020-08-01: :class:`ApplicationGatewaysOperations` * 2020-11-01: :class:`ApplicationGatewaysOperations` * 2021-02-01: :class:`ApplicationGatewaysOperations` - * 2021-05-01: :class:`ApplicationGatewaysOperations` * 2021-08-01: :class:`ApplicationGatewaysOperations` """ api_version = self._get_api_version('application_gateways') @@ -488,8 +477,6 @@ def application_gateways(self): from .v2020_11_01.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ApplicationGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ApplicationGatewaysOperations as OperationClass else: @@ -526,7 +513,6 @@ def application_security_groups(self): * 2020-08-01: :class:`ApplicationSecurityGroupsOperations` * 2020-11-01: :class:`ApplicationSecurityGroupsOperations` * 2021-02-01: :class:`ApplicationSecurityGroupsOperations` - * 2021-05-01: :class:`ApplicationSecurityGroupsOperations` * 2021-08-01: :class:`ApplicationSecurityGroupsOperations` """ api_version = self._get_api_version('application_security_groups') @@ -582,8 +568,6 @@ def application_security_groups(self): from .v2020_11_01.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ApplicationSecurityGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ApplicationSecurityGroupsOperations as OperationClass else: @@ -614,7 +598,6 @@ def available_delegations(self): * 2020-08-01: :class:`AvailableDelegationsOperations` * 2020-11-01: :class:`AvailableDelegationsOperations` * 2021-02-01: :class:`AvailableDelegationsOperations` - * 2021-05-01: :class:`AvailableDelegationsOperations` * 2021-08-01: :class:`AvailableDelegationsOperations` """ api_version = self._get_api_version('available_delegations') @@ -658,8 +641,6 @@ def available_delegations(self): from .v2020_11_01.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import AvailableDelegationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import AvailableDelegationsOperations as OperationClass else: @@ -697,7 +678,6 @@ def available_endpoint_services(self): * 2020-08-01: :class:`AvailableEndpointServicesOperations` * 2020-11-01: :class:`AvailableEndpointServicesOperations` * 2021-02-01: :class:`AvailableEndpointServicesOperations` - * 2021-05-01: :class:`AvailableEndpointServicesOperations` * 2021-08-01: :class:`AvailableEndpointServicesOperations` """ api_version = self._get_api_version('available_endpoint_services') @@ -755,8 +735,6 @@ def available_endpoint_services(self): from .v2020_11_01.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import AvailableEndpointServicesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import AvailableEndpointServicesOperations as OperationClass else: @@ -782,7 +760,6 @@ def available_private_endpoint_types(self): * 2020-08-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-11-01: :class:`AvailablePrivateEndpointTypesOperations` * 2021-02-01: :class:`AvailablePrivateEndpointTypesOperations` - * 2021-05-01: :class:`AvailablePrivateEndpointTypesOperations` * 2021-08-01: :class:`AvailablePrivateEndpointTypesOperations` """ api_version = self._get_api_version('available_private_endpoint_types') @@ -816,8 +793,6 @@ def available_private_endpoint_types(self): from .v2020_11_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass else: @@ -848,7 +823,6 @@ def available_resource_group_delegations(self): * 2020-08-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-11-01: :class:`AvailableResourceGroupDelegationsOperations` * 2021-02-01: :class:`AvailableResourceGroupDelegationsOperations` - * 2021-05-01: :class:`AvailableResourceGroupDelegationsOperations` * 2021-08-01: :class:`AvailableResourceGroupDelegationsOperations` """ api_version = self._get_api_version('available_resource_group_delegations') @@ -892,8 +866,6 @@ def available_resource_group_delegations(self): from .v2020_11_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass else: @@ -916,7 +888,6 @@ def available_service_aliases(self): * 2020-08-01: :class:`AvailableServiceAliasesOperations` * 2020-11-01: :class:`AvailableServiceAliasesOperations` * 2021-02-01: :class:`AvailableServiceAliasesOperations` - * 2021-05-01: :class:`AvailableServiceAliasesOperations` * 2021-08-01: :class:`AvailableServiceAliasesOperations` """ api_version = self._get_api_version('available_service_aliases') @@ -944,8 +915,6 @@ def available_service_aliases(self): from .v2020_11_01.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import AvailableServiceAliasesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import AvailableServiceAliasesOperations as OperationClass else: @@ -976,7 +945,6 @@ def azure_firewall_fqdn_tags(self): * 2020-08-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-11-01: :class:`AzureFirewallFqdnTagsOperations` * 2021-02-01: :class:`AzureFirewallFqdnTagsOperations` - * 2021-05-01: :class:`AzureFirewallFqdnTagsOperations` * 2021-08-01: :class:`AzureFirewallFqdnTagsOperations` """ api_version = self._get_api_version('azure_firewall_fqdn_tags') @@ -1020,8 +988,6 @@ def azure_firewall_fqdn_tags(self): from .v2020_11_01.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import AzureFirewallFqdnTagsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import AzureFirewallFqdnTagsOperations as OperationClass else: @@ -1055,7 +1021,6 @@ def azure_firewalls(self): * 2020-08-01: :class:`AzureFirewallsOperations` * 2020-11-01: :class:`AzureFirewallsOperations` * 2021-02-01: :class:`AzureFirewallsOperations` - * 2021-05-01: :class:`AzureFirewallsOperations` * 2021-08-01: :class:`AzureFirewallsOperations` """ api_version = self._get_api_version('azure_firewalls') @@ -1105,8 +1070,6 @@ def azure_firewalls(self): from .v2020_11_01.operations import AzureFirewallsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import AzureFirewallsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import AzureFirewallsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import AzureFirewallsOperations as OperationClass else: @@ -1132,7 +1095,6 @@ def bastion_hosts(self): * 2020-08-01: :class:`BastionHostsOperations` * 2020-11-01: :class:`BastionHostsOperations` * 2021-02-01: :class:`BastionHostsOperations` - * 2021-05-01: :class:`BastionHostsOperations` * 2021-08-01: :class:`BastionHostsOperations` """ api_version = self._get_api_version('bastion_hosts') @@ -1166,8 +1128,6 @@ def bastion_hosts(self): from .v2020_11_01.operations import BastionHostsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import BastionHostsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import BastionHostsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import BastionHostsOperations as OperationClass else: @@ -1207,7 +1167,6 @@ def bgp_service_communities(self): * 2020-08-01: :class:`BgpServiceCommunitiesOperations` * 2020-11-01: :class:`BgpServiceCommunitiesOperations` * 2021-02-01: :class:`BgpServiceCommunitiesOperations` - * 2021-05-01: :class:`BgpServiceCommunitiesOperations` * 2021-08-01: :class:`BgpServiceCommunitiesOperations` """ api_version = self._get_api_version('bgp_service_communities') @@ -1269,8 +1228,6 @@ def bgp_service_communities(self): from .v2020_11_01.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import BgpServiceCommunitiesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import BgpServiceCommunitiesOperations as OperationClass else: @@ -1320,7 +1277,6 @@ def connection_monitors(self): * 2020-08-01: :class:`ConnectionMonitorsOperations` * 2020-11-01: :class:`ConnectionMonitorsOperations` * 2021-02-01: :class:`ConnectionMonitorsOperations` - * 2021-05-01: :class:`ConnectionMonitorsOperations` * 2021-08-01: :class:`ConnectionMonitorsOperations` """ api_version = self._get_api_version('connection_monitors') @@ -1376,8 +1332,6 @@ def connection_monitors(self): from .v2020_11_01.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ConnectionMonitorsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ConnectionMonitorsOperations as OperationClass else: @@ -1406,7 +1360,6 @@ def custom_ip_prefixes(self): * 2020-08-01: :class:`CustomIPPrefixesOperations` * 2020-11-01: :class:`CustomIPPrefixesOperations` * 2021-02-01: :class:`CustomIPPrefixesOperations` - * 2021-05-01: :class:`CustomIPPrefixesOperations` * 2021-08-01: :class:`CustomIPPrefixesOperations` """ api_version = self._get_api_version('custom_ip_prefixes') @@ -1420,8 +1373,6 @@ def custom_ip_prefixes(self): from .v2020_11_01.operations import CustomIPPrefixesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import CustomIPPrefixesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import CustomIPPrefixesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import CustomIPPrefixesOperations as OperationClass else: @@ -1450,7 +1401,6 @@ def ddos_custom_policies(self): * 2020-08-01: :class:`DdosCustomPoliciesOperations` * 2020-11-01: :class:`DdosCustomPoliciesOperations` * 2021-02-01: :class:`DdosCustomPoliciesOperations` - * 2021-05-01: :class:`DdosCustomPoliciesOperations` * 2021-08-01: :class:`DdosCustomPoliciesOperations` """ api_version = self._get_api_version('ddos_custom_policies') @@ -1490,8 +1440,6 @@ def ddos_custom_policies(self): from .v2020_11_01.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import DdosCustomPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import DdosCustomPoliciesOperations as OperationClass else: @@ -1526,7 +1474,6 @@ def ddos_protection_plans(self): * 2020-08-01: :class:`DdosProtectionPlansOperations` * 2020-11-01: :class:`DdosProtectionPlansOperations` * 2021-02-01: :class:`DdosProtectionPlansOperations` - * 2021-05-01: :class:`DdosProtectionPlansOperations` * 2021-08-01: :class:`DdosProtectionPlansOperations` """ api_version = self._get_api_version('ddos_protection_plans') @@ -1578,8 +1525,6 @@ def ddos_protection_plans(self): from .v2020_11_01.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import DdosProtectionPlansOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import DdosProtectionPlansOperations as OperationClass else: @@ -1617,7 +1562,6 @@ def default_security_rules(self): * 2020-08-01: :class:`DefaultSecurityRulesOperations` * 2020-11-01: :class:`DefaultSecurityRulesOperations` * 2021-02-01: :class:`DefaultSecurityRulesOperations` - * 2021-05-01: :class:`DefaultSecurityRulesOperations` * 2021-08-01: :class:`DefaultSecurityRulesOperations` """ api_version = self._get_api_version('default_security_rules') @@ -1675,8 +1619,6 @@ def default_security_rules(self): from .v2020_11_01.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import DefaultSecurityRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import DefaultSecurityRulesOperations as OperationClass else: @@ -1692,7 +1634,6 @@ def dscp_configuration(self): * 2020-08-01: :class:`DscpConfigurationOperations` * 2020-11-01: :class:`DscpConfigurationOperations` * 2021-02-01: :class:`DscpConfigurationOperations` - * 2021-05-01: :class:`DscpConfigurationOperations` * 2021-08-01: :class:`DscpConfigurationOperations` """ api_version = self._get_api_version('dscp_configuration') @@ -1706,8 +1647,6 @@ def dscp_configuration(self): from .v2020_11_01.operations import DscpConfigurationOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import DscpConfigurationOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import DscpConfigurationOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import DscpConfigurationOperations as OperationClass else: @@ -1775,7 +1714,6 @@ def express_route_circuit_authorizations(self): * 2020-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-11-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2021-02-01: :class:`ExpressRouteCircuitAuthorizationsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2021-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ api_version = self._get_api_version('express_route_circuit_authorizations') @@ -1841,8 +1779,6 @@ def express_route_circuit_authorizations(self): from .v2020_11_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: @@ -1877,7 +1813,6 @@ def express_route_circuit_connections(self): * 2020-08-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2021-02-01: :class:`ExpressRouteCircuitConnectionsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2021-08-01: :class:`ExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('express_route_circuit_connections') @@ -1929,8 +1864,6 @@ def express_route_circuit_connections(self): from .v2020_11_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass else: @@ -1972,7 +1905,6 @@ def express_route_circuit_peerings(self): * 2020-08-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2021-02-01: :class:`ExpressRouteCircuitPeeringsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2021-08-01: :class:`ExpressRouteCircuitPeeringsOperations` """ api_version = self._get_api_version('express_route_circuit_peerings') @@ -2038,8 +1970,6 @@ def express_route_circuit_peerings(self): from .v2020_11_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: @@ -2081,7 +2011,6 @@ def express_route_circuits(self): * 2020-08-01: :class:`ExpressRouteCircuitsOperations` * 2020-11-01: :class:`ExpressRouteCircuitsOperations` * 2021-02-01: :class:`ExpressRouteCircuitsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitsOperations` * 2021-08-01: :class:`ExpressRouteCircuitsOperations` """ api_version = self._get_api_version('express_route_circuits') @@ -2147,8 +2076,6 @@ def express_route_circuits(self): from .v2020_11_01.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteCircuitsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteCircuitsOperations as OperationClass else: @@ -2179,7 +2106,6 @@ def express_route_connections(self): * 2020-08-01: :class:`ExpressRouteConnectionsOperations` * 2020-11-01: :class:`ExpressRouteConnectionsOperations` * 2021-02-01: :class:`ExpressRouteConnectionsOperations` - * 2021-05-01: :class:`ExpressRouteConnectionsOperations` * 2021-08-01: :class:`ExpressRouteConnectionsOperations` """ api_version = self._get_api_version('express_route_connections') @@ -2223,8 +2149,6 @@ def express_route_connections(self): from .v2020_11_01.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteConnectionsOperations as OperationClass else: @@ -2259,7 +2183,6 @@ def express_route_cross_connection_peerings(self): * 2020-08-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2021-02-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` - * 2021-05-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2021-08-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` """ api_version = self._get_api_version('express_route_cross_connection_peerings') @@ -2311,8 +2234,6 @@ def express_route_cross_connection_peerings(self): from .v2020_11_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass else: @@ -2347,7 +2268,6 @@ def express_route_cross_connections(self): * 2020-08-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionsOperations` * 2021-02-01: :class:`ExpressRouteCrossConnectionsOperations` - * 2021-05-01: :class:`ExpressRouteCrossConnectionsOperations` * 2021-08-01: :class:`ExpressRouteCrossConnectionsOperations` """ api_version = self._get_api_version('express_route_cross_connections') @@ -2399,8 +2319,6 @@ def express_route_cross_connections(self): from .v2020_11_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass else: @@ -2431,7 +2349,6 @@ def express_route_gateways(self): * 2020-08-01: :class:`ExpressRouteGatewaysOperations` * 2020-11-01: :class:`ExpressRouteGatewaysOperations` * 2021-02-01: :class:`ExpressRouteGatewaysOperations` - * 2021-05-01: :class:`ExpressRouteGatewaysOperations` * 2021-08-01: :class:`ExpressRouteGatewaysOperations` """ api_version = self._get_api_version('express_route_gateways') @@ -2475,8 +2392,6 @@ def express_route_gateways(self): from .v2020_11_01.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteGatewaysOperations as OperationClass else: @@ -2507,7 +2422,6 @@ def express_route_links(self): * 2020-08-01: :class:`ExpressRouteLinksOperations` * 2020-11-01: :class:`ExpressRouteLinksOperations` * 2021-02-01: :class:`ExpressRouteLinksOperations` - * 2021-05-01: :class:`ExpressRouteLinksOperations` * 2021-08-01: :class:`ExpressRouteLinksOperations` """ api_version = self._get_api_version('express_route_links') @@ -2551,8 +2465,6 @@ def express_route_links(self): from .v2020_11_01.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteLinksOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteLinksOperations as OperationClass else: @@ -2596,7 +2508,6 @@ def express_route_ports(self): * 2020-08-01: :class:`ExpressRoutePortsOperations` * 2020-11-01: :class:`ExpressRoutePortsOperations` * 2021-02-01: :class:`ExpressRoutePortsOperations` - * 2021-05-01: :class:`ExpressRoutePortsOperations` * 2021-08-01: :class:`ExpressRoutePortsOperations` """ api_version = self._get_api_version('express_route_ports') @@ -2640,8 +2551,6 @@ def express_route_ports(self): from .v2020_11_01.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRoutePortsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRoutePortsOperations as OperationClass else: @@ -2672,7 +2581,6 @@ def express_route_ports_locations(self): * 2020-08-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-11-01: :class:`ExpressRoutePortsLocationsOperations` * 2021-02-01: :class:`ExpressRoutePortsLocationsOperations` - * 2021-05-01: :class:`ExpressRoutePortsLocationsOperations` * 2021-08-01: :class:`ExpressRoutePortsLocationsOperations` """ api_version = self._get_api_version('express_route_ports_locations') @@ -2716,8 +2624,6 @@ def express_route_ports_locations(self): from .v2020_11_01.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRoutePortsLocationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRoutePortsLocationsOperations as OperationClass else: @@ -2759,7 +2665,6 @@ def express_route_service_providers(self): * 2020-08-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-11-01: :class:`ExpressRouteServiceProvidersOperations` * 2021-02-01: :class:`ExpressRouteServiceProvidersOperations` - * 2021-05-01: :class:`ExpressRouteServiceProvidersOperations` * 2021-08-01: :class:`ExpressRouteServiceProvidersOperations` """ api_version = self._get_api_version('express_route_service_providers') @@ -2825,8 +2730,6 @@ def express_route_service_providers(self): from .v2020_11_01.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ExpressRouteServiceProvidersOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ExpressRouteServiceProvidersOperations as OperationClass else: @@ -2851,7 +2754,6 @@ def firewall_policies(self): * 2020-08-01: :class:`FirewallPoliciesOperations` * 2020-11-01: :class:`FirewallPoliciesOperations` * 2021-02-01: :class:`FirewallPoliciesOperations` - * 2021-05-01: :class:`FirewallPoliciesOperations` * 2021-08-01: :class:`FirewallPoliciesOperations` """ api_version = self._get_api_version('firewall_policies') @@ -2883,8 +2785,6 @@ def firewall_policies(self): from .v2020_11_01.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import FirewallPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import FirewallPoliciesOperations as OperationClass else: @@ -2895,13 +2795,10 @@ def firewall_policies(self): def firewall_policy_idps_signatures(self): """Instance depends on the API version: - * 2021-05-01: :class:`FirewallPolicyIdpsSignaturesOperations` * 2021-08-01: :class:`FirewallPolicyIdpsSignaturesOperations` """ api_version = self._get_api_version('firewall_policy_idps_signatures') - if api_version == '2021-05-01': - from .v2021_05_01.operations import FirewallPolicyIdpsSignaturesOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from .v2021_08_01.operations import FirewallPolicyIdpsSignaturesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_idps_signatures'".format(api_version)) @@ -2911,13 +2808,10 @@ def firewall_policy_idps_signatures(self): def firewall_policy_idps_signatures_filter_values(self): """Instance depends on the API version: - * 2021-05-01: :class:`FirewallPolicyIdpsSignaturesFilterValuesOperations` * 2021-08-01: :class:`FirewallPolicyIdpsSignaturesFilterValuesOperations` """ api_version = self._get_api_version('firewall_policy_idps_signatures_filter_values') - if api_version == '2021-05-01': - from .v2021_05_01.operations import FirewallPolicyIdpsSignaturesFilterValuesOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from .v2021_08_01.operations import FirewallPolicyIdpsSignaturesFilterValuesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_idps_signatures_filter_values'".format(api_version)) @@ -2927,13 +2821,10 @@ def firewall_policy_idps_signatures_filter_values(self): def firewall_policy_idps_signatures_overrides(self): """Instance depends on the API version: - * 2021-05-01: :class:`FirewallPolicyIdpsSignaturesOverridesOperations` * 2021-08-01: :class:`FirewallPolicyIdpsSignaturesOverridesOperations` """ api_version = self._get_api_version('firewall_policy_idps_signatures_overrides') - if api_version == '2021-05-01': - from .v2021_05_01.operations import FirewallPolicyIdpsSignaturesOverridesOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from .v2021_08_01.operations import FirewallPolicyIdpsSignaturesOverridesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_idps_signatures_overrides'".format(api_version)) @@ -2949,7 +2840,6 @@ def firewall_policy_rule_collection_groups(self): * 2020-08-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-11-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2021-02-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` - * 2021-05-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2021-08-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` """ api_version = self._get_api_version('firewall_policy_rule_collection_groups') @@ -2965,8 +2855,6 @@ def firewall_policy_rule_collection_groups(self): from .v2020_11_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass else: @@ -3021,7 +2909,6 @@ def flow_logs(self): * 2020-08-01: :class:`FlowLogsOperations` * 2020-11-01: :class:`FlowLogsOperations` * 2021-02-01: :class:`FlowLogsOperations` - * 2021-05-01: :class:`FlowLogsOperations` * 2021-08-01: :class:`FlowLogsOperations` """ api_version = self._get_api_version('flow_logs') @@ -3045,8 +2932,6 @@ def flow_logs(self): from .v2020_11_01.operations import FlowLogsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import FlowLogsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import FlowLogsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import FlowLogsOperations as OperationClass else: @@ -3064,7 +2949,6 @@ def hub_route_tables(self): * 2020-08-01: :class:`HubRouteTablesOperations` * 2020-11-01: :class:`HubRouteTablesOperations` * 2021-02-01: :class:`HubRouteTablesOperations` - * 2021-05-01: :class:`HubRouteTablesOperations` * 2021-08-01: :class:`HubRouteTablesOperations` """ api_version = self._get_api_version('hub_route_tables') @@ -3082,8 +2966,6 @@ def hub_route_tables(self): from .v2020_11_01.operations import HubRouteTablesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import HubRouteTablesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import HubRouteTablesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import HubRouteTablesOperations as OperationClass else: @@ -3117,7 +2999,6 @@ def hub_virtual_network_connections(self): * 2020-08-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-11-01: :class:`HubVirtualNetworkConnectionsOperations` * 2021-02-01: :class:`HubVirtualNetworkConnectionsOperations` - * 2021-05-01: :class:`HubVirtualNetworkConnectionsOperations` * 2021-08-01: :class:`HubVirtualNetworkConnectionsOperations` """ api_version = self._get_api_version('hub_virtual_network_connections') @@ -3167,8 +3048,6 @@ def hub_virtual_network_connections(self): from .v2020_11_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass else: @@ -3206,7 +3085,6 @@ def inbound_nat_rules(self): * 2020-08-01: :class:`InboundNatRulesOperations` * 2020-11-01: :class:`InboundNatRulesOperations` * 2021-02-01: :class:`InboundNatRulesOperations` - * 2021-05-01: :class:`InboundNatRulesOperations` * 2021-08-01: :class:`InboundNatRulesOperations` """ api_version = self._get_api_version('inbound_nat_rules') @@ -3264,8 +3142,6 @@ def inbound_nat_rules(self): from .v2020_11_01.operations import InboundNatRulesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import InboundNatRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import InboundNatRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import InboundNatRulesOperations as OperationClass else: @@ -3281,7 +3157,6 @@ def inbound_security_rule(self): * 2020-08-01: :class:`InboundSecurityRuleOperations` * 2020-11-01: :class:`InboundSecurityRuleOperations` * 2021-02-01: :class:`InboundSecurityRuleOperations` - * 2021-05-01: :class:`InboundSecurityRuleOperations` * 2021-08-01: :class:`InboundSecurityRuleOperations` """ api_version = self._get_api_version('inbound_security_rule') @@ -3295,8 +3170,6 @@ def inbound_security_rule(self): from .v2020_11_01.operations import InboundSecurityRuleOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import InboundSecurityRuleOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import InboundSecurityRuleOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import InboundSecurityRuleOperations as OperationClass else: @@ -3340,7 +3213,6 @@ def ip_allocations(self): * 2020-08-01: :class:`IpAllocationsOperations` * 2020-11-01: :class:`IpAllocationsOperations` * 2021-02-01: :class:`IpAllocationsOperations` - * 2021-05-01: :class:`IpAllocationsOperations` * 2021-08-01: :class:`IpAllocationsOperations` """ api_version = self._get_api_version('ip_allocations') @@ -3360,8 +3232,6 @@ def ip_allocations(self): from .v2020_11_01.operations import IpAllocationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import IpAllocationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import IpAllocationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import IpAllocationsOperations as OperationClass else: @@ -3383,7 +3253,6 @@ def ip_groups(self): * 2020-08-01: :class:`IpGroupsOperations` * 2020-11-01: :class:`IpGroupsOperations` * 2021-02-01: :class:`IpGroupsOperations` - * 2021-05-01: :class:`IpGroupsOperations` * 2021-08-01: :class:`IpGroupsOperations` """ api_version = self._get_api_version('ip_groups') @@ -3409,8 +3278,6 @@ def ip_groups(self): from .v2020_11_01.operations import IpGroupsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import IpGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import IpGroupsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import IpGroupsOperations as OperationClass else: @@ -3448,7 +3315,6 @@ def load_balancer_backend_address_pools(self): * 2020-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-11-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2021-02-01: :class:`LoadBalancerBackendAddressPoolsOperations` - * 2021-05-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2021-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` """ api_version = self._get_api_version('load_balancer_backend_address_pools') @@ -3506,8 +3372,6 @@ def load_balancer_backend_address_pools(self): from .v2020_11_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass else: @@ -3545,7 +3409,6 @@ def load_balancer_frontend_ip_configurations(self): * 2020-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-11-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2021-02-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` - * 2021-05-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2021-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` """ api_version = self._get_api_version('load_balancer_frontend_ip_configurations') @@ -3603,8 +3466,6 @@ def load_balancer_frontend_ip_configurations(self): from .v2020_11_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass else: @@ -3642,7 +3503,6 @@ def load_balancer_load_balancing_rules(self): * 2020-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-11-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2021-02-01: :class:`LoadBalancerLoadBalancingRulesOperations` - * 2021-05-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2021-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` """ api_version = self._get_api_version('load_balancer_load_balancing_rules') @@ -3700,8 +3560,6 @@ def load_balancer_load_balancing_rules(self): from .v2020_11_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass else: @@ -3739,7 +3597,6 @@ def load_balancer_network_interfaces(self): * 2020-08-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-11-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2021-02-01: :class:`LoadBalancerNetworkInterfacesOperations` - * 2021-05-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2021-08-01: :class:`LoadBalancerNetworkInterfacesOperations` """ api_version = self._get_api_version('load_balancer_network_interfaces') @@ -3797,8 +3654,6 @@ def load_balancer_network_interfaces(self): from .v2020_11_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass else: @@ -3829,7 +3684,6 @@ def load_balancer_outbound_rules(self): * 2020-08-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-11-01: :class:`LoadBalancerOutboundRulesOperations` * 2021-02-01: :class:`LoadBalancerOutboundRulesOperations` - * 2021-05-01: :class:`LoadBalancerOutboundRulesOperations` * 2021-08-01: :class:`LoadBalancerOutboundRulesOperations` """ api_version = self._get_api_version('load_balancer_outbound_rules') @@ -3873,8 +3727,6 @@ def load_balancer_outbound_rules(self): from .v2020_11_01.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LoadBalancerOutboundRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LoadBalancerOutboundRulesOperations as OperationClass else: @@ -3912,7 +3764,6 @@ def load_balancer_probes(self): * 2020-08-01: :class:`LoadBalancerProbesOperations` * 2020-11-01: :class:`LoadBalancerProbesOperations` * 2021-02-01: :class:`LoadBalancerProbesOperations` - * 2021-05-01: :class:`LoadBalancerProbesOperations` * 2021-08-01: :class:`LoadBalancerProbesOperations` """ api_version = self._get_api_version('load_balancer_probes') @@ -3970,8 +3821,6 @@ def load_balancer_probes(self): from .v2020_11_01.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LoadBalancerProbesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LoadBalancerProbesOperations as OperationClass else: @@ -4013,7 +3862,6 @@ def load_balancers(self): * 2020-08-01: :class:`LoadBalancersOperations` * 2020-11-01: :class:`LoadBalancersOperations` * 2021-02-01: :class:`LoadBalancersOperations` - * 2021-05-01: :class:`LoadBalancersOperations` * 2021-08-01: :class:`LoadBalancersOperations` """ api_version = self._get_api_version('load_balancers') @@ -4079,8 +3927,6 @@ def load_balancers(self): from .v2020_11_01.operations import LoadBalancersOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LoadBalancersOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LoadBalancersOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LoadBalancersOperations as OperationClass else: @@ -4122,7 +3968,6 @@ def local_network_gateways(self): * 2020-08-01: :class:`LocalNetworkGatewaysOperations` * 2020-11-01: :class:`LocalNetworkGatewaysOperations` * 2021-02-01: :class:`LocalNetworkGatewaysOperations` - * 2021-05-01: :class:`LocalNetworkGatewaysOperations` * 2021-08-01: :class:`LocalNetworkGatewaysOperations` """ api_version = self._get_api_version('local_network_gateways') @@ -4188,8 +4033,6 @@ def local_network_gateways(self): from .v2020_11_01.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import LocalNetworkGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import LocalNetworkGatewaysOperations as OperationClass else: @@ -4216,7 +4059,6 @@ def nat_gateways(self): * 2020-08-01: :class:`NatGatewaysOperations` * 2020-11-01: :class:`NatGatewaysOperations` * 2021-02-01: :class:`NatGatewaysOperations` - * 2021-05-01: :class:`NatGatewaysOperations` * 2021-08-01: :class:`NatGatewaysOperations` """ api_version = self._get_api_version('nat_gateways') @@ -4252,8 +4094,6 @@ def nat_gateways(self): from .v2020_11_01.operations import NatGatewaysOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NatGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NatGatewaysOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NatGatewaysOperations as OperationClass else: @@ -4267,7 +4107,6 @@ def nat_rules(self): * 2020-08-01: :class:`NatRulesOperations` * 2020-11-01: :class:`NatRulesOperations` * 2021-02-01: :class:`NatRulesOperations` - * 2021-05-01: :class:`NatRulesOperations` * 2021-08-01: :class:`NatRulesOperations` """ api_version = self._get_api_version('nat_rules') @@ -4277,8 +4116,6 @@ def nat_rules(self): from .v2020_11_01.operations import NatRulesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NatRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NatRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NatRulesOperations as OperationClass else: @@ -4329,7 +4166,6 @@ def network_interface_ip_configurations(self): * 2020-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2021-02-01: :class:`NetworkInterfaceIPConfigurationsOperations` - * 2021-05-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2021-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` """ api_version = self._get_api_version('network_interface_ip_configurations') @@ -4387,8 +4223,6 @@ def network_interface_ip_configurations(self): from .v2020_11_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass else: @@ -4426,7 +4260,6 @@ def network_interface_load_balancers(self): * 2020-08-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-11-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2021-02-01: :class:`NetworkInterfaceLoadBalancersOperations` - * 2021-05-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2021-08-01: :class:`NetworkInterfaceLoadBalancersOperations` """ api_version = self._get_api_version('network_interface_load_balancers') @@ -4484,8 +4317,6 @@ def network_interface_load_balancers(self): from .v2020_11_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: @@ -4516,7 +4347,6 @@ def network_interface_tap_configurations(self): * 2020-08-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2021-02-01: :class:`NetworkInterfaceTapConfigurationsOperations` - * 2021-05-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2021-08-01: :class:`NetworkInterfaceTapConfigurationsOperations` """ api_version = self._get_api_version('network_interface_tap_configurations') @@ -4560,8 +4390,6 @@ def network_interface_tap_configurations(self): from .v2020_11_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass else: @@ -4603,7 +4431,6 @@ def network_interfaces(self): * 2020-08-01: :class:`NetworkInterfacesOperations` * 2020-11-01: :class:`NetworkInterfacesOperations` * 2021-02-01: :class:`NetworkInterfacesOperations` - * 2021-05-01: :class:`NetworkInterfacesOperations` * 2021-08-01: :class:`NetworkInterfacesOperations` """ api_version = self._get_api_version('network_interfaces') @@ -4669,8 +4496,6 @@ def network_interfaces(self): from .v2020_11_01.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkInterfacesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkInterfacesOperations as OperationClass else: @@ -4753,7 +4578,6 @@ def network_profiles(self): * 2020-08-01: :class:`NetworkProfilesOperations` * 2020-11-01: :class:`NetworkProfilesOperations` * 2021-02-01: :class:`NetworkProfilesOperations` - * 2021-05-01: :class:`NetworkProfilesOperations` * 2021-08-01: :class:`NetworkProfilesOperations` """ api_version = self._get_api_version('network_profiles') @@ -4797,8 +4621,6 @@ def network_profiles(self): from .v2020_11_01.operations import NetworkProfilesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkProfilesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkProfilesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkProfilesOperations as OperationClass else: @@ -4840,7 +4662,6 @@ def network_security_groups(self): * 2020-08-01: :class:`NetworkSecurityGroupsOperations` * 2020-11-01: :class:`NetworkSecurityGroupsOperations` * 2021-02-01: :class:`NetworkSecurityGroupsOperations` - * 2021-05-01: :class:`NetworkSecurityGroupsOperations` * 2021-08-01: :class:`NetworkSecurityGroupsOperations` """ api_version = self._get_api_version('network_security_groups') @@ -4906,8 +4727,6 @@ def network_security_groups(self): from .v2020_11_01.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkSecurityGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkSecurityGroupsOperations as OperationClass else: @@ -4940,7 +4759,6 @@ def network_virtual_appliances(self): * 2020-08-01: :class:`NetworkVirtualAppliancesOperations` * 2020-11-01: :class:`NetworkVirtualAppliancesOperations` * 2021-02-01: :class:`NetworkVirtualAppliancesOperations` - * 2021-05-01: :class:`NetworkVirtualAppliancesOperations` * 2021-08-01: :class:`NetworkVirtualAppliancesOperations` """ api_version = self._get_api_version('network_virtual_appliances') @@ -4962,8 +4780,6 @@ def network_virtual_appliances(self): from .v2020_11_01.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkVirtualAppliancesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkVirtualAppliancesOperations as OperationClass else: @@ -5004,7 +4820,6 @@ def network_watchers(self): * 2020-08-01: :class:`NetworkWatchersOperations` * 2020-11-01: :class:`NetworkWatchersOperations` * 2021-02-01: :class:`NetworkWatchersOperations` - * 2021-05-01: :class:`NetworkWatchersOperations` * 2021-08-01: :class:`NetworkWatchersOperations` """ api_version = self._get_api_version('network_watchers') @@ -5068,8 +4883,6 @@ def network_watchers(self): from .v2020_11_01.operations import NetworkWatchersOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkWatchersOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkWatchersOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkWatchersOperations as OperationClass else: @@ -5145,7 +4958,6 @@ def operations(self): * 2020-08-01: :class:`Operations` * 2020-11-01: :class:`Operations` * 2021-02-01: :class:`Operations` - * 2021-05-01: :class:`Operations` * 2021-08-01: :class:`Operations` """ api_version = self._get_api_version('operations') @@ -5201,8 +5013,6 @@ def operations(self): from .v2020_11_01.operations import Operations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import Operations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import Operations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import Operations as OperationClass else: @@ -5233,7 +5043,6 @@ def p2_svpn_gateways(self): * 2020-08-01: :class:`P2SVpnGatewaysOperations` * 2020-11-01: :class:`P2SVpnGatewaysOperations` * 2021-02-01: :class:`P2SVpnGatewaysOperations` - * 2021-05-01: :class:`P2SVpnGatewaysOperations` * 2021-08-01: :class:`P2SVpnGatewaysOperations` """ api_version = self._get_api_version('p2_svpn_gateways') @@ -5277,8 +5086,6 @@ def p2_svpn_gateways(self): from .v2020_11_01.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import P2SVpnGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import P2SVpnGatewaysOperations as OperationClass else: @@ -5353,7 +5160,6 @@ def packet_captures(self): * 2020-08-01: :class:`PacketCapturesOperations` * 2020-11-01: :class:`PacketCapturesOperations` * 2021-02-01: :class:`PacketCapturesOperations` - * 2021-05-01: :class:`PacketCapturesOperations` * 2021-08-01: :class:`PacketCapturesOperations` """ api_version = self._get_api_version('packet_captures') @@ -5417,8 +5223,6 @@ def packet_captures(self): from .v2020_11_01.operations import PacketCapturesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PacketCapturesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import PacketCapturesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import PacketCapturesOperations as OperationClass else: @@ -5446,7 +5250,6 @@ def peer_express_route_circuit_connections(self): * 2020-08-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2021-02-01: :class:`PeerExpressRouteCircuitConnectionsOperations` - * 2021-05-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2021-08-01: :class:`PeerExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('peer_express_route_circuit_connections') @@ -5484,8 +5287,6 @@ def peer_express_route_circuit_connections(self): from .v2020_11_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass else: @@ -5517,7 +5318,6 @@ def private_dns_zone_groups(self): * 2020-08-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-11-01: :class:`PrivateDnsZoneGroupsOperations` * 2021-02-01: :class:`PrivateDnsZoneGroupsOperations` - * 2021-05-01: :class:`PrivateDnsZoneGroupsOperations` * 2021-08-01: :class:`PrivateDnsZoneGroupsOperations` """ api_version = self._get_api_version('private_dns_zone_groups') @@ -5537,8 +5337,6 @@ def private_dns_zone_groups(self): from .v2020_11_01.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PrivateDnsZoneGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import PrivateDnsZoneGroupsOperations as OperationClass else: @@ -5564,7 +5362,6 @@ def private_endpoints(self): * 2020-08-01: :class:`PrivateEndpointsOperations` * 2020-11-01: :class:`PrivateEndpointsOperations` * 2021-02-01: :class:`PrivateEndpointsOperations` - * 2021-05-01: :class:`PrivateEndpointsOperations` * 2021-08-01: :class:`PrivateEndpointsOperations` """ api_version = self._get_api_version('private_endpoints') @@ -5598,8 +5395,6 @@ def private_endpoints(self): from .v2020_11_01.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PrivateEndpointsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import PrivateEndpointsOperations as OperationClass else: @@ -5625,7 +5420,6 @@ def private_link_services(self): * 2020-08-01: :class:`PrivateLinkServicesOperations` * 2020-11-01: :class:`PrivateLinkServicesOperations` * 2021-02-01: :class:`PrivateLinkServicesOperations` - * 2021-05-01: :class:`PrivateLinkServicesOperations` * 2021-08-01: :class:`PrivateLinkServicesOperations` """ api_version = self._get_api_version('private_link_services') @@ -5659,8 +5453,6 @@ def private_link_services(self): from .v2020_11_01.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PrivateLinkServicesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import PrivateLinkServicesOperations as OperationClass else: @@ -5702,7 +5494,6 @@ def public_ip_addresses(self): * 2020-08-01: :class:`PublicIPAddressesOperations` * 2020-11-01: :class:`PublicIPAddressesOperations` * 2021-02-01: :class:`PublicIPAddressesOperations` - * 2021-05-01: :class:`PublicIPAddressesOperations` * 2021-08-01: :class:`PublicIPAddressesOperations` """ api_version = self._get_api_version('public_ip_addresses') @@ -5768,8 +5559,6 @@ def public_ip_addresses(self): from .v2020_11_01.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PublicIPAddressesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import PublicIPAddressesOperations as OperationClass else: @@ -5801,7 +5590,6 @@ def public_ip_prefixes(self): * 2020-08-01: :class:`PublicIPPrefixesOperations` * 2020-11-01: :class:`PublicIPPrefixesOperations` * 2021-02-01: :class:`PublicIPPrefixesOperations` - * 2021-05-01: :class:`PublicIPPrefixesOperations` * 2021-08-01: :class:`PublicIPPrefixesOperations` """ api_version = self._get_api_version('public_ip_prefixes') @@ -5847,8 +5635,6 @@ def public_ip_prefixes(self): from .v2020_11_01.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import PublicIPPrefixesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import PublicIPPrefixesOperations as OperationClass else: @@ -5875,7 +5661,6 @@ def resource_navigation_links(self): * 2020-08-01: :class:`ResourceNavigationLinksOperations` * 2020-11-01: :class:`ResourceNavigationLinksOperations` * 2021-02-01: :class:`ResourceNavigationLinksOperations` - * 2021-05-01: :class:`ResourceNavigationLinksOperations` * 2021-08-01: :class:`ResourceNavigationLinksOperations` """ api_version = self._get_api_version('resource_navigation_links') @@ -5911,8 +5696,6 @@ def resource_navigation_links(self): from .v2020_11_01.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ResourceNavigationLinksOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ResourceNavigationLinksOperations as OperationClass else: @@ -5952,7 +5735,6 @@ def route_filter_rules(self): * 2020-08-01: :class:`RouteFilterRulesOperations` * 2020-11-01: :class:`RouteFilterRulesOperations` * 2021-02-01: :class:`RouteFilterRulesOperations` - * 2021-05-01: :class:`RouteFilterRulesOperations` * 2021-08-01: :class:`RouteFilterRulesOperations` """ api_version = self._get_api_version('route_filter_rules') @@ -6014,8 +5796,6 @@ def route_filter_rules(self): from .v2020_11_01.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import RouteFilterRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import RouteFilterRulesOperations as OperationClass else: @@ -6055,7 +5835,6 @@ def route_filters(self): * 2020-08-01: :class:`RouteFiltersOperations` * 2020-11-01: :class:`RouteFiltersOperations` * 2021-02-01: :class:`RouteFiltersOperations` - * 2021-05-01: :class:`RouteFiltersOperations` * 2021-08-01: :class:`RouteFiltersOperations` """ api_version = self._get_api_version('route_filters') @@ -6117,8 +5896,6 @@ def route_filters(self): from .v2020_11_01.operations import RouteFiltersOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import RouteFiltersOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import RouteFiltersOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import RouteFiltersOperations as OperationClass else: @@ -6160,7 +5937,6 @@ def route_tables(self): * 2020-08-01: :class:`RouteTablesOperations` * 2020-11-01: :class:`RouteTablesOperations` * 2021-02-01: :class:`RouteTablesOperations` - * 2021-05-01: :class:`RouteTablesOperations` * 2021-08-01: :class:`RouteTablesOperations` """ api_version = self._get_api_version('route_tables') @@ -6226,8 +6002,6 @@ def route_tables(self): from .v2020_11_01.operations import RouteTablesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import RouteTablesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import RouteTablesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import RouteTablesOperations as OperationClass else: @@ -6269,7 +6043,6 @@ def routes(self): * 2020-08-01: :class:`RoutesOperations` * 2020-11-01: :class:`RoutesOperations` * 2021-02-01: :class:`RoutesOperations` - * 2021-05-01: :class:`RoutesOperations` * 2021-08-01: :class:`RoutesOperations` """ api_version = self._get_api_version('routes') @@ -6335,8 +6108,6 @@ def routes(self): from .v2020_11_01.operations import RoutesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import RoutesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import RoutesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import RoutesOperations as OperationClass else: @@ -6347,13 +6118,10 @@ def routes(self): def routing_intent(self): """Instance depends on the API version: - * 2021-05-01: :class:`RoutingIntentOperations` * 2021-08-01: :class:`RoutingIntentOperations` """ api_version = self._get_api_version('routing_intent') - if api_version == '2021-05-01': - from .v2021_05_01.operations import RoutingIntentOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from .v2021_08_01.operations import RoutingIntentOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'routing_intent'".format(api_version)) @@ -6384,7 +6152,6 @@ def security_partner_providers(self): * 2020-08-01: :class:`SecurityPartnerProvidersOperations` * 2020-11-01: :class:`SecurityPartnerProvidersOperations` * 2021-02-01: :class:`SecurityPartnerProvidersOperations` - * 2021-05-01: :class:`SecurityPartnerProvidersOperations` * 2021-08-01: :class:`SecurityPartnerProvidersOperations` """ api_version = self._get_api_version('security_partner_providers') @@ -6404,8 +6171,6 @@ def security_partner_providers(self): from .v2020_11_01.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import SecurityPartnerProvidersOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import SecurityPartnerProvidersOperations as OperationClass else: @@ -6447,7 +6212,6 @@ def security_rules(self): * 2020-08-01: :class:`SecurityRulesOperations` * 2020-11-01: :class:`SecurityRulesOperations` * 2021-02-01: :class:`SecurityRulesOperations` - * 2021-05-01: :class:`SecurityRulesOperations` * 2021-08-01: :class:`SecurityRulesOperations` """ api_version = self._get_api_version('security_rules') @@ -6513,8 +6277,6 @@ def security_rules(self): from .v2020_11_01.operations import SecurityRulesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import SecurityRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import SecurityRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import SecurityRulesOperations as OperationClass else: @@ -6554,7 +6316,6 @@ def service_association_links(self): * 2020-08-01: :class:`ServiceAssociationLinksOperations` * 2020-11-01: :class:`ServiceAssociationLinksOperations` * 2021-02-01: :class:`ServiceAssociationLinksOperations` - * 2021-05-01: :class:`ServiceAssociationLinksOperations` * 2021-08-01: :class:`ServiceAssociationLinksOperations` """ api_version = self._get_api_version('service_association_links') @@ -6590,8 +6351,6 @@ def service_association_links(self): from .v2020_11_01.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ServiceAssociationLinksOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ServiceAssociationLinksOperations as OperationClass else: @@ -6623,7 +6382,6 @@ def service_endpoint_policies(self): * 2020-08-01: :class:`ServiceEndpointPoliciesOperations` * 2020-11-01: :class:`ServiceEndpointPoliciesOperations` * 2021-02-01: :class:`ServiceEndpointPoliciesOperations` - * 2021-05-01: :class:`ServiceEndpointPoliciesOperations` * 2021-08-01: :class:`ServiceEndpointPoliciesOperations` """ api_version = self._get_api_version('service_endpoint_policies') @@ -6669,8 +6427,6 @@ def service_endpoint_policies(self): from .v2020_11_01.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ServiceEndpointPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ServiceEndpointPoliciesOperations as OperationClass else: @@ -6702,7 +6458,6 @@ def service_endpoint_policy_definitions(self): * 2020-08-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-11-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2021-02-01: :class:`ServiceEndpointPolicyDefinitionsOperations` - * 2021-05-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2021-08-01: :class:`ServiceEndpointPolicyDefinitionsOperations` """ api_version = self._get_api_version('service_endpoint_policy_definitions') @@ -6748,8 +6503,6 @@ def service_endpoint_policy_definitions(self): from .v2020_11_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass else: @@ -6760,13 +6513,10 @@ def service_endpoint_policy_definitions(self): def service_tag_information(self): """Instance depends on the API version: - * 2021-05-01: :class:`ServiceTagInformationOperations` * 2021-08-01: :class:`ServiceTagInformationOperations` """ api_version = self._get_api_version('service_tag_information') - if api_version == '2021-05-01': - from .v2021_05_01.operations import ServiceTagInformationOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from .v2021_08_01.operations import ServiceTagInformationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_tag_information'".format(api_version)) @@ -6791,7 +6541,6 @@ def service_tags(self): * 2020-08-01: :class:`ServiceTagsOperations` * 2020-11-01: :class:`ServiceTagsOperations` * 2021-02-01: :class:`ServiceTagsOperations` - * 2021-05-01: :class:`ServiceTagsOperations` * 2021-08-01: :class:`ServiceTagsOperations` """ api_version = self._get_api_version('service_tags') @@ -6825,8 +6574,6 @@ def service_tags(self): from .v2020_11_01.operations import ServiceTagsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import ServiceTagsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import ServiceTagsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import ServiceTagsOperations as OperationClass else: @@ -6868,7 +6615,6 @@ def subnets(self): * 2020-08-01: :class:`SubnetsOperations` * 2020-11-01: :class:`SubnetsOperations` * 2021-02-01: :class:`SubnetsOperations` - * 2021-05-01: :class:`SubnetsOperations` * 2021-08-01: :class:`SubnetsOperations` """ api_version = self._get_api_version('subnets') @@ -6934,8 +6680,6 @@ def subnets(self): from .v2020_11_01.operations import SubnetsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import SubnetsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import SubnetsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import SubnetsOperations as OperationClass else: @@ -6977,7 +6721,6 @@ def usages(self): * 2020-08-01: :class:`UsagesOperations` * 2020-11-01: :class:`UsagesOperations` * 2021-02-01: :class:`UsagesOperations` - * 2021-05-01: :class:`UsagesOperations` * 2021-08-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') @@ -7043,8 +6786,6 @@ def usages(self): from .v2020_11_01.operations import UsagesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import UsagesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import UsagesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import UsagesOperations as OperationClass else: @@ -7087,7 +6828,6 @@ def virtual_appliance_sites(self): * 2020-08-01: :class:`VirtualApplianceSitesOperations` * 2020-11-01: :class:`VirtualApplianceSitesOperations` * 2021-02-01: :class:`VirtualApplianceSitesOperations` - * 2021-05-01: :class:`VirtualApplianceSitesOperations` * 2021-08-01: :class:`VirtualApplianceSitesOperations` """ api_version = self._get_api_version('virtual_appliance_sites') @@ -7103,8 +6843,6 @@ def virtual_appliance_sites(self): from .v2020_11_01.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualApplianceSitesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualApplianceSitesOperations as OperationClass else: @@ -7121,7 +6859,6 @@ def virtual_appliance_skus(self): * 2020-08-01: :class:`VirtualApplianceSkusOperations` * 2020-11-01: :class:`VirtualApplianceSkusOperations` * 2021-02-01: :class:`VirtualApplianceSkusOperations` - * 2021-05-01: :class:`VirtualApplianceSkusOperations` * 2021-08-01: :class:`VirtualApplianceSkusOperations` """ api_version = self._get_api_version('virtual_appliance_skus') @@ -7137,8 +6874,6 @@ def virtual_appliance_skus(self): from .v2020_11_01.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualApplianceSkusOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualApplianceSkusOperations as OperationClass else: @@ -7155,7 +6890,6 @@ def virtual_hub_bgp_connection(self): * 2020-08-01: :class:`VirtualHubBgpConnectionOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionOperations` * 2021-02-01: :class:`VirtualHubBgpConnectionOperations` - * 2021-05-01: :class:`VirtualHubBgpConnectionOperations` * 2021-08-01: :class:`VirtualHubBgpConnectionOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connection') @@ -7171,8 +6905,6 @@ def virtual_hub_bgp_connection(self): from .v2020_11_01.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualHubBgpConnectionOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualHubBgpConnectionOperations as OperationClass else: @@ -7189,7 +6921,6 @@ def virtual_hub_bgp_connections(self): * 2020-08-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionsOperations` * 2021-02-01: :class:`VirtualHubBgpConnectionsOperations` - * 2021-05-01: :class:`VirtualHubBgpConnectionsOperations` * 2021-08-01: :class:`VirtualHubBgpConnectionsOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connections') @@ -7205,8 +6936,6 @@ def virtual_hub_bgp_connections(self): from .v2020_11_01.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualHubBgpConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualHubBgpConnectionsOperations as OperationClass else: @@ -7223,7 +6952,6 @@ def virtual_hub_ip_configuration(self): * 2020-08-01: :class:`VirtualHubIpConfigurationOperations` * 2020-11-01: :class:`VirtualHubIpConfigurationOperations` * 2021-02-01: :class:`VirtualHubIpConfigurationOperations` - * 2021-05-01: :class:`VirtualHubIpConfigurationOperations` * 2021-08-01: :class:`VirtualHubIpConfigurationOperations` """ api_version = self._get_api_version('virtual_hub_ip_configuration') @@ -7239,8 +6967,6 @@ def virtual_hub_ip_configuration(self): from .v2020_11_01.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualHubIpConfigurationOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualHubIpConfigurationOperations as OperationClass else: @@ -7262,7 +6988,6 @@ def virtual_hub_route_table_v2_s(self): * 2020-08-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-11-01: :class:`VirtualHubRouteTableV2SOperations` * 2021-02-01: :class:`VirtualHubRouteTableV2SOperations` - * 2021-05-01: :class:`VirtualHubRouteTableV2SOperations` * 2021-08-01: :class:`VirtualHubRouteTableV2SOperations` """ api_version = self._get_api_version('virtual_hub_route_table_v2_s') @@ -7288,8 +7013,6 @@ def virtual_hub_route_table_v2_s(self): from .v2020_11_01.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualHubRouteTableV2SOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualHubRouteTableV2SOperations as OperationClass else: @@ -7323,7 +7046,6 @@ def virtual_hubs(self): * 2020-08-01: :class:`VirtualHubsOperations` * 2020-11-01: :class:`VirtualHubsOperations` * 2021-02-01: :class:`VirtualHubsOperations` - * 2021-05-01: :class:`VirtualHubsOperations` * 2021-08-01: :class:`VirtualHubsOperations` """ api_version = self._get_api_version('virtual_hubs') @@ -7373,8 +7095,6 @@ def virtual_hubs(self): from .v2020_11_01.operations import VirtualHubsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualHubsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualHubsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualHubsOperations as OperationClass else: @@ -7416,7 +7136,6 @@ def virtual_network_gateway_connections(self): * 2020-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-11-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2021-02-01: :class:`VirtualNetworkGatewayConnectionsOperations` - * 2021-05-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2021-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ api_version = self._get_api_version('virtual_network_gateway_connections') @@ -7482,8 +7201,6 @@ def virtual_network_gateway_connections(self): from .v2020_11_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: @@ -7495,14 +7212,11 @@ def virtual_network_gateway_nat_rules(self): """Instance depends on the API version: * 2021-02-01: :class:`VirtualNetworkGatewayNatRulesOperations` - * 2021-05-01: :class:`VirtualNetworkGatewayNatRulesOperations` * 2021-08-01: :class:`VirtualNetworkGatewayNatRulesOperations` """ api_version = self._get_api_version('virtual_network_gateway_nat_rules') if api_version == '2021-02-01': from .v2021_02_01.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass else: @@ -7544,7 +7258,6 @@ def virtual_network_gateways(self): * 2020-08-01: :class:`VirtualNetworkGatewaysOperations` * 2020-11-01: :class:`VirtualNetworkGatewaysOperations` * 2021-02-01: :class:`VirtualNetworkGatewaysOperations` - * 2021-05-01: :class:`VirtualNetworkGatewaysOperations` * 2021-08-01: :class:`VirtualNetworkGatewaysOperations` """ api_version = self._get_api_version('virtual_network_gateways') @@ -7610,8 +7323,6 @@ def virtual_network_gateways(self): from .v2020_11_01.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualNetworkGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualNetworkGatewaysOperations as OperationClass else: @@ -7652,7 +7363,6 @@ def virtual_network_peerings(self): * 2020-08-01: :class:`VirtualNetworkPeeringsOperations` * 2020-11-01: :class:`VirtualNetworkPeeringsOperations` * 2021-02-01: :class:`VirtualNetworkPeeringsOperations` - * 2021-05-01: :class:`VirtualNetworkPeeringsOperations` * 2021-08-01: :class:`VirtualNetworkPeeringsOperations` """ api_version = self._get_api_version('virtual_network_peerings') @@ -7716,8 +7426,6 @@ def virtual_network_peerings(self): from .v2020_11_01.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualNetworkPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualNetworkPeeringsOperations as OperationClass else: @@ -7748,7 +7456,6 @@ def virtual_network_taps(self): * 2020-08-01: :class:`VirtualNetworkTapsOperations` * 2020-11-01: :class:`VirtualNetworkTapsOperations` * 2021-02-01: :class:`VirtualNetworkTapsOperations` - * 2021-05-01: :class:`VirtualNetworkTapsOperations` * 2021-08-01: :class:`VirtualNetworkTapsOperations` """ api_version = self._get_api_version('virtual_network_taps') @@ -7792,8 +7499,6 @@ def virtual_network_taps(self): from .v2020_11_01.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualNetworkTapsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualNetworkTapsOperations as OperationClass else: @@ -7835,7 +7540,6 @@ def virtual_networks(self): * 2020-08-01: :class:`VirtualNetworksOperations` * 2020-11-01: :class:`VirtualNetworksOperations` * 2021-02-01: :class:`VirtualNetworksOperations` - * 2021-05-01: :class:`VirtualNetworksOperations` * 2021-08-01: :class:`VirtualNetworksOperations` """ api_version = self._get_api_version('virtual_networks') @@ -7901,8 +7605,6 @@ def virtual_networks(self): from .v2020_11_01.operations import VirtualNetworksOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualNetworksOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualNetworksOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualNetworksOperations as OperationClass else: @@ -7926,7 +7628,6 @@ def virtual_router_peerings(self): * 2020-08-01: :class:`VirtualRouterPeeringsOperations` * 2020-11-01: :class:`VirtualRouterPeeringsOperations` * 2021-02-01: :class:`VirtualRouterPeeringsOperations` - * 2021-05-01: :class:`VirtualRouterPeeringsOperations` * 2021-08-01: :class:`VirtualRouterPeeringsOperations` """ api_version = self._get_api_version('virtual_router_peerings') @@ -7956,8 +7657,6 @@ def virtual_router_peerings(self): from .v2020_11_01.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualRouterPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualRouterPeeringsOperations as OperationClass else: @@ -7981,7 +7680,6 @@ def virtual_routers(self): * 2020-08-01: :class:`VirtualRoutersOperations` * 2020-11-01: :class:`VirtualRoutersOperations` * 2021-02-01: :class:`VirtualRoutersOperations` - * 2021-05-01: :class:`VirtualRoutersOperations` * 2021-08-01: :class:`VirtualRoutersOperations` """ api_version = self._get_api_version('virtual_routers') @@ -8011,8 +7709,6 @@ def virtual_routers(self): from .v2020_11_01.operations import VirtualRoutersOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualRoutersOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualRoutersOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualRoutersOperations as OperationClass else: @@ -8046,7 +7742,6 @@ def virtual_wans(self): * 2020-08-01: :class:`VirtualWansOperations` * 2020-11-01: :class:`VirtualWansOperations` * 2021-02-01: :class:`VirtualWansOperations` - * 2021-05-01: :class:`VirtualWansOperations` * 2021-08-01: :class:`VirtualWansOperations` """ api_version = self._get_api_version('virtual_wans') @@ -8096,8 +7791,6 @@ def virtual_wans(self): from .v2020_11_01.operations import VirtualWansOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VirtualWansOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VirtualWansOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VirtualWansOperations as OperationClass else: @@ -8131,7 +7824,6 @@ def vpn_connections(self): * 2020-08-01: :class:`VpnConnectionsOperations` * 2020-11-01: :class:`VpnConnectionsOperations` * 2021-02-01: :class:`VpnConnectionsOperations` - * 2021-05-01: :class:`VpnConnectionsOperations` * 2021-08-01: :class:`VpnConnectionsOperations` """ api_version = self._get_api_version('vpn_connections') @@ -8181,8 +7873,6 @@ def vpn_connections(self): from .v2020_11_01.operations import VpnConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnConnectionsOperations as OperationClass else: @@ -8216,7 +7906,6 @@ def vpn_gateways(self): * 2020-08-01: :class:`VpnGatewaysOperations` * 2020-11-01: :class:`VpnGatewaysOperations` * 2021-02-01: :class:`VpnGatewaysOperations` - * 2021-05-01: :class:`VpnGatewaysOperations` * 2021-08-01: :class:`VpnGatewaysOperations` """ api_version = self._get_api_version('vpn_gateways') @@ -8266,8 +7955,6 @@ def vpn_gateways(self): from .v2020_11_01.operations import VpnGatewaysOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnGatewaysOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnGatewaysOperations as OperationClass else: @@ -8292,7 +7979,6 @@ def vpn_link_connections(self): * 2020-08-01: :class:`VpnLinkConnectionsOperations` * 2020-11-01: :class:`VpnLinkConnectionsOperations` * 2021-02-01: :class:`VpnLinkConnectionsOperations` - * 2021-05-01: :class:`VpnLinkConnectionsOperations` * 2021-08-01: :class:`VpnLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_link_connections') @@ -8324,8 +8010,6 @@ def vpn_link_connections(self): from .v2020_11_01.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnLinkConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnLinkConnectionsOperations as OperationClass else: @@ -8348,7 +8032,6 @@ def vpn_server_configurations(self): * 2020-08-01: :class:`VpnServerConfigurationsOperations` * 2020-11-01: :class:`VpnServerConfigurationsOperations` * 2021-02-01: :class:`VpnServerConfigurationsOperations` - * 2021-05-01: :class:`VpnServerConfigurationsOperations` * 2021-08-01: :class:`VpnServerConfigurationsOperations` """ api_version = self._get_api_version('vpn_server_configurations') @@ -8376,8 +8059,6 @@ def vpn_server_configurations(self): from .v2020_11_01.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnServerConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnServerConfigurationsOperations as OperationClass else: @@ -8400,7 +8081,6 @@ def vpn_server_configurations_associated_with_virtual_wan(self): * 2020-08-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-11-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2021-02-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` - * 2021-05-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2021-08-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` """ api_version = self._get_api_version('vpn_server_configurations_associated_with_virtual_wan') @@ -8428,8 +8108,6 @@ def vpn_server_configurations_associated_with_virtual_wan(self): from .v2020_11_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass else: @@ -8454,7 +8132,6 @@ def vpn_site_link_connections(self): * 2020-08-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-11-01: :class:`VpnSiteLinkConnectionsOperations` * 2021-02-01: :class:`VpnSiteLinkConnectionsOperations` - * 2021-05-01: :class:`VpnSiteLinkConnectionsOperations` * 2021-08-01: :class:`VpnSiteLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_site_link_connections') @@ -8486,8 +8163,6 @@ def vpn_site_link_connections(self): from .v2020_11_01.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnSiteLinkConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnSiteLinkConnectionsOperations as OperationClass else: @@ -8512,7 +8187,6 @@ def vpn_site_links(self): * 2020-08-01: :class:`VpnSiteLinksOperations` * 2020-11-01: :class:`VpnSiteLinksOperations` * 2021-02-01: :class:`VpnSiteLinksOperations` - * 2021-05-01: :class:`VpnSiteLinksOperations` * 2021-08-01: :class:`VpnSiteLinksOperations` """ api_version = self._get_api_version('vpn_site_links') @@ -8544,8 +8218,6 @@ def vpn_site_links(self): from .v2020_11_01.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnSiteLinksOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnSiteLinksOperations as OperationClass else: @@ -8579,7 +8251,6 @@ def vpn_sites(self): * 2020-08-01: :class:`VpnSitesOperations` * 2020-11-01: :class:`VpnSitesOperations` * 2021-02-01: :class:`VpnSitesOperations` - * 2021-05-01: :class:`VpnSitesOperations` * 2021-08-01: :class:`VpnSitesOperations` """ api_version = self._get_api_version('vpn_sites') @@ -8629,8 +8300,6 @@ def vpn_sites(self): from .v2020_11_01.operations import VpnSitesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnSitesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnSitesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnSitesOperations as OperationClass else: @@ -8664,7 +8333,6 @@ def vpn_sites_configuration(self): * 2020-08-01: :class:`VpnSitesConfigurationOperations` * 2020-11-01: :class:`VpnSitesConfigurationOperations` * 2021-02-01: :class:`VpnSitesConfigurationOperations` - * 2021-05-01: :class:`VpnSitesConfigurationOperations` * 2021-08-01: :class:`VpnSitesConfigurationOperations` """ api_version = self._get_api_version('vpn_sites_configuration') @@ -8714,8 +8382,6 @@ def vpn_sites_configuration(self): from .v2020_11_01.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import VpnSitesConfigurationOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import VpnSitesConfigurationOperations as OperationClass else: @@ -8743,7 +8409,6 @@ def web_application_firewall_policies(self): * 2020-08-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-11-01: :class:`WebApplicationFirewallPoliciesOperations` * 2021-02-01: :class:`WebApplicationFirewallPoliciesOperations` - * 2021-05-01: :class:`WebApplicationFirewallPoliciesOperations` * 2021-08-01: :class:`WebApplicationFirewallPoliciesOperations` """ api_version = self._get_api_version('web_application_firewall_policies') @@ -8781,8 +8446,6 @@ def web_application_firewall_policies(self): from .v2020_11_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass else: @@ -8797,7 +8460,6 @@ def web_categories(self): * 2020-08-01: :class:`WebCategoriesOperations` * 2020-11-01: :class:`WebCategoriesOperations` * 2021-02-01: :class:`WebCategoriesOperations` - * 2021-05-01: :class:`WebCategoriesOperations` * 2021-08-01: :class:`WebCategoriesOperations` """ api_version = self._get_api_version('web_categories') @@ -8809,8 +8471,6 @@ def web_categories(self): from .v2020_11_01.operations import WebCategoriesOperations as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import WebCategoriesOperations as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import WebCategoriesOperations as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import WebCategoriesOperations as OperationClass else: diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py index 42895401832d..e5c40c42ad22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py @@ -10,19 +10,10 @@ # -------------------------------------------------------------------------- from msrest import Serializer, Deserializer from typing import TYPE_CHECKING -import warnings - -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.paging import ItemPaged -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + from typing import Any, Iterable, Optional from azure.core.paging import ItemPaged from azure.core.polling import LROPoller @@ -84,8 +75,6 @@ def begin_delete_bastion_shareable_link( # pylint: disable=inconsistent-return- from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -159,8 +148,6 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -226,8 +213,6 @@ def begin_get_active_sessions( from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -296,8 +281,6 @@ def begin_put_bastion_shareable_link( from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -395,8 +378,6 @@ def check_dns_name_availability( from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -458,8 +439,6 @@ def disconnect_active_sessions( from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -521,8 +500,6 @@ def get_bastion_shareable_link( from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -598,8 +575,6 @@ def supported_security_providers( from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from .v2021_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from .v2021_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py index ccbbafae0505..6fe8385d00c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py @@ -146,7 +146,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-11-01: :mod:`v2020_11_01.models` * 2021-02-01: :mod:`v2021_02_01.models` * 2021-02-01-preview: :mod:`v2021_02_01_preview.models` - * 2021-05-01: :mod:`v2021_05_01.models` * 2021-08-01: :mod:`v2021_08_01.models` """ if api_version == '2015-06-15': @@ -245,9 +244,6 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2021-02-01-preview': from ..v2021_02_01_preview import models return models - elif api_version == '2021-05-01': - from ..v2021_05_01 import models - return models elif api_version == '2021-08-01': from ..v2021_08_01 import models return models @@ -328,7 +324,6 @@ def application_gateway_private_endpoint_connections(self): * 2020-08-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2021-02-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` - * 2021-05-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2021-08-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('application_gateway_private_endpoint_connections') @@ -344,8 +339,6 @@ def application_gateway_private_endpoint_connections(self): from ..v2020_11_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass else: @@ -362,7 +355,6 @@ def application_gateway_private_link_resources(self): * 2020-08-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2021-02-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` - * 2021-05-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2021-08-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` """ api_version = self._get_api_version('application_gateway_private_link_resources') @@ -378,8 +370,6 @@ def application_gateway_private_link_resources(self): from ..v2020_11_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass else: @@ -421,7 +411,6 @@ def application_gateways(self): * 2020-08-01: :class:`ApplicationGatewaysOperations` * 2020-11-01: :class:`ApplicationGatewaysOperations` * 2021-02-01: :class:`ApplicationGatewaysOperations` - * 2021-05-01: :class:`ApplicationGatewaysOperations` * 2021-08-01: :class:`ApplicationGatewaysOperations` """ api_version = self._get_api_version('application_gateways') @@ -487,8 +476,6 @@ def application_gateways(self): from ..v2020_11_01.aio.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ApplicationGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ApplicationGatewaysOperations as OperationClass else: @@ -525,7 +512,6 @@ def application_security_groups(self): * 2020-08-01: :class:`ApplicationSecurityGroupsOperations` * 2020-11-01: :class:`ApplicationSecurityGroupsOperations` * 2021-02-01: :class:`ApplicationSecurityGroupsOperations` - * 2021-05-01: :class:`ApplicationSecurityGroupsOperations` * 2021-08-01: :class:`ApplicationSecurityGroupsOperations` """ api_version = self._get_api_version('application_security_groups') @@ -581,8 +567,6 @@ def application_security_groups(self): from ..v2020_11_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass else: @@ -613,7 +597,6 @@ def available_delegations(self): * 2020-08-01: :class:`AvailableDelegationsOperations` * 2020-11-01: :class:`AvailableDelegationsOperations` * 2021-02-01: :class:`AvailableDelegationsOperations` - * 2021-05-01: :class:`AvailableDelegationsOperations` * 2021-08-01: :class:`AvailableDelegationsOperations` """ api_version = self._get_api_version('available_delegations') @@ -657,8 +640,6 @@ def available_delegations(self): from ..v2020_11_01.aio.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import AvailableDelegationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import AvailableDelegationsOperations as OperationClass else: @@ -696,7 +677,6 @@ def available_endpoint_services(self): * 2020-08-01: :class:`AvailableEndpointServicesOperations` * 2020-11-01: :class:`AvailableEndpointServicesOperations` * 2021-02-01: :class:`AvailableEndpointServicesOperations` - * 2021-05-01: :class:`AvailableEndpointServicesOperations` * 2021-08-01: :class:`AvailableEndpointServicesOperations` """ api_version = self._get_api_version('available_endpoint_services') @@ -754,8 +734,6 @@ def available_endpoint_services(self): from ..v2020_11_01.aio.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import AvailableEndpointServicesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import AvailableEndpointServicesOperations as OperationClass else: @@ -781,7 +759,6 @@ def available_private_endpoint_types(self): * 2020-08-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-11-01: :class:`AvailablePrivateEndpointTypesOperations` * 2021-02-01: :class:`AvailablePrivateEndpointTypesOperations` - * 2021-05-01: :class:`AvailablePrivateEndpointTypesOperations` * 2021-08-01: :class:`AvailablePrivateEndpointTypesOperations` """ api_version = self._get_api_version('available_private_endpoint_types') @@ -815,8 +792,6 @@ def available_private_endpoint_types(self): from ..v2020_11_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass else: @@ -847,7 +822,6 @@ def available_resource_group_delegations(self): * 2020-08-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-11-01: :class:`AvailableResourceGroupDelegationsOperations` * 2021-02-01: :class:`AvailableResourceGroupDelegationsOperations` - * 2021-05-01: :class:`AvailableResourceGroupDelegationsOperations` * 2021-08-01: :class:`AvailableResourceGroupDelegationsOperations` """ api_version = self._get_api_version('available_resource_group_delegations') @@ -891,8 +865,6 @@ def available_resource_group_delegations(self): from ..v2020_11_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass else: @@ -915,7 +887,6 @@ def available_service_aliases(self): * 2020-08-01: :class:`AvailableServiceAliasesOperations` * 2020-11-01: :class:`AvailableServiceAliasesOperations` * 2021-02-01: :class:`AvailableServiceAliasesOperations` - * 2021-05-01: :class:`AvailableServiceAliasesOperations` * 2021-08-01: :class:`AvailableServiceAliasesOperations` """ api_version = self._get_api_version('available_service_aliases') @@ -943,8 +914,6 @@ def available_service_aliases(self): from ..v2020_11_01.aio.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import AvailableServiceAliasesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import AvailableServiceAliasesOperations as OperationClass else: @@ -975,7 +944,6 @@ def azure_firewall_fqdn_tags(self): * 2020-08-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-11-01: :class:`AzureFirewallFqdnTagsOperations` * 2021-02-01: :class:`AzureFirewallFqdnTagsOperations` - * 2021-05-01: :class:`AzureFirewallFqdnTagsOperations` * 2021-08-01: :class:`AzureFirewallFqdnTagsOperations` """ api_version = self._get_api_version('azure_firewall_fqdn_tags') @@ -1019,8 +987,6 @@ def azure_firewall_fqdn_tags(self): from ..v2020_11_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass else: @@ -1054,7 +1020,6 @@ def azure_firewalls(self): * 2020-08-01: :class:`AzureFirewallsOperations` * 2020-11-01: :class:`AzureFirewallsOperations` * 2021-02-01: :class:`AzureFirewallsOperations` - * 2021-05-01: :class:`AzureFirewallsOperations` * 2021-08-01: :class:`AzureFirewallsOperations` """ api_version = self._get_api_version('azure_firewalls') @@ -1104,8 +1069,6 @@ def azure_firewalls(self): from ..v2020_11_01.aio.operations import AzureFirewallsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import AzureFirewallsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import AzureFirewallsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import AzureFirewallsOperations as OperationClass else: @@ -1131,7 +1094,6 @@ def bastion_hosts(self): * 2020-08-01: :class:`BastionHostsOperations` * 2020-11-01: :class:`BastionHostsOperations` * 2021-02-01: :class:`BastionHostsOperations` - * 2021-05-01: :class:`BastionHostsOperations` * 2021-08-01: :class:`BastionHostsOperations` """ api_version = self._get_api_version('bastion_hosts') @@ -1165,8 +1127,6 @@ def bastion_hosts(self): from ..v2020_11_01.aio.operations import BastionHostsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import BastionHostsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import BastionHostsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import BastionHostsOperations as OperationClass else: @@ -1206,7 +1166,6 @@ def bgp_service_communities(self): * 2020-08-01: :class:`BgpServiceCommunitiesOperations` * 2020-11-01: :class:`BgpServiceCommunitiesOperations` * 2021-02-01: :class:`BgpServiceCommunitiesOperations` - * 2021-05-01: :class:`BgpServiceCommunitiesOperations` * 2021-08-01: :class:`BgpServiceCommunitiesOperations` """ api_version = self._get_api_version('bgp_service_communities') @@ -1268,8 +1227,6 @@ def bgp_service_communities(self): from ..v2020_11_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass else: @@ -1319,7 +1276,6 @@ def connection_monitors(self): * 2020-08-01: :class:`ConnectionMonitorsOperations` * 2020-11-01: :class:`ConnectionMonitorsOperations` * 2021-02-01: :class:`ConnectionMonitorsOperations` - * 2021-05-01: :class:`ConnectionMonitorsOperations` * 2021-08-01: :class:`ConnectionMonitorsOperations` """ api_version = self._get_api_version('connection_monitors') @@ -1375,8 +1331,6 @@ def connection_monitors(self): from ..v2020_11_01.aio.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ConnectionMonitorsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ConnectionMonitorsOperations as OperationClass else: @@ -1405,7 +1359,6 @@ def custom_ip_prefixes(self): * 2020-08-01: :class:`CustomIPPrefixesOperations` * 2020-11-01: :class:`CustomIPPrefixesOperations` * 2021-02-01: :class:`CustomIPPrefixesOperations` - * 2021-05-01: :class:`CustomIPPrefixesOperations` * 2021-08-01: :class:`CustomIPPrefixesOperations` """ api_version = self._get_api_version('custom_ip_prefixes') @@ -1419,8 +1372,6 @@ def custom_ip_prefixes(self): from ..v2020_11_01.aio.operations import CustomIPPrefixesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import CustomIPPrefixesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import CustomIPPrefixesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import CustomIPPrefixesOperations as OperationClass else: @@ -1449,7 +1400,6 @@ def ddos_custom_policies(self): * 2020-08-01: :class:`DdosCustomPoliciesOperations` * 2020-11-01: :class:`DdosCustomPoliciesOperations` * 2021-02-01: :class:`DdosCustomPoliciesOperations` - * 2021-05-01: :class:`DdosCustomPoliciesOperations` * 2021-08-01: :class:`DdosCustomPoliciesOperations` """ api_version = self._get_api_version('ddos_custom_policies') @@ -1489,8 +1439,6 @@ def ddos_custom_policies(self): from ..v2020_11_01.aio.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import DdosCustomPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import DdosCustomPoliciesOperations as OperationClass else: @@ -1525,7 +1473,6 @@ def ddos_protection_plans(self): * 2020-08-01: :class:`DdosProtectionPlansOperations` * 2020-11-01: :class:`DdosProtectionPlansOperations` * 2021-02-01: :class:`DdosProtectionPlansOperations` - * 2021-05-01: :class:`DdosProtectionPlansOperations` * 2021-08-01: :class:`DdosProtectionPlansOperations` """ api_version = self._get_api_version('ddos_protection_plans') @@ -1577,8 +1524,6 @@ def ddos_protection_plans(self): from ..v2020_11_01.aio.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import DdosProtectionPlansOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import DdosProtectionPlansOperations as OperationClass else: @@ -1616,7 +1561,6 @@ def default_security_rules(self): * 2020-08-01: :class:`DefaultSecurityRulesOperations` * 2020-11-01: :class:`DefaultSecurityRulesOperations` * 2021-02-01: :class:`DefaultSecurityRulesOperations` - * 2021-05-01: :class:`DefaultSecurityRulesOperations` * 2021-08-01: :class:`DefaultSecurityRulesOperations` """ api_version = self._get_api_version('default_security_rules') @@ -1674,8 +1618,6 @@ def default_security_rules(self): from ..v2020_11_01.aio.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import DefaultSecurityRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import DefaultSecurityRulesOperations as OperationClass else: @@ -1691,7 +1633,6 @@ def dscp_configuration(self): * 2020-08-01: :class:`DscpConfigurationOperations` * 2020-11-01: :class:`DscpConfigurationOperations` * 2021-02-01: :class:`DscpConfigurationOperations` - * 2021-05-01: :class:`DscpConfigurationOperations` * 2021-08-01: :class:`DscpConfigurationOperations` """ api_version = self._get_api_version('dscp_configuration') @@ -1705,8 +1646,6 @@ def dscp_configuration(self): from ..v2020_11_01.aio.operations import DscpConfigurationOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import DscpConfigurationOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import DscpConfigurationOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import DscpConfigurationOperations as OperationClass else: @@ -1774,7 +1713,6 @@ def express_route_circuit_authorizations(self): * 2020-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-11-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2021-02-01: :class:`ExpressRouteCircuitAuthorizationsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2021-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ api_version = self._get_api_version('express_route_circuit_authorizations') @@ -1840,8 +1778,6 @@ def express_route_circuit_authorizations(self): from ..v2020_11_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: @@ -1876,7 +1812,6 @@ def express_route_circuit_connections(self): * 2020-08-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2021-02-01: :class:`ExpressRouteCircuitConnectionsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2021-08-01: :class:`ExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('express_route_circuit_connections') @@ -1928,8 +1863,6 @@ def express_route_circuit_connections(self): from ..v2020_11_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass else: @@ -1971,7 +1904,6 @@ def express_route_circuit_peerings(self): * 2020-08-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2021-02-01: :class:`ExpressRouteCircuitPeeringsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2021-08-01: :class:`ExpressRouteCircuitPeeringsOperations` """ api_version = self._get_api_version('express_route_circuit_peerings') @@ -2037,8 +1969,6 @@ def express_route_circuit_peerings(self): from ..v2020_11_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: @@ -2080,7 +2010,6 @@ def express_route_circuits(self): * 2020-08-01: :class:`ExpressRouteCircuitsOperations` * 2020-11-01: :class:`ExpressRouteCircuitsOperations` * 2021-02-01: :class:`ExpressRouteCircuitsOperations` - * 2021-05-01: :class:`ExpressRouteCircuitsOperations` * 2021-08-01: :class:`ExpressRouteCircuitsOperations` """ api_version = self._get_api_version('express_route_circuits') @@ -2146,8 +2075,6 @@ def express_route_circuits(self): from ..v2020_11_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass else: @@ -2178,7 +2105,6 @@ def express_route_connections(self): * 2020-08-01: :class:`ExpressRouteConnectionsOperations` * 2020-11-01: :class:`ExpressRouteConnectionsOperations` * 2021-02-01: :class:`ExpressRouteConnectionsOperations` - * 2021-05-01: :class:`ExpressRouteConnectionsOperations` * 2021-08-01: :class:`ExpressRouteConnectionsOperations` """ api_version = self._get_api_version('express_route_connections') @@ -2222,8 +2148,6 @@ def express_route_connections(self): from ..v2020_11_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass else: @@ -2258,7 +2182,6 @@ def express_route_cross_connection_peerings(self): * 2020-08-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2021-02-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` - * 2021-05-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2021-08-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` """ api_version = self._get_api_version('express_route_cross_connection_peerings') @@ -2310,8 +2233,6 @@ def express_route_cross_connection_peerings(self): from ..v2020_11_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass else: @@ -2346,7 +2267,6 @@ def express_route_cross_connections(self): * 2020-08-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionsOperations` * 2021-02-01: :class:`ExpressRouteCrossConnectionsOperations` - * 2021-05-01: :class:`ExpressRouteCrossConnectionsOperations` * 2021-08-01: :class:`ExpressRouteCrossConnectionsOperations` """ api_version = self._get_api_version('express_route_cross_connections') @@ -2398,8 +2318,6 @@ def express_route_cross_connections(self): from ..v2020_11_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass else: @@ -2430,7 +2348,6 @@ def express_route_gateways(self): * 2020-08-01: :class:`ExpressRouteGatewaysOperations` * 2020-11-01: :class:`ExpressRouteGatewaysOperations` * 2021-02-01: :class:`ExpressRouteGatewaysOperations` - * 2021-05-01: :class:`ExpressRouteGatewaysOperations` * 2021-08-01: :class:`ExpressRouteGatewaysOperations` """ api_version = self._get_api_version('express_route_gateways') @@ -2474,8 +2391,6 @@ def express_route_gateways(self): from ..v2020_11_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass else: @@ -2506,7 +2421,6 @@ def express_route_links(self): * 2020-08-01: :class:`ExpressRouteLinksOperations` * 2020-11-01: :class:`ExpressRouteLinksOperations` * 2021-02-01: :class:`ExpressRouteLinksOperations` - * 2021-05-01: :class:`ExpressRouteLinksOperations` * 2021-08-01: :class:`ExpressRouteLinksOperations` """ api_version = self._get_api_version('express_route_links') @@ -2550,8 +2464,6 @@ def express_route_links(self): from ..v2020_11_01.aio.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteLinksOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteLinksOperations as OperationClass else: @@ -2595,7 +2507,6 @@ def express_route_ports(self): * 2020-08-01: :class:`ExpressRoutePortsOperations` * 2020-11-01: :class:`ExpressRoutePortsOperations` * 2021-02-01: :class:`ExpressRoutePortsOperations` - * 2021-05-01: :class:`ExpressRoutePortsOperations` * 2021-08-01: :class:`ExpressRoutePortsOperations` """ api_version = self._get_api_version('express_route_ports') @@ -2639,8 +2550,6 @@ def express_route_ports(self): from ..v2020_11_01.aio.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRoutePortsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRoutePortsOperations as OperationClass else: @@ -2671,7 +2580,6 @@ def express_route_ports_locations(self): * 2020-08-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-11-01: :class:`ExpressRoutePortsLocationsOperations` * 2021-02-01: :class:`ExpressRoutePortsLocationsOperations` - * 2021-05-01: :class:`ExpressRoutePortsLocationsOperations` * 2021-08-01: :class:`ExpressRoutePortsLocationsOperations` """ api_version = self._get_api_version('express_route_ports_locations') @@ -2715,8 +2623,6 @@ def express_route_ports_locations(self): from ..v2020_11_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass else: @@ -2758,7 +2664,6 @@ def express_route_service_providers(self): * 2020-08-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-11-01: :class:`ExpressRouteServiceProvidersOperations` * 2021-02-01: :class:`ExpressRouteServiceProvidersOperations` - * 2021-05-01: :class:`ExpressRouteServiceProvidersOperations` * 2021-08-01: :class:`ExpressRouteServiceProvidersOperations` """ api_version = self._get_api_version('express_route_service_providers') @@ -2824,8 +2729,6 @@ def express_route_service_providers(self): from ..v2020_11_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass else: @@ -2850,7 +2753,6 @@ def firewall_policies(self): * 2020-08-01: :class:`FirewallPoliciesOperations` * 2020-11-01: :class:`FirewallPoliciesOperations` * 2021-02-01: :class:`FirewallPoliciesOperations` - * 2021-05-01: :class:`FirewallPoliciesOperations` * 2021-08-01: :class:`FirewallPoliciesOperations` """ api_version = self._get_api_version('firewall_policies') @@ -2882,8 +2784,6 @@ def firewall_policies(self): from ..v2020_11_01.aio.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import FirewallPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import FirewallPoliciesOperations as OperationClass else: @@ -2894,13 +2794,10 @@ def firewall_policies(self): def firewall_policy_idps_signatures(self): """Instance depends on the API version: - * 2021-05-01: :class:`FirewallPolicyIdpsSignaturesOperations` * 2021-08-01: :class:`FirewallPolicyIdpsSignaturesOperations` """ api_version = self._get_api_version('firewall_policy_idps_signatures') - if api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import FirewallPolicyIdpsSignaturesOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from ..v2021_08_01.aio.operations import FirewallPolicyIdpsSignaturesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_idps_signatures'".format(api_version)) @@ -2910,13 +2807,10 @@ def firewall_policy_idps_signatures(self): def firewall_policy_idps_signatures_filter_values(self): """Instance depends on the API version: - * 2021-05-01: :class:`FirewallPolicyIdpsSignaturesFilterValuesOperations` * 2021-08-01: :class:`FirewallPolicyIdpsSignaturesFilterValuesOperations` """ api_version = self._get_api_version('firewall_policy_idps_signatures_filter_values') - if api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import FirewallPolicyIdpsSignaturesFilterValuesOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from ..v2021_08_01.aio.operations import FirewallPolicyIdpsSignaturesFilterValuesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_idps_signatures_filter_values'".format(api_version)) @@ -2926,13 +2820,10 @@ def firewall_policy_idps_signatures_filter_values(self): def firewall_policy_idps_signatures_overrides(self): """Instance depends on the API version: - * 2021-05-01: :class:`FirewallPolicyIdpsSignaturesOverridesOperations` * 2021-08-01: :class:`FirewallPolicyIdpsSignaturesOverridesOperations` """ api_version = self._get_api_version('firewall_policy_idps_signatures_overrides') - if api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import FirewallPolicyIdpsSignaturesOverridesOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from ..v2021_08_01.aio.operations import FirewallPolicyIdpsSignaturesOverridesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_idps_signatures_overrides'".format(api_version)) @@ -2948,7 +2839,6 @@ def firewall_policy_rule_collection_groups(self): * 2020-08-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-11-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2021-02-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` - * 2021-05-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2021-08-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` """ api_version = self._get_api_version('firewall_policy_rule_collection_groups') @@ -2964,8 +2854,6 @@ def firewall_policy_rule_collection_groups(self): from ..v2020_11_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass else: @@ -3020,7 +2908,6 @@ def flow_logs(self): * 2020-08-01: :class:`FlowLogsOperations` * 2020-11-01: :class:`FlowLogsOperations` * 2021-02-01: :class:`FlowLogsOperations` - * 2021-05-01: :class:`FlowLogsOperations` * 2021-08-01: :class:`FlowLogsOperations` """ api_version = self._get_api_version('flow_logs') @@ -3044,8 +2931,6 @@ def flow_logs(self): from ..v2020_11_01.aio.operations import FlowLogsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import FlowLogsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import FlowLogsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import FlowLogsOperations as OperationClass else: @@ -3063,7 +2948,6 @@ def hub_route_tables(self): * 2020-08-01: :class:`HubRouteTablesOperations` * 2020-11-01: :class:`HubRouteTablesOperations` * 2021-02-01: :class:`HubRouteTablesOperations` - * 2021-05-01: :class:`HubRouteTablesOperations` * 2021-08-01: :class:`HubRouteTablesOperations` """ api_version = self._get_api_version('hub_route_tables') @@ -3081,8 +2965,6 @@ def hub_route_tables(self): from ..v2020_11_01.aio.operations import HubRouteTablesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import HubRouteTablesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import HubRouteTablesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import HubRouteTablesOperations as OperationClass else: @@ -3116,7 +2998,6 @@ def hub_virtual_network_connections(self): * 2020-08-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-11-01: :class:`HubVirtualNetworkConnectionsOperations` * 2021-02-01: :class:`HubVirtualNetworkConnectionsOperations` - * 2021-05-01: :class:`HubVirtualNetworkConnectionsOperations` * 2021-08-01: :class:`HubVirtualNetworkConnectionsOperations` """ api_version = self._get_api_version('hub_virtual_network_connections') @@ -3166,8 +3047,6 @@ def hub_virtual_network_connections(self): from ..v2020_11_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass else: @@ -3205,7 +3084,6 @@ def inbound_nat_rules(self): * 2020-08-01: :class:`InboundNatRulesOperations` * 2020-11-01: :class:`InboundNatRulesOperations` * 2021-02-01: :class:`InboundNatRulesOperations` - * 2021-05-01: :class:`InboundNatRulesOperations` * 2021-08-01: :class:`InboundNatRulesOperations` """ api_version = self._get_api_version('inbound_nat_rules') @@ -3263,8 +3141,6 @@ def inbound_nat_rules(self): from ..v2020_11_01.aio.operations import InboundNatRulesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import InboundNatRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import InboundNatRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import InboundNatRulesOperations as OperationClass else: @@ -3280,7 +3156,6 @@ def inbound_security_rule(self): * 2020-08-01: :class:`InboundSecurityRuleOperations` * 2020-11-01: :class:`InboundSecurityRuleOperations` * 2021-02-01: :class:`InboundSecurityRuleOperations` - * 2021-05-01: :class:`InboundSecurityRuleOperations` * 2021-08-01: :class:`InboundSecurityRuleOperations` """ api_version = self._get_api_version('inbound_security_rule') @@ -3294,8 +3169,6 @@ def inbound_security_rule(self): from ..v2020_11_01.aio.operations import InboundSecurityRuleOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import InboundSecurityRuleOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import InboundSecurityRuleOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import InboundSecurityRuleOperations as OperationClass else: @@ -3339,7 +3212,6 @@ def ip_allocations(self): * 2020-08-01: :class:`IpAllocationsOperations` * 2020-11-01: :class:`IpAllocationsOperations` * 2021-02-01: :class:`IpAllocationsOperations` - * 2021-05-01: :class:`IpAllocationsOperations` * 2021-08-01: :class:`IpAllocationsOperations` """ api_version = self._get_api_version('ip_allocations') @@ -3359,8 +3231,6 @@ def ip_allocations(self): from ..v2020_11_01.aio.operations import IpAllocationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import IpAllocationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import IpAllocationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import IpAllocationsOperations as OperationClass else: @@ -3382,7 +3252,6 @@ def ip_groups(self): * 2020-08-01: :class:`IpGroupsOperations` * 2020-11-01: :class:`IpGroupsOperations` * 2021-02-01: :class:`IpGroupsOperations` - * 2021-05-01: :class:`IpGroupsOperations` * 2021-08-01: :class:`IpGroupsOperations` """ api_version = self._get_api_version('ip_groups') @@ -3408,8 +3277,6 @@ def ip_groups(self): from ..v2020_11_01.aio.operations import IpGroupsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import IpGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import IpGroupsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import IpGroupsOperations as OperationClass else: @@ -3447,7 +3314,6 @@ def load_balancer_backend_address_pools(self): * 2020-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-11-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2021-02-01: :class:`LoadBalancerBackendAddressPoolsOperations` - * 2021-05-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2021-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` """ api_version = self._get_api_version('load_balancer_backend_address_pools') @@ -3505,8 +3371,6 @@ def load_balancer_backend_address_pools(self): from ..v2020_11_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass else: @@ -3544,7 +3408,6 @@ def load_balancer_frontend_ip_configurations(self): * 2020-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-11-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2021-02-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` - * 2021-05-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2021-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` """ api_version = self._get_api_version('load_balancer_frontend_ip_configurations') @@ -3602,8 +3465,6 @@ def load_balancer_frontend_ip_configurations(self): from ..v2020_11_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass else: @@ -3641,7 +3502,6 @@ def load_balancer_load_balancing_rules(self): * 2020-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-11-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2021-02-01: :class:`LoadBalancerLoadBalancingRulesOperations` - * 2021-05-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2021-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` """ api_version = self._get_api_version('load_balancer_load_balancing_rules') @@ -3699,8 +3559,6 @@ def load_balancer_load_balancing_rules(self): from ..v2020_11_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass else: @@ -3738,7 +3596,6 @@ def load_balancer_network_interfaces(self): * 2020-08-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-11-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2021-02-01: :class:`LoadBalancerNetworkInterfacesOperations` - * 2021-05-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2021-08-01: :class:`LoadBalancerNetworkInterfacesOperations` """ api_version = self._get_api_version('load_balancer_network_interfaces') @@ -3796,8 +3653,6 @@ def load_balancer_network_interfaces(self): from ..v2020_11_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass else: @@ -3828,7 +3683,6 @@ def load_balancer_outbound_rules(self): * 2020-08-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-11-01: :class:`LoadBalancerOutboundRulesOperations` * 2021-02-01: :class:`LoadBalancerOutboundRulesOperations` - * 2021-05-01: :class:`LoadBalancerOutboundRulesOperations` * 2021-08-01: :class:`LoadBalancerOutboundRulesOperations` """ api_version = self._get_api_version('load_balancer_outbound_rules') @@ -3872,8 +3726,6 @@ def load_balancer_outbound_rules(self): from ..v2020_11_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass else: @@ -3911,7 +3763,6 @@ def load_balancer_probes(self): * 2020-08-01: :class:`LoadBalancerProbesOperations` * 2020-11-01: :class:`LoadBalancerProbesOperations` * 2021-02-01: :class:`LoadBalancerProbesOperations` - * 2021-05-01: :class:`LoadBalancerProbesOperations` * 2021-08-01: :class:`LoadBalancerProbesOperations` """ api_version = self._get_api_version('load_balancer_probes') @@ -3969,8 +3820,6 @@ def load_balancer_probes(self): from ..v2020_11_01.aio.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LoadBalancerProbesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LoadBalancerProbesOperations as OperationClass else: @@ -4012,7 +3861,6 @@ def load_balancers(self): * 2020-08-01: :class:`LoadBalancersOperations` * 2020-11-01: :class:`LoadBalancersOperations` * 2021-02-01: :class:`LoadBalancersOperations` - * 2021-05-01: :class:`LoadBalancersOperations` * 2021-08-01: :class:`LoadBalancersOperations` """ api_version = self._get_api_version('load_balancers') @@ -4078,8 +3926,6 @@ def load_balancers(self): from ..v2020_11_01.aio.operations import LoadBalancersOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LoadBalancersOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LoadBalancersOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LoadBalancersOperations as OperationClass else: @@ -4121,7 +3967,6 @@ def local_network_gateways(self): * 2020-08-01: :class:`LocalNetworkGatewaysOperations` * 2020-11-01: :class:`LocalNetworkGatewaysOperations` * 2021-02-01: :class:`LocalNetworkGatewaysOperations` - * 2021-05-01: :class:`LocalNetworkGatewaysOperations` * 2021-08-01: :class:`LocalNetworkGatewaysOperations` """ api_version = self._get_api_version('local_network_gateways') @@ -4187,8 +4032,6 @@ def local_network_gateways(self): from ..v2020_11_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass else: @@ -4215,7 +4058,6 @@ def nat_gateways(self): * 2020-08-01: :class:`NatGatewaysOperations` * 2020-11-01: :class:`NatGatewaysOperations` * 2021-02-01: :class:`NatGatewaysOperations` - * 2021-05-01: :class:`NatGatewaysOperations` * 2021-08-01: :class:`NatGatewaysOperations` """ api_version = self._get_api_version('nat_gateways') @@ -4251,8 +4093,6 @@ def nat_gateways(self): from ..v2020_11_01.aio.operations import NatGatewaysOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NatGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NatGatewaysOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NatGatewaysOperations as OperationClass else: @@ -4266,7 +4106,6 @@ def nat_rules(self): * 2020-08-01: :class:`NatRulesOperations` * 2020-11-01: :class:`NatRulesOperations` * 2021-02-01: :class:`NatRulesOperations` - * 2021-05-01: :class:`NatRulesOperations` * 2021-08-01: :class:`NatRulesOperations` """ api_version = self._get_api_version('nat_rules') @@ -4276,8 +4115,6 @@ def nat_rules(self): from ..v2020_11_01.aio.operations import NatRulesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NatRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NatRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NatRulesOperations as OperationClass else: @@ -4328,7 +4165,6 @@ def network_interface_ip_configurations(self): * 2020-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2021-02-01: :class:`NetworkInterfaceIPConfigurationsOperations` - * 2021-05-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2021-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` """ api_version = self._get_api_version('network_interface_ip_configurations') @@ -4386,8 +4222,6 @@ def network_interface_ip_configurations(self): from ..v2020_11_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass else: @@ -4425,7 +4259,6 @@ def network_interface_load_balancers(self): * 2020-08-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-11-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2021-02-01: :class:`NetworkInterfaceLoadBalancersOperations` - * 2021-05-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2021-08-01: :class:`NetworkInterfaceLoadBalancersOperations` """ api_version = self._get_api_version('network_interface_load_balancers') @@ -4483,8 +4316,6 @@ def network_interface_load_balancers(self): from ..v2020_11_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: @@ -4515,7 +4346,6 @@ def network_interface_tap_configurations(self): * 2020-08-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2021-02-01: :class:`NetworkInterfaceTapConfigurationsOperations` - * 2021-05-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2021-08-01: :class:`NetworkInterfaceTapConfigurationsOperations` """ api_version = self._get_api_version('network_interface_tap_configurations') @@ -4559,8 +4389,6 @@ def network_interface_tap_configurations(self): from ..v2020_11_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass else: @@ -4602,7 +4430,6 @@ def network_interfaces(self): * 2020-08-01: :class:`NetworkInterfacesOperations` * 2020-11-01: :class:`NetworkInterfacesOperations` * 2021-02-01: :class:`NetworkInterfacesOperations` - * 2021-05-01: :class:`NetworkInterfacesOperations` * 2021-08-01: :class:`NetworkInterfacesOperations` """ api_version = self._get_api_version('network_interfaces') @@ -4668,8 +4495,6 @@ def network_interfaces(self): from ..v2020_11_01.aio.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkInterfacesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkInterfacesOperations as OperationClass else: @@ -4752,7 +4577,6 @@ def network_profiles(self): * 2020-08-01: :class:`NetworkProfilesOperations` * 2020-11-01: :class:`NetworkProfilesOperations` * 2021-02-01: :class:`NetworkProfilesOperations` - * 2021-05-01: :class:`NetworkProfilesOperations` * 2021-08-01: :class:`NetworkProfilesOperations` """ api_version = self._get_api_version('network_profiles') @@ -4796,8 +4620,6 @@ def network_profiles(self): from ..v2020_11_01.aio.operations import NetworkProfilesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkProfilesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkProfilesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkProfilesOperations as OperationClass else: @@ -4839,7 +4661,6 @@ def network_security_groups(self): * 2020-08-01: :class:`NetworkSecurityGroupsOperations` * 2020-11-01: :class:`NetworkSecurityGroupsOperations` * 2021-02-01: :class:`NetworkSecurityGroupsOperations` - * 2021-05-01: :class:`NetworkSecurityGroupsOperations` * 2021-08-01: :class:`NetworkSecurityGroupsOperations` """ api_version = self._get_api_version('network_security_groups') @@ -4905,8 +4726,6 @@ def network_security_groups(self): from ..v2020_11_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass else: @@ -4939,7 +4758,6 @@ def network_virtual_appliances(self): * 2020-08-01: :class:`NetworkVirtualAppliancesOperations` * 2020-11-01: :class:`NetworkVirtualAppliancesOperations` * 2021-02-01: :class:`NetworkVirtualAppliancesOperations` - * 2021-05-01: :class:`NetworkVirtualAppliancesOperations` * 2021-08-01: :class:`NetworkVirtualAppliancesOperations` """ api_version = self._get_api_version('network_virtual_appliances') @@ -4961,8 +4779,6 @@ def network_virtual_appliances(self): from ..v2020_11_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass else: @@ -5003,7 +4819,6 @@ def network_watchers(self): * 2020-08-01: :class:`NetworkWatchersOperations` * 2020-11-01: :class:`NetworkWatchersOperations` * 2021-02-01: :class:`NetworkWatchersOperations` - * 2021-05-01: :class:`NetworkWatchersOperations` * 2021-08-01: :class:`NetworkWatchersOperations` """ api_version = self._get_api_version('network_watchers') @@ -5067,8 +4882,6 @@ def network_watchers(self): from ..v2020_11_01.aio.operations import NetworkWatchersOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkWatchersOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkWatchersOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkWatchersOperations as OperationClass else: @@ -5144,7 +4957,6 @@ def operations(self): * 2020-08-01: :class:`Operations` * 2020-11-01: :class:`Operations` * 2021-02-01: :class:`Operations` - * 2021-05-01: :class:`Operations` * 2021-08-01: :class:`Operations` """ api_version = self._get_api_version('operations') @@ -5200,8 +5012,6 @@ def operations(self): from ..v2020_11_01.aio.operations import Operations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import Operations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import Operations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import Operations as OperationClass else: @@ -5232,7 +5042,6 @@ def p2_svpn_gateways(self): * 2020-08-01: :class:`P2SVpnGatewaysOperations` * 2020-11-01: :class:`P2SVpnGatewaysOperations` * 2021-02-01: :class:`P2SVpnGatewaysOperations` - * 2021-05-01: :class:`P2SVpnGatewaysOperations` * 2021-08-01: :class:`P2SVpnGatewaysOperations` """ api_version = self._get_api_version('p2_svpn_gateways') @@ -5276,8 +5085,6 @@ def p2_svpn_gateways(self): from ..v2020_11_01.aio.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import P2SVpnGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import P2SVpnGatewaysOperations as OperationClass else: @@ -5352,7 +5159,6 @@ def packet_captures(self): * 2020-08-01: :class:`PacketCapturesOperations` * 2020-11-01: :class:`PacketCapturesOperations` * 2021-02-01: :class:`PacketCapturesOperations` - * 2021-05-01: :class:`PacketCapturesOperations` * 2021-08-01: :class:`PacketCapturesOperations` """ api_version = self._get_api_version('packet_captures') @@ -5416,8 +5222,6 @@ def packet_captures(self): from ..v2020_11_01.aio.operations import PacketCapturesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import PacketCapturesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import PacketCapturesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import PacketCapturesOperations as OperationClass else: @@ -5445,7 +5249,6 @@ def peer_express_route_circuit_connections(self): * 2020-08-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2021-02-01: :class:`PeerExpressRouteCircuitConnectionsOperations` - * 2021-05-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2021-08-01: :class:`PeerExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('peer_express_route_circuit_connections') @@ -5483,8 +5286,6 @@ def peer_express_route_circuit_connections(self): from ..v2020_11_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass else: @@ -5516,7 +5317,6 @@ def private_dns_zone_groups(self): * 2020-08-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-11-01: :class:`PrivateDnsZoneGroupsOperations` * 2021-02-01: :class:`PrivateDnsZoneGroupsOperations` - * 2021-05-01: :class:`PrivateDnsZoneGroupsOperations` * 2021-08-01: :class:`PrivateDnsZoneGroupsOperations` """ api_version = self._get_api_version('private_dns_zone_groups') @@ -5536,8 +5336,6 @@ def private_dns_zone_groups(self): from ..v2020_11_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass else: @@ -5563,7 +5361,6 @@ def private_endpoints(self): * 2020-08-01: :class:`PrivateEndpointsOperations` * 2020-11-01: :class:`PrivateEndpointsOperations` * 2021-02-01: :class:`PrivateEndpointsOperations` - * 2021-05-01: :class:`PrivateEndpointsOperations` * 2021-08-01: :class:`PrivateEndpointsOperations` """ api_version = self._get_api_version('private_endpoints') @@ -5597,8 +5394,6 @@ def private_endpoints(self): from ..v2020_11_01.aio.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import PrivateEndpointsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import PrivateEndpointsOperations as OperationClass else: @@ -5624,7 +5419,6 @@ def private_link_services(self): * 2020-08-01: :class:`PrivateLinkServicesOperations` * 2020-11-01: :class:`PrivateLinkServicesOperations` * 2021-02-01: :class:`PrivateLinkServicesOperations` - * 2021-05-01: :class:`PrivateLinkServicesOperations` * 2021-08-01: :class:`PrivateLinkServicesOperations` """ api_version = self._get_api_version('private_link_services') @@ -5658,8 +5452,6 @@ def private_link_services(self): from ..v2020_11_01.aio.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import PrivateLinkServicesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import PrivateLinkServicesOperations as OperationClass else: @@ -5701,7 +5493,6 @@ def public_ip_addresses(self): * 2020-08-01: :class:`PublicIPAddressesOperations` * 2020-11-01: :class:`PublicIPAddressesOperations` * 2021-02-01: :class:`PublicIPAddressesOperations` - * 2021-05-01: :class:`PublicIPAddressesOperations` * 2021-08-01: :class:`PublicIPAddressesOperations` """ api_version = self._get_api_version('public_ip_addresses') @@ -5767,8 +5558,6 @@ def public_ip_addresses(self): from ..v2020_11_01.aio.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import PublicIPAddressesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import PublicIPAddressesOperations as OperationClass else: @@ -5800,7 +5589,6 @@ def public_ip_prefixes(self): * 2020-08-01: :class:`PublicIPPrefixesOperations` * 2020-11-01: :class:`PublicIPPrefixesOperations` * 2021-02-01: :class:`PublicIPPrefixesOperations` - * 2021-05-01: :class:`PublicIPPrefixesOperations` * 2021-08-01: :class:`PublicIPPrefixesOperations` """ api_version = self._get_api_version('public_ip_prefixes') @@ -5846,8 +5634,6 @@ def public_ip_prefixes(self): from ..v2020_11_01.aio.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import PublicIPPrefixesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import PublicIPPrefixesOperations as OperationClass else: @@ -5874,7 +5660,6 @@ def resource_navigation_links(self): * 2020-08-01: :class:`ResourceNavigationLinksOperations` * 2020-11-01: :class:`ResourceNavigationLinksOperations` * 2021-02-01: :class:`ResourceNavigationLinksOperations` - * 2021-05-01: :class:`ResourceNavigationLinksOperations` * 2021-08-01: :class:`ResourceNavigationLinksOperations` """ api_version = self._get_api_version('resource_navigation_links') @@ -5910,8 +5695,6 @@ def resource_navigation_links(self): from ..v2020_11_01.aio.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ResourceNavigationLinksOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ResourceNavigationLinksOperations as OperationClass else: @@ -5951,7 +5734,6 @@ def route_filter_rules(self): * 2020-08-01: :class:`RouteFilterRulesOperations` * 2020-11-01: :class:`RouteFilterRulesOperations` * 2021-02-01: :class:`RouteFilterRulesOperations` - * 2021-05-01: :class:`RouteFilterRulesOperations` * 2021-08-01: :class:`RouteFilterRulesOperations` """ api_version = self._get_api_version('route_filter_rules') @@ -6013,8 +5795,6 @@ def route_filter_rules(self): from ..v2020_11_01.aio.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import RouteFilterRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import RouteFilterRulesOperations as OperationClass else: @@ -6054,7 +5834,6 @@ def route_filters(self): * 2020-08-01: :class:`RouteFiltersOperations` * 2020-11-01: :class:`RouteFiltersOperations` * 2021-02-01: :class:`RouteFiltersOperations` - * 2021-05-01: :class:`RouteFiltersOperations` * 2021-08-01: :class:`RouteFiltersOperations` """ api_version = self._get_api_version('route_filters') @@ -6116,8 +5895,6 @@ def route_filters(self): from ..v2020_11_01.aio.operations import RouteFiltersOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import RouteFiltersOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import RouteFiltersOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import RouteFiltersOperations as OperationClass else: @@ -6159,7 +5936,6 @@ def route_tables(self): * 2020-08-01: :class:`RouteTablesOperations` * 2020-11-01: :class:`RouteTablesOperations` * 2021-02-01: :class:`RouteTablesOperations` - * 2021-05-01: :class:`RouteTablesOperations` * 2021-08-01: :class:`RouteTablesOperations` """ api_version = self._get_api_version('route_tables') @@ -6225,8 +6001,6 @@ def route_tables(self): from ..v2020_11_01.aio.operations import RouteTablesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import RouteTablesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import RouteTablesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import RouteTablesOperations as OperationClass else: @@ -6268,7 +6042,6 @@ def routes(self): * 2020-08-01: :class:`RoutesOperations` * 2020-11-01: :class:`RoutesOperations` * 2021-02-01: :class:`RoutesOperations` - * 2021-05-01: :class:`RoutesOperations` * 2021-08-01: :class:`RoutesOperations` """ api_version = self._get_api_version('routes') @@ -6334,8 +6107,6 @@ def routes(self): from ..v2020_11_01.aio.operations import RoutesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import RoutesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import RoutesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import RoutesOperations as OperationClass else: @@ -6346,13 +6117,10 @@ def routes(self): def routing_intent(self): """Instance depends on the API version: - * 2021-05-01: :class:`RoutingIntentOperations` * 2021-08-01: :class:`RoutingIntentOperations` """ api_version = self._get_api_version('routing_intent') - if api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import RoutingIntentOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from ..v2021_08_01.aio.operations import RoutingIntentOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'routing_intent'".format(api_version)) @@ -6383,7 +6151,6 @@ def security_partner_providers(self): * 2020-08-01: :class:`SecurityPartnerProvidersOperations` * 2020-11-01: :class:`SecurityPartnerProvidersOperations` * 2021-02-01: :class:`SecurityPartnerProvidersOperations` - * 2021-05-01: :class:`SecurityPartnerProvidersOperations` * 2021-08-01: :class:`SecurityPartnerProvidersOperations` """ api_version = self._get_api_version('security_partner_providers') @@ -6403,8 +6170,6 @@ def security_partner_providers(self): from ..v2020_11_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass else: @@ -6446,7 +6211,6 @@ def security_rules(self): * 2020-08-01: :class:`SecurityRulesOperations` * 2020-11-01: :class:`SecurityRulesOperations` * 2021-02-01: :class:`SecurityRulesOperations` - * 2021-05-01: :class:`SecurityRulesOperations` * 2021-08-01: :class:`SecurityRulesOperations` """ api_version = self._get_api_version('security_rules') @@ -6512,8 +6276,6 @@ def security_rules(self): from ..v2020_11_01.aio.operations import SecurityRulesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import SecurityRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import SecurityRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import SecurityRulesOperations as OperationClass else: @@ -6553,7 +6315,6 @@ def service_association_links(self): * 2020-08-01: :class:`ServiceAssociationLinksOperations` * 2020-11-01: :class:`ServiceAssociationLinksOperations` * 2021-02-01: :class:`ServiceAssociationLinksOperations` - * 2021-05-01: :class:`ServiceAssociationLinksOperations` * 2021-08-01: :class:`ServiceAssociationLinksOperations` """ api_version = self._get_api_version('service_association_links') @@ -6589,8 +6350,6 @@ def service_association_links(self): from ..v2020_11_01.aio.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ServiceAssociationLinksOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ServiceAssociationLinksOperations as OperationClass else: @@ -6622,7 +6381,6 @@ def service_endpoint_policies(self): * 2020-08-01: :class:`ServiceEndpointPoliciesOperations` * 2020-11-01: :class:`ServiceEndpointPoliciesOperations` * 2021-02-01: :class:`ServiceEndpointPoliciesOperations` - * 2021-05-01: :class:`ServiceEndpointPoliciesOperations` * 2021-08-01: :class:`ServiceEndpointPoliciesOperations` """ api_version = self._get_api_version('service_endpoint_policies') @@ -6668,8 +6426,6 @@ def service_endpoint_policies(self): from ..v2020_11_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass else: @@ -6701,7 +6457,6 @@ def service_endpoint_policy_definitions(self): * 2020-08-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-11-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2021-02-01: :class:`ServiceEndpointPolicyDefinitionsOperations` - * 2021-05-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2021-08-01: :class:`ServiceEndpointPolicyDefinitionsOperations` """ api_version = self._get_api_version('service_endpoint_policy_definitions') @@ -6747,8 +6502,6 @@ def service_endpoint_policy_definitions(self): from ..v2020_11_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass else: @@ -6759,13 +6512,10 @@ def service_endpoint_policy_definitions(self): def service_tag_information(self): """Instance depends on the API version: - * 2021-05-01: :class:`ServiceTagInformationOperations` * 2021-08-01: :class:`ServiceTagInformationOperations` """ api_version = self._get_api_version('service_tag_information') - if api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ServiceTagInformationOperations as OperationClass - elif api_version == '2021-08-01': + if api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ServiceTagInformationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_tag_information'".format(api_version)) @@ -6790,7 +6540,6 @@ def service_tags(self): * 2020-08-01: :class:`ServiceTagsOperations` * 2020-11-01: :class:`ServiceTagsOperations` * 2021-02-01: :class:`ServiceTagsOperations` - * 2021-05-01: :class:`ServiceTagsOperations` * 2021-08-01: :class:`ServiceTagsOperations` """ api_version = self._get_api_version('service_tags') @@ -6824,8 +6573,6 @@ def service_tags(self): from ..v2020_11_01.aio.operations import ServiceTagsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import ServiceTagsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import ServiceTagsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import ServiceTagsOperations as OperationClass else: @@ -6867,7 +6614,6 @@ def subnets(self): * 2020-08-01: :class:`SubnetsOperations` * 2020-11-01: :class:`SubnetsOperations` * 2021-02-01: :class:`SubnetsOperations` - * 2021-05-01: :class:`SubnetsOperations` * 2021-08-01: :class:`SubnetsOperations` """ api_version = self._get_api_version('subnets') @@ -6933,8 +6679,6 @@ def subnets(self): from ..v2020_11_01.aio.operations import SubnetsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import SubnetsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import SubnetsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import SubnetsOperations as OperationClass else: @@ -6976,7 +6720,6 @@ def usages(self): * 2020-08-01: :class:`UsagesOperations` * 2020-11-01: :class:`UsagesOperations` * 2021-02-01: :class:`UsagesOperations` - * 2021-05-01: :class:`UsagesOperations` * 2021-08-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') @@ -7042,8 +6785,6 @@ def usages(self): from ..v2020_11_01.aio.operations import UsagesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import UsagesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import UsagesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import UsagesOperations as OperationClass else: @@ -7086,7 +6827,6 @@ def virtual_appliance_sites(self): * 2020-08-01: :class:`VirtualApplianceSitesOperations` * 2020-11-01: :class:`VirtualApplianceSitesOperations` * 2021-02-01: :class:`VirtualApplianceSitesOperations` - * 2021-05-01: :class:`VirtualApplianceSitesOperations` * 2021-08-01: :class:`VirtualApplianceSitesOperations` """ api_version = self._get_api_version('virtual_appliance_sites') @@ -7102,8 +6842,6 @@ def virtual_appliance_sites(self): from ..v2020_11_01.aio.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualApplianceSitesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualApplianceSitesOperations as OperationClass else: @@ -7120,7 +6858,6 @@ def virtual_appliance_skus(self): * 2020-08-01: :class:`VirtualApplianceSkusOperations` * 2020-11-01: :class:`VirtualApplianceSkusOperations` * 2021-02-01: :class:`VirtualApplianceSkusOperations` - * 2021-05-01: :class:`VirtualApplianceSkusOperations` * 2021-08-01: :class:`VirtualApplianceSkusOperations` """ api_version = self._get_api_version('virtual_appliance_skus') @@ -7136,8 +6873,6 @@ def virtual_appliance_skus(self): from ..v2020_11_01.aio.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualApplianceSkusOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualApplianceSkusOperations as OperationClass else: @@ -7154,7 +6889,6 @@ def virtual_hub_bgp_connection(self): * 2020-08-01: :class:`VirtualHubBgpConnectionOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionOperations` * 2021-02-01: :class:`VirtualHubBgpConnectionOperations` - * 2021-05-01: :class:`VirtualHubBgpConnectionOperations` * 2021-08-01: :class:`VirtualHubBgpConnectionOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connection') @@ -7170,8 +6904,6 @@ def virtual_hub_bgp_connection(self): from ..v2020_11_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass else: @@ -7188,7 +6920,6 @@ def virtual_hub_bgp_connections(self): * 2020-08-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionsOperations` * 2021-02-01: :class:`VirtualHubBgpConnectionsOperations` - * 2021-05-01: :class:`VirtualHubBgpConnectionsOperations` * 2021-08-01: :class:`VirtualHubBgpConnectionsOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connections') @@ -7204,8 +6935,6 @@ def virtual_hub_bgp_connections(self): from ..v2020_11_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass else: @@ -7222,7 +6951,6 @@ def virtual_hub_ip_configuration(self): * 2020-08-01: :class:`VirtualHubIpConfigurationOperations` * 2020-11-01: :class:`VirtualHubIpConfigurationOperations` * 2021-02-01: :class:`VirtualHubIpConfigurationOperations` - * 2021-05-01: :class:`VirtualHubIpConfigurationOperations` * 2021-08-01: :class:`VirtualHubIpConfigurationOperations` """ api_version = self._get_api_version('virtual_hub_ip_configuration') @@ -7238,8 +6966,6 @@ def virtual_hub_ip_configuration(self): from ..v2020_11_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass else: @@ -7261,7 +6987,6 @@ def virtual_hub_route_table_v2_s(self): * 2020-08-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-11-01: :class:`VirtualHubRouteTableV2SOperations` * 2021-02-01: :class:`VirtualHubRouteTableV2SOperations` - * 2021-05-01: :class:`VirtualHubRouteTableV2SOperations` * 2021-08-01: :class:`VirtualHubRouteTableV2SOperations` """ api_version = self._get_api_version('virtual_hub_route_table_v2_s') @@ -7287,8 +7012,6 @@ def virtual_hub_route_table_v2_s(self): from ..v2020_11_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass else: @@ -7322,7 +7045,6 @@ def virtual_hubs(self): * 2020-08-01: :class:`VirtualHubsOperations` * 2020-11-01: :class:`VirtualHubsOperations` * 2021-02-01: :class:`VirtualHubsOperations` - * 2021-05-01: :class:`VirtualHubsOperations` * 2021-08-01: :class:`VirtualHubsOperations` """ api_version = self._get_api_version('virtual_hubs') @@ -7372,8 +7094,6 @@ def virtual_hubs(self): from ..v2020_11_01.aio.operations import VirtualHubsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualHubsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualHubsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualHubsOperations as OperationClass else: @@ -7415,7 +7135,6 @@ def virtual_network_gateway_connections(self): * 2020-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-11-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2021-02-01: :class:`VirtualNetworkGatewayConnectionsOperations` - * 2021-05-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2021-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ api_version = self._get_api_version('virtual_network_gateway_connections') @@ -7481,8 +7200,6 @@ def virtual_network_gateway_connections(self): from ..v2020_11_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: @@ -7494,14 +7211,11 @@ def virtual_network_gateway_nat_rules(self): """Instance depends on the API version: * 2021-02-01: :class:`VirtualNetworkGatewayNatRulesOperations` - * 2021-05-01: :class:`VirtualNetworkGatewayNatRulesOperations` * 2021-08-01: :class:`VirtualNetworkGatewayNatRulesOperations` """ api_version = self._get_api_version('virtual_network_gateway_nat_rules') if api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass else: @@ -7543,7 +7257,6 @@ def virtual_network_gateways(self): * 2020-08-01: :class:`VirtualNetworkGatewaysOperations` * 2020-11-01: :class:`VirtualNetworkGatewaysOperations` * 2021-02-01: :class:`VirtualNetworkGatewaysOperations` - * 2021-05-01: :class:`VirtualNetworkGatewaysOperations` * 2021-08-01: :class:`VirtualNetworkGatewaysOperations` """ api_version = self._get_api_version('virtual_network_gateways') @@ -7609,8 +7322,6 @@ def virtual_network_gateways(self): from ..v2020_11_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass else: @@ -7651,7 +7362,6 @@ def virtual_network_peerings(self): * 2020-08-01: :class:`VirtualNetworkPeeringsOperations` * 2020-11-01: :class:`VirtualNetworkPeeringsOperations` * 2021-02-01: :class:`VirtualNetworkPeeringsOperations` - * 2021-05-01: :class:`VirtualNetworkPeeringsOperations` * 2021-08-01: :class:`VirtualNetworkPeeringsOperations` """ api_version = self._get_api_version('virtual_network_peerings') @@ -7715,8 +7425,6 @@ def virtual_network_peerings(self): from ..v2020_11_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass else: @@ -7747,7 +7455,6 @@ def virtual_network_taps(self): * 2020-08-01: :class:`VirtualNetworkTapsOperations` * 2020-11-01: :class:`VirtualNetworkTapsOperations` * 2021-02-01: :class:`VirtualNetworkTapsOperations` - * 2021-05-01: :class:`VirtualNetworkTapsOperations` * 2021-08-01: :class:`VirtualNetworkTapsOperations` """ api_version = self._get_api_version('virtual_network_taps') @@ -7791,8 +7498,6 @@ def virtual_network_taps(self): from ..v2020_11_01.aio.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualNetworkTapsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualNetworkTapsOperations as OperationClass else: @@ -7834,7 +7539,6 @@ def virtual_networks(self): * 2020-08-01: :class:`VirtualNetworksOperations` * 2020-11-01: :class:`VirtualNetworksOperations` * 2021-02-01: :class:`VirtualNetworksOperations` - * 2021-05-01: :class:`VirtualNetworksOperations` * 2021-08-01: :class:`VirtualNetworksOperations` """ api_version = self._get_api_version('virtual_networks') @@ -7900,8 +7604,6 @@ def virtual_networks(self): from ..v2020_11_01.aio.operations import VirtualNetworksOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualNetworksOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualNetworksOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualNetworksOperations as OperationClass else: @@ -7925,7 +7627,6 @@ def virtual_router_peerings(self): * 2020-08-01: :class:`VirtualRouterPeeringsOperations` * 2020-11-01: :class:`VirtualRouterPeeringsOperations` * 2021-02-01: :class:`VirtualRouterPeeringsOperations` - * 2021-05-01: :class:`VirtualRouterPeeringsOperations` * 2021-08-01: :class:`VirtualRouterPeeringsOperations` """ api_version = self._get_api_version('virtual_router_peerings') @@ -7955,8 +7656,6 @@ def virtual_router_peerings(self): from ..v2020_11_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass else: @@ -7980,7 +7679,6 @@ def virtual_routers(self): * 2020-08-01: :class:`VirtualRoutersOperations` * 2020-11-01: :class:`VirtualRoutersOperations` * 2021-02-01: :class:`VirtualRoutersOperations` - * 2021-05-01: :class:`VirtualRoutersOperations` * 2021-08-01: :class:`VirtualRoutersOperations` """ api_version = self._get_api_version('virtual_routers') @@ -8010,8 +7708,6 @@ def virtual_routers(self): from ..v2020_11_01.aio.operations import VirtualRoutersOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualRoutersOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualRoutersOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualRoutersOperations as OperationClass else: @@ -8045,7 +7741,6 @@ def virtual_wans(self): * 2020-08-01: :class:`VirtualWansOperations` * 2020-11-01: :class:`VirtualWansOperations` * 2021-02-01: :class:`VirtualWansOperations` - * 2021-05-01: :class:`VirtualWansOperations` * 2021-08-01: :class:`VirtualWansOperations` """ api_version = self._get_api_version('virtual_wans') @@ -8095,8 +7790,6 @@ def virtual_wans(self): from ..v2020_11_01.aio.operations import VirtualWansOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VirtualWansOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VirtualWansOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VirtualWansOperations as OperationClass else: @@ -8130,7 +7823,6 @@ def vpn_connections(self): * 2020-08-01: :class:`VpnConnectionsOperations` * 2020-11-01: :class:`VpnConnectionsOperations` * 2021-02-01: :class:`VpnConnectionsOperations` - * 2021-05-01: :class:`VpnConnectionsOperations` * 2021-08-01: :class:`VpnConnectionsOperations` """ api_version = self._get_api_version('vpn_connections') @@ -8180,8 +7872,6 @@ def vpn_connections(self): from ..v2020_11_01.aio.operations import VpnConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnConnectionsOperations as OperationClass else: @@ -8215,7 +7905,6 @@ def vpn_gateways(self): * 2020-08-01: :class:`VpnGatewaysOperations` * 2020-11-01: :class:`VpnGatewaysOperations` * 2021-02-01: :class:`VpnGatewaysOperations` - * 2021-05-01: :class:`VpnGatewaysOperations` * 2021-08-01: :class:`VpnGatewaysOperations` """ api_version = self._get_api_version('vpn_gateways') @@ -8265,8 +7954,6 @@ def vpn_gateways(self): from ..v2020_11_01.aio.operations import VpnGatewaysOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnGatewaysOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnGatewaysOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnGatewaysOperations as OperationClass else: @@ -8291,7 +7978,6 @@ def vpn_link_connections(self): * 2020-08-01: :class:`VpnLinkConnectionsOperations` * 2020-11-01: :class:`VpnLinkConnectionsOperations` * 2021-02-01: :class:`VpnLinkConnectionsOperations` - * 2021-05-01: :class:`VpnLinkConnectionsOperations` * 2021-08-01: :class:`VpnLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_link_connections') @@ -8323,8 +8009,6 @@ def vpn_link_connections(self): from ..v2020_11_01.aio.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnLinkConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnLinkConnectionsOperations as OperationClass else: @@ -8347,7 +8031,6 @@ def vpn_server_configurations(self): * 2020-08-01: :class:`VpnServerConfigurationsOperations` * 2020-11-01: :class:`VpnServerConfigurationsOperations` * 2021-02-01: :class:`VpnServerConfigurationsOperations` - * 2021-05-01: :class:`VpnServerConfigurationsOperations` * 2021-08-01: :class:`VpnServerConfigurationsOperations` """ api_version = self._get_api_version('vpn_server_configurations') @@ -8375,8 +8058,6 @@ def vpn_server_configurations(self): from ..v2020_11_01.aio.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnServerConfigurationsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnServerConfigurationsOperations as OperationClass else: @@ -8399,7 +8080,6 @@ def vpn_server_configurations_associated_with_virtual_wan(self): * 2020-08-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-11-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2021-02-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` - * 2021-05-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2021-08-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` """ api_version = self._get_api_version('vpn_server_configurations_associated_with_virtual_wan') @@ -8427,8 +8107,6 @@ def vpn_server_configurations_associated_with_virtual_wan(self): from ..v2020_11_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass else: @@ -8453,7 +8131,6 @@ def vpn_site_link_connections(self): * 2020-08-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-11-01: :class:`VpnSiteLinkConnectionsOperations` * 2021-02-01: :class:`VpnSiteLinkConnectionsOperations` - * 2021-05-01: :class:`VpnSiteLinkConnectionsOperations` * 2021-08-01: :class:`VpnSiteLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_site_link_connections') @@ -8485,8 +8162,6 @@ def vpn_site_link_connections(self): from ..v2020_11_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass else: @@ -8511,7 +8186,6 @@ def vpn_site_links(self): * 2020-08-01: :class:`VpnSiteLinksOperations` * 2020-11-01: :class:`VpnSiteLinksOperations` * 2021-02-01: :class:`VpnSiteLinksOperations` - * 2021-05-01: :class:`VpnSiteLinksOperations` * 2021-08-01: :class:`VpnSiteLinksOperations` """ api_version = self._get_api_version('vpn_site_links') @@ -8543,8 +8217,6 @@ def vpn_site_links(self): from ..v2020_11_01.aio.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnSiteLinksOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnSiteLinksOperations as OperationClass else: @@ -8578,7 +8250,6 @@ def vpn_sites(self): * 2020-08-01: :class:`VpnSitesOperations` * 2020-11-01: :class:`VpnSitesOperations` * 2021-02-01: :class:`VpnSitesOperations` - * 2021-05-01: :class:`VpnSitesOperations` * 2021-08-01: :class:`VpnSitesOperations` """ api_version = self._get_api_version('vpn_sites') @@ -8628,8 +8299,6 @@ def vpn_sites(self): from ..v2020_11_01.aio.operations import VpnSitesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnSitesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnSitesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnSitesOperations as OperationClass else: @@ -8663,7 +8332,6 @@ def vpn_sites_configuration(self): * 2020-08-01: :class:`VpnSitesConfigurationOperations` * 2020-11-01: :class:`VpnSitesConfigurationOperations` * 2021-02-01: :class:`VpnSitesConfigurationOperations` - * 2021-05-01: :class:`VpnSitesConfigurationOperations` * 2021-08-01: :class:`VpnSitesConfigurationOperations` """ api_version = self._get_api_version('vpn_sites_configuration') @@ -8713,8 +8381,6 @@ def vpn_sites_configuration(self): from ..v2020_11_01.aio.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import VpnSitesConfigurationOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import VpnSitesConfigurationOperations as OperationClass else: @@ -8742,7 +8408,6 @@ def web_application_firewall_policies(self): * 2020-08-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-11-01: :class:`WebApplicationFirewallPoliciesOperations` * 2021-02-01: :class:`WebApplicationFirewallPoliciesOperations` - * 2021-05-01: :class:`WebApplicationFirewallPoliciesOperations` * 2021-08-01: :class:`WebApplicationFirewallPoliciesOperations` """ api_version = self._get_api_version('web_application_firewall_policies') @@ -8780,8 +8445,6 @@ def web_application_firewall_policies(self): from ..v2020_11_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass else: @@ -8796,7 +8459,6 @@ def web_categories(self): * 2020-08-01: :class:`WebCategoriesOperations` * 2020-11-01: :class:`WebCategoriesOperations` * 2021-02-01: :class:`WebCategoriesOperations` - * 2021-05-01: :class:`WebCategoriesOperations` * 2021-08-01: :class:`WebCategoriesOperations` """ api_version = self._get_api_version('web_categories') @@ -8808,8 +8470,6 @@ def web_categories(self): from ..v2020_11_01.aio.operations import WebCategoriesOperations as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import WebCategoriesOperations as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import WebCategoriesOperations as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import WebCategoriesOperations as OperationClass else: diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py index 61e16dda8afc..e132f2465dc5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py @@ -9,16 +9,10 @@ # regenerated. # -------------------------------------------------------------------------- from msrest import Serializer, Deserializer -from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings +from typing import Any, AsyncIterable, Optional -from azure.core.async_paging import AsyncItemPaged, AsyncList -from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error -from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling +from azure.core.async_paging import AsyncItemPaged +from azure.core.polling import AsyncLROPoller class NetworkManagementClientOperationsMixin(object): @@ -76,8 +70,6 @@ async def begin_delete_bastion_shareable_link( # pylint: disable=inconsistent-r from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -150,8 +142,6 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -216,8 +206,6 @@ async def begin_get_active_sessions( from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -285,8 +273,6 @@ async def begin_put_bastion_shareable_link( from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -383,8 +369,6 @@ async def check_dns_name_availability( from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -445,8 +429,6 @@ def disconnect_active_sessions( from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -507,8 +489,6 @@ def get_bastion_shareable_link( from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: @@ -583,8 +563,6 @@ async def supported_security_providers( from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-02-01': from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2021-05-01': - from ..v2021_05_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2021-08-01': from ..v2021_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.pyTestMgmtNetworktest_network.json index d1ab44d01c7e..425c760a7c99 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:23 GMT", + "Date": "Thu, 28 Apr 2022 08:28:54 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,7 +111,7 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:23 GMT", + "Date": "Thu, 28 Apr 2022 08:28:54 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "7403bf0e-4480-47aa-9489-6f7344f85696", + "client-request-id": "8558096d-097f-45b6-ab58-3bcf75b6eade", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "7403bf0e-4480-47aa-9489-6f7344f85696", + "client-request-id": "8558096d-097f-45b6-ab58-3bcf75b6eade", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:23 GMT", + "Date": "Thu, 28 Apr 2022 08:28:54 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "104", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -232,11 +232,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/169f6b09-48cc-4564-8688-9dc02b1fe7dd?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e9ea86ea-63fe-44da-9211-7232e51757a8?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "628", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:24 GMT", + "Date": "Thu, 28 Apr 2022 08:28:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "1", @@ -246,19 +246,19 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9fb1cf0b-e226-4f8b-9b7f-313454fb36f3", - "x-ms-correlation-request-id": "a0bf3e82-b4bf-499a-a933-01c5f0dab701", + "x-ms-arm-service-request-id": "f0819f02-47e8-4661-8234-39b781f66756", + "x-ms-correlation-request-id": "25274c2e-1cc5-4060-9aa4-3bf2459574cb", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-routing-request-id": "EASTUS2:20220425T030025Z:a0bf3e82-b4bf-499a-a933-01c5f0dab701" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082856Z:25274c2e-1cc5-4060-9aa4-3bf2459574cb" }, "ResponseBody": { "name": "publicipname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname", - "etag": "W/\u002274616413-d5c3-4f42-b0e8-523ce315640e\u0022", + "etag": "W/\u00221086da8b-66c1-47e0-8ee4-d472631c061f\u0022", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "4c4deb17-7b4f-4894-9189-d00e603596d4", + "resourceGuid": "50cc0d24-715b-453a-bcfb-d0d61d2f28ef", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Dynamic", "idleTimeoutInMinutes": 4, @@ -272,13 +272,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/169f6b09-48cc-4564-8688-9dc02b1fe7dd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e9ea86ea-63fe-44da-9211-7232e51757a8?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -286,7 +286,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:25 GMT", + "Date": "Thu, 28 Apr 2022 08:28:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -297,10 +297,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2b9e99ec-014e-45f0-8f6e-d4275b6c1b1c", - "x-ms-correlation-request-id": "5c97cbd2-85ea-444c-84ff-e6c104ff9eb7", + "x-ms-arm-service-request-id": "b2fd1338-c7e6-4cfd-b892-06a016abe16f", + "x-ms-correlation-request-id": "e126a37f-3b51-40e6-8c15-912ddedf0fd3", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-routing-request-id": "EASTUS2:20220425T030026Z:5c97cbd2-85ea-444c-84ff-e6c104ff9eb7" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082857Z:e126a37f-3b51-40e6-8c15-912ddedf0fd3" }, "ResponseBody": { "status": "Succeeded" @@ -313,7 +313,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -321,8 +321,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:25 GMT", - "ETag": "W/\u0022ab8730b5-08b3-4717-9a39-c081e5e5879b\u0022", + "Date": "Thu, 28 Apr 2022 08:28:57 GMT", + "ETag": "W/\u00226b7632d7-eaf3-4c9b-9893-7b621a92de52\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -333,19 +333,19 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "7be50da6-444a-46c2-b1a4-34fcbc3d9532", - "x-ms-correlation-request-id": "d85fb206-0018-4e3b-8c57-97e8985e20c9", + "x-ms-arm-service-request-id": "4947f189-ce49-4fed-a9c0-c5f42c5130d6", + "x-ms-correlation-request-id": "1d42b182-b746-47bf-926c-4d763086a80e", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-routing-request-id": "EASTUS2:20220425T030026Z:d85fb206-0018-4e3b-8c57-97e8985e20c9" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082857Z:1d42b182-b746-47bf-926c-4d763086a80e" }, "ResponseBody": { "name": "publicipname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname", - "etag": "W/\u0022ab8730b5-08b3-4717-9a39-c081e5e5879b\u0022", + "etag": "W/\u00226b7632d7-eaf3-4c9b-9893-7b621a92de52\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "4c4deb17-7b4f-4894-9189-d00e603596d4", + "resourceGuid": "50cc0d24-715b-453a-bcfb-d0d61d2f28ef", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Dynamic", "idleTimeoutInMinutes": 4, @@ -367,7 +367,7 @@ "Connection": "keep-alive", "Content-Length": "92", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -382,11 +382,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8ee80174-1670-4b10-8bc9-2e4b8ef07d60?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f52e3384-b204-4800-94fe-569742d9e218?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "620", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:25 GMT", + "Date": "Thu, 28 Apr 2022 08:28:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -396,20 +396,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f296dd4a-2f9f-47ba-81d3-b354d57517ef", - "x-ms-correlation-request-id": "9428dc68-b4ea-42b0-b4ec-0b2967d0df24", + "x-ms-arm-service-request-id": "a783882f-e310-48f7-b8a0-a10ecd5a0fd8", + "x-ms-correlation-request-id": "79429b7d-c2f0-46e7-b926-2b7c10336c94", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-routing-request-id": "EASTUS2:20220425T030026Z:9428dc68-b4ea-42b0-b4ec-0b2967d0df24" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082858Z:79429b7d-c2f0-46e7-b926-2b7c10336c94" }, "ResponseBody": { "name": "virtualnetworkname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname", - "etag": "W/\u0022170df220-1b25-4086-bbba-bc308d1cd8ce\u0022", + "etag": "W/\u002299023354-fb4e-4893-9acf-c99c1f07a2a2\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "b1e37264-cda2-432c-961a-50223e2bf69c", + "resourceGuid": "aa2c809a-5f4f-4f46-97da-de521976c9db", "addressSpace": { "addressPrefixes": [ "10.0.0.0/16" @@ -422,13 +422,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8ee80174-1670-4b10-8bc9-2e4b8ef07d60?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f52e3384-b204-4800-94fe-569742d9e218?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -436,7 +436,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:28 GMT", + "Date": "Thu, 28 Apr 2022 08:29:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -447,10 +447,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "df1edff2-4601-4f52-823d-c92cc2fd59c2", - "x-ms-correlation-request-id": "283fe9ee-f067-47b2-aa85-751339809268", + "x-ms-arm-service-request-id": "fefabed0-5beb-45e0-adb4-d1df18268499", + "x-ms-correlation-request-id": "f97ff545-d014-468e-97da-88b0da7b5dc4", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-routing-request-id": "EASTUS2:20220425T030029Z:283fe9ee-f067-47b2-aa85-751339809268" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082901Z:f97ff545-d014-468e-97da-88b0da7b5dc4" }, "ResponseBody": { "status": "Succeeded" @@ -463,7 +463,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -471,8 +471,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:28 GMT", - "ETag": "W/\u0022bb347307-1da5-47fe-9cc4-a6a8b7b6f204\u0022", + "Date": "Thu, 28 Apr 2022 08:29:01 GMT", + "ETag": "W/\u002228a5f993-35bf-42cb-b7ca-6a4cee67dae0\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -483,20 +483,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3321855d-68f8-42f8-ac2b-c848f48ae7e6", - "x-ms-correlation-request-id": "9a4216f7-6b86-4635-b17f-a6bf4bc1f6cb", + "x-ms-arm-service-request-id": "308f75fd-02a9-4509-a821-85574108abc1", + "x-ms-correlation-request-id": "9ad66d65-ae96-425e-b0f8-657d42af2134", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-routing-request-id": "EASTUS2:20220425T030029Z:9a4216f7-6b86-4635-b17f-a6bf4bc1f6cb" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082901Z:9ad66d65-ae96-425e-b0f8-657d42af2134" }, "ResponseBody": { "name": "virtualnetworkname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname", - "etag": "W/\u0022bb347307-1da5-47fe-9cc4-a6a8b7b6f204\u0022", + "etag": "W/\u002228a5f993-35bf-42cb-b7ca-6a4cee67dae0\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "b1e37264-cda2-432c-961a-50223e2bf69c", + "resourceGuid": "aa2c809a-5f4f-4f46-97da-de521976c9db", "addressSpace": { "addressPrefixes": [ "10.0.0.0/16" @@ -517,7 +517,7 @@ "Connection": "keep-alive", "Content-Length": "92", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -532,11 +532,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c176d123-1eaf-464e-8af4-5c8593de5845?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9d644bc8-d1c1-4556-8997-e91da4909b02?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "624", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:29 GMT", + "Date": "Thu, 28 Apr 2022 08:29:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -546,20 +546,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2452cf10-e5cd-4570-9817-42b788b41efc", - "x-ms-correlation-request-id": "ac992a51-cd7d-441e-9c79-250ecf61c980", + "x-ms-arm-service-request-id": "6034b15d-bb8d-4e8e-bb62-998e798a1fe5", + "x-ms-correlation-request-id": "e3cb115f-7fb7-4bba-8c19-dec91311b496", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-routing-request-id": "EASTUS2:20220425T030030Z:ac992a51-cd7d-441e-9c79-250ecf61c980" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082901Z:e3cb115f-7fb7-4bba-8c19-dec91311b496" }, "ResponseBody": { "name": "rmvirtualnetworkname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname", - "etag": "W/\u0022932d1876-eb6e-4005-a934-a75988caed82\u0022", + "etag": "W/\u00229d9d4a06-9b9f-42bc-98d6-33e80810ad00\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "7b4314f5-5cd0-4b87-8dd3-ed77b8ca0f42", + "resourceGuid": "18eb49b2-98b7-43db-a3a2-b85096770c9b", "addressSpace": { "addressPrefixes": [ "10.2.0.0/16" @@ -572,13 +572,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c176d123-1eaf-464e-8af4-5c8593de5845?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9d644bc8-d1c1-4556-8997-e91da4909b02?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -586,7 +586,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:32 GMT", + "Date": "Thu, 28 Apr 2022 08:29:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -597,10 +597,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9bbb1242-ad30-4b51-bbb7-03b770c3762a", - "x-ms-correlation-request-id": "a075ec6a-21d1-4428-9ed2-be7eace2c3ab", + "x-ms-arm-service-request-id": "888ac97e-6c4f-4682-b988-ae71b43c6b58", + "x-ms-correlation-request-id": "6a32e5d5-95d9-42d3-ae0a-a9df04fd0faa", "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-routing-request-id": "EASTUS2:20220425T030033Z:a075ec6a-21d1-4428-9ed2-be7eace2c3ab" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082905Z:6a32e5d5-95d9-42d3-ae0a-a9df04fd0faa" }, "ResponseBody": { "status": "Succeeded" @@ -613,7 +613,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -621,8 +621,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:32 GMT", - "ETag": "W/\u002222ad07e3-5b8c-461b-859a-a4414c38ce73\u0022", + "Date": "Thu, 28 Apr 2022 08:29:04 GMT", + "ETag": "W/\u00220dbd4060-63bc-4e7e-a537-d390e599cfdb\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -633,20 +633,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0d25420d-5c58-4082-8e0d-e40b0e7197c8", - "x-ms-correlation-request-id": "96b1feeb-81e0-419f-86e9-712fd3313146", + "x-ms-arm-service-request-id": "dc2e8abf-13a7-45de-af17-26188a915bf1", + "x-ms-correlation-request-id": "15294464-2fbe-4aa9-a629-6bea4868a199", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-routing-request-id": "EASTUS2:20220425T030033Z:96b1feeb-81e0-419f-86e9-712fd3313146" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082905Z:15294464-2fbe-4aa9-a629-6bea4868a199" }, "ResponseBody": { "name": "rmvirtualnetworkname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname", - "etag": "W/\u002222ad07e3-5b8c-461b-859a-a4414c38ce73\u0022", + "etag": "W/\u00220dbd4060-63bc-4e7e-a537-d390e599cfdb\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "7b4314f5-5cd0-4b87-8dd3-ed77b8ca0f42", + "resourceGuid": "18eb49b2-98b7-43db-a3a2-b85096770c9b", "addressSpace": { "addressPrefixes": [ "10.2.0.0/16" @@ -667,7 +667,7 @@ "Connection": "keep-alive", "Content-Length": "48", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -676,11 +676,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7072f6e7-58fa-4ee5-aeb1-87408f7508cd?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1dffe92e-975d-4da4-91e1-37f960c12094?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "535", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:32 GMT", + "Date": "Thu, 28 Apr 2022 08:29:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -690,15 +690,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9fd39e36-38a7-449b-9984-fffc5b99bd47", - "x-ms-correlation-request-id": "552f66d0-3716-49d9-aba1-25c68c313abf", + "x-ms-arm-service-request-id": "1a863441-3705-45fa-bca2-06775d20897c", + "x-ms-correlation-request-id": "e8d37057-b9df-4f59-a841-d8709cd3322d", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-routing-request-id": "EASTUS2:20220425T030033Z:552f66d0-3716-49d9-aba1-25c68c313abf" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082905Z:e8d37057-b9df-4f59-a841-d8709cd3322d" }, "ResponseBody": { "name": "subnetname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname", - "etag": "W/\u0022b9966c9b-03e6-4cf9-aa01-c6a428171392\u0022", + "etag": "W/\u002252505dc1-6e10-4fa2-a4d8-41d4db17c64a\u0022", "properties": { "provisioningState": "Updating", "addressPrefix": "10.0.0.0/24", @@ -710,13 +710,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7072f6e7-58fa-4ee5-aeb1-87408f7508cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1dffe92e-975d-4da4-91e1-37f960c12094?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -724,7 +724,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:36 GMT", + "Date": "Thu, 28 Apr 2022 08:29:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -735,10 +735,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a8ab5de5-0702-49c4-8cc0-15d916196b2a", - "x-ms-correlation-request-id": "8da11256-2ae1-48f0-9125-be6379205bea", + "x-ms-arm-service-request-id": "c00aa86e-fbf8-4f53-b457-bec4b2f72d57", + "x-ms-correlation-request-id": "8a3eb021-4261-4206-bd99-15cd3c9f2fa6", "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-routing-request-id": "EASTUS2:20220425T030036Z:8da11256-2ae1-48f0-9125-be6379205bea" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082908Z:8a3eb021-4261-4206-bd99-15cd3c9f2fa6" }, "ResponseBody": { "status": "Succeeded" @@ -751,7 +751,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -759,8 +759,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:36 GMT", - "ETag": "W/\u0022ba32e0b5-92ef-4f85-84ed-2c172eaf9716\u0022", + "Date": "Thu, 28 Apr 2022 08:29:08 GMT", + "ETag": "W/\u00227da4ac1d-a2f5-4cbf-9d8a-e3207c1c78f5\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -771,15 +771,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "22b4ccc4-237b-49a9-aa10-26d3837ab839", - "x-ms-correlation-request-id": "257dc24c-1ca2-422d-a270-c493fa1a6b3a", + "x-ms-arm-service-request-id": "b6be6139-e009-44d0-a98b-bd3cc8fa7502", + "x-ms-correlation-request-id": "2f325e39-faac-4cb7-b46e-1a1841a1d51b", "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-routing-request-id": "EASTUS2:20220425T030036Z:257dc24c-1ca2-422d-a270-c493fa1a6b3a" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082908Z:2f325e39-faac-4cb7-b46e-1a1841a1d51b" }, "ResponseBody": { "name": "subnetname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname", - "etag": "W/\u0022ba32e0b5-92ef-4f85-84ed-2c172eaf9716\u0022", + "etag": "W/\u00227da4ac1d-a2f5-4cbf-9d8a-e3207c1c78f5\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.0.0/24", @@ -799,7 +799,7 @@ "Connection": "keep-alive", "Content-Length": "275", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -819,11 +819,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e638b77f-1285-4f5a-ad2c-6f06dbdb0d08?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6bf3b277-5f65-4f4d-8f6c-6db7a606e734?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1712", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:00:37 GMT", + "Date": "Thu, 28 Apr 2022 08:29:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -832,24 +832,24 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f7c2483d-75c7-42ab-b962-2a1f06196b94", - "x-ms-correlation-request-id": "60c1e69f-ae2a-4b86-836c-e7cb35b25d0d", + "x-ms-arm-service-request-id": "318f6760-1df0-4934-9bb4-fb0fd2ac18ed", + "x-ms-correlation-request-id": "6da8fc80-5479-4a49-afe0-bcfaa820df47", "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-routing-request-id": "EASTUS2:20220425T030037Z:60c1e69f-ae2a-4b86-836c-e7cb35b25d0d" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082909Z:6da8fc80-5479-4a49-afe0-bcfaa820df47" }, "ResponseBody": { "name": "networkinterfacename", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename", - "etag": "W/\u00229b9ca0e7-7568-4075-97dc-e8ecb22f3ce9\u0022", + "etag": "W/\u00220e8f79f0-52f0-48e2-93c8-a4960f3c552a\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "30781912-a835-4372-861b-52c7237c4f8b", + "resourceGuid": "4f2ebc4c-83b6-431d-b332-9275fad750de", "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig", - "etag": "W/\u00229b9ca0e7-7568-4075-97dc-e8ecb22f3ce9\u0022", + "etag": "W/\u00220e8f79f0-52f0-48e2-93c8-a4960f3c552a\u0022", "type": "Microsoft.Network/networkInterfaces/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -866,7 +866,7 @@ "dnsSettings": { "dnsServers": [], "appliedDnsServers": [], - "internalDomainNameSuffix": "mrzohmnczuwehfq0kard2k5wte.bx.internal.cloudapp.net" + "internalDomainNameSuffix": "tkaczkspl3de5f401zjbs3wj1d.bx.internal.cloudapp.net" }, "enableAcceleratedNetworking": false, "vnetEncryptionSupported": false, @@ -880,13 +880,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e638b77f-1285-4f5a-ad2c-6f06dbdb0d08?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6bf3b277-5f65-4f4d-8f6c-6db7a606e734?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -894,7 +894,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:06 GMT", + "Date": "Thu, 28 Apr 2022 08:29:38 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -905,10 +905,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d1cd0436-03e2-4951-9a0b-34c1db41b378", - "x-ms-correlation-request-id": "bf3b2013-d315-4173-9e8e-848506077bd6", + "x-ms-arm-service-request-id": "1027da01-096d-411a-9e1b-5bec0888c137", + "x-ms-correlation-request-id": "74a3628c-ec3d-4fc3-b3e1-5aba5128f408", "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-routing-request-id": "EASTUS2:20220425T030107Z:bf3b2013-d315-4173-9e8e-848506077bd6" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082939Z:74a3628c-ec3d-4fc3-b3e1-5aba5128f408" }, "ResponseBody": { "status": "Succeeded" @@ -921,7 +921,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -929,8 +929,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:06 GMT", - "ETag": "W/\u00229b9ca0e7-7568-4075-97dc-e8ecb22f3ce9\u0022", + "Date": "Thu, 28 Apr 2022 08:29:38 GMT", + "ETag": "W/\u00220e8f79f0-52f0-48e2-93c8-a4960f3c552a\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -941,24 +941,24 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d011f45a-5c00-4462-8ee3-83c308476a6e", - "x-ms-correlation-request-id": "f063986e-a416-4bbf-ae23-a7afb1839efc", + "x-ms-arm-service-request-id": "5ac83ab7-4459-4b85-9b69-e18fa7bdc564", + "x-ms-correlation-request-id": "444fc58a-7bfc-4297-a348-3878030c882f", "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-routing-request-id": "EASTUS2:20220425T030107Z:f063986e-a416-4bbf-ae23-a7afb1839efc" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082939Z:444fc58a-7bfc-4297-a348-3878030c882f" }, "ResponseBody": { "name": "networkinterfacename", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename", - "etag": "W/\u00229b9ca0e7-7568-4075-97dc-e8ecb22f3ce9\u0022", + "etag": "W/\u00220e8f79f0-52f0-48e2-93c8-a4960f3c552a\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "30781912-a835-4372-861b-52c7237c4f8b", + "resourceGuid": "4f2ebc4c-83b6-431d-b332-9275fad750de", "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig", - "etag": "W/\u00229b9ca0e7-7568-4075-97dc-e8ecb22f3ce9\u0022", + "etag": "W/\u00220e8f79f0-52f0-48e2-93c8-a4960f3c552a\u0022", "type": "Microsoft.Network/networkInterfaces/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -975,7 +975,7 @@ "dnsSettings": { "dnsServers": [], "appliedDnsServers": [], - "internalDomainNameSuffix": "mrzohmnczuwehfq0kard2k5wte.bx.internal.cloudapp.net" + "internalDomainNameSuffix": "tkaczkspl3de5f401zjbs3wj1d.bx.internal.cloudapp.net" }, "enableAcceleratedNetworking": false, "vnetEncryptionSupported": false, @@ -997,7 +997,7 @@ "Connection": "keep-alive", "Content-Length": "48", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -1006,11 +1006,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ff30af07-3976-41a7-80a5-4dda4a99a79e?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/73b2f336-b045-46b8-8d42-72ffff0d0ea1?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "541", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:07 GMT", + "Date": "Thu, 28 Apr 2022 08:29:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -1020,15 +1020,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "512d7f8d-767c-4637-8341-c12c7b378df5", - "x-ms-correlation-request-id": "79f9a7aa-4697-4305-bc44-a8d21635b264", + "x-ms-arm-service-request-id": "de5ce051-6cfd-4754-a4cf-88808c2479c3", + "x-ms-correlation-request-id": "6cce7568-e9c2-47b2-94a4-7a9552a7b8c5", "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-routing-request-id": "EASTUS2:20220425T030107Z:79f9a7aa-4697-4305-bc44-a8d21635b264" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082939Z:6cce7568-e9c2-47b2-94a4-7a9552a7b8c5" }, "ResponseBody": { "name": "GatewaySubnet", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet", - "etag": "W/\u0022c389251c-1299-4cef-b2be-aa0deac43f4f\u0022", + "etag": "W/\u002289409eb7-337c-4d99-af51-61b226b34943\u0022", "properties": { "provisioningState": "Updating", "addressPrefix": "10.0.1.0/24", @@ -1040,13 +1040,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ff30af07-3976-41a7-80a5-4dda4a99a79e?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/73b2f336-b045-46b8-8d42-72ffff0d0ea1?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1054,7 +1054,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:10 GMT", + "Date": "Thu, 28 Apr 2022 08:29:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1065,10 +1065,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "92224181-9b13-4dd6-a49f-dc951965dc57", - "x-ms-correlation-request-id": "ef714592-a9e9-43ad-be3c-14fe9f071437", + "x-ms-arm-service-request-id": "10b70ce9-5c73-46ac-898d-95ced2a2317c", + "x-ms-correlation-request-id": "7528912e-f529-4b99-ac72-7d1c4796fba2", "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-routing-request-id": "EASTUS2:20220425T030110Z:ef714592-a9e9-43ad-be3c-14fe9f071437" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082942Z:7528912e-f529-4b99-ac72-7d1c4796fba2" }, "ResponseBody": { "status": "Succeeded" @@ -1081,7 +1081,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1089,8 +1089,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:10 GMT", - "ETag": "W/\u00223c17130b-df57-4266-bf2d-3e9f9e0bfa43\u0022", + "Date": "Thu, 28 Apr 2022 08:29:42 GMT", + "ETag": "W/\u00223596ae8f-40b9-40b8-bb77-c3b2dd6877b0\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1101,15 +1101,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "70242b5b-6104-4105-a97e-3a8ce3964c95", - "x-ms-correlation-request-id": "8563500e-5062-49ef-b020-b424122a30dd", + "x-ms-arm-service-request-id": "200d873b-0060-4f67-9956-a22d345f6416", + "x-ms-correlation-request-id": "d2578e42-2458-4135-b589-0a6de04393d9", "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-routing-request-id": "EASTUS2:20220425T030110Z:8563500e-5062-49ef-b020-b424122a30dd" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082942Z:d2578e42-2458-4135-b589-0a6de04393d9" }, "ResponseBody": { "name": "GatewaySubnet", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet", - "etag": "W/\u00223c17130b-df57-4266-bf2d-3e9f9e0bfa43\u0022", + "etag": "W/\u00223596ae8f-40b9-40b8-bb77-c3b2dd6877b0\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.1.0/24", @@ -1129,7 +1129,7 @@ "Connection": "keep-alive", "Content-Length": "139", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -1145,11 +1145,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f03206a8-4ed9-4ff5-85e5-98df17970038?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7b24eb39-eaed-4135-9fff-9e2be44999a8?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "601", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:10 GMT", + "Date": "Thu, 28 Apr 2022 08:29:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1159,20 +1159,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ecf75e40-8fcc-4208-aa05-6fe65219c373", - "x-ms-correlation-request-id": "bd8418fb-9412-45d8-bc9e-af0b96214b58", + "x-ms-arm-service-request-id": "f0247127-bf49-446a-b888-b3f7f193c398", + "x-ms-correlation-request-id": "2c629448-fed6-42f5-884a-24f9ae1ecb80", "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-routing-request-id": "EASTUS2:20220425T030111Z:bd8418fb-9412-45d8-bc9e-af0b96214b58" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082943Z:2c629448-fed6-42f5-884a-24f9ae1ecb80" }, "ResponseBody": { "name": "localnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname", - "etag": "W/\u0022ca0d62c8-347e-4abf-979a-9c822564d1d8\u0022", + "etag": "W/\u0022e1e5ecc1-9812-41da-b8bb-adffaedaef82\u0022", "type": "Microsoft.Network/localNetworkGateways", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "e5f0813e-5296-44a4-9dab-f7071f895040", + "resourceGuid": "27ea274e-d962-4939-a89e-7b2f5572f4a5", "localNetworkAddressSpace": { "addressPrefixes": [ "10.1.0.0/16" @@ -1183,13 +1183,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f03206a8-4ed9-4ff5-85e5-98df17970038?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7b24eb39-eaed-4135-9fff-9e2be44999a8?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1197,7 +1197,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:20 GMT", + "Date": "Thu, 28 Apr 2022 08:29:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1208,10 +1208,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d9b2f7bb-a7b5-4277-8345-857605b2aea1", - "x-ms-correlation-request-id": "447c5aa5-a8f6-4fce-bc16-6c7337fb82fb", + "x-ms-arm-service-request-id": "ec922643-fa53-4d24-a7e5-47acfbdfc552", + "x-ms-correlation-request-id": "4438e2fd-e29b-4b6e-bfa7-a8c94fcbc4bc", "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-routing-request-id": "EASTUS2:20220425T030121Z:447c5aa5-a8f6-4fce-bc16-6c7337fb82fb" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082953Z:4438e2fd-e29b-4b6e-bfa7-a8c94fcbc4bc" }, "ResponseBody": { "status": "Succeeded" @@ -1224,7 +1224,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1232,8 +1232,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:20 GMT", - "ETag": "W/\u00220b00875d-fbe5-4c37-bcd2-405da249cd0b\u0022", + "Date": "Thu, 28 Apr 2022 08:29:52 GMT", + "ETag": "W/\u0022ab94c267-131a-4da4-b74d-4d0a55394b15\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1244,20 +1244,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "38336399-915d-44e8-ab0e-30672c58f1d0", - "x-ms-correlation-request-id": "07cf2b94-c9f7-425e-8a3a-09e520fc8b2c", + "x-ms-arm-service-request-id": "4455e0aa-a5b9-4cc8-92ad-efaec589dfef", + "x-ms-correlation-request-id": "3a25d93d-e00d-4847-84d4-79c83e6188a8", "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-routing-request-id": "EASTUS2:20220425T030121Z:07cf2b94-c9f7-425e-8a3a-09e520fc8b2c" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082953Z:3a25d93d-e00d-4847-84d4-79c83e6188a8" }, "ResponseBody": { "name": "localnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname", - "etag": "W/\u00220b00875d-fbe5-4c37-bcd2-405da249cd0b\u0022", + "etag": "W/\u0022ab94c267-131a-4da4-b74d-4d0a55394b15\u0022", "type": "Microsoft.Network/localNetworkGateways", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "e5f0813e-5296-44a4-9dab-f7071f895040", + "resourceGuid": "27ea274e-d962-4939-a89e-7b2f5572f4a5", "localNetworkAddressSpace": { "addressPrefixes": [ "10.1.0.0/16" @@ -1276,7 +1276,7 @@ "Connection": "keep-alive", "Content-Length": "762", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -1318,11 +1318,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "2774", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:21 GMT", + "Date": "Thu, 28 Apr 2022 08:29:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1332,27 +1332,27 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e0ad0c18-ed43-44b1-a38f-a3c6979460e5", - "x-ms-correlation-request-id": "7c90b376-3539-4be6-8447-703981faa518", + "x-ms-arm-service-request-id": "13e7c2ff-fb3e-4fd1-837e-b358d33652b9", + "x-ms-correlation-request-id": "255ef018-cd59-4ab1-b628-388adaeaf61c", "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-routing-request-id": "EASTUS2:20220425T030121Z:7c90b376-3539-4be6-8447-703981faa518" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T082954Z:255ef018-cd59-4ab1-b628-388adaeaf61c" }, "ResponseBody": { "name": "virtualnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname", - "etag": "W/\u0022979bc640-f525-4b65-ad60-09a6eb6c47f6\u0022", + "etag": "W/\u0022a1a5b34b-f7ba-496d-86cd-1285b196734b\u0022", "type": "Microsoft.Network/virtualNetworkGateways", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "e2ba41e8-94cb-4437-9884-07bb261a33e5", + "resourceGuid": "c7ca961b-ab52-4d65-a2ab-740bc758765f", "packetCaptureDiagnosticState": "None", "enablePrivateIpAddress": false, "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig", - "etag": "W/\u0022979bc640-f525-4b65-ad60-09a6eb6c47f6\u0022", + "etag": "W/\u0022a1a5b34b-f7ba-496d-86cd-1285b196734b\u0022", "type": "Microsoft.Network/virtualNetworkGateways/ipConfigurations", "properties": { "provisioningState": "Updating", @@ -1412,13 +1412,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1426,7 +1426,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:31 GMT", + "Date": "Thu, 28 Apr 2022 08:30:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1438,23 +1438,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9de6e325-bcf5-45d1-9b90-572664e65fbc", - "x-ms-correlation-request-id": "dd235554-e4ce-43c2-a57f-4a97b8eaf0a6", + "x-ms-arm-service-request-id": "329c583f-caf9-4a68-8823-4e1ce8c14f1b", + "x-ms-correlation-request-id": "be94673e-a502-45ec-a252-fff82d51eeb4", "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-routing-request-id": "EASTUS2:20220425T030131Z:dd235554-e4ce-43c2-a57f-4a97b8eaf0a6" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083004Z:be94673e-a502-45ec-a252-fff82d51eeb4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1462,7 +1462,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:01:41 GMT", + "Date": "Thu, 28 Apr 2022 08:30:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -1474,23 +1474,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bc618c0c-8207-42c1-9ecf-2a92bd444f7c", - "x-ms-correlation-request-id": "64e5c8b9-ab3a-48aa-9376-02a7784e2a8d", + "x-ms-arm-service-request-id": "e4f732ef-6c72-46e7-9fc0-e20937626cc8", + "x-ms-correlation-request-id": "cec84b81-9e39-4a0e-aaf8-5c04eb0ac444", "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-routing-request-id": "EASTUS2:20220425T030142Z:64e5c8b9-ab3a-48aa-9376-02a7784e2a8d" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083015Z:cec84b81-9e39-4a0e-aaf8-5c04eb0ac444" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1498,7 +1498,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:02:01 GMT", + "Date": "Thu, 28 Apr 2022 08:30:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -1510,23 +1510,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3086dabb-f036-4b18-890a-8b1531c87754", - "x-ms-correlation-request-id": "d7ede88f-6c65-486f-b386-ef69814abb3b", + "x-ms-arm-service-request-id": "9aaa7878-6592-4d66-8eb7-879b897af644", + "x-ms-correlation-request-id": "5fb3e010-02ef-4be2-9876-566f0103345d", "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-routing-request-id": "EASTUS2:20220425T030202Z:d7ede88f-6c65-486f-b386-ef69814abb3b" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083035Z:5fb3e010-02ef-4be2-9876-566f0103345d" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1534,7 +1534,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:02:21 GMT", + "Date": "Thu, 28 Apr 2022 08:30:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -1546,23 +1546,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "61a8a392-ec57-4a4a-adfa-3390f06a6dfd", - "x-ms-correlation-request-id": "71864d27-e131-442b-b490-03083545c2bb", + "x-ms-arm-service-request-id": "1841c77c-9afc-4ef9-a3f6-9b677f9b0287", + "x-ms-correlation-request-id": "9f682443-1d72-4057-b047-b333ee729e6f", "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-routing-request-id": "EASTUS2:20220425T030222Z:71864d27-e131-442b-b490-03083545c2bb" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083055Z:9f682443-1d72-4057-b047-b333ee729e6f" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1570,7 +1570,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:03:01 GMT", + "Date": "Thu, 28 Apr 2022 08:31:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -1582,23 +1582,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2f3d5065-8169-49fa-b272-e658b1ef06b8", - "x-ms-correlation-request-id": "4581eb24-e634-4f36-bdb2-02384423c69f", + "x-ms-arm-service-request-id": "7f39d001-822b-4738-b404-fec25adc0bed", + "x-ms-correlation-request-id": "ddfa60ce-cd82-4daa-ae94-4e217b63599d", "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-routing-request-id": "EASTUS2:20220425T030302Z:4581eb24-e634-4f36-bdb2-02384423c69f" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083135Z:ddfa60ce-cd82-4daa-ae94-4e217b63599d" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1606,7 +1606,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:03:42 GMT", + "Date": "Thu, 28 Apr 2022 08:32:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -1618,23 +1618,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "62223351-8a7e-4904-ac44-ec3efcbaf6f6", - "x-ms-correlation-request-id": "b8755ec0-6dd2-4ead-83ee-0457f190e713", + "x-ms-arm-service-request-id": "f35e3328-03e6-4668-ad2f-3ef4295a03bd", + "x-ms-correlation-request-id": "8d254fc1-77a9-4c86-87ac-eba38b8b0893", "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-routing-request-id": "EASTUS2:20220425T030342Z:b8755ec0-6dd2-4ead-83ee-0457f190e713" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083215Z:8d254fc1-77a9-4c86-87ac-eba38b8b0893" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1642,7 +1642,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:05:02 GMT", + "Date": "Thu, 28 Apr 2022 08:33:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -1654,23 +1654,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c028aecf-9e84-4369-9647-0ab9bb2b57a4", - "x-ms-correlation-request-id": "c73bad61-2eb5-44c4-934e-a7e949933e3f", + "x-ms-arm-service-request-id": "5791e670-d58b-490d-8245-13d86e1793fb", + "x-ms-correlation-request-id": "c346dac7-1370-45d8-b08a-f36c03bec82e", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-routing-request-id": "EASTUS2:20220425T030502Z:c73bad61-2eb5-44c4-934e-a7e949933e3f" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083335Z:c346dac7-1370-45d8-b08a-f36c03bec82e" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1678,7 +1678,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:07:41 GMT", + "Date": "Thu, 28 Apr 2022 08:36:15 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1690,23 +1690,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1f93fa92-2fbe-4168-b697-7926b7c3660e", - "x-ms-correlation-request-id": "0fa19384-940f-45d2-890e-53877e30ce1e", + "x-ms-arm-service-request-id": "5bf85209-20ed-452a-a5cc-8c58d91dc325", + "x-ms-correlation-request-id": "58e50bea-2caa-444d-af83-5e355607cc94", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-routing-request-id": "EASTUS2:20220425T030742Z:0fa19384-940f-45d2-890e-53877e30ce1e" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083616Z:58e50bea-2caa-444d-af83-5e355607cc94" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1714,7 +1714,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:09:22 GMT", + "Date": "Thu, 28 Apr 2022 08:37:55 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1726,23 +1726,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2c59367e-b06e-4179-b4eb-498188cf7a89", - "x-ms-correlation-request-id": "382d6feb-2657-495b-a2e9-d286978db4b7", + "x-ms-arm-service-request-id": "464ae2b5-263c-4e8d-b101-1bb7d920897d", + "x-ms-correlation-request-id": "32f156ea-8ec9-4239-a1a1-41060076885e", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-routing-request-id": "EASTUS2:20220425T030922Z:382d6feb-2657-495b-a2e9-d286978db4b7" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083756Z:32f156ea-8ec9-4239-a1a1-41060076885e" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1750,7 +1750,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:11:02 GMT", + "Date": "Thu, 28 Apr 2022 08:39:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1762,23 +1762,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "824d343a-ae07-463e-9c77-0185942ab498", - "x-ms-correlation-request-id": "c30ab5e7-44c2-4937-877c-4fb4aea8103a", + "x-ms-arm-service-request-id": "65bfd015-2813-4f81-93b2-ce279ced936d", + "x-ms-correlation-request-id": "ebc902f2-133b-4fec-8a95-39121bbe6459", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-routing-request-id": "EASTUS2:20220425T031103Z:c30ab5e7-44c2-4937-877c-4fb4aea8103a" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T083936Z:ebc902f2-133b-4fec-8a95-39121bbe6459" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1786,7 +1786,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:12:42 GMT", + "Date": "Thu, 28 Apr 2022 08:41:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1798,23 +1798,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "88278177-d158-487c-a40c-5e7526baece9", - "x-ms-correlation-request-id": "ffcd91b3-d387-4a00-995b-b012b36d1cd4", + "x-ms-arm-service-request-id": "fe544408-c7e8-4c1b-b726-7fe49c92b5ed", + "x-ms-correlation-request-id": "fd982e1e-1c57-4752-92b4-22b6aa66e5ee", "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-routing-request-id": "EASTUS2:20220425T031243Z:ffcd91b3-d387-4a00-995b-b012b36d1cd4" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T084116Z:fd982e1e-1c57-4752-92b4-22b6aa66e5ee" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1822,7 +1822,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:14:22 GMT", + "Date": "Thu, 28 Apr 2022 08:42:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1834,23 +1834,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b4a9b736-c168-4ee5-80f8-27e78ad0c48b", - "x-ms-correlation-request-id": "88b4c63d-31cf-4911-aa9a-d592119d8f72", + "x-ms-arm-service-request-id": "c5679620-4bfb-40df-b92c-d53225227320", + "x-ms-correlation-request-id": "5acb9edf-b579-4bbd-ac17-77da9527b761", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-routing-request-id": "EASTUS2:20220425T031423Z:88b4c63d-31cf-4911-aa9a-d592119d8f72" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T084257Z:5acb9edf-b579-4bbd-ac17-77da9527b761" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1858,7 +1858,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:16:03 GMT", + "Date": "Thu, 28 Apr 2022 08:44:37 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1870,23 +1870,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "33577b7d-b3aa-414f-a2af-7abd04c6b367", - "x-ms-correlation-request-id": "1a752b69-4b2d-4258-a5d1-c469b0515c3f", + "x-ms-arm-service-request-id": "13b3dfae-664a-4413-be11-5b757cd9843a", + "x-ms-correlation-request-id": "b23983e3-204d-405d-8cd0-2f26f8a72d42", "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-routing-request-id": "EASTUS2:20220425T031603Z:1a752b69-4b2d-4258-a5d1-c469b0515c3f" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T084437Z:b23983e3-204d-405d-8cd0-2f26f8a72d42" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1894,7 +1894,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:17:43 GMT", + "Date": "Thu, 28 Apr 2022 08:46:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1906,23 +1906,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f4e24d69-7e9e-40ee-ac71-6aec34d1d011", - "x-ms-correlation-request-id": "4c196c0c-e905-40ff-a866-786a1cd52cba", + "x-ms-arm-service-request-id": "cd92dac6-c7f1-4468-a051-f2a574b20e9f", + "x-ms-correlation-request-id": "feff1c9a-12ef-4417-95ad-531b4d6e0efa", "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-routing-request-id": "EASTUS2:20220425T031743Z:4c196c0c-e905-40ff-a866-786a1cd52cba" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T084617Z:feff1c9a-12ef-4417-95ad-531b4d6e0efa" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1930,7 +1930,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:19:23 GMT", + "Date": "Thu, 28 Apr 2022 08:47:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1942,23 +1942,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "103e6685-6614-4851-b198-45fa791cb789", - "x-ms-correlation-request-id": "dcd73abd-3dcb-4639-9ee7-4dafa3ad1b3d", + "x-ms-arm-service-request-id": "65b32b0f-6967-450b-9f7b-fb7229ccd10b", + "x-ms-correlation-request-id": "27d7234d-739d-4122-9b0d-504ce6fc6bcb", "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-routing-request-id": "EASTUS2:20220425T031923Z:dcd73abd-3dcb-4639-9ee7-4dafa3ad1b3d" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T084757Z:27d7234d-739d-4122-9b0d-504ce6fc6bcb" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3bcf956b-f2e3-4707-8e55-065f2a9c38e4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1966,9 +1966,10 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:03 GMT", + "Date": "Thu, 28 Apr 2022 08:49:37 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "100", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -1977,10 +1978,81 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "043a7d50-faba-4e88-b8dc-63e87d9452c1", - "x-ms-correlation-request-id": "c3c0aba1-1875-4a09-99a7-d03d3f07ed07", + "x-ms-arm-service-request-id": "441d7853-9427-48ff-a269-c8a4e005ac30", + "x-ms-correlation-request-id": "a0b9eaef-20f3-4391-8579-696da939bbeb", "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-routing-request-id": "EASTUS2:20220425T032104Z:c3c0aba1-1875-4a09-99a7-d03d3f07ed07" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T084937Z:a0b9eaef-20f3-4391-8579-696da939bbeb" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 28 Apr 2022 08:51:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "100", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "b69233d1-6e57-487c-aadc-144882c2b719", + "x-ms-correlation-request-id": "9cf26355-c5cd-4bb3-805b-ab7f76e34ebc", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085118Z:9cf26355-c5cd-4bb3-805b-ab7f76e34ebc" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2dac113-833e-469e-bc80-2f6eb4a88776?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 28 Apr 2022 08:52:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "faadf1f7-1088-4c89-8b53-6c2cc8e355e0", + "x-ms-correlation-request-id": "0d1afcc4-08bb-4be4-98dc-97d2243507c5", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085258Z:0d1afcc4-08bb-4be4-98dc-97d2243507c5" }, "ResponseBody": { "status": "Succeeded" @@ -1993,7 +2065,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2001,7 +2073,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:03 GMT", + "Date": "Thu, 28 Apr 2022 08:52:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2012,27 +2084,27 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "58ad515f-8c46-4934-b5a1-e8d3688f3715", - "x-ms-correlation-request-id": "adbeeb14-6371-4e04-8038-bd4f6c1925c0", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-routing-request-id": "EASTUS2:20220425T032104Z:adbeeb14-6371-4e04-8038-bd4f6c1925c0" + "x-ms-arm-service-request-id": "4e564818-21a1-4c84-9a38-518f57214ce5", + "x-ms-correlation-request-id": "c97edd3a-933a-4842-a083-a2d0a8d937dd", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085258Z:c97edd3a-933a-4842-a083-a2d0a8d937dd" }, "ResponseBody": { "name": "virtualnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname", - "etag": "W/\u00227249151d-2721-48c9-8b85-5441285d4f09\u0022", + "etag": "W/\u0022caefed50-214a-4de9-a62d-46bfc75c720e\u0022", "type": "Microsoft.Network/virtualNetworkGateways", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "e2ba41e8-94cb-4437-9884-07bb261a33e5", + "resourceGuid": "c7ca961b-ab52-4d65-a2ab-740bc758765f", "packetCaptureDiagnosticState": "None", "enablePrivateIpAddress": false, "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig", - "etag": "W/\u00227249151d-2721-48c9-8b85-5441285d4f09\u0022", + "etag": "W/\u0022caefed50-214a-4de9-a62d-46bfc75c720e\u0022", "type": "Microsoft.Network/virtualNetworkGateways/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -2070,7 +2142,7 @@ ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "20.231.35.70" + "40.88.151.112" ] } ] @@ -2094,7 +2166,7 @@ "Connection": "keep-alive", "Content-Length": "314", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -2109,11 +2181,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/aa04e03a-85a3-4e33-9444-297d2d6082c1?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0aa10352-8c19-4602-afe3-0f21c0df0459?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1217", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:03 GMT", + "Date": "Thu, 28 Apr 2022 08:52:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -2123,18 +2195,18 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1e77f3c5-2c15-4208-8ce8-5684bb17b8c9", - "x-ms-correlation-request-id": "b3a25033-75b4-459f-9c44-0c8cb11518ce", + "x-ms-arm-service-request-id": "5b81b879-7aac-49f3-9f07-5d75a26e8222", + "x-ms-correlation-request-id": "d2f941a9-95e2-4a66-ab91-7e16b08ee16f", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-routing-request-id": "EASTUS2:20220425T032104Z:b3a25033-75b4-459f-9c44-0c8cb11518ce" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085258Z:d2f941a9-95e2-4a66-ab91-7e16b08ee16f" }, "ResponseBody": { "name": "virtualnetworkpeeringname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname", - "etag": "W/\u0022c1a00716-feea-41c9-90cf-9bcd79055c67\u0022", + "etag": "W/\u002221b18b7a-05f0-4de5-be15-6e40a0e626b3\u0022", "properties": { "provisioningState": "Updating", - "resourceGuid": "caa06691-9172-08ab-1bc9-bd5586e1f9de", + "resourceGuid": "b2c7c928-c7f8-0c9d-3478-66028f01c540", "peeringState": "Initiated", "peeringSyncLevel": "RemoteNotInSync", "remoteVirtualNetwork": { @@ -2162,13 +2234,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/aa04e03a-85a3-4e33-9444-297d2d6082c1?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0aa10352-8c19-4602-afe3-0f21c0df0459?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2176,7 +2248,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:14 GMT", + "Date": "Thu, 28 Apr 2022 08:53:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2187,10 +2259,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b3965ca0-72a8-47df-b41b-62ea29d1d170", - "x-ms-correlation-request-id": "b0c323d3-1f97-4f8a-afc4-b3399e9513c9", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-routing-request-id": "EASTUS2:20220425T032114Z:b0c323d3-1f97-4f8a-afc4-b3399e9513c9" + "x-ms-arm-service-request-id": "4e59dec5-5835-46c2-8cec-bb6249c0887e", + "x-ms-correlation-request-id": "9822db2b-3ece-4117-aeb3-72f08aac7b07", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085308Z:9822db2b-3ece-4117-aeb3-72f08aac7b07" }, "ResponseBody": { "status": "Succeeded" @@ -2203,7 +2275,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2211,8 +2283,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:14 GMT", - "ETag": "W/\u00223ece0aa8-9491-4d68-a423-e7f65733eef6\u0022", + "Date": "Thu, 28 Apr 2022 08:53:08 GMT", + "ETag": "W/\u00222f99700f-c343-48cc-9c80-92062246a768\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2223,18 +2295,18 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0fca455d-7332-4dd1-9881-a31bbfb3e79f", - "x-ms-correlation-request-id": "37d4d5b1-12e4-4110-b6d3-bf569deec7ad", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-routing-request-id": "EASTUS2:20220425T032114Z:37d4d5b1-12e4-4110-b6d3-bf569deec7ad" + "x-ms-arm-service-request-id": "e3ee5130-11e5-4c1b-bd39-4cbb24379c17", + "x-ms-correlation-request-id": "d41016fa-888a-4117-ab30-646679d36efb", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085308Z:d41016fa-888a-4117-ab30-646679d36efb" }, "ResponseBody": { "name": "virtualnetworkpeeringname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname", - "etag": "W/\u00223ece0aa8-9491-4d68-a423-e7f65733eef6\u0022", + "etag": "W/\u00222f99700f-c343-48cc-9c80-92062246a768\u0022", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "caa06691-9172-08ab-1bc9-bd5586e1f9de", + "resourceGuid": "b2c7c928-c7f8-0c9d-3478-66028f01c540", "peeringState": "Initiated", "peeringSyncLevel": "RemoteNotInSync", "remoteVirtualNetwork": { @@ -2270,7 +2342,7 @@ "Connection": "keep-alive", "Content-Length": "1619", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -2333,11 +2405,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/022e9673-f15c-4431-a71a-e062c6068c28?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e6749a2d-d329-42e0-bd06-61829196914b?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1380", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:15 GMT", + "Date": "Thu, 28 Apr 2022 08:53:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -2347,20 +2419,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "7be3e7c2-417e-432f-b7ac-dfd6fc3fa026", - "x-ms-correlation-request-id": "9650e15d-2c70-4e20-b45b-a21613dcb7c2", + "x-ms-arm-service-request-id": "688b4337-e987-4df0-8e36-3dd0f6ff19e4", + "x-ms-correlation-request-id": "016e4eee-8363-43a5-85f5-fdd8b0ee9ff0", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-routing-request-id": "EASTUS2:20220425T032115Z:9650e15d-2c70-4e20-b45b-a21613dcb7c2" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085310Z:016e4eee-8363-43a5-85f5-fdd8b0ee9ff0" }, "ResponseBody": { "name": "connectionname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname", - "etag": "W/\u002259970160-02df-430e-9079-90cfc468baf1\u0022", + "etag": "W/\u002233217090-7543-472b-a94f-5c41d1d593ac\u0022", "type": "Microsoft.Network/connections", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "0c4bc72c-8cb2-4c76-8e03-fbd02a2720bb", + "resourceGuid": "73c47da0-1e2c-4c87-abd7-4b80900d47cc", "packetCaptureDiagnosticState": "None", "virtualNetworkGateway1": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname" @@ -2387,13 +2459,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/022e9673-f15c-4431-a71a-e062c6068c28?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e6749a2d-d329-42e0-bd06-61829196914b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2401,7 +2473,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:25 GMT", + "Date": "Thu, 28 Apr 2022 08:53:19 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -2413,23 +2485,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d4b7b466-1d60-4878-9059-e69eb0fceece", - "x-ms-correlation-request-id": "78f19314-a012-43d7-9e04-79ed119801ff", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-routing-request-id": "EASTUS2:20220425T032125Z:78f19314-a012-43d7-9e04-79ed119801ff" + "x-ms-arm-service-request-id": "89e73551-29a2-475c-a489-e5c8a7604230", + "x-ms-correlation-request-id": "7b284b1c-2802-4187-b1dd-a170c2179fb4", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085320Z:7b284b1c-2802-4187-b1dd-a170c2179fb4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/022e9673-f15c-4431-a71a-e062c6068c28?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e6749a2d-d329-42e0-bd06-61829196914b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2437,7 +2509,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:35 GMT", + "Date": "Thu, 28 Apr 2022 08:53:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -2449,23 +2521,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "60a3eecc-beb5-47ce-b990-64f072b4869b", - "x-ms-correlation-request-id": "af80fe31-f535-41ad-964a-1aea7eff9bdb", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-routing-request-id": "EASTUS2:20220425T032135Z:af80fe31-f535-41ad-964a-1aea7eff9bdb" + "x-ms-arm-service-request-id": "bcceb6e8-9927-40d4-85a6-08c074670c80", + "x-ms-correlation-request-id": "22952d45-d126-49b9-af26-a8244207b103", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085330Z:22952d45-d126-49b9-af26-a8244207b103" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/022e9673-f15c-4431-a71a-e062c6068c28?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e6749a2d-d329-42e0-bd06-61829196914b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2473,7 +2545,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:21:54 GMT", + "Date": "Thu, 28 Apr 2022 08:53:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -2485,23 +2557,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d3b9269c-588e-42df-b172-41d71d263d55", - "x-ms-correlation-request-id": "4a37eb5b-d155-41e8-9ded-9cd982aec026", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-routing-request-id": "EASTUS2:20220425T032155Z:4a37eb5b-d155-41e8-9ded-9cd982aec026" + "x-ms-arm-service-request-id": "232b1e69-7d3f-4717-94a0-b77750fe59f2", + "x-ms-correlation-request-id": "fa0d7c1b-f792-445b-96f1-0b29f0ad32b3", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085350Z:fa0d7c1b-f792-445b-96f1-0b29f0ad32b3" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/022e9673-f15c-4431-a71a-e062c6068c28?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e6749a2d-d329-42e0-bd06-61829196914b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2509,9 +2581,10 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:22:15 GMT", + "Date": "Thu, 28 Apr 2022 08:54:10 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "40", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -2520,10 +2593,45 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a23717ea-098c-4c06-850c-80ca2221f3cc", - "x-ms-correlation-request-id": "43f3de91-a191-46da-b771-0bcd736b2f28", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-routing-request-id": "EASTUS2:20220425T032215Z:43f3de91-a191-46da-b771-0bcd736b2f28" + "x-ms-arm-service-request-id": "de91245b-eaf2-403a-88a8-577a11a811d4", + "x-ms-correlation-request-id": "6efaf0ed-db66-4a2b-a4c5-dbb76167cbd2", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085410Z:6efaf0ed-db66-4a2b-a4c5-dbb76167cbd2" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e6749a2d-d329-42e0-bd06-61829196914b?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 28 Apr 2022 08:54:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "a65fbaaa-cbe6-4955-9e0c-d3ed04ecd5f7", + "x-ms-correlation-request-id": "504cac08-0a25-4d52-a65c-9f5251ff0336", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085450Z:504cac08-0a25-4d52-a65c-9f5251ff0336" }, "ResponseBody": { "status": "Succeeded" @@ -2536,7 +2644,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2544,7 +2652,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:22:15 GMT", + "Date": "Thu, 28 Apr 2022 08:54:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2555,20 +2663,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bfb53afb-62f2-4eb5-8800-0300aa2557f7", - "x-ms-correlation-request-id": "5fcc9245-e375-43e4-b8e4-e8c1206d8fb3", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-routing-request-id": "EASTUS2:20220425T032216Z:5fcc9245-e375-43e4-b8e4-e8c1206d8fb3" + "x-ms-arm-service-request-id": "d5232760-b394-4010-9393-5a425b5eb892", + "x-ms-correlation-request-id": "56d45f83-305d-466d-b392-5b7616044c6e", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085451Z:56d45f83-305d-466d-b392-5b7616044c6e" }, "ResponseBody": { "name": "connectionname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname", - "etag": "W/\u0022c0efb927-0acf-45a7-a7b1-4129e0347fcd\u0022", + "etag": "W/\u00226e9a96fa-a74f-4962-b936-5f5199ee13db\u0022", "type": "Microsoft.Network/connections", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "0c4bc72c-8cb2-4c76-8e03-fbd02a2720bb", + "resourceGuid": "73c47da0-1e2c-4c87-abd7-4b80900d47cc", "packetCaptureDiagnosticState": "None", "virtualNetworkGateway1": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname" @@ -2604,17 +2712,17 @@ "Connection": "keep-alive", "Content-Length": "24", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "value": "AzureAbc123" }, "StatusCode": 200, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/adaaa7a1-04f5-40ca-a927-5321ea761f27?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812b2081-dada-4aea-b424-b32eb5ac9fec?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:22:15 GMT", + "Date": "Thu, 28 Apr 2022 08:54:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -2624,21 +2732,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4bf48776-0130-46f7-a02b-2f72e31f9774", - "x-ms-correlation-request-id": "491f78c4-3472-4bc5-874f-bb00da0945b8", + "x-ms-arm-service-request-id": "6d36555d-98c3-4df0-b57c-b04033528596", + "x-ms-correlation-request-id": "e2f25b81-dc67-4328-8609-fc507ca7d153", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-routing-request-id": "EASTUS2:20220425T032216Z:491f78c4-3472-4bc5-874f-bb00da0945b8" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085451Z:e2f25b81-dc67-4328-8609-fc507ca7d153" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/adaaa7a1-04f5-40ca-a927-5321ea761f27?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812b2081-dada-4aea-b424-b32eb5ac9fec?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2646,7 +2754,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:22:25 GMT", + "Date": "Thu, 28 Apr 2022 08:55:00 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -2658,23 +2766,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "144704e7-23ab-44ca-8728-0cfe97363577", - "x-ms-correlation-request-id": "6c58ff12-449f-4262-b240-52050a0bbad5", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-routing-request-id": "EASTUS2:20220425T032226Z:6c58ff12-449f-4262-b240-52050a0bbad5" + "x-ms-arm-service-request-id": "107a72d8-1114-4ca3-b316-9135974b877a", + "x-ms-correlation-request-id": "32c60bdc-641c-4414-b613-8d73a68fe0e8", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085501Z:32c60bdc-641c-4414-b613-8d73a68fe0e8" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/adaaa7a1-04f5-40ca-a927-5321ea761f27?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812b2081-dada-4aea-b424-b32eb5ac9fec?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2682,7 +2790,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:22:35 GMT", + "Date": "Thu, 28 Apr 2022 08:55:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -2694,23 +2802,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d5b63cb3-1809-46ee-a104-0ae6648c58bf", - "x-ms-correlation-request-id": "b88c9847-0fe8-48ed-a1df-6a809633fd8a", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-routing-request-id": "EASTUS2:20220425T032236Z:b88c9847-0fe8-48ed-a1df-6a809633fd8a" + "x-ms-arm-service-request-id": "e9594ce0-650d-44d0-a6c9-e478178673c6", + "x-ms-correlation-request-id": "728e79c6-4760-494f-92ac-8198b79f5534", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085511Z:728e79c6-4760-494f-92ac-8198b79f5534" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/adaaa7a1-04f5-40ca-a927-5321ea761f27?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812b2081-dada-4aea-b424-b32eb5ac9fec?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2718,7 +2826,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:22:55 GMT", + "Date": "Thu, 28 Apr 2022 08:55:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -2730,23 +2838,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "15c8fed5-2013-49bd-aeec-574ab4a47455", - "x-ms-correlation-request-id": "e926e108-2c3d-4512-8c8c-acc97c86574e", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-routing-request-id": "EASTUS2:20220425T032256Z:e926e108-2c3d-4512-8c8c-acc97c86574e" + "x-ms-arm-service-request-id": "2eaa69ac-73d6-4cda-ba88-f91456b6113d", + "x-ms-correlation-request-id": "29544f7f-3fc9-47a7-bdef-49ff2ace8e73", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085531Z:29544f7f-3fc9-47a7-bdef-49ff2ace8e73" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/adaaa7a1-04f5-40ca-a927-5321ea761f27?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812b2081-dada-4aea-b424-b32eb5ac9fec?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2754,7 +2862,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:16 GMT", + "Date": "Thu, 28 Apr 2022 08:55:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -2766,23 +2874,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "05233071-8647-4dca-8511-c868cba6350f", - "x-ms-correlation-request-id": "d6c469b7-6dc0-447a-ad6a-335f60149562", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-routing-request-id": "EASTUS2:20220425T032316Z:d6c469b7-6dc0-447a-ad6a-335f60149562" + "x-ms-arm-service-request-id": "61e5709f-ee92-4bd4-bc28-1125393d84cc", + "x-ms-correlation-request-id": "b8d7c364-72c3-4cf1-9681-b4857a244327", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085551Z:b8d7c364-72c3-4cf1-9681-b4857a244327" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/adaaa7a1-04f5-40ca-a927-5321ea761f27?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812b2081-dada-4aea-b424-b32eb5ac9fec?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2790,7 +2898,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:55 GMT", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2801,10 +2909,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "64f47a90-37bf-4e4a-a5cb-1d220f6281f6", - "x-ms-correlation-request-id": "5de76a1d-e7e6-4924-9e77-31157b6fd193", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:5de76a1d-e7e6-4924-9e77-31157b6fd193" + "x-ms-arm-service-request-id": "6ed41687-220c-4e53-9a9c-834466ca3127", + "x-ms-correlation-request-id": "154c4fc2-d870-4543-b4b8-1f4e4567d319", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085631Z:154c4fc2-d870-4543-b4b8-1f4e4567d319" }, "ResponseBody": { "status": "Succeeded" @@ -2817,7 +2925,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2825,7 +2933,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:55 GMT", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2836,10 +2944,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "fa7bb084-7289-4fb3-8f2a-75dd916b2934", - "x-ms-correlation-request-id": "03c0be4a-60a9-4079-be09-41fe56be07ea", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:03c0be4a-60a9-4079-be09-41fe56be07ea" + "x-ms-arm-service-request-id": "7338f205-c683-4fc1-8bb3-2647033a34b4", + "x-ms-correlation-request-id": "a3fac8eb-698d-4507-8bb7-37109128ac49", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085631Z:a3fac8eb-698d-4507-8bb7-37109128ac49" }, "ResponseBody": { "value": "AzureAbc123" @@ -2852,7 +2960,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2860,8 +2968,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:55 GMT", - "ETag": "W/\u00223ece0aa8-9491-4d68-a423-e7f65733eef6\u0022", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", + "ETag": "W/\u00222f99700f-c343-48cc-9c80-92062246a768\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2872,18 +2980,18 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6230d3d8-e06b-4b5e-b70c-7297ea14dd2f", - "x-ms-correlation-request-id": "48b5362d-55db-49e8-ba0f-3fc7a6cea551", - "x-ms-ratelimit-remaining-subscription-reads": "11975", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:48b5362d-55db-49e8-ba0f-3fc7a6cea551" + "x-ms-arm-service-request-id": "9cc6aa42-09df-4a63-b2fd-8a18fb58651e", + "x-ms-correlation-request-id": "4876e7d0-a7dc-479c-bfdc-b14abb6b6d7a", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085631Z:4876e7d0-a7dc-479c-bfdc-b14abb6b6d7a" }, "ResponseBody": { "name": "virtualnetworkpeeringname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname", - "etag": "W/\u00223ece0aa8-9491-4d68-a423-e7f65733eef6\u0022", + "etag": "W/\u00222f99700f-c343-48cc-9c80-92062246a768\u0022", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "caa06691-9172-08ab-1bc9-bd5586e1f9de", + "resourceGuid": "b2c7c928-c7f8-0c9d-3478-66028f01c540", "peeringState": "Initiated", "peeringSyncLevel": "RemoteNotInSync", "remoteVirtualNetwork": { @@ -2917,7 +3025,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2925,7 +3033,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:55 GMT", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2936,10 +3044,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d2971ebf-8be5-49be-af3b-3105e09ecb42", - "x-ms-correlation-request-id": "2e2e993f-423a-48e2-9dc6-5402ad22505d", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:2e2e993f-423a-48e2-9dc6-5402ad22505d" + "x-ms-arm-service-request-id": "0660f1d1-b01c-4b41-a5e2-99b837d00edf", + "x-ms-correlation-request-id": "f4d12db6-ad2c-4a4c-b4ef-6b5f1bde80e2", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085631Z:f4d12db6-ad2c-4a4c-b4ef-6b5f1bde80e2" }, "ResponseBody": { "value": [] @@ -2952,7 +3060,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2960,7 +3068,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:55 GMT", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2971,10 +3079,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2708775b-1795-4b25-8b53-aae369fa6d6d", - "x-ms-correlation-request-id": "43006dca-dc33-4822-8b88-55021947eb56", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:43006dca-dc33-4822-8b88-55021947eb56" + "x-ms-arm-service-request-id": "6a6d2965-c808-493b-bb0f-bda09004c83a", + "x-ms-correlation-request-id": "55696240-255d-4d33-9d7f-1d49bed59bdb", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085632Z:55696240-255d-4d33-9d7f-1d49bed59bdb" }, "ResponseBody": { "value": [] @@ -2987,7 +3095,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2995,7 +3103,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3006,10 +3114,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "41f2b750-9d03-4c8b-abbf-28709725755e", - "x-ms-correlation-request-id": "f4682296-25bb-4a07-8316-2517c0bdf767", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:f4682296-25bb-4a07-8316-2517c0bdf767" + "x-ms-arm-service-request-id": "419f7eca-4cee-401b-99d0-7ed14425b171", + "x-ms-correlation-request-id": "394abf6a-b42b-45f9-8073-5e199e9a874f", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085632Z:394abf6a-b42b-45f9-8073-5e199e9a874f" }, "ResponseBody": { "available": true, @@ -3023,7 +3131,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3031,8 +3139,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", - "ETag": "W/\u00228042f935-4a76-4282-80a5-8e41c7dc91ec\u0022", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", + "ETag": "W/\u0022c5b41670-1213-4d25-9cca-f015f4b74d2c\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3043,15 +3151,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "64b40887-978c-472c-b32f-d12db2b66798", - "x-ms-correlation-request-id": "7161485f-4dfc-4d30-a5ef-5da1d6fecbb2", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:7161485f-4dfc-4d30-a5ef-5da1d6fecbb2" + "x-ms-arm-service-request-id": "1cc476ed-4ca1-4dd9-9d1e-95a4ca34b8b5", + "x-ms-correlation-request-id": "0ac382f4-3ae6-494b-bdd2-22cceaaef79b", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085632Z:0ac382f4-3ae6-494b-bdd2-22cceaaef79b" }, "ResponseBody": { "name": "subnetname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname", - "etag": "W/\u00228042f935-4a76-4282-80a5-8e41c7dc91ec\u0022", + "etag": "W/\u0022c5b41670-1213-4d25-9cca-f015f4b74d2c\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.0.0/24", @@ -3074,7 +3182,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3082,7 +3190,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3093,27 +3201,27 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "885945bf-4f98-43ac-9ef8-55e1469b1a6c", - "x-ms-correlation-request-id": "18abd6cb-e57d-49d1-9226-76be07ea426a", - "x-ms-ratelimit-remaining-subscription-reads": "11970", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:18abd6cb-e57d-49d1-9226-76be07ea426a" + "x-ms-arm-service-request-id": "23215d15-975e-440f-b028-db96d086142e", + "x-ms-correlation-request-id": "2a2c4d0f-ceb5-449e-8d96-88fdcbb5b418", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085632Z:2a2c4d0f-ceb5-449e-8d96-88fdcbb5b418" }, "ResponseBody": { "name": "virtualnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname", - "etag": "W/\u0022feca8a8a-4120-44ae-aedd-0f6df7e9d3aa\u0022", + "etag": "W/\u002277ae8a84-2273-488e-9ce8-d49099c8de5f\u0022", "type": "Microsoft.Network/virtualNetworkGateways", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "e2ba41e8-94cb-4437-9884-07bb261a33e5", + "resourceGuid": "c7ca961b-ab52-4d65-a2ab-740bc758765f", "packetCaptureDiagnosticState": "None", "enablePrivateIpAddress": false, "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig", - "etag": "W/\u0022feca8a8a-4120-44ae-aedd-0f6df7e9d3aa\u0022", + "etag": "W/\u002277ae8a84-2273-488e-9ce8-d49099c8de5f\u0022", "type": "Microsoft.Network/virtualNetworkGateways/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -3151,7 +3259,7 @@ ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "20.231.35.70" + "40.88.151.112" ] } ] @@ -3173,7 +3281,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3181,8 +3289,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", - "ETag": "W/\u00220b00875d-fbe5-4c37-bcd2-405da249cd0b\u0022", + "Date": "Thu, 28 Apr 2022 08:56:31 GMT", + "ETag": "W/\u0022ab94c267-131a-4da4-b74d-4d0a55394b15\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3193,20 +3301,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "570f47c4-3785-4586-b33e-1894ff43d0bd", - "x-ms-correlation-request-id": "7b84545e-0981-4996-b05e-3e195c2a1a77", - "x-ms-ratelimit-remaining-subscription-reads": "11969", - "x-ms-routing-request-id": "EASTUS2:20220425T032356Z:7b84545e-0981-4996-b05e-3e195c2a1a77" + "x-ms-arm-service-request-id": "156f7481-9558-44c6-867d-b6090abb819e", + "x-ms-correlation-request-id": "43b90aae-e71d-4dfc-9d90-35d99d130a6f", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085632Z:43b90aae-e71d-4dfc-9d90-35d99d130a6f" }, "ResponseBody": { "name": "localnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname", - "etag": "W/\u00220b00875d-fbe5-4c37-bcd2-405da249cd0b\u0022", + "etag": "W/\u0022ab94c267-131a-4da4-b74d-4d0a55394b15\u0022", "type": "Microsoft.Network/localNetworkGateways", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "e5f0813e-5296-44a4-9dab-f7071f895040", + "resourceGuid": "27ea274e-d962-4939-a89e-7b2f5572f4a5", "localNetworkAddressSpace": { "addressPrefixes": [ "10.1.0.0/16" @@ -3223,7 +3331,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3231,7 +3339,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", + "Date": "Thu, 28 Apr 2022 08:56:32 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3242,10 +3350,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "453f31ed-501a-45ff-818b-eca37c833d5a", - "x-ms-correlation-request-id": "6b14c3d8-3e4a-40a0-aef3-8f0c92eb480d", - "x-ms-ratelimit-remaining-subscription-reads": "11968", - "x-ms-routing-request-id": "EASTUS2:20220425T032357Z:6b14c3d8-3e4a-40a0-aef3-8f0c92eb480d" + "x-ms-arm-service-request-id": "b387ebd0-c79a-4182-bc86-4b74b2101d88", + "x-ms-correlation-request-id": "0bb6b1e6-1f4c-4b42-8574-d96d8a96003b", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085632Z:0bb6b1e6-1f4c-4b42-8574-d96d8a96003b" }, "ResponseBody": { "value": "AzureAbc123" @@ -3258,7 +3366,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3266,8 +3374,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", - "ETag": "W/\u00228042f935-4a76-4282-80a5-8e41c7dc91ec\u0022", + "Date": "Thu, 28 Apr 2022 08:56:32 GMT", + "ETag": "W/\u0022c5b41670-1213-4d25-9cca-f015f4b74d2c\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3278,20 +3386,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e70b3e49-77c9-40e7-99cf-5d7514ad1997", - "x-ms-correlation-request-id": "b6cce79b-2a97-4d6f-b999-cdbe76bc2ab5", - "x-ms-ratelimit-remaining-subscription-reads": "11967", - "x-ms-routing-request-id": "EASTUS2:20220425T032357Z:b6cce79b-2a97-4d6f-b999-cdbe76bc2ab5" + "x-ms-arm-service-request-id": "0d7d3dcd-980f-461e-8e31-5655e9399c86", + "x-ms-correlation-request-id": "998f4e64-4639-4c19-a3e5-0624bc3cd784", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085632Z:998f4e64-4639-4c19-a3e5-0624bc3cd784" }, "ResponseBody": { "name": "virtualnetworkname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname", - "etag": "W/\u00228042f935-4a76-4282-80a5-8e41c7dc91ec\u0022", + "etag": "W/\u0022c5b41670-1213-4d25-9cca-f015f4b74d2c\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "b1e37264-cda2-432c-961a-50223e2bf69c", + "resourceGuid": "aa2c809a-5f4f-4f46-97da-de521976c9db", "addressSpace": { "addressPrefixes": [ "10.0.0.0/16" @@ -3301,7 +3409,7 @@ { "name": "subnetname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname", - "etag": "W/\u00228042f935-4a76-4282-80a5-8e41c7dc91ec\u0022", + "etag": "W/\u0022c5b41670-1213-4d25-9cca-f015f4b74d2c\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.0.0/24", @@ -3319,7 +3427,7 @@ { "name": "GatewaySubnet", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet", - "etag": "W/\u00228042f935-4a76-4282-80a5-8e41c7dc91ec\u0022", + "etag": "W/\u0022c5b41670-1213-4d25-9cca-f015f4b74d2c\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.1.0/24", @@ -3339,10 +3447,10 @@ { "name": "virtualnetworkpeeringname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname", - "etag": "W/\u00228042f935-4a76-4282-80a5-8e41c7dc91ec\u0022", + "etag": "W/\u0022c5b41670-1213-4d25-9cca-f015f4b74d2c\u0022", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "caa06691-9172-08ab-1bc9-bd5586e1f9de", + "resourceGuid": "b2c7c928-c7f8-0c9d-3478-66028f01c540", "peeringState": "Initiated", "peeringSyncLevel": "RemoteNotInSync", "remoteVirtualNetwork": { @@ -3380,7 +3488,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3388,7 +3496,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", + "Date": "Thu, 28 Apr 2022 08:56:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3399,20 +3507,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "fc3c2071-8c0f-436d-b75c-a2f4363cd096", - "x-ms-correlation-request-id": "65808faa-8bbd-4c59-9a41-8fd02d7b5a4c", - "x-ms-ratelimit-remaining-subscription-reads": "11966", - "x-ms-routing-request-id": "EASTUS2:20220425T032357Z:65808faa-8bbd-4c59-9a41-8fd02d7b5a4c" + "x-ms-arm-service-request-id": "9d875a32-a00f-4157-8ac8-b8909f4416a5", + "x-ms-correlation-request-id": "551854ff-831a-418d-b2d0-9f1dca050d99", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085635Z:551854ff-831a-418d-b2d0-9f1dca050d99" }, "ResponseBody": { "name": "connectionname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname", - "etag": "W/\u0022a6a72f13-5786-4e21-8380-f4b848fa1866\u0022", + "etag": "W/\u002247953ac2-a484-4262-a8c7-99d7eb77e644\u0022", "type": "Microsoft.Network/connections", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "0c4bc72c-8cb2-4c76-8e03-fbd02a2720bb", + "resourceGuid": "73c47da0-1e2c-4c87-abd7-4b80900d47cc", "packetCaptureDiagnosticState": "None", "virtualNetworkGateway1": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname" @@ -3429,7 +3537,7 @@ "usePolicyBasedTrafficSelectors": false, "ipsecPolicies": [], "trafficSelectorPolicies": [], - "connectionStatus": "Unknown", + "connectionStatus": "NotConnected", "ingressBytesTransferred": 0, "egressBytesTransferred": 0, "expressRouteGatewayBypass": false, @@ -3447,7 +3555,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, @@ -3455,9 +3563,9 @@ "Cache-Control": "no-cache", "Content-Length": "4", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:23:56 GMT", + "Date": "Thu, 28 Apr 2022 08:56:35 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/799c72f0-c300-47e8-a85e-7712c20d5a1b?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/e4539aeb-d564-4d03-9759-e4165edf8cda?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -3466,21 +3574,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e4579236-1b2a-4d12-a930-93af739ec600", - "x-ms-correlation-request-id": "b1d3f71e-7a22-463a-8bc2-db853fcd5367", + "x-ms-arm-service-request-id": "ea2386fb-4dcb-4707-9fe1-cc0cb0df14d7", + "x-ms-correlation-request-id": "5a5bb276-f415-438e-be25-c830cc73ee2d", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-routing-request-id": "EASTUS2:20220425T032357Z:b1d3f71e-7a22-463a-8bc2-db853fcd5367" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085635Z:5a5bb276-f415-438e-be25-c830cc73ee2d" }, "ResponseBody": "null" }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/799c72f0-c300-47e8-a85e-7712c20d5a1b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/e4539aeb-d564-4d03-9759-e4165edf8cda?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3488,9 +3596,9 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:24:06 GMT", + "Date": "Thu, 28 Apr 2022 08:56:45 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/799c72f0-c300-47e8-a85e-7712c20d5a1b?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/e4539aeb-d564-4d03-9759-e4165edf8cda?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -3500,10 +3608,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e4579236-1b2a-4d12-a930-93af739ec600", - "x-ms-correlation-request-id": "b1d3f71e-7a22-463a-8bc2-db853fcd5367", - "x-ms-ratelimit-remaining-subscription-reads": "11965", - "x-ms-routing-request-id": "EASTUS2:20220425T032407Z:2e8e5f43-fca9-43c7-9cbf-b1b4032020a6" + "x-ms-arm-service-request-id": "ea2386fb-4dcb-4707-9fe1-cc0cb0df14d7", + "x-ms-correlation-request-id": "5a5bb276-f415-438e-be25-c830cc73ee2d", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085646Z:2e0a40e7-23e1-46c1-822d-d00e1f78a1b2" }, "ResponseBody": { "value": [ @@ -3525,7 +3633,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, @@ -3533,9 +3641,9 @@ "Cache-Control": "no-cache", "Content-Length": "4", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:24:06 GMT", + "Date": "Thu, 28 Apr 2022 08:56:45 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/ddb3b248-4f46-446e-a961-6f5384c008fa?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f2483e61-b553-455f-8116-d7102c55d4ef?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -3544,21 +3652,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e695fa89-3483-4167-baf0-48a56c4078ad", - "x-ms-correlation-request-id": "2dead0f7-304e-48e2-b89f-573f0b2756b9", + "x-ms-arm-service-request-id": "feb52e32-4b4c-46f0-993a-19e88e7b4136", + "x-ms-correlation-request-id": "0d84de7f-4ebb-44a5-a2aa-a915d0408b2c", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-routing-request-id": "EASTUS2:20220425T032407Z:2dead0f7-304e-48e2-b89f-573f0b2756b9" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085646Z:0d84de7f-4ebb-44a5-a2aa-a915d0408b2c" }, "ResponseBody": "null" }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/ddb3b248-4f46-446e-a961-6f5384c008fa?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f2483e61-b553-455f-8116-d7102c55d4ef?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3566,9 +3674,9 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:24:17 GMT", + "Date": "Thu, 28 Apr 2022 08:56:55 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/ddb3b248-4f46-446e-a961-6f5384c008fa?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f2483e61-b553-455f-8116-d7102c55d4ef?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -3578,10 +3686,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e695fa89-3483-4167-baf0-48a56c4078ad", - "x-ms-correlation-request-id": "2dead0f7-304e-48e2-b89f-573f0b2756b9", - "x-ms-ratelimit-remaining-subscription-reads": "11964", - "x-ms-routing-request-id": "EASTUS2:20220425T032417Z:7bff345d-e753-4f04-ad36-42f45e20221b" + "x-ms-arm-service-request-id": "feb52e32-4b4c-46f0-993a-19e88e7b4136", + "x-ms-correlation-request-id": "0d84de7f-4ebb-44a5-a2aa-a915d0408b2c", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085656Z:b525f925-57bb-4623-bfd1-05536be40001" }, "ResponseBody": { "value": [] @@ -3595,7 +3703,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, @@ -3603,9 +3711,9 @@ "Cache-Control": "no-cache", "Content-Length": "4", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:24:17 GMT", + "Date": "Thu, 28 Apr 2022 08:56:55 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f5a2083a-ef8c-415d-8520-14fc4c06c3d4?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8cbc1461-394b-45ce-968b-64e5893e4a96?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -3614,21 +3722,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6ab879b3-84de-4bf3-b209-d27feafc708d", - "x-ms-correlation-request-id": "549df334-275c-4e5c-bf3e-8387b4db3d09", + "x-ms-arm-service-request-id": "1e482f98-b681-47d6-963f-b7b517c536ae", + "x-ms-correlation-request-id": "735286ff-63ea-485a-b0b4-b7100f988fc1", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-routing-request-id": "EASTUS2:20220425T032417Z:549df334-275c-4e5c-bf3e-8387b4db3d09" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085656Z:735286ff-63ea-485a-b0b4-b7100f988fc1" }, "ResponseBody": "null" }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f5a2083a-ef8c-415d-8520-14fc4c06c3d4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8cbc1461-394b-45ce-968b-64e5893e4a96?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3636,9 +3744,9 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:24:27 GMT", + "Date": "Thu, 28 Apr 2022 08:57:05 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f5a2083a-ef8c-415d-8520-14fc4c06c3d4?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8cbc1461-394b-45ce-968b-64e5893e4a96?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -3648,10 +3756,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6ab879b3-84de-4bf3-b209-d27feafc708d", - "x-ms-correlation-request-id": "549df334-275c-4e5c-bf3e-8387b4db3d09", - "x-ms-ratelimit-remaining-subscription-reads": "11963", - "x-ms-routing-request-id": "EASTUS2:20220425T032428Z:6e566630-aa9c-4a34-82e2-e2ac0fef4dc0" + "x-ms-arm-service-request-id": "1e482f98-b681-47d6-963f-b7b517c536ae", + "x-ms-correlation-request-id": "735286ff-63ea-485a-b0b4-b7100f988fc1", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085706Z:ff265140-ab34-4f75-a930-0cc417b25b32" }, "ResponseBody": { "value": [] @@ -3666,19 +3774,19 @@ "Connection": "keep-alive", "Content-Length": "18", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "keyLength": 128 }, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:24:27 GMT", + "Date": "Thu, 28 Apr 2022 08:57:06 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -3687,21 +3795,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "08aa83d6-9c8a-499e-bb27-751324faef91", - "x-ms-correlation-request-id": "44ca8e6b-129f-4b6c-8f2b-2f2e5253af16", + "x-ms-arm-service-request-id": "1726b15a-666e-432d-8505-98cae3d11ec1", + "x-ms-correlation-request-id": "1744b0cc-91b7-4394-a830-1d6293bf15fb", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-routing-request-id": "EASTUS2:20220425T032428Z:44ca8e6b-129f-4b6c-8f2b-2f2e5253af16" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085706Z:1744b0cc-91b7-4394-a830-1d6293bf15fb" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3709,7 +3817,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:24:37 GMT", + "Date": "Thu, 28 Apr 2022 08:57:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -3721,23 +3829,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "abe77d89-b75c-4fac-b4dc-6e2803232c33", - "x-ms-correlation-request-id": "3c7042b2-91af-4b71-aedc-6f791aba145f", - "x-ms-ratelimit-remaining-subscription-reads": "11962", - "x-ms-routing-request-id": "EASTUS2:20220425T032438Z:3c7042b2-91af-4b71-aedc-6f791aba145f" + "x-ms-arm-service-request-id": "53f5169f-5f12-423d-8466-6a6ab8162aad", + "x-ms-correlation-request-id": "83607859-58f9-4bb9-978a-61f93b636c71", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085716Z:83607859-58f9-4bb9-978a-61f93b636c71" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3745,7 +3853,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:24:47 GMT", + "Date": "Thu, 28 Apr 2022 08:57:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -3757,23 +3865,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "527f9285-306e-4a99-a7e7-d93ac8326251", - "x-ms-correlation-request-id": "7ff1337a-bc48-4c1b-809b-2ae4f827ddb4", - "x-ms-ratelimit-remaining-subscription-reads": "11961", - "x-ms-routing-request-id": "EASTUS2:20220425T032448Z:7ff1337a-bc48-4c1b-809b-2ae4f827ddb4" + "x-ms-arm-service-request-id": "1db709ef-f83e-4ca5-8683-9f80652efc7a", + "x-ms-correlation-request-id": "9b83ac42-8e84-4667-87ef-7749ca625b8e", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085726Z:9b83ac42-8e84-4667-87ef-7749ca625b8e" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3781,7 +3889,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:25:07 GMT", + "Date": "Thu, 28 Apr 2022 08:57:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3792,10 +3900,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bea95300-9034-4d4b-9e46-3052f119eeee", - "x-ms-correlation-request-id": "7352277a-27eb-421b-969a-29dc9d317019", - "x-ms-ratelimit-remaining-subscription-reads": "11960", - "x-ms-routing-request-id": "EASTUS2:20220425T032508Z:7352277a-27eb-421b-969a-29dc9d317019" + "x-ms-arm-service-request-id": "491a477f-0451-41f0-8787-99ef7372de93", + "x-ms-correlation-request-id": "e6cc530a-796f-4f58-9a20-126510e7fa43", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085747Z:e6cc530a-796f-4f58-9a20-126510e7fa43" }, "ResponseBody": { "status": "Succeeded", @@ -3803,24 +3911,24 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:25:07 GMT", + "Date": "Thu, 28 Apr 2022 08:57:47 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2e6d8669-6a09-4598-b4e4-f67b30420d1f?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/9159775f-6982-4dd1-80a7-0c2550025427?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -3830,10 +3938,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "08aa83d6-9c8a-499e-bb27-751324faef91", - "x-ms-correlation-request-id": "44ca8e6b-129f-4b6c-8f2b-2f2e5253af16", - "x-ms-ratelimit-remaining-subscription-reads": "11959", - "x-ms-routing-request-id": "EASTUS2:20220425T032508Z:943bb122-8057-4ab9-89bd-312d79ad39cb" + "x-ms-arm-service-request-id": "1726b15a-666e-432d-8505-98cae3d11ec1", + "x-ms-correlation-request-id": "1744b0cc-91b7-4394-a830-1d6293bf15fb", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085747Z:10fbf3fe-ed5c-4815-b9c2-27171b0eb605" }, "ResponseBody": "null" }, @@ -3845,17 +3953,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:25:07 GMT", + "Date": "Thu, 28 Apr 2022 08:57:47 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -3864,21 +3972,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f4c0674a-b8de-44b9-b942-cdfba6744e75", - "x-ms-correlation-request-id": "ce51f574-8a8c-4575-bf7b-f421923aa30f", + "x-ms-arm-service-request-id": "9d26b275-c7d5-4d91-8864-fbf9ca51aa5d", + "x-ms-correlation-request-id": "e42a984f-dd00-4f8a-ad4c-80c8f05b08cc", "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-routing-request-id": "EASTUS2:20220425T032508Z:ce51f574-8a8c-4575-bf7b-f421923aa30f" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085747Z:e42a984f-dd00-4f8a-ad4c-80c8f05b08cc" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3886,7 +3994,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:25:18 GMT", + "Date": "Thu, 28 Apr 2022 08:57:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -3898,23 +4006,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d8d6b789-1efd-4a6f-870c-dc8cb26f39cc", - "x-ms-correlation-request-id": "b23d385b-4cf3-4100-93a8-4f5f239e84a7", - "x-ms-ratelimit-remaining-subscription-reads": "11958", - "x-ms-routing-request-id": "EASTUS2:20220425T032518Z:b23d385b-4cf3-4100-93a8-4f5f239e84a7" + "x-ms-arm-service-request-id": "cb213cb6-cdb6-4fe4-9188-d5186977141d", + "x-ms-correlation-request-id": "e41bba08-a275-4ff7-8416-be11ba571162", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085757Z:e41bba08-a275-4ff7-8416-be11ba571162" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3922,7 +4030,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:25:28 GMT", + "Date": "Thu, 28 Apr 2022 08:58:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -3934,23 +4042,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "8d06e3c0-d198-4d9b-8ac5-9dc33eafd141", - "x-ms-correlation-request-id": "7f7ea051-797c-44a6-9972-ce37139d546f", - "x-ms-ratelimit-remaining-subscription-reads": "11957", - "x-ms-routing-request-id": "EASTUS2:20220425T032528Z:7f7ea051-797c-44a6-9972-ce37139d546f" + "x-ms-arm-service-request-id": "9f610791-4517-40c3-bf66-f70ea97068f4", + "x-ms-correlation-request-id": "68b05ee8-38ae-4674-9a3b-37ff9ba307ea", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085807Z:68b05ee8-38ae-4674-9a3b-37ff9ba307ea" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3958,7 +4066,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:25:48 GMT", + "Date": "Thu, 28 Apr 2022 08:58:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -3970,23 +4078,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3fab1562-6a78-4cfd-8d6b-80b863ec2384", - "x-ms-correlation-request-id": "576ddf45-3af6-4aef-a457-66c52c403734", - "x-ms-ratelimit-remaining-subscription-reads": "11956", - "x-ms-routing-request-id": "EASTUS2:20220425T032548Z:576ddf45-3af6-4aef-a457-66c52c403734" + "x-ms-arm-service-request-id": "ad2e3fea-64b6-4842-8eb1-e2c0bd332afb", + "x-ms-correlation-request-id": "8bf4828a-ea02-4052-80b8-9100fadcc038", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085827Z:8bf4828a-ea02-4052-80b8-9100fadcc038" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -3994,7 +4102,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:26:27 GMT", + "Date": "Thu, 28 Apr 2022 08:59:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -4006,23 +4114,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "853cbb40-ff6d-4e1d-aa7a-3133a7fd3a53", - "x-ms-correlation-request-id": "190f8267-8f50-4c10-bfbf-35b7c65b152e", - "x-ms-ratelimit-remaining-subscription-reads": "11955", - "x-ms-routing-request-id": "EASTUS2:20220425T032628Z:190f8267-8f50-4c10-bfbf-35b7c65b152e" + "x-ms-arm-service-request-id": "cd3199e8-b860-4139-b6a1-1b53f2b022ff", + "x-ms-correlation-request-id": "6429d2a9-1f8b-47c4-9cba-110953e322e5", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T085907Z:6429d2a9-1f8b-47c4-9cba-110953e322e5" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4030,7 +4138,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:27:48 GMT", + "Date": "Thu, 28 Apr 2022 09:00:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -4042,23 +4150,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "56f479fd-a788-478c-b154-22cde0bd811e", - "x-ms-correlation-request-id": "966242e6-a9c9-475c-b8bb-079d0324dfb6", - "x-ms-ratelimit-remaining-subscription-reads": "11954", - "x-ms-routing-request-id": "EASTUS2:20220425T032748Z:966242e6-a9c9-475c-b8bb-079d0324dfb6" + "x-ms-arm-service-request-id": "0874154f-d007-42d3-b846-efcfeb086f0e", + "x-ms-correlation-request-id": "ee7875cd-424b-42a6-9f42-06a4e14ff329", + "x-ms-ratelimit-remaining-subscription-reads": "11951", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T090027Z:ee7875cd-424b-42a6-9f42-06a4e14ff329" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4066,7 +4174,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:30:28 GMT", + "Date": "Thu, 28 Apr 2022 09:03:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4078,23 +4186,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "35ef4454-70b0-40b4-9a9a-de99131a3c1d", - "x-ms-correlation-request-id": "20120ce2-ad33-406b-af26-cd843ac49a36", - "x-ms-ratelimit-remaining-subscription-reads": "11953", - "x-ms-routing-request-id": "EASTUS2:20220425T033029Z:20120ce2-ad33-406b-af26-cd843ac49a36" + "x-ms-arm-service-request-id": "5d03e278-002c-4dd8-94a9-513bbdf16911", + "x-ms-correlation-request-id": "a9e90cfb-f32e-4ef8-9dd3-6a0f6bc3cad3", + "x-ms-ratelimit-remaining-subscription-reads": "11950", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T090308Z:a9e90cfb-f32e-4ef8-9dd3-6a0f6bc3cad3" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4102,7 +4210,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:32:08 GMT", + "Date": "Thu, 28 Apr 2022 09:04:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4114,23 +4222,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "536b32a3-728c-4ae0-9c94-db7f9bf1f243", - "x-ms-correlation-request-id": "a8cc0a9b-86b4-4684-a564-4662e048258f", - "x-ms-ratelimit-remaining-subscription-reads": "11952", - "x-ms-routing-request-id": "EASTUS2:20220425T033209Z:a8cc0a9b-86b4-4684-a564-4662e048258f" + "x-ms-arm-service-request-id": "8aae69c3-96b2-4810-97d6-26dd0a43d4cf", + "x-ms-correlation-request-id": "4a68dc33-09c5-4931-a9a1-509269fcb640", + "x-ms-ratelimit-remaining-subscription-reads": "11949", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T090448Z:4a68dc33-09c5-4931-a9a1-509269fcb640" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4138,7 +4246,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:33:48 GMT", + "Date": "Thu, 28 Apr 2022 09:06:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4150,23 +4258,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ab9bfc70-cc82-44b7-93ec-036f0dab4929", - "x-ms-correlation-request-id": "4afc5fa0-a42c-470b-84c4-9f8532ac42be", - "x-ms-ratelimit-remaining-subscription-reads": "11951", - "x-ms-routing-request-id": "EASTUS2:20220425T033349Z:4afc5fa0-a42c-470b-84c4-9f8532ac42be" + "x-ms-arm-service-request-id": "d19ed105-1d22-44de-9494-6d3f61fb4374", + "x-ms-correlation-request-id": "c997f863-e3de-45e2-87fe-200a2b91c3e7", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T090628Z:c997f863-e3de-45e2-87fe-200a2b91c3e7" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4174,7 +4282,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:35:29 GMT", + "Date": "Thu, 28 Apr 2022 09:08:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4186,23 +4294,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "60ec11ce-7473-4d72-8616-74bfebdfa443", - "x-ms-correlation-request-id": "956a3d99-44f3-4b09-8d8b-52e6064f8f63", - "x-ms-ratelimit-remaining-subscription-reads": "11950", - "x-ms-routing-request-id": "EASTUS2:20220425T033529Z:956a3d99-44f3-4b09-8d8b-52e6064f8f63" + "x-ms-arm-service-request-id": "18decbd7-8931-4ea3-ad60-e5f50cf83c21", + "x-ms-correlation-request-id": "4ef4d33d-a112-48ed-95a4-3d766a81ab88", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T090809Z:4ef4d33d-a112-48ed-95a4-3d766a81ab88" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4210,7 +4318,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:37:09 GMT", + "Date": "Thu, 28 Apr 2022 09:09:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4222,23 +4330,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9d625fa9-0293-4786-a1b2-88f689351a5a", - "x-ms-correlation-request-id": "118bc815-e532-4b15-9e12-f3bc7423451f", - "x-ms-ratelimit-remaining-subscription-reads": "11949", - "x-ms-routing-request-id": "EASTUS2:20220425T033709Z:118bc815-e532-4b15-9e12-f3bc7423451f" + "x-ms-arm-service-request-id": "1a15b215-fc01-42da-8b35-03524b25bc0f", + "x-ms-correlation-request-id": "145d832f-2866-4d5c-8278-6f8dbe5cd4cb", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T090949Z:145d832f-2866-4d5c-8278-6f8dbe5cd4cb" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4246,7 +4354,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:38:49 GMT", + "Date": "Thu, 28 Apr 2022 09:11:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4257,10 +4365,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e5592e6a-db35-4191-a3cb-8408d79c3676", - "x-ms-correlation-request-id": "72d1c567-7930-4aae-9911-e7f7f578377f", - "x-ms-ratelimit-remaining-subscription-reads": "11948", - "x-ms-routing-request-id": "EASTUS2:20220425T033849Z:72d1c567-7930-4aae-9911-e7f7f578377f" + "x-ms-arm-service-request-id": "69e5b75e-8304-4140-b694-2aae8e3f7504", + "x-ms-correlation-request-id": "5e7d5897-da33-4570-aa52-dfaad815ae6f", + "x-ms-ratelimit-remaining-subscription-reads": "11945", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091129Z:5e7d5897-da33-4570-aa52-dfaad815ae6f" }, "ResponseBody": { "status": "Succeeded", @@ -4268,24 +4376,24 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:38:49 GMT", + "Date": "Thu, 28 Apr 2022 09:11:29 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/37f883ea-7e5f-4e81-9c33-2708fcf619e3?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b200c0f4-5b2d-4743-a3b7-a32cb4cc4d76?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -4295,10 +4403,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f4c0674a-b8de-44b9-b942-cdfba6744e75", - "x-ms-correlation-request-id": "ce51f574-8a8c-4575-bf7b-f421923aa30f", - "x-ms-ratelimit-remaining-subscription-reads": "11947", - "x-ms-routing-request-id": "EASTUS2:20220425T033850Z:be2e2fad-3b3a-4bc5-a30d-9451e5b8e17d" + "x-ms-arm-service-request-id": "9d26b275-c7d5-4d91-8864-fbf9ca51aa5d", + "x-ms-correlation-request-id": "e42a984f-dd00-4f8a-ad4c-80c8f05b08cc", + "x-ms-ratelimit-remaining-subscription-reads": "11944", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091129Z:05b1be2b-3da1-4b66-bd42-688e62f79a95" }, "ResponseBody": "null" }, @@ -4311,7 +4419,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -4325,7 +4433,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:38:49 GMT", + "Date": "Thu, 28 Apr 2022 09:11:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -4337,15 +4445,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4bd63e70-ec4e-490d-9723-b1e4d23dd05d", - "x-ms-correlation-request-id": "f1510f6f-3cfa-425d-938a-bb8e9c63ccaa", + "x-ms-arm-service-request-id": "42500b2d-852f-44ee-9caa-5d213109e4d0", + "x-ms-correlation-request-id": "8c8f385a-8eba-4901-b5af-4f0404117641", "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-routing-request-id": "EASTUS2:20220425T033850Z:f1510f6f-3cfa-425d-938a-bb8e9c63ccaa" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091130Z:8c8f385a-8eba-4901-b5af-4f0404117641" }, "ResponseBody": { "name": "virtualnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname", - "etag": "W/\u0022d4dbf745-0c08-414b-ad0f-0622978ee227\u0022", + "etag": "W/\u002285a1fe55-2aab-434e-b188-5e7a635857d1\u0022", "type": "Microsoft.Network/virtualNetworkGateways", "location": "eastus", "tags": { @@ -4354,14 +4462,14 @@ }, "properties": { "provisioningState": "Updating", - "resourceGuid": "e2ba41e8-94cb-4437-9884-07bb261a33e5", + "resourceGuid": "c7ca961b-ab52-4d65-a2ab-740bc758765f", "packetCaptureDiagnosticState": "None", "enablePrivateIpAddress": false, "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig", - "etag": "W/\u0022d4dbf745-0c08-414b-ad0f-0622978ee227\u0022", + "etag": "W/\u002285a1fe55-2aab-434e-b188-5e7a635857d1\u0022", "type": "Microsoft.Network/virtualNetworkGateways/ipConfigurations", "properties": { "provisioningState": "Updating", @@ -4410,7 +4518,7 @@ ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "20.231.35.70" + "40.88.151.112" ] } ] @@ -4432,7 +4540,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4440,7 +4548,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:38:59 GMT", + "Date": "Thu, 28 Apr 2022 09:11:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4451,15 +4559,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5ba73c6e-1fc7-4d00-8098-a96c6b5bc2ed", - "x-ms-correlation-request-id": "7322bb8a-c0a7-4368-9494-59361a03baed", - "x-ms-ratelimit-remaining-subscription-reads": "11946", - "x-ms-routing-request-id": "EASTUS2:20220425T033900Z:7322bb8a-c0a7-4368-9494-59361a03baed" + "x-ms-arm-service-request-id": "c7ba4288-0dc6-460b-a88e-2201234757e9", + "x-ms-correlation-request-id": "c1eb33a8-b269-4ede-8e88-95221c373872", + "x-ms-ratelimit-remaining-subscription-reads": "11943", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091140Z:c1eb33a8-b269-4ede-8e88-95221c373872" }, "ResponseBody": { "name": "virtualnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname", - "etag": "W/\u0022d4dbf745-0c08-414b-ad0f-0622978ee227\u0022", + "etag": "W/\u002285a1fe55-2aab-434e-b188-5e7a635857d1\u0022", "type": "Microsoft.Network/virtualNetworkGateways", "location": "eastus", "tags": { @@ -4468,14 +4576,14 @@ }, "properties": { "provisioningState": "Updating", - "resourceGuid": "e2ba41e8-94cb-4437-9884-07bb261a33e5", + "resourceGuid": "c7ca961b-ab52-4d65-a2ab-740bc758765f", "packetCaptureDiagnosticState": "None", "enablePrivateIpAddress": false, "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig", - "etag": "W/\u0022d4dbf745-0c08-414b-ad0f-0622978ee227\u0022", + "etag": "W/\u002285a1fe55-2aab-434e-b188-5e7a635857d1\u0022", "type": "Microsoft.Network/virtualNetworkGateways/ipConfigurations", "properties": { "provisioningState": "Updating", @@ -4513,7 +4621,7 @@ ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "20.231.35.70" + "40.88.151.112" ] } ] @@ -4535,7 +4643,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4543,7 +4651,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:39:30 GMT", + "Date": "Thu, 28 Apr 2022 09:12:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4554,15 +4662,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2b0ddf0d-1bbc-46b3-81cc-10961e207e95", - "x-ms-correlation-request-id": "4351e704-eca8-43c2-9848-1f02a747fbf8", - "x-ms-ratelimit-remaining-subscription-reads": "11945", - "x-ms-routing-request-id": "EASTUS2:20220425T033930Z:4351e704-eca8-43c2-9848-1f02a747fbf8" + "x-ms-arm-service-request-id": "968cfbde-d7a6-476f-a18f-556a92b76671", + "x-ms-correlation-request-id": "21b7b768-9bbd-41ba-91a8-bb38e97591e8", + "x-ms-ratelimit-remaining-subscription-reads": "11942", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091210Z:21b7b768-9bbd-41ba-91a8-bb38e97591e8" }, "ResponseBody": { "name": "virtualnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname", - "etag": "W/\u0022d4dbf745-0c08-414b-ad0f-0622978ee227\u0022", + "etag": "W/\u002285a1fe55-2aab-434e-b188-5e7a635857d1\u0022", "type": "Microsoft.Network/virtualNetworkGateways", "location": "eastus", "tags": { @@ -4571,14 +4679,14 @@ }, "properties": { "provisioningState": "Updating", - "resourceGuid": "e2ba41e8-94cb-4437-9884-07bb261a33e5", + "resourceGuid": "c7ca961b-ab52-4d65-a2ab-740bc758765f", "packetCaptureDiagnosticState": "None", "enablePrivateIpAddress": false, "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig", - "etag": "W/\u0022d4dbf745-0c08-414b-ad0f-0622978ee227\u0022", + "etag": "W/\u002285a1fe55-2aab-434e-b188-5e7a635857d1\u0022", "type": "Microsoft.Network/virtualNetworkGateways/ipConfigurations", "properties": { "provisioningState": "Updating", @@ -4616,7 +4724,7 @@ ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "20.231.35.70" + "40.88.151.112" ] } ] @@ -4638,7 +4746,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -4646,7 +4754,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:00 GMT", + "Date": "Thu, 28 Apr 2022 09:12:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4657,15 +4765,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "536830f2-a1c2-4334-8132-604c1e686c18", - "x-ms-correlation-request-id": "9a0d8b13-e283-402d-bf37-0b8137c5905e", - "x-ms-ratelimit-remaining-subscription-reads": "11944", - "x-ms-routing-request-id": "EASTUS2:20220425T034000Z:9a0d8b13-e283-402d-bf37-0b8137c5905e" + "x-ms-arm-service-request-id": "00f6a374-804a-40eb-a9f7-b8e63302a5b2", + "x-ms-correlation-request-id": "029bfbd3-080c-4380-9102-4a4b4a45834e", + "x-ms-ratelimit-remaining-subscription-reads": "11941", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091240Z:029bfbd3-080c-4380-9102-4a4b4a45834e" }, "ResponseBody": { "name": "virtualnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname", - "etag": "W/\u00225bda8527-905d-4173-91bb-fafa6f3ec4c9\u0022", + "etag": "W/\u002228cf1edf-730b-4598-855a-ea63cc49fbc0\u0022", "type": "Microsoft.Network/virtualNetworkGateways", "location": "eastus", "tags": { @@ -4674,14 +4782,14 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "e2ba41e8-94cb-4437-9884-07bb261a33e5", + "resourceGuid": "c7ca961b-ab52-4d65-a2ab-740bc758765f", "packetCaptureDiagnosticState": "None", "enablePrivateIpAddress": false, "ipConfigurations": [ { "name": "ipconfig", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig", - "etag": "W/\u00225bda8527-905d-4173-91bb-fafa6f3ec4c9\u0022", + "etag": "W/\u002228cf1edf-730b-4598-855a-ea63cc49fbc0\u0022", "type": "Microsoft.Network/virtualNetworkGateways/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -4719,7 +4827,7 @@ ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "20.231.35.70" + "40.88.151.112" ] } ] @@ -4743,7 +4851,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -4757,7 +4865,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:00 GMT", + "Date": "Thu, 28 Apr 2022 09:12:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4768,15 +4876,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5dbc44f0-4860-44e7-b651-262eb19c3fa0", - "x-ms-correlation-request-id": "cb19a283-4aa6-4ccc-8b9e-7b926b7f9df2", + "x-ms-arm-service-request-id": "0e8562e4-8576-4cc3-a38c-469884f58026", + "x-ms-correlation-request-id": "a457c850-e626-4de1-aaa1-214c75e03ead", "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-routing-request-id": "EASTUS2:20220425T034000Z:cb19a283-4aa6-4ccc-8b9e-7b926b7f9df2" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091241Z:a457c850-e626-4de1-aaa1-214c75e03ead" }, "ResponseBody": { "name": "localnetworkgatewayname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname", - "etag": "W/\u00221131f77e-b845-44a7-9054-c2a45336d752\u0022", + "etag": "W/\u00220fa6166c-c4a4-4c7a-95ac-ab79092f45ad\u0022", "type": "Microsoft.Network/localNetworkGateways", "location": "eastus", "tags": { @@ -4785,7 +4893,7 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "e5f0813e-5296-44a4-9dab-f7071f895040", + "resourceGuid": "27ea274e-d962-4939-a89e-7b2f5572f4a5", "localNetworkAddressSpace": { "addressPrefixes": [ "10.1.0.0/16" @@ -4804,7 +4912,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -4818,7 +4926,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:00 GMT", + "Date": "Thu, 28 Apr 2022 09:12:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4829,15 +4937,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1abe1fbe-97d1-4bda-bf30-c8a43e76cae9", - "x-ms-correlation-request-id": "9f7eeecd-3d92-4933-8f47-3e4f6aa7e322", + "x-ms-arm-service-request-id": "225071e7-3a73-45b0-b314-2e33ce65d6a2", + "x-ms-correlation-request-id": "c2627fb9-a3b4-46de-b70c-f13f44474e6e", "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-routing-request-id": "EASTUS2:20220425T034001Z:9f7eeecd-3d92-4933-8f47-3e4f6aa7e322" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091241Z:c2627fb9-a3b4-46de-b70c-f13f44474e6e" }, "ResponseBody": { "name": "virtualnetworkname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname", - "etag": "W/\u002227362858-b8ec-4760-a2cf-20eb0049f24a\u0022", + "etag": "W/\u00226b7cc57e-47af-44c6-bc90-1ded6fb2935c\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "tags": { @@ -4846,7 +4954,7 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "b1e37264-cda2-432c-961a-50223e2bf69c", + "resourceGuid": "aa2c809a-5f4f-4f46-97da-de521976c9db", "addressSpace": { "addressPrefixes": [ "10.0.0.0/16" @@ -4856,7 +4964,7 @@ { "name": "subnetname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname", - "etag": "W/\u002227362858-b8ec-4760-a2cf-20eb0049f24a\u0022", + "etag": "W/\u00226b7cc57e-47af-44c6-bc90-1ded6fb2935c\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.0.0/24", @@ -4874,7 +4982,7 @@ { "name": "GatewaySubnet", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet", - "etag": "W/\u002227362858-b8ec-4760-a2cf-20eb0049f24a\u0022", + "etag": "W/\u00226b7cc57e-47af-44c6-bc90-1ded6fb2935c\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.1.0/24", @@ -4894,10 +5002,10 @@ { "name": "virtualnetworkpeeringname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname", - "etag": "W/\u002227362858-b8ec-4760-a2cf-20eb0049f24a\u0022", + "etag": "W/\u00226b7cc57e-47af-44c6-bc90-1ded6fb2935c\u0022", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "caa06691-9172-08ab-1bc9-bd5586e1f9de", + "resourceGuid": "b2c7c928-c7f8-0c9d-3478-66028f01c540", "peeringState": "Initiated", "peeringSyncLevel": "RemoteNotInSync", "remoteVirtualNetwork": { @@ -4937,7 +5045,7 @@ "Connection": "keep-alive", "Content-Length": "2", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": {}, "StatusCode": 200, @@ -4946,7 +5054,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:02 GMT", + "Date": "Thu, 28 Apr 2022 09:12:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4957,20 +5065,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "641e93fe-a75b-435f-8d56-af9f6082abf4", - "x-ms-correlation-request-id": "65b93537-ff9b-4caf-b870-b5f31e06adbb", + "x-ms-arm-service-request-id": "2ac98556-90fc-4941-b228-8cf355e34909", + "x-ms-correlation-request-id": "e09720b3-efdf-4cf2-a8fd-beb512a03383", "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-routing-request-id": "EASTUS2:20220425T034002Z:65b93537-ff9b-4caf-b870-b5f31e06adbb" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091242Z:e09720b3-efdf-4cf2-a8fd-beb512a03383" }, "ResponseBody": { "name": "connectionname", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname", - "etag": "W/\u0022eb76363b-7d70-4523-ba7e-d008f8ba55b1\u0022", + "etag": "W/\u00222fe39fb2-e6aa-4894-9dc0-f01ccb11f3a7\u0022", "type": "Microsoft.Network/connections", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "0c4bc72c-8cb2-4c76-8e03-fbd02a2720bb", + "resourceGuid": "73c47da0-1e2c-4c87-abd7-4b80900d47cc", "packetCaptureDiagnosticState": "None", "virtualNetworkGateway1": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname" @@ -4981,7 +5089,7 @@ "connectionType": "IPsec", "connectionProtocol": "IKEv2", "routingWeight": 0, - "sharedKey": "H9znQzSjxPNpZPeODdJVcgTKEgShQhhkeK3ZuPEebkyg1kU2aOIVeyFDeIJ2knsk78NCO6pt1PcbLyP0RWVQqRTbBUYssvFqNaCX1JqGbDdgmN5KXCWPp1VLgXy24aou", + "sharedKey": "glIhVIbljf6eFLd15dSHJxSqwYBnYOia2j93zEocjfPypeOvIgdqb8t6V8p9eHeeigXucCroqHWmvD8iE16jP1drYgIX5kro2a3ZF4jCY1KANORiwkLkEZtGCkPc6b20", "enableBgp": false, "useLocalAzureIpAddress": false, "usePolicyBasedTrafficSelectors": false, @@ -5004,18 +5112,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:40:02 GMT", + "Date": "Thu, 28 Apr 2022 09:12:43 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -5024,21 +5132,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "30a6af0b-9b93-4c20-9aad-4a0805896c7f", - "x-ms-correlation-request-id": "f7d138b4-7fcb-47e1-8f3e-0012e43ea4f9", + "x-ms-arm-service-request-id": "53caf696-0ca3-43fb-a844-4ab5df6e4d08", + "x-ms-correlation-request-id": "6242bc63-9aba-47ec-8405-f918a2c2e3b2", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-routing-request-id": "EASTUS2:20220425T034002Z:f7d138b4-7fcb-47e1-8f3e-0012e43ea4f9" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091243Z:6242bc63-9aba-47ec-8405-f918a2c2e3b2" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5046,7 +5154,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:12 GMT", + "Date": "Thu, 28 Apr 2022 09:12:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -5058,23 +5166,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b2d1c1e8-c660-4b7d-94d8-5bf297922505", - "x-ms-correlation-request-id": "904379ed-8a5c-400e-9176-6eb81abe7fd3", - "x-ms-ratelimit-remaining-subscription-reads": "11943", - "x-ms-routing-request-id": "EASTUS2:20220425T034012Z:904379ed-8a5c-400e-9176-6eb81abe7fd3" + "x-ms-arm-service-request-id": "05b0a454-228b-4170-bd53-b96294edbe1d", + "x-ms-correlation-request-id": "2c79ce76-ba93-466e-84dc-4ac29612952b", + "x-ms-ratelimit-remaining-subscription-reads": "11940", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091253Z:2c79ce76-ba93-466e-84dc-4ac29612952b" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5082,7 +5190,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:22 GMT", + "Date": "Thu, 28 Apr 2022 09:13:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -5094,23 +5202,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4328d5a9-9424-4523-b225-53f133b34a0a", - "x-ms-correlation-request-id": "98213377-5ca0-4fc4-8878-d7a5a79a5143", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-routing-request-id": "EASTUS2:20220425T034022Z:98213377-5ca0-4fc4-8878-d7a5a79a5143" + "x-ms-arm-service-request-id": "c28de4c1-c287-43dd-906b-15ca726477e1", + "x-ms-correlation-request-id": "658790a5-831e-439b-a79a-99251f2e8c6d", + "x-ms-ratelimit-remaining-subscription-reads": "11939", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091303Z:658790a5-831e-439b-a79a-99251f2e8c6d" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5118,7 +5226,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:43 GMT", + "Date": "Thu, 28 Apr 2022 09:13:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -5129,34 +5237,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "90a0be3d-6551-44a7-b90d-1dfae44ee136", - "x-ms-correlation-request-id": "b486fad4-5961-47d3-8241-ce96d1de3893", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-routing-request-id": "EASTUS2:20220425T034043Z:b486fad4-5961-47d3-8241-ce96d1de3893" + "x-ms-arm-service-request-id": "7ff895d3-886b-4f56-b6e9-b7e2e6e9c930", + "x-ms-correlation-request-id": "b0daf550-c271-4b28-8004-d9c7cb24bafc", + "x-ms-ratelimit-remaining-subscription-reads": "11938", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091323Z:b0daf550-c271-4b28-8004-d9c7cb24bafc" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:43 GMT", + "Date": "Thu, 28 Apr 2022 09:13:22 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/78e79109-81b2-4c8f-aa7a-94a439849b7b?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6e474bcb-b687-4a5e-ad7a-f19e10dcb231?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -5164,10 +5272,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "30a6af0b-9b93-4c20-9aad-4a0805896c7f", - "x-ms-correlation-request-id": "f7d138b4-7fcb-47e1-8f3e-0012e43ea4f9", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-routing-request-id": "EASTUS2:20220425T034043Z:8614c42c-851b-4e3d-ae75-a95297412042" + "x-ms-arm-service-request-id": "53caf696-0ca3-43fb-a844-4ab5df6e4d08", + "x-ms-correlation-request-id": "6242bc63-9aba-47ec-8405-f918a2c2e3b2", + "x-ms-ratelimit-remaining-subscription-reads": "11937", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091323Z:f5dadafd-a9bc-4990-975a-08aec23fcde4" }, "ResponseBody": null }, @@ -5179,17 +5287,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2aaca5ff-0fd9-401e-b8dd-8f3893c998e1?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c4241681-407e-4ea4-a8d6-5aac57e9d5c2?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:40:43 GMT", + "Date": "Thu, 28 Apr 2022 09:13:22 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2aaca5ff-0fd9-401e-b8dd-8f3893c998e1?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c4241681-407e-4ea4-a8d6-5aac57e9d5c2?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -5198,21 +5306,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9b283758-1495-4798-8a75-d2f895d648e8", - "x-ms-correlation-request-id": "298fb308-d76f-4a93-9bf6-3c4d990ea26f", + "x-ms-arm-service-request-id": "8ae0afa7-87ba-43f2-8a80-354dfe1c8ad0", + "x-ms-correlation-request-id": "e26b5a3e-b1d1-4ecf-b06d-16f65947c53f", "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-routing-request-id": "EASTUS2:20220425T034043Z:298fb308-d76f-4a93-9bf6-3c4d990ea26f" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091323Z:e26b5a3e-b1d1-4ecf-b06d-16f65947c53f" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2aaca5ff-0fd9-401e-b8dd-8f3893c998e1?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c4241681-407e-4ea4-a8d6-5aac57e9d5c2?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5220,7 +5328,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:53 GMT", + "Date": "Thu, 28 Apr 2022 09:13:32 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -5231,33 +5339,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "426836f0-3128-4be0-b0cb-73051ee32eba", - "x-ms-correlation-request-id": "23761632-37ba-400b-8b64-e48aec707ffb", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-routing-request-id": "EASTUS2:20220425T034053Z:23761632-37ba-400b-8b64-e48aec707ffb" + "x-ms-arm-service-request-id": "0e044ed8-a12f-4a77-a1e3-b65f89cb66b7", + "x-ms-correlation-request-id": "48a73d09-4e93-4e5d-b0f8-579255a04876", + "x-ms-ratelimit-remaining-subscription-reads": "11936", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091333Z:48a73d09-4e93-4e5d-b0f8-579255a04876" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2aaca5ff-0fd9-401e-b8dd-8f3893c998e1?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c4241681-407e-4ea4-a8d6-5aac57e9d5c2?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2aaca5ff-0fd9-401e-b8dd-8f3893c998e1?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c4241681-407e-4ea4-a8d6-5aac57e9d5c2?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:40:53 GMT", + "Date": "Thu, 28 Apr 2022 09:13:32 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2aaca5ff-0fd9-401e-b8dd-8f3893c998e1?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c4241681-407e-4ea4-a8d6-5aac57e9d5c2?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -5265,10 +5373,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9b283758-1495-4798-8a75-d2f895d648e8", - "x-ms-correlation-request-id": "298fb308-d76f-4a93-9bf6-3c4d990ea26f", - "x-ms-ratelimit-remaining-subscription-reads": "11938", - "x-ms-routing-request-id": "EASTUS2:20220425T034053Z:3b464314-a77f-4b45-991c-3f8986669697" + "x-ms-arm-service-request-id": "8ae0afa7-87ba-43f2-8a80-354dfe1c8ad0", + "x-ms-correlation-request-id": "e26b5a3e-b1d1-4ecf-b06d-16f65947c53f", + "x-ms-ratelimit-remaining-subscription-reads": "11935", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091333Z:eb0a7169-6a13-4221-884b-01e210a104bc" }, "ResponseBody": null }, @@ -5280,18 +5388,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:40:53 GMT", + "Date": "Thu, 28 Apr 2022 09:13:33 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -5300,21 +5408,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "29b77f53-efd2-41e2-992c-fac4d7a5694a", - "x-ms-correlation-request-id": "a3c9d139-c1c4-4883-ade2-d40c32c4812d", + "x-ms-arm-service-request-id": "1287ccbe-b710-490a-abe9-c552d90a7e4d", + "x-ms-correlation-request-id": "c635faa6-ae29-4b37-bf9e-8671f09f17b2", "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-routing-request-id": "EASTUS2:20220425T034053Z:a3c9d139-c1c4-4883-ade2-d40c32c4812d" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091334Z:c635faa6-ae29-4b37-bf9e-8671f09f17b2" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5322,7 +5430,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:41:03 GMT", + "Date": "Thu, 28 Apr 2022 09:13:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -5334,23 +5442,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "83da01fd-6544-4bd1-9f6a-dc2da7339b96", - "x-ms-correlation-request-id": "a52336b3-9c74-49eb-b9f0-b7fd465ae14c", - "x-ms-ratelimit-remaining-subscription-reads": "11937", - "x-ms-routing-request-id": "EASTUS2:20220425T034103Z:a52336b3-9c74-49eb-b9f0-b7fd465ae14c" + "x-ms-arm-service-request-id": "3cf561ee-88f9-4f9d-a128-453ecfb2198f", + "x-ms-correlation-request-id": "a2e4aa3d-c238-4f07-9e6a-70439059f8f3", + "x-ms-ratelimit-remaining-subscription-reads": "11934", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091344Z:a2e4aa3d-c238-4f07-9e6a-70439059f8f3" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5358,7 +5466,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:41:13 GMT", + "Date": "Thu, 28 Apr 2022 09:13:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -5370,23 +5478,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "426cb948-fb42-4683-949e-3f6a929776fb", - "x-ms-correlation-request-id": "52584d57-6735-4338-a095-bf8afff11254", - "x-ms-ratelimit-remaining-subscription-reads": "11936", - "x-ms-routing-request-id": "EASTUS2:20220425T034113Z:52584d57-6735-4338-a095-bf8afff11254" + "x-ms-arm-service-request-id": "f790ed47-3de1-4c46-90b9-22c004e1a13e", + "x-ms-correlation-request-id": "bdf8a2ce-f77e-4761-bed4-0e073eb9fb5b", + "x-ms-ratelimit-remaining-subscription-reads": "11933", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091354Z:bdf8a2ce-f77e-4761-bed4-0e073eb9fb5b" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5394,7 +5502,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:41:33 GMT", + "Date": "Thu, 28 Apr 2022 09:14:13 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -5406,23 +5514,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d2ceac88-60dc-40e0-a128-b18a35051b27", - "x-ms-correlation-request-id": "c40d67f1-9e79-43b0-8e19-5b18ad903f4e", - "x-ms-ratelimit-remaining-subscription-reads": "11935", - "x-ms-routing-request-id": "EASTUS2:20220425T034133Z:c40d67f1-9e79-43b0-8e19-5b18ad903f4e" + "x-ms-arm-service-request-id": "d8997d14-2974-4723-8785-cf6e8e953128", + "x-ms-correlation-request-id": "f38e8799-b1ae-436a-9e18-b265a9747130", + "x-ms-ratelimit-remaining-subscription-reads": "11932", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091414Z:f38e8799-b1ae-436a-9e18-b265a9747130" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5430,7 +5538,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:41:52 GMT", + "Date": "Thu, 28 Apr 2022 09:14:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -5442,23 +5550,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f7f4513f-49be-437f-85c5-5cd455588123", - "x-ms-correlation-request-id": "72ee4ca1-d3a9-485c-866e-05f8242969c2", - "x-ms-ratelimit-remaining-subscription-reads": "11934", - "x-ms-routing-request-id": "EASTUS2:20220425T034153Z:72ee4ca1-d3a9-485c-866e-05f8242969c2" + "x-ms-arm-service-request-id": "5a5da970-5ad0-4abb-9fe3-9a3b14b317e1", + "x-ms-correlation-request-id": "ebb0e574-18d8-44ea-819e-e154d996af32", + "x-ms-ratelimit-remaining-subscription-reads": "11931", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091434Z:ebb0e574-18d8-44ea-819e-e154d996af32" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5466,7 +5574,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:42:33 GMT", + "Date": "Thu, 28 Apr 2022 09:15:13 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -5478,23 +5586,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ff69594f-fb77-4916-84d7-010d397a6deb", - "x-ms-correlation-request-id": "53e179f7-8ace-4689-88c8-d375b1e9721e", - "x-ms-ratelimit-remaining-subscription-reads": "11933", - "x-ms-routing-request-id": "EASTUS2:20220425T034233Z:53e179f7-8ace-4689-88c8-d375b1e9721e" + "x-ms-arm-service-request-id": "ea5a72a1-03d4-4b78-8eee-9b78af59ecf4", + "x-ms-correlation-request-id": "86332064-ad2b-41f8-9418-848b0396980d", + "x-ms-ratelimit-remaining-subscription-reads": "11930", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091514Z:86332064-ad2b-41f8-9418-848b0396980d" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5502,7 +5610,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:43:13 GMT", + "Date": "Thu, 28 Apr 2022 09:15:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -5514,23 +5622,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4a299b27-5bf3-48c6-898f-79f550d0c6c0", - "x-ms-correlation-request-id": "186fc181-9a9d-45f1-a76b-8a5e3edf3880", - "x-ms-ratelimit-remaining-subscription-reads": "11932", - "x-ms-routing-request-id": "EASTUS2:20220425T034314Z:186fc181-9a9d-45f1-a76b-8a5e3edf3880" + "x-ms-arm-service-request-id": "83c9f5a0-fe7c-42c5-a915-3910c9eb9545", + "x-ms-correlation-request-id": "f50df161-4768-4c43-9396-5ebad0f3d2b7", + "x-ms-ratelimit-remaining-subscription-reads": "11929", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091554Z:f50df161-4768-4c43-9396-5ebad0f3d2b7" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5538,7 +5646,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:44:33 GMT", + "Date": "Thu, 28 Apr 2022 09:17:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -5550,23 +5658,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4d4843d1-ae03-4d6e-9cf2-f546d1568168", - "x-ms-correlation-request-id": "c5a815f0-151a-40cb-87b8-d10560c5e9f2", - "x-ms-ratelimit-remaining-subscription-reads": "11931", - "x-ms-routing-request-id": "EASTUS2:20220425T034434Z:c5a815f0-151a-40cb-87b8-d10560c5e9f2" + "x-ms-arm-service-request-id": "41cb3b24-a951-46dc-b28f-ae06c06c6946", + "x-ms-correlation-request-id": "aa11ef2c-edca-46ad-9c2c-28043a07545f", + "x-ms-ratelimit-remaining-subscription-reads": "11928", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091714Z:aa11ef2c-edca-46ad-9c2c-28043a07545f" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5574,7 +5682,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:47:14 GMT", + "Date": "Thu, 28 Apr 2022 09:19:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -5586,23 +5694,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "917a628d-6325-4b8c-952a-3343a9dbe7f7", - "x-ms-correlation-request-id": "8ff24ce8-1156-41ac-8e3b-c3c3ccde80f9", - "x-ms-ratelimit-remaining-subscription-reads": "11930", - "x-ms-routing-request-id": "EASTUS2:20220425T034714Z:8ff24ce8-1156-41ac-8e3b-c3c3ccde80f9" + "x-ms-arm-service-request-id": "262218f3-56f3-474c-9265-824ad7e40f84", + "x-ms-correlation-request-id": "b29b9f8e-6c8f-4bdb-b02a-d52d65b295fc", + "x-ms-ratelimit-remaining-subscription-reads": "11927", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T091955Z:b29b9f8e-6c8f-4bdb-b02a-d52d65b295fc" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5610,7 +5718,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:48:54 GMT", + "Date": "Thu, 28 Apr 2022 09:21:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -5621,34 +5729,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "315b11e4-e713-402c-91ec-48192cbbe818", - "x-ms-correlation-request-id": "921d4db1-cff8-45fe-803f-85060042373f", - "x-ms-ratelimit-remaining-subscription-reads": "11929", - "x-ms-routing-request-id": "EASTUS2:20220425T034854Z:921d4db1-cff8-45fe-803f-85060042373f" + "x-ms-arm-service-request-id": "03979151-5981-464d-910f-f56d0d985077", + "x-ms-correlation-request-id": "83cbf35b-51d2-4c22-be83-a2dfae5307fa", + "x-ms-ratelimit-remaining-subscription-reads": "11926", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092135Z:83cbf35b-51d2-4c22-be83-a2dfae5307fa" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:48:54 GMT", + "Date": "Thu, 28 Apr 2022 09:21:34 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/eae7012a-14ac-4710-8e28-88dfc15fc9d5?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/945c0495-fb30-43ff-8739-a2e082e896ad?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -5656,10 +5764,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "29b77f53-efd2-41e2-992c-fac4d7a5694a", - "x-ms-correlation-request-id": "a3c9d139-c1c4-4883-ade2-d40c32c4812d", - "x-ms-ratelimit-remaining-subscription-reads": "11928", - "x-ms-routing-request-id": "EASTUS2:20220425T034854Z:192adcd2-3972-44a0-bf83-ab632a3d62e3" + "x-ms-arm-service-request-id": "1287ccbe-b710-490a-abe9-c552d90a7e4d", + "x-ms-correlation-request-id": "c635faa6-ae29-4b37-bf9e-8671f09f17b2", + "x-ms-ratelimit-remaining-subscription-reads": "11925", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092135Z:46967546-6b2c-410a-a1ab-860bf1f7b94d" }, "ResponseBody": null }, @@ -5671,20 +5779,20 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Cache-Control": "no-cache", - "Date": "Mon, 25 Apr 2022 03:48:54 GMT", + "Date": "Thu, 28 Apr 2022 09:21:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c824bdad-0644-4e16-b4a1-fa1bfe55ac05", + "x-ms-correlation-request-id": "6b01ef45-47d2-49be-aaea-28a878f8fcb0", "x-ms-ratelimit-remaining-subscription-deletes": "14995", - "x-ms-routing-request-id": "EASTUS2:20220425T034854Z:c824bdad-0644-4e16-b4a1-fa1bfe55ac05" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092135Z:6b01ef45-47d2-49be-aaea-28a878f8fcb0" }, "ResponseBody": null }, @@ -5696,20 +5804,20 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Cache-Control": "no-cache", - "Date": "Mon, 25 Apr 2022 03:48:54 GMT", + "Date": "Thu, 28 Apr 2022 09:21:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "750f602d-f7d8-4735-b178-9f923d53f406", + "x-ms-correlation-request-id": "5a7cf67c-bad0-4342-b138-2eeb64be6517", "x-ms-ratelimit-remaining-subscription-deletes": "14994", - "x-ms-routing-request-id": "EASTUS2:20220425T034854Z:750f602d-f7d8-4735-b178-9f923d53f406" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092135Z:5a7cf67c-bad0-4342-b138-2eeb64be6517" }, "ResponseBody": null }, @@ -5721,20 +5829,20 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Cache-Control": "no-cache", - "Date": "Mon, 25 Apr 2022 03:48:54 GMT", + "Date": "Thu, 28 Apr 2022 09:21:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9ec66b58-1705-44ad-bc6a-279fb398dcec", + "x-ms-correlation-request-id": "489748c4-f5d7-4c1d-a8cf-65559bc8ba68", "x-ms-ratelimit-remaining-subscription-deletes": "14993", - "x-ms-routing-request-id": "EASTUS2:20220425T034854Z:9ec66b58-1705-44ad-bc6a-279fb398dcec" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092135Z:489748c4-f5d7-4c1d-a8cf-65559bc8ba68" }, "ResponseBody": null }, @@ -5746,18 +5854,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b7649121-186b-4772-ad47-fa771d362e02?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/272df494-d675-493b-8c9d-37d290ae3e98?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:48:54 GMT", + "Date": "Thu, 28 Apr 2022 09:21:35 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b7649121-186b-4772-ad47-fa771d362e02?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/272df494-d675-493b-8c9d-37d290ae3e98?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -5766,21 +5874,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c27edeb7-72a2-43d3-96d0-19ce558d3a10", - "x-ms-correlation-request-id": "2faf30d4-07e7-47f2-a32e-e665cf50afd9", + "x-ms-arm-service-request-id": "66d7f85d-970a-404e-bab5-ccd9168b33da", + "x-ms-correlation-request-id": "08e93873-cd34-4edd-bbad-66fea61465b2", "x-ms-ratelimit-remaining-subscription-deletes": "14992", - "x-ms-routing-request-id": "EASTUS2:20220425T034854Z:2faf30d4-07e7-47f2-a32e-e665cf50afd9" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092136Z:08e93873-cd34-4edd-bbad-66fea61465b2" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b7649121-186b-4772-ad47-fa771d362e02?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/272df494-d675-493b-8c9d-37d290ae3e98?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5788,7 +5896,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:04 GMT", + "Date": "Thu, 28 Apr 2022 09:21:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -5799,34 +5907,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0bcd37c4-7610-459f-8fc7-f2f84b490915", - "x-ms-correlation-request-id": "b129a202-c209-4113-b6db-e3c956b85089", - "x-ms-ratelimit-remaining-subscription-reads": "11927", - "x-ms-routing-request-id": "EASTUS2:20220425T034905Z:b129a202-c209-4113-b6db-e3c956b85089" + "x-ms-arm-service-request-id": "08acb17a-4715-42bb-bc10-dc3d9e5e5c46", + "x-ms-correlation-request-id": "91a87e10-1ab4-42b0-8fbf-b800a8c5a7e8", + "x-ms-ratelimit-remaining-subscription-reads": "11924", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092146Z:91a87e10-1ab4-42b0-8fbf-b800a8c5a7e8" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b7649121-186b-4772-ad47-fa771d362e02?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/272df494-d675-493b-8c9d-37d290ae3e98?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b7649121-186b-4772-ad47-fa771d362e02?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/272df494-d675-493b-8c9d-37d290ae3e98?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:04 GMT", + "Date": "Thu, 28 Apr 2022 09:21:46 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b7649121-186b-4772-ad47-fa771d362e02?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/272df494-d675-493b-8c9d-37d290ae3e98?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -5834,10 +5942,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c27edeb7-72a2-43d3-96d0-19ce558d3a10", - "x-ms-correlation-request-id": "2faf30d4-07e7-47f2-a32e-e665cf50afd9", - "x-ms-ratelimit-remaining-subscription-reads": "11926", - "x-ms-routing-request-id": "EASTUS2:20220425T034905Z:6ec9339b-c736-49ec-9ee9-2f065301bdab" + "x-ms-arm-service-request-id": "66d7f85d-970a-404e-bab5-ccd9168b33da", + "x-ms-correlation-request-id": "08e93873-cd34-4edd-bbad-66fea61465b2", + "x-ms-ratelimit-remaining-subscription-reads": "11923", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092146Z:ff0ba538-2d78-4a68-b12b-6711289b5523" }, "ResponseBody": null }, @@ -5849,18 +5957,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8034f6ed-1dee-4061-815a-d5f0326cf32d?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/fc62af9c-750c-4214-af91-18e1d300aa7b?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:49:06 GMT", + "Date": "Thu, 28 Apr 2022 09:21:48 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8034f6ed-1dee-4061-815a-d5f0326cf32d?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/fc62af9c-750c-4214-af91-18e1d300aa7b?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "4", "Server": [ @@ -5869,21 +5977,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "42c64a29-85c8-4c98-9aa5-630649b5d9d3", - "x-ms-correlation-request-id": "7ffc5d45-963f-41cc-8b65-5265aff1d446", + "x-ms-arm-service-request-id": "05d1a1db-db7e-401f-adeb-0dad77d8be58", + "x-ms-correlation-request-id": "7341c177-94d5-4f90-85be-72257011c018", "x-ms-ratelimit-remaining-subscription-deletes": "14991", - "x-ms-routing-request-id": "EASTUS2:20220425T034906Z:7ffc5d45-963f-41cc-8b65-5265aff1d446" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092148Z:7341c177-94d5-4f90-85be-72257011c018" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8034f6ed-1dee-4061-815a-d5f0326cf32d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/fc62af9c-750c-4214-af91-18e1d300aa7b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5891,7 +5999,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:10 GMT", + "Date": "Thu, 28 Apr 2022 09:21:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -5902,35 +6010,35 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "504ccd35-fe3c-4d2e-b2be-1ba13ea0fc22", - "x-ms-correlation-request-id": "19e71854-cda9-4aac-abd8-6c5d5779cafd", - "x-ms-ratelimit-remaining-subscription-reads": "11925", - "x-ms-routing-request-id": "EASTUS2:20220425T034910Z:19e71854-cda9-4aac-abd8-6c5d5779cafd" + "x-ms-arm-service-request-id": "519b71f4-c13f-482a-a2e0-aa10b7a7f050", + "x-ms-correlation-request-id": "70fd5f77-2cc7-450d-a510-9f79417056f3", + "x-ms-ratelimit-remaining-subscription-reads": "11922", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092152Z:70fd5f77-2cc7-450d-a510-9f79417056f3" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8034f6ed-1dee-4061-815a-d5f0326cf32d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/fc62af9c-750c-4214-af91-18e1d300aa7b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8034f6ed-1dee-4061-815a-d5f0326cf32d?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/fc62af9c-750c-4214-af91-18e1d300aa7b?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:10 GMT", + "Date": "Thu, 28 Apr 2022 09:21:52 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8034f6ed-1dee-4061-815a-d5f0326cf32d?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/fc62af9c-750c-4214-af91-18e1d300aa7b?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -5940,10 +6048,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "42c64a29-85c8-4c98-9aa5-630649b5d9d3", - "x-ms-correlation-request-id": "7ffc5d45-963f-41cc-8b65-5265aff1d446", - "x-ms-ratelimit-remaining-subscription-reads": "11924", - "x-ms-routing-request-id": "EASTUS2:20220425T034910Z:950fbce1-63f7-4e6a-9cfe-1ed10122f696" + "x-ms-arm-service-request-id": "05d1a1db-db7e-401f-adeb-0dad77d8be58", + "x-ms-correlation-request-id": "7341c177-94d5-4f90-85be-72257011c018", + "x-ms-ratelimit-remaining-subscription-reads": "11921", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092152Z:df0a6546-483c-4fce-bc66-be0e84a5d7d0" }, "ResponseBody": "null" }, @@ -5955,17 +6063,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8cd58dea-11f7-4a09-a2b0-1e6554d19a36?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/006c606d-cc98-46bf-8bd5-921ca0f66d84?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:49:10 GMT", + "Date": "Thu, 28 Apr 2022 09:21:52 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8cd58dea-11f7-4a09-a2b0-1e6554d19a36?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/006c606d-cc98-46bf-8bd5-921ca0f66d84?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -5974,21 +6082,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2abb980d-c15f-4824-bc88-5735a6da2b10", - "x-ms-correlation-request-id": "8173182b-bf88-41cc-8290-2b24b645b040", + "x-ms-arm-service-request-id": "de24d4cd-4c4e-4479-b1b7-1a0ac5e98b46", + "x-ms-correlation-request-id": "8b687216-1ee5-40d9-88bf-9ad2126abaa3", "x-ms-ratelimit-remaining-subscription-deletes": "14990", - "x-ms-routing-request-id": "EASTUS2:20220425T034910Z:8173182b-bf88-41cc-8290-2b24b645b040" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092152Z:8b687216-1ee5-40d9-88bf-9ad2126abaa3" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8cd58dea-11f7-4a09-a2b0-1e6554d19a36?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/006c606d-cc98-46bf-8bd5-921ca0f66d84?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -5996,7 +6104,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:20 GMT", + "Date": "Thu, 28 Apr 2022 09:22:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -6007,33 +6115,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "11db15df-f8e1-4cf7-bbd5-bfc84f706130", - "x-ms-correlation-request-id": "77832377-4723-49dd-b7be-6098056b8139", - "x-ms-ratelimit-remaining-subscription-reads": "11923", - "x-ms-routing-request-id": "EASTUS2:20220425T034920Z:77832377-4723-49dd-b7be-6098056b8139" + "x-ms-arm-service-request-id": "4f6091b3-2c8b-479c-9acf-7f31f5505cf6", + "x-ms-correlation-request-id": "6156b9f8-3de4-46c0-9eff-a61fafbd4422", + "x-ms-ratelimit-remaining-subscription-reads": "11920", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092202Z:6156b9f8-3de4-46c0-9eff-a61fafbd4422" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8cd58dea-11f7-4a09-a2b0-1e6554d19a36?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/006c606d-cc98-46bf-8bd5-921ca0f66d84?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8cd58dea-11f7-4a09-a2b0-1e6554d19a36?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/006c606d-cc98-46bf-8bd5-921ca0f66d84?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:20 GMT", + "Date": "Thu, 28 Apr 2022 09:22:02 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8cd58dea-11f7-4a09-a2b0-1e6554d19a36?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/006c606d-cc98-46bf-8bd5-921ca0f66d84?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -6041,10 +6149,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2abb980d-c15f-4824-bc88-5735a6da2b10", - "x-ms-correlation-request-id": "8173182b-bf88-41cc-8290-2b24b645b040", - "x-ms-ratelimit-remaining-subscription-reads": "11922", - "x-ms-routing-request-id": "EASTUS2:20220425T034921Z:5fd435b2-2dc5-4b68-ae61-813a10aeb35d" + "x-ms-arm-service-request-id": "de24d4cd-4c4e-4479-b1b7-1a0ac5e98b46", + "x-ms-correlation-request-id": "8b687216-1ee5-40d9-88bf-9ad2126abaa3", + "x-ms-ratelimit-remaining-subscription-reads": "11919", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092202Z:e3f09068-8b62-4eb2-8532-ebbcf7426cf5" }, "ResponseBody": null }, @@ -6056,18 +6164,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b46ae8da-42df-4dae-b2c4-e623a1478e74?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7095821b-3b6c-46b4-9a70-c41f8d48c2c1?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:49:20 GMT", + "Date": "Thu, 28 Apr 2022 09:22:02 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b46ae8da-42df-4dae-b2c4-e623a1478e74?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7095821b-3b6c-46b4-9a70-c41f8d48c2c1?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -6076,21 +6184,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "97e99779-7c7b-4b74-9715-22e04efb1980", - "x-ms-correlation-request-id": "577b18a4-ff0d-47f2-8efd-094ae3b709a2", + "x-ms-arm-service-request-id": "7b2e85ab-f025-4a41-b531-9ea9d182008b", + "x-ms-correlation-request-id": "71f80262-e504-4aba-b342-b57195a804a2", "x-ms-ratelimit-remaining-subscription-deletes": "14989", - "x-ms-routing-request-id": "EASTUS2:20220425T034921Z:577b18a4-ff0d-47f2-8efd-094ae3b709a2" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092202Z:71f80262-e504-4aba-b342-b57195a804a2" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b46ae8da-42df-4dae-b2c4-e623a1478e74?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7095821b-3b6c-46b4-9a70-c41f8d48c2c1?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -6098,7 +6206,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:30 GMT", + "Date": "Thu, 28 Apr 2022 09:22:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -6109,34 +6217,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b50656ac-5485-488c-a6e4-fd7f6795a2d6", - "x-ms-correlation-request-id": "6584cc54-bf1a-4d51-9b94-e621cbb7edb7", - "x-ms-ratelimit-remaining-subscription-reads": "11921", - "x-ms-routing-request-id": "EASTUS2:20220425T034931Z:6584cc54-bf1a-4d51-9b94-e621cbb7edb7" + "x-ms-arm-service-request-id": "06218c09-c66c-4da9-b91a-7375f6ccbec2", + "x-ms-correlation-request-id": "ba90b8d6-5155-40f4-9182-82c448815158", + "x-ms-ratelimit-remaining-subscription-reads": "11918", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092213Z:ba90b8d6-5155-40f4-9182-82c448815158" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b46ae8da-42df-4dae-b2c4-e623a1478e74?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7095821b-3b6c-46b4-9a70-c41f8d48c2c1?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b46ae8da-42df-4dae-b2c4-e623a1478e74?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7095821b-3b6c-46b4-9a70-c41f8d48c2c1?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:49:30 GMT", + "Date": "Thu, 28 Apr 2022 09:22:12 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b46ae8da-42df-4dae-b2c4-e623a1478e74?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7095821b-3b6c-46b4-9a70-c41f8d48c2c1?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -6144,10 +6252,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "97e99779-7c7b-4b74-9715-22e04efb1980", - "x-ms-correlation-request-id": "577b18a4-ff0d-47f2-8efd-094ae3b709a2", - "x-ms-ratelimit-remaining-subscription-reads": "11920", - "x-ms-routing-request-id": "EASTUS2:20220425T034931Z:65ecb2b8-73ef-47a1-96ef-36348b4d16c2" + "x-ms-arm-service-request-id": "7b2e85ab-f025-4a41-b531-9ea9d182008b", + "x-ms-correlation-request-id": "71f80262-e504-4aba-b342-b57195a804a2", + "x-ms-ratelimit-remaining-subscription-reads": "11917", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092213Z:90e1891a-f107-44a3-9527-db6831f752dc" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.pyTestMgmtNetworktest_network.json index f30c6fbbd32d..95e83c235716 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:18 GMT", + "Date": "Thu, 28 Apr 2022 09:22:47 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - NCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:18 GMT", + "Date": "Thu, 28 Apr 2022 09:22:47 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12707.9 - KRSLR2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,28 +172,28 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "7fc6b3b1-9791-435b-9670-19a06f31a8bf", + "client-request-id": "9c90fc42-544a-4b72-a909-036f4490b11a", "Connection": "keep-alive", - "Content-Length": "289", + "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.7.3 (Windows-10-10.0.22581-SP0)", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", - "x-client-os": "win32", + "x-client-os": "linux", "x-client-sku": "MSAL.Python", "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, - "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "RequestBody": "client_id=8c41a920-007a-4844-a189-2d0efe39f51e\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=o0XWF_siD-FhI.5AE83-u0GaQHW_GP7cjy\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "7fc6b3b1-9791-435b-9670-19a06f31a8bf", + "client-request-id": "9c90fc42-544a-4b72-a909-036f4490b11a", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:18 GMT", + "Date": "Thu, 28 Apr 2022 09:22:48 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "92", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -235,11 +235,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5873cc04-e52e-4c9d-a349-adda3f70ee47?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/796c006c-82b0-495e-a2c0-7447f4c0e42f?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "612", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:26 GMT", + "Date": "Thu, 28 Apr 2022 09:22:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -249,20 +249,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b37462d5-f19a-4f94-a993-ff0337223142", - "x-ms-correlation-request-id": "0f6146d2-a0bd-4c6b-8749-48473e60a487", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013526Z:0f6146d2-a0bd-4c6b-8749-48473e60a487" + "x-ms-arm-service-request-id": "cc013734-0225-47e2-b32a-97c236eeee77", + "x-ms-correlation-request-id": "a8c436ac-3263-459d-aca0-8d785fc4e64e", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092249Z:a8c436ac-3263-459d-aca0-8d785fc4e64e" }, "ResponseBody": { "name": "virtualnetwork", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork", - "etag": "W/\u002224eee61b-27a5-4b42-991b-5e23e40111c9\u0022", + "etag": "W/\u0022dc7a5a7e-a8c0-466c-a98e-af620d621716\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "7b252fad-830c-438a-98df-b0e6c553406d", + "resourceGuid": "69132fec-49bd-4c5f-aa1f-fe8121bc2249", "addressSpace": { "addressPrefixes": [ "10.0.0.0/16" @@ -275,13 +275,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5873cc04-e52e-4c9d-a349-adda3f70ee47?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/796c006c-82b0-495e-a2c0-7447f4c0e42f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -289,7 +289,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:30 GMT", + "Date": "Thu, 28 Apr 2022 09:22:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -300,10 +300,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "73ad8512-8a1a-4e0a-8a83-538e1d4c6969", - "x-ms-correlation-request-id": "2e59b6e6-5dae-47a5-a7a9-d14923a696ae", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013530Z:2e59b6e6-5dae-47a5-a7a9-d14923a696ae" + "x-ms-arm-service-request-id": "f12d3968-58f0-4410-be6e-ad0eeb2afc13", + "x-ms-correlation-request-id": "efabb86a-b052-4068-a529-eb239990c7e7", + "x-ms-ratelimit-remaining-subscription-reads": "11916", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092252Z:efabb86a-b052-4068-a529-eb239990c7e7" }, "ResponseBody": { "status": "Succeeded" @@ -316,7 +316,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -324,8 +324,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:30 GMT", - "ETag": "W/\u0022a23e086d-535c-4360-8e9b-7eb46bc6b131\u0022", + "Date": "Thu, 28 Apr 2022 09:22:51 GMT", + "ETag": "W/\u0022424d3cc5-62c6-48bb-b571-ef6b885a7af5\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -336,20 +336,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "fb1dbd81-4b3c-4e15-a8e6-cfa8e97578be", - "x-ms-correlation-request-id": "8457ac06-9496-4b96-82e2-ae304414f954", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013530Z:8457ac06-9496-4b96-82e2-ae304414f954" + "x-ms-arm-service-request-id": "dc8478e2-63a0-41eb-aa1c-00f404ae7dc4", + "x-ms-correlation-request-id": "876fbc84-e0cd-4774-a734-cea704aa6792", + "x-ms-ratelimit-remaining-subscription-reads": "11915", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092252Z:876fbc84-e0cd-4774-a734-cea704aa6792" }, "ResponseBody": { "name": "virtualnetwork", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork", - "etag": "W/\u0022a23e086d-535c-4360-8e9b-7eb46bc6b131\u0022", + "etag": "W/\u0022424d3cc5-62c6-48bb-b571-ef6b885a7af5\u0022", "type": "Microsoft.Network/virtualNetworks", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "7b252fad-830c-438a-98df-b0e6c553406d", + "resourceGuid": "69132fec-49bd-4c5f-aa1f-fe8121bc2249", "addressSpace": { "addressPrefixes": [ "10.0.0.0/16" @@ -370,7 +370,7 @@ "Connection": "keep-alive", "Content-Length": "97", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -380,11 +380,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4a7f057d-a486-4406-a3ce-70a486aca1a4?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/58221e43-d193-4c6a-8680-be1c91e4822f?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "526", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:30 GMT", + "Date": "Thu, 28 Apr 2022 09:22:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -394,15 +394,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3f304fa4-135f-4c13-b472-6b2530775d2c", - "x-ms-correlation-request-id": "a9d23657-3392-45a9-b06f-b2ab88b4fcd3", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013530Z:a9d23657-3392-45a9-b06f-b2ab88b4fcd3" + "x-ms-arm-service-request-id": "8120e4c9-c8bf-4bd0-8745-114c12dfea84", + "x-ms-correlation-request-id": "a5056114-fa84-4d68-8937-8cac35b8d2cc", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092252Z:a5056114-fa84-4d68-8937-8cac35b8d2cc" }, "ResponseBody": { "name": "subnet1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1", - "etag": "W/\u0022a7f0dda3-6e1e-4d26-b5f6-b8c0787bf042\u0022", + "etag": "W/\u00221da4c54d-0d26-4699-8b84-e9e545424f81\u0022", "properties": { "provisioningState": "Updating", "addressPrefix": "10.0.0.0/24", @@ -414,13 +414,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4a7f057d-a486-4406-a3ce-70a486aca1a4?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/58221e43-d193-4c6a-8680-be1c91e4822f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -428,7 +428,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:34 GMT", + "Date": "Thu, 28 Apr 2022 09:22:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -439,10 +439,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "60574064-ab2b-4337-a999-3a65610afc52", - "x-ms-correlation-request-id": "e76e15b8-ddca-43ff-9027-3d6ff65484a7", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013534Z:e76e15b8-ddca-43ff-9027-3d6ff65484a7" + "x-ms-arm-service-request-id": "808f9ff3-aa53-4c91-8a3a-329b494c9ef0", + "x-ms-correlation-request-id": "10e9a356-41b2-4bff-88a8-d471060b061d", + "x-ms-ratelimit-remaining-subscription-reads": "11914", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092255Z:10e9a356-41b2-4bff-88a8-d471060b061d" }, "ResponseBody": { "status": "Succeeded" @@ -455,7 +455,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -463,8 +463,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:34 GMT", - "ETag": "W/\u002283e647b2-737b-4cb4-aebf-f46edc08677a\u0022", + "Date": "Thu, 28 Apr 2022 09:22:55 GMT", + "ETag": "W/\u002288f2b2bb-0019-41a8-bad0-bf03c44d4693\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -475,15 +475,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "07af5d3b-b110-4399-a5e0-907ccc3997ff", - "x-ms-correlation-request-id": "5720384b-ba9e-4e7f-ac99-b187ecb9b664", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013534Z:5720384b-ba9e-4e7f-ac99-b187ecb9b664" + "x-ms-arm-service-request-id": "8c11a4d8-ffc4-49ef-9705-2425da75cd7d", + "x-ms-correlation-request-id": "72b64321-5e11-4b6d-ae5e-a0ab863f4652", + "x-ms-ratelimit-remaining-subscription-reads": "11913", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092255Z:72b64321-5e11-4b6d-ae5e-a0ab863f4652" }, "ResponseBody": { "name": "subnet1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1", - "etag": "W/\u002283e647b2-737b-4cb4-aebf-f46edc08677a\u0022", + "etag": "W/\u002288f2b2bb-0019-41a8-bad0-bf03c44d4693\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.0.0/24", @@ -503,7 +503,7 @@ "Connection": "keep-alive", "Content-Length": "94", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -513,11 +513,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bd03c3d2-fe39-4907-9f7d-f0fa266a4ed3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/121f9d6d-d03b-4ded-81ab-0e07f2961418?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "526", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:34 GMT", + "Date": "Thu, 28 Apr 2022 09:22:55 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -527,15 +527,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5b1dcbc2-9534-4c1e-a2f3-45d73e8b795e", - "x-ms-correlation-request-id": "2c5bcc13-d485-477a-b340-f0883e8be416", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013535Z:2c5bcc13-d485-477a-b340-f0883e8be416" + "x-ms-arm-service-request-id": "e1c2c583-e12e-4ce3-83be-3b60b9d95189", + "x-ms-correlation-request-id": "6d25b37c-0fe8-4cc3-8b1d-fbfb036adce7", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092255Z:6d25b37c-0fe8-4cc3-8b1d-fbfb036adce7" }, "ResponseBody": { "name": "subnet2", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2", - "etag": "W/\u002288cd8941-c6bf-42b1-9636-6e2a3d9e1dba\u0022", + "etag": "W/\u0022fe35df2e-ed2e-4d12-951f-ae387d186328\u0022", "properties": { "provisioningState": "Updating", "addressPrefix": "10.0.1.0/24", @@ -547,13 +547,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bd03c3d2-fe39-4907-9f7d-f0fa266a4ed3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/121f9d6d-d03b-4ded-81ab-0e07f2961418?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -561,7 +561,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:38 GMT", + "Date": "Thu, 28 Apr 2022 09:22:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -572,10 +572,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "8def269a-06ac-40dc-9224-fa3c6a2127a2", - "x-ms-correlation-request-id": "201081a6-b3ca-484e-9f2d-0c24eba8c4ef", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013538Z:201081a6-b3ca-484e-9f2d-0c24eba8c4ef" + "x-ms-arm-service-request-id": "9e76e4dc-d5f3-4d1d-a622-b8759c0fb8b3", + "x-ms-correlation-request-id": "c0e24acd-76f6-4077-8c55-3ca3693ec19b", + "x-ms-ratelimit-remaining-subscription-reads": "11912", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092258Z:c0e24acd-76f6-4077-8c55-3ca3693ec19b" }, "ResponseBody": { "status": "Succeeded" @@ -588,7 +588,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -596,8 +596,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:38 GMT", - "ETag": "W/\u0022252554e8-0ba2-421a-a368-f0df71a878a3\u0022", + "Date": "Thu, 28 Apr 2022 09:22:58 GMT", + "ETag": "W/\u0022495769b6-9600-4960-8721-e0bec4337d73\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -608,15 +608,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "22ab6d94-c9ae-41e0-bbaa-c44874fe4efa", - "x-ms-correlation-request-id": "8843cdd4-f8d9-462c-a4a9-9028037b3f65", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013538Z:8843cdd4-f8d9-462c-a4a9-9028037b3f65" + "x-ms-arm-service-request-id": "7989fecf-fe8d-45bf-938a-50324b4acb46", + "x-ms-correlation-request-id": "afb4b67a-4217-4612-afcb-4737ed03cfad", + "x-ms-ratelimit-remaining-subscription-reads": "11911", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092258Z:afb4b67a-4217-4612-afcb-4737ed03cfad" }, "ResponseBody": { "name": "subnet2", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2", - "etag": "W/\u0022252554e8-0ba2-421a-a368-f0df71a878a3\u0022", + "etag": "W/\u0022495769b6-9600-4960-8721-e0bec4337d73\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.1.0/24", @@ -636,7 +636,7 @@ "Connection": "keep-alive", "Content-Length": "314", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -659,11 +659,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d8d9f7a0-c685-4ff3-ac48-a488a402ade1?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e261260a-176f-4fed-9aa0-c339ffabe04b?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1508", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:44 GMT", + "Date": "Thu, 28 Apr 2022 09:22:59 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -673,25 +673,25 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "dd74e739-701b-479a-9f82-3574d4e1b174", - "x-ms-correlation-request-id": "7db797cf-9db9-4281-9fa5-7228bdbcdf91", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013544Z:7db797cf-9db9-4281-9fa5-7228bdbcdf91" + "x-ms-arm-service-request-id": "374bcc2f-2f34-4191-86d3-c0a0012ae1d2", + "x-ms-correlation-request-id": "6b6adc99-a26d-48c4-8be1-aa0a357e8f02", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092259Z:6b6adc99-a26d-48c4-8be1-aa0a357e8f02" }, "ResponseBody": { "name": "loadbalancer", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer", - "etag": "W/\u00226f99c726-2706-41d8-a063-31090f031b68\u0022", + "etag": "W/\u00228aaa010d-a11e-4bf2-9023-4807bc87ccf0\u0022", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "95b3a305-3097-40c8-9ab3-f434516765d8", + "resourceGuid": "84aaec19-e6b9-49c5-838f-decbeba5521d", "frontendIPConfigurations": [ { "name": "myIPConfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration", - "etag": "W/\u00226f99c726-2706-41d8-a063-31090f031b68\u0022", + "etag": "W/\u00228aaa010d-a11e-4bf2-9023-4807bc87ccf0\u0022", "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", "properties": { "provisioningState": "Updating", @@ -718,13 +718,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d8d9f7a0-c685-4ff3-ac48-a488a402ade1?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e261260a-176f-4fed-9aa0-c339ffabe04b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -732,7 +732,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:47 GMT", + "Date": "Thu, 28 Apr 2022 09:23:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -743,10 +743,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ba9b96a9-6c84-4e35-8ad7-891ef9f49d03", - "x-ms-correlation-request-id": "e1bde578-c91e-4f03-a249-82762f33db30", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013548Z:e1bde578-c91e-4f03-a249-82762f33db30" + "x-ms-arm-service-request-id": "50bcb507-0ae6-414d-b74f-089fafdf1be2", + "x-ms-correlation-request-id": "d09cdbcf-7c67-4592-9421-6edce54a3bca", + "x-ms-ratelimit-remaining-subscription-reads": "11910", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092302Z:d09cdbcf-7c67-4592-9421-6edce54a3bca" }, "ResponseBody": { "status": "Succeeded" @@ -759,7 +759,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -767,8 +767,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:48 GMT", - "ETag": "W/\u002289f2c631-1f26-4768-ad5d-298a445854a3\u0022", + "Date": "Thu, 28 Apr 2022 09:23:02 GMT", + "ETag": "W/\u00229cfac5c2-7984-413c-961f-572183cfac7b\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -779,25 +779,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4cdaeb6b-9005-42ee-a618-b61178f1a095", - "x-ms-correlation-request-id": "5bfe808b-133b-44a8-91a8-6482d9235031", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013548Z:5bfe808b-133b-44a8-91a8-6482d9235031" + "x-ms-arm-service-request-id": "71201df7-b74f-4d20-a956-93752cf6f073", + "x-ms-correlation-request-id": "587317d0-e994-4cfb-aeda-c0abe205f798", + "x-ms-ratelimit-remaining-subscription-reads": "11909", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092302Z:587317d0-e994-4cfb-aeda-c0abe205f798" }, "ResponseBody": { "name": "loadbalancer", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer", - "etag": "W/\u002289f2c631-1f26-4768-ad5d-298a445854a3\u0022", + "etag": "W/\u00229cfac5c2-7984-413c-961f-572183cfac7b\u0022", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "95b3a305-3097-40c8-9ab3-f434516765d8", + "resourceGuid": "84aaec19-e6b9-49c5-838f-decbeba5521d", "frontendIPConfigurations": [ { "name": "myIPConfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration", - "etag": "W/\u002289f2c631-1f26-4768-ad5d-298a445854a3\u0022", + "etag": "W/\u00229cfac5c2-7984-413c-961f-572183cfac7b\u0022", "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", "properties": { "provisioningState": "Succeeded", @@ -832,7 +832,7 @@ "Connection": "keep-alive", "Content-Length": "759", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -874,11 +874,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0d67d28f-1a1f-48da-addc-f4c700c87fd3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0478b323-9e79-4132-b7d1-bed4034bf66d?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "2225", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:35:53 GMT", + "Date": "Thu, 28 Apr 2022 09:23:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -888,26 +888,26 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f2b102d5-a4c8-440e-aa7f-202f7ed66890", - "x-ms-correlation-request-id": "ec0f3de5-537d-4a61-a44e-d7a78879dcbf", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013553Z:ec0f3de5-537d-4a61-a44e-d7a78879dcbf" + "x-ms-arm-service-request-id": "db02b2e3-980d-49ad-b918-28cde9455ed0", + "x-ms-correlation-request-id": "77eab86b-22d7-4c93-835d-2030f24252c6", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092304Z:77eab86b-22d7-4c93-835d-2030f24252c6" }, "ResponseBody": { "name": "myService", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService", - "etag": "W/\u002274d64590-3212-41b0-847f-95e73591baa5\u0022", + "etag": "W/\u00226d753f06-da17-47c2-9dd7-74baad41babf\u0022", "type": "Microsoft.Network/privateLinkServices", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "066bebc9-2b80-4c27-b181-0a4858402fe6", + "resourceGuid": "78a1643a-eb2e-45a5-bca2-637ee9fbcef7", "fqdns": [ "fqdn1", "fqdn2", "fqdn3" ], - "alias": "myservice.22f418af-ba1d-46d4-a60d-3f21f5fb6076.eastus.azure.privatelinkservice", + "alias": "myservice.357e98c0-00ab-4024-acc2-6bd3bc58db69.eastus.azure.privatelinkservice", "visibility": { "subscriptions": [ "00000000-0000-0000-0000-000000000000" @@ -928,7 +928,7 @@ { "name": "myIPConfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration", - "etag": "W/\u002274d64590-3212-41b0-847f-95e73591baa5\u0022", + "etag": "W/\u00226d753f06-da17-47c2-9dd7-74baad41babf\u0022", "type": "Microsoft.Network/privateLinkServices/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -944,20 +944,56 @@ "privateEndpointConnections": [], "networkInterfaces": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.ca77c97c-158d-4515-bfad-ba0b670ed19a" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.67b61536-f242-4741-bee1-8c30169bcd94" } ] } } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0d67d28f-1a1f-48da-addc-f4c700c87fd3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0478b323-9e79-4132-b7d1-bed4034bf66d?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 28 Apr 2022 09:23:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "96affd65-1c6a-4737-bb11-ba6ed04ce5ba", + "x-ms-correlation-request-id": "f02b93e1-f930-40c0-9f4a-314cce7dad85", + "x-ms-ratelimit-remaining-subscription-reads": "11908", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092314Z:f02b93e1-f930-40c0-9f4a-314cce7dad85" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0478b323-9e79-4132-b7d1-bed4034bf66d?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -965,7 +1001,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:04 GMT", + "Date": "Thu, 28 Apr 2022 09:23:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -976,10 +1012,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "79830d28-d3b8-4bcb-8323-815dcdbd81c0", - "x-ms-correlation-request-id": "813f133a-f01c-48ec-a2a5-b15fbf8a2063", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013604Z:813f133a-f01c-48ec-a2a5-b15fbf8a2063" + "x-ms-arm-service-request-id": "391b7944-69ed-4243-a4a9-258e4bb3e3b7", + "x-ms-correlation-request-id": "e775d6cd-e644-4f82-b4a1-3e5c6b4bab69", + "x-ms-ratelimit-remaining-subscription-reads": "11907", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092324Z:e775d6cd-e644-4f82-b4a1-3e5c6b4bab69" }, "ResponseBody": { "status": "Succeeded" @@ -992,7 +1028,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1000,8 +1036,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:04 GMT", - "ETag": "W/\u0022866669ac-f187-4a3f-bd15-0f829fd60925\u0022", + "Date": "Thu, 28 Apr 2022 09:23:23 GMT", + "ETag": "W/\u00228719d7e4-35fe-47fc-8619-48e03fed186b\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1012,26 +1048,26 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "841f9b5f-0cf3-4724-aecd-befc5bb3f52c", - "x-ms-correlation-request-id": "c8719935-cee7-44c5-a22f-01700096e999", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013605Z:c8719935-cee7-44c5-a22f-01700096e999" + "x-ms-arm-service-request-id": "6f3e8779-bd57-43ea-931c-d48e42d04aa6", + "x-ms-correlation-request-id": "fbe33008-a64e-4eb7-a441-49ea71b23c2b", + "x-ms-ratelimit-remaining-subscription-reads": "11906", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092324Z:fbe33008-a64e-4eb7-a441-49ea71b23c2b" }, "ResponseBody": { "name": "myService", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService", - "etag": "W/\u0022866669ac-f187-4a3f-bd15-0f829fd60925\u0022", + "etag": "W/\u00228719d7e4-35fe-47fc-8619-48e03fed186b\u0022", "type": "Microsoft.Network/privateLinkServices", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "066bebc9-2b80-4c27-b181-0a4858402fe6", + "resourceGuid": "78a1643a-eb2e-45a5-bca2-637ee9fbcef7", "fqdns": [ "fqdn1", "fqdn2", "fqdn3" ], - "alias": "myservice.22f418af-ba1d-46d4-a60d-3f21f5fb6076.eastus.azure.privatelinkservice", + "alias": "myservice.357e98c0-00ab-4024-acc2-6bd3bc58db69.eastus.azure.privatelinkservice", "visibility": { "subscriptions": [ "00000000-0000-0000-0000-000000000000" @@ -1052,7 +1088,7 @@ { "name": "myIPConfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration", - "etag": "W/\u0022866669ac-f187-4a3f-bd15-0f829fd60925\u0022", + "etag": "W/\u00228719d7e4-35fe-47fc-8619-48e03fed186b\u0022", "type": "Microsoft.Network/privateLinkServices/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -1068,7 +1104,7 @@ "privateEndpointConnections": [], "networkInterfaces": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.ca77c97c-158d-4515-bfad-ba0b670ed19a" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.67b61536-f242-4741-bee1-8c30169bcd94" } ] } @@ -1083,7 +1119,7 @@ "Connection": "keep-alive", "Content-Length": "441", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -1104,11 +1140,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ce7e658b-4c5d-462a-8886-cd8244b8ec5c?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e88ad9f7-d13c-4bd9-b55f-83beb0baf8c8?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1894", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:09 GMT", + "Date": "Thu, 28 Apr 2022 09:23:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1118,25 +1154,25 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a847e8fd-f145-4dc1-a0e4-373ccb8b82cc", - "x-ms-correlation-request-id": "ec3b6aab-220a-4bd8-b59c-ebfc1fd02770", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013609Z:ec3b6aab-220a-4bd8-b59c-ebfc1fd02770" + "x-ms-arm-service-request-id": "caa6156b-d28d-46d6-9b42-ba8efd59ddb1", + "x-ms-correlation-request-id": "ecc8e8c3-8206-4b64-a663-57f5eef88ea8", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092325Z:ecc8e8c3-8206-4b64-a663-57f5eef88ea8" }, "ResponseBody": { "name": "myPrivateEndpoint", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint", - "etag": "W/\u0022d7764764-239a-45c1-a2c1-d43b6e078335\u0022", + "etag": "W/\u00224f7ef6e7-d11d-4919-9cf8-f277537a5eb0\u0022", "type": "Microsoft.Network/privateEndpoints", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "51fa3961-3131-44c1-aab8-6ef3df43529e", + "resourceGuid": "d0ad9c90-6a4f-442f-84eb-111247435e97", "privateLinkServiceConnections": [ { "name": "myService", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService", - "etag": "W/\u0022d7764764-239a-45c1-a2c1-d43b6e078335\u0022", + "etag": "W/\u00224f7ef6e7-d11d-4919-9cf8-f277537a5eb0\u0022", "properties": { "provisioningState": "Succeeded", "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService", @@ -1157,7 +1193,7 @@ "ipConfigurations": [], "networkInterfaces": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.430d6a08-9d2b-4c67-89b8-825298b50c86" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.dd9a792b-f814-4b70-bb0a-80710a2209aa" } ], "customDnsConfigs": [] @@ -1165,13 +1201,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ce7e658b-4c5d-462a-8886-cd8244b8ec5c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e88ad9f7-d13c-4bd9-b55f-83beb0baf8c8?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1179,7 +1215,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:19 GMT", + "Date": "Thu, 28 Apr 2022 09:23:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1191,23 +1227,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1ae94477-a509-417d-98f9-92cd9766bc2f", - "x-ms-correlation-request-id": "c6842b79-44bf-421e-91aa-827020655d6e", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013619Z:c6842b79-44bf-421e-91aa-827020655d6e" + "x-ms-arm-service-request-id": "8f5f5ef4-64fb-4736-a62d-3560ee6fb77f", + "x-ms-correlation-request-id": "5015a93f-57c7-4752-8977-ebcb5ac080ad", + "x-ms-ratelimit-remaining-subscription-reads": "11905", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092335Z:5015a93f-57c7-4752-8977-ebcb5ac080ad" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ce7e658b-4c5d-462a-8886-cd8244b8ec5c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e88ad9f7-d13c-4bd9-b55f-83beb0baf8c8?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1215,7 +1251,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:29 GMT", + "Date": "Thu, 28 Apr 2022 09:23:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -1227,23 +1263,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3db764e2-f3e3-418c-8981-87b0d6671347", - "x-ms-correlation-request-id": "6b405968-5f1e-4116-8ef3-71d92cc30f91", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013630Z:6b405968-5f1e-4116-8ef3-71d92cc30f91" + "x-ms-arm-service-request-id": "12b7e17a-8bd4-4d57-8bca-0b635ee713ea", + "x-ms-correlation-request-id": "1ce37a76-9617-4f3c-8c68-5ae07268f9c5", + "x-ms-ratelimit-remaining-subscription-reads": "11904", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092345Z:1ce37a76-9617-4f3c-8c68-5ae07268f9c5" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ce7e658b-4c5d-462a-8886-cd8244b8ec5c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e88ad9f7-d13c-4bd9-b55f-83beb0baf8c8?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1251,7 +1287,43 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:49 GMT", + "Date": "Thu, 28 Apr 2022 09:24:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "20", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "c8a067aa-7bc3-4e9b-910f-d3758ec93f82", + "x-ms-correlation-request-id": "57230c16-d23c-4eed-97ba-bd8fb957ca6d", + "x-ms-ratelimit-remaining-subscription-reads": "11903", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092405Z:57230c16-d23c-4eed-97ba-bd8fb957ca6d" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e88ad9f7-d13c-4bd9-b55f-83beb0baf8c8?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 28 Apr 2022 09:24:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1262,10 +1334,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "900849ea-25d9-472b-9b61-946bfa7952b6", - "x-ms-correlation-request-id": "2f269961-572e-4ae3-a752-9215f8cbbd81", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013650Z:2f269961-572e-4ae3-a752-9215f8cbbd81" + "x-ms-arm-service-request-id": "2e0f0211-02f4-4315-b7b5-edd33d2547ec", + "x-ms-correlation-request-id": "bf3835c2-d2a7-4a4d-8214-68c4fca2ff2c", + "x-ms-ratelimit-remaining-subscription-reads": "11902", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092425Z:bf3835c2-d2a7-4a4d-8214-68c4fca2ff2c" }, "ResponseBody": { "status": "Succeeded" @@ -1278,7 +1350,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1286,8 +1358,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:50 GMT", - "ETag": "W/\u00224036b59e-953c-4e05-a13c-73e792592a49\u0022", + "Date": "Thu, 28 Apr 2022 09:24:25 GMT", + "ETag": "W/\u002249222a58-df1d-4dac-be5d-06bb85d83ba9\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1298,25 +1370,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0857cb1f-86d0-4948-b3b6-12eb687af3f4", - "x-ms-correlation-request-id": "d582a200-691d-4e29-8d98-c2909a60d3dd", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013651Z:d582a200-691d-4e29-8d98-c2909a60d3dd" + "x-ms-arm-service-request-id": "2b46bc7d-c2bb-4f42-8067-2548840d52a0", + "x-ms-correlation-request-id": "232f1423-1813-4cb9-b74d-873c1f058287", + "x-ms-ratelimit-remaining-subscription-reads": "11901", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092425Z:232f1423-1813-4cb9-b74d-873c1f058287" }, "ResponseBody": { "name": "myPrivateEndpoint", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint", - "etag": "W/\u00224036b59e-953c-4e05-a13c-73e792592a49\u0022", + "etag": "W/\u002249222a58-df1d-4dac-be5d-06bb85d83ba9\u0022", "type": "Microsoft.Network/privateEndpoints", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "51fa3961-3131-44c1-aab8-6ef3df43529e", + "resourceGuid": "d0ad9c90-6a4f-442f-84eb-111247435e97", "privateLinkServiceConnections": [ { "name": "myService", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService", - "etag": "W/\u00224036b59e-953c-4e05-a13c-73e792592a49\u0022", + "etag": "W/\u002249222a58-df1d-4dac-be5d-06bb85d83ba9\u0022", "properties": { "provisioningState": "Succeeded", "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService", @@ -1337,7 +1409,7 @@ "ipConfigurations": [], "networkInterfaces": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.430d6a08-9d2b-4c67-89b8-825298b50c86" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.dd9a792b-f814-4b70-bb0a-80710a2209aa" } ], "customDnsConfigs": [] @@ -1351,7 +1423,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1359,8 +1431,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:50 GMT", - "ETag": "W/\u0022ebe151cf-51ab-4f40-a089-d7d251ae6bb1\u0022", + "Date": "Thu, 28 Apr 2022 09:24:25 GMT", + "ETag": "W/\u0022d53d07f9-9520-4ac5-b724-aaa5d9aa0892\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1371,26 +1443,26 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9d186a3c-a38c-46a9-b974-f6203f2c770f", - "x-ms-correlation-request-id": "0f83fb29-4767-439a-8596-9e809b9c3ceb", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013651Z:0f83fb29-4767-439a-8596-9e809b9c3ceb" + "x-ms-arm-service-request-id": "452b5709-563d-452d-ad4b-c68eaa6eded6", + "x-ms-correlation-request-id": "52bd1a66-0d75-4855-8d19-c0b4aa8ff2bc", + "x-ms-ratelimit-remaining-subscription-reads": "11900", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092425Z:52bd1a66-0d75-4855-8d19-c0b4aa8ff2bc" }, "ResponseBody": { "name": "myService", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService", - "etag": "W/\u0022ebe151cf-51ab-4f40-a089-d7d251ae6bb1\u0022", + "etag": "W/\u0022d53d07f9-9520-4ac5-b724-aaa5d9aa0892\u0022", "type": "Microsoft.Network/privateLinkServices", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "066bebc9-2b80-4c27-b181-0a4858402fe6", + "resourceGuid": "78a1643a-eb2e-45a5-bca2-637ee9fbcef7", "fqdns": [ "fqdn1", "fqdn2", "fqdn3" ], - "alias": "myservice.22f418af-ba1d-46d4-a60d-3f21f5fb6076.eastus.azure.privatelinkservice", + "alias": "myservice.357e98c0-00ab-4024-acc2-6bd3bc58db69.eastus.azure.privatelinkservice", "visibility": { "subscriptions": [ "00000000-0000-0000-0000-000000000000" @@ -1411,7 +1483,7 @@ { "name": "myIPConfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration", - "etag": "W/\u0022ebe151cf-51ab-4f40-a089-d7d251ae6bb1\u0022", + "etag": "W/\u0022d53d07f9-9520-4ac5-b724-aaa5d9aa0892\u0022", "type": "Microsoft.Network/privateLinkServices/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -1426,9 +1498,9 @@ ], "privateEndpointConnections": [ { - "name": "myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "etag": "W/\u0022ebe151cf-51ab-4f40-a089-d7d251ae6bb1\u0022", + "name": "myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "etag": "W/\u0022d53d07f9-9520-4ac5-b724-aaa5d9aa0892\u0022", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -1439,21 +1511,21 @@ "description": "Approved", "actionsRequired": "None" }, - "linkIdentifier": "536948354" + "linkIdentifier": "536906593" }, "type": "Microsoft.Network/privateLinkServices/privateEndpointConnections" } ], "networkInterfaces": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.ca77c97c-158d-4515-bfad-ba0b670ed19a" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.67b61536-f242-4741-bee1-8c30169bcd94" } ] } } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97?api-version=2021-08-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", @@ -1461,10 +1533,10 @@ "Connection": "keep-alive", "Content-Length": "190", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { - "name": "myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", + "name": "myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", "properties": { "privateLinkServiceConnectionState": { "status": "Approved", @@ -1474,11 +1546,11 @@ }, "StatusCode": 200, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/17c76f37-ad2e-4af4-b303-ae854a842db3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7d1be5ee-430e-4e54-b244-c20f383ba323?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:51 GMT", + "Date": "Thu, 28 Apr 2022 09:24:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1490,15 +1562,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0cd16ac3-47bf-4de7-80c8-4c63759f8bbb", - "x-ms-correlation-request-id": "622c11d1-0b2f-47b1-9751-1aa712824032", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013651Z:622c11d1-0b2f-47b1-9751-1aa712824032" + "x-ms-arm-service-request-id": "092ab62b-d2f0-4657-b471-09a7ab32b28c", + "x-ms-correlation-request-id": "f1842811-0cda-4b35-9973-764ae9f18703", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092426Z:f1842811-0cda-4b35-9973-764ae9f18703" }, "ResponseBody": { - "name": "myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "etag": "W/\u0022851956a4-caf4-48ff-8adf-d78e09c4d950\u0022", + "name": "myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "etag": "W/\u00225a15224a-a9df-4b69-9c19-5c4df71d4b69\u0022", "properties": { "provisioningState": "Updating", "privateEndpoint": { @@ -1509,7 +1581,7 @@ "description": "approved it for some reason.", "actionsRequired": "" }, - "linkIdentifier": "536948354" + "linkIdentifier": "536906593" }, "type": "Microsoft.Network/privateLinkServices/privateEndpointConnections" } @@ -1521,7 +1593,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1531,12 +1603,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:51 GMT", + "Date": "Thu, 28 Apr 2022 09:24:25 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -1615,7 +1687,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1625,12 +1697,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:51 GMT", + "Date": "Thu, 28 Apr 2022 09:24:25 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12707.9 - KRSLR2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -1686,28 +1758,28 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "8506af2f-e7bd-4aae-b7bb-7b661d7431c0", + "client-request-id": "1d043e8d-fa19-4c67-b4a1-e3720928d7c7", "Connection": "keep-alive", - "Content-Length": "289", + "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.7.3 (Windows-10-10.0.22581-SP0)", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", - "x-client-os": "win32", + "x-client-os": "linux", "x-client-sku": "MSAL.Python", "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, - "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q~IsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "RequestBody": "client_id=8c41a920-007a-4844-a189-2d0efe39f51e\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=o0XWF_siD-FhI.5AE83-u0GaQHW_GP7cjy\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "8506af2f-e7bd-4aae-b7bb-7b661d7431c0", + "client-request-id": "1d043e8d-fa19-4c67-b4a1-e3720928d7c7", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:52 GMT", + "Date": "Thu, 28 Apr 2022 09:24:25 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -1715,7 +1787,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -1734,39 +1806,39 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-mgmt-privatedns/1.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-mgmt-privatedns/1.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "global" }, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtmNTg3MGVmZC1jOThlLTQ4YzYtYTAxMi1kODk2NDYyMjdkNWQ=?api-version=2018-09-01", + "Azure-AsyncOperation": "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTszNzA3OTI1Ni04NjJkLTQ0MTMtYmY2Ny1jNzYzZmMzMmY0YTQ=?api-version=2018-09-01", "Cache-Control": "private", "Content-Length": "2", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:36:56 GMT", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtmNTg3MGVmZC1jOThlLTQ4YzYtYTAxMi1kODk2NDYyMjdkNWQ=?api-version=2018-09-01", + "Date": "Thu, 28 Apr 2022 09:24:26 GMT", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTszNzA3OTI1Ni04NjJkLTQ0MTMtYmY2Ny1jNzYzZmMzMmY0YTQ=?api-version=2018-09-01", "Retry-After": "30", "Server": "Microsoft-IIS/10.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-AspNet-Version": "4.0.30319", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "af0230b2-689c-444b-a47b-600de7a474c5", + "x-ms-correlation-request-id": "6bf915db-7509-4d86-b8c5-b895e05009ef", "x-ms-ratelimit-remaining-subscription-resource-requests": "11999", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013657Z:af0230b2-689c-444b-a47b-600de7a474c5", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092427Z:6bf915db-7509-4d86-b8c5-b895e05009ef", "X-Powered-By": "ASP.NET" }, "ResponseBody": {} }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtmNTg3MGVmZC1jOThlLTQ4YzYtYTAxMi1kODk2NDYyMjdkNWQ=?api-version=2018-09-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTszNzA3OTI1Ni04NjJkLTQ0MTMtYmY2Ny1jNzYzZmMzMmY0YTQ=?api-version=2018-09-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-privatedns/1.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-mgmt-privatedns/1.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1774,16 +1846,16 @@ "Cache-Control": "private", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:27 GMT", + "Date": "Thu, 28 Apr 2022 09:24:56 GMT", "Server": "Microsoft-IIS/10.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-AspNet-Version": "4.0.30319", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "89776612-b4a7-4591-97f7-63b35c5a6c0f", + "x-ms-correlation-request-id": "2ecb51c5-fd48-4cba-a058-5bdb4248917b", "x-ms-ratelimit-remaining-subscription-resource-requests": "499", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013727Z:89776612-b4a7-4591-97f7-63b35c5a6c0f", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092457Z:2ecb51c5-fd48-4cba-a058-5bdb4248917b", "X-Powered-By": "ASP.NET" }, "ResponseBody": { @@ -1797,7 +1869,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-mgmt-privatedns/1.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-mgmt-privatedns/1.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1805,24 +1877,24 @@ "Cache-Control": "private", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:27 GMT", - "ETag": "f56353a1-2e82-426a-bf70-40ed6d5d2ea1", + "Date": "Thu, 28 Apr 2022 09:24:56 GMT", + "ETag": "f585ab96-09d3-42ae-a626-6bc135c559d2", "Server": "Microsoft-IIS/10.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-AspNet-Version": "4.0.30319", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "452fc890-4091-4f4c-8db9-08a8367d31fc", + "x-ms-correlation-request-id": "95712ccd-6d16-4e9e-be04-041bed21686f", "x-ms-ratelimit-remaining-subscription-resource-requests": "499", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013727Z:452fc890-4091-4f4c-8db9-08a8367d31fc", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092457Z:95712ccd-6d16-4e9e-be04-041bed21686f", "X-Powered-By": "ASP.NET" }, "ResponseBody": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com", "name": "www.zone1.com", "type": "Microsoft.Network/privateDnsZones", - "etag": "f56353a1-2e82-426a-bf70-40ed6d5d2ea1", + "etag": "f585ab96-09d3-42ae-a626-6bc135c559d2", "location": "global", "properties": { "maxNumberOfRecordSets": 25000, @@ -1844,7 +1916,7 @@ "Connection": "keep-alive", "Content-Length": "266", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "name": "myPrivateDnsZoneGroup", @@ -1861,11 +1933,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7ce5cdb3-fd16-4c9f-989c-39bafd91dd45?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8db68a85-36a8-4eec-9422-6f909c672531?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1165", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:28 GMT", + "Date": "Thu, 28 Apr 2022 09:24:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1875,15 +1947,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "38001841-07e1-4a19-b2dd-e88ba92b808b", - "x-ms-correlation-request-id": "d99202c6-6338-4a0e-90c6-0bf4bb0d3501", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013729Z:d99202c6-6338-4a0e-90c6-0bf4bb0d3501" + "x-ms-arm-service-request-id": "77ed8416-0937-4696-ac98-695f9714c910", + "x-ms-correlation-request-id": "7d9e89c8-5b42-4ce1-bc3f-9532d3af165a", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092457Z:7d9e89c8-5b42-4ce1-bc3f-9532d3af165a" }, "ResponseBody": { "name": "myPrivateDnsZoneGroup", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup", - "etag": "W/\u002285e455f5-00c1-4cdb-9617-e7ba36bc693a\u0022", + "etag": "W/\u00223f8ffeda-0338-491f-94f8-4cc46816c500\u0022", "type": "Microsoft.Network/privateEndpoints/privateDnsZoneGroups", "properties": { "provisioningState": "Updating", @@ -1891,7 +1963,7 @@ { "name": "zone1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1", - "etag": "W/\u002285e455f5-00c1-4cdb-9617-e7ba36bc693a\u0022", + "etag": "W/\u00223f8ffeda-0338-491f-94f8-4cc46816c500\u0022", "type": "Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs", "properties": { "provisioningState": "Updating", @@ -1904,13 +1976,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7ce5cdb3-fd16-4c9f-989c-39bafd91dd45?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8db68a85-36a8-4eec-9422-6f909c672531?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1918,7 +1990,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:39 GMT", + "Date": "Thu, 28 Apr 2022 09:25:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1929,10 +2001,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "44c6d757-87f1-4453-8025-e1f652574a93", - "x-ms-correlation-request-id": "7a7f341b-63bc-4776-98e9-d3cc45659f9b", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013740Z:7a7f341b-63bc-4776-98e9-d3cc45659f9b" + "x-ms-arm-service-request-id": "b9bf4b11-9883-45c1-8bc1-4f8decc8b976", + "x-ms-correlation-request-id": "213c89fd-d566-4970-818d-8501aefca4a1", + "x-ms-ratelimit-remaining-subscription-reads": "11899", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092507Z:213c89fd-d566-4970-818d-8501aefca4a1" }, "ResponseBody": { "status": "Succeeded" @@ -1945,7 +2017,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1953,8 +2025,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:41 GMT", - "ETag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "Date": "Thu, 28 Apr 2022 09:25:08 GMT", + "ETag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1965,15 +2037,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f3f272a2-e6ce-43ba-82f1-6dd59bdaae15", - "x-ms-correlation-request-id": "9898d272-e3ca-41b3-85be-4189b1f95dc1", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013741Z:9898d272-e3ca-41b3-85be-4189b1f95dc1" + "x-ms-arm-service-request-id": "9cef8770-110b-4760-8c39-06013d4a7f42", + "x-ms-correlation-request-id": "84fdadcc-67b9-4f84-b6d0-2a7929bea27e", + "x-ms-ratelimit-remaining-subscription-reads": "11898", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092508Z:84fdadcc-67b9-4f84-b6d0-2a7929bea27e" }, "ResponseBody": { "name": "myPrivateDnsZoneGroup", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup", - "etag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "etag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "type": "Microsoft.Network/privateEndpoints/privateDnsZoneGroups", "properties": { "provisioningState": "Succeeded", @@ -1981,7 +2053,7 @@ { "name": "zone1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1", - "etag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "etag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "type": "Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs", "properties": { "provisioningState": "Succeeded", @@ -2000,7 +2072,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2008,8 +2080,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:41 GMT", - "ETag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "Date": "Thu, 28 Apr 2022 09:25:08 GMT", + "ETag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2020,15 +2092,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d703cca2-95b5-401f-8297-796872dfdd26", - "x-ms-correlation-request-id": "4d57953f-fa2a-47a5-9730-2dd9c3ae2f77", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013741Z:4d57953f-fa2a-47a5-9730-2dd9c3ae2f77" + "x-ms-arm-service-request-id": "c96eacdf-ade7-48e7-b975-e223b08b1bd3", + "x-ms-correlation-request-id": "2d09c79e-99ea-4463-9bd6-c294b0db3085", + "x-ms-ratelimit-remaining-subscription-reads": "11897", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092508Z:2d09c79e-99ea-4463-9bd6-c294b0db3085" }, "ResponseBody": { "name": "myPrivateDnsZoneGroup", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup", - "etag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "etag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "type": "Microsoft.Network/privateEndpoints/privateDnsZoneGroups", "properties": { "provisioningState": "Succeeded", @@ -2036,7 +2108,7 @@ { "name": "zone1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1", - "etag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "etag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "type": "Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs", "properties": { "provisioningState": "Succeeded", @@ -2049,13 +2121,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2063,8 +2135,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:41 GMT", - "ETag": "W/\u002221d7bea6-a586-47dd-ac09-04a97b857a29\u0022", + "Date": "Thu, 28 Apr 2022 09:25:08 GMT", + "ETag": "W/\u002260883ae5-64c7-4896-81b1-f5a0d6a21011\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2075,15 +2147,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3b9474ed-e15e-4313-b058-e17800f52492", - "x-ms-correlation-request-id": "44e7fd08-88fe-4f6c-be17-5ad4274481f7", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013742Z:44e7fd08-88fe-4f6c-be17-5ad4274481f7" + "x-ms-arm-service-request-id": "2abd6734-84aa-4218-8133-e6dff3bc1167", + "x-ms-correlation-request-id": "6edacca1-1688-4f63-b677-3130a88cf713", + "x-ms-ratelimit-remaining-subscription-reads": "11896", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092508Z:6edacca1-1688-4f63-b677-3130a88cf713" }, "ResponseBody": { - "name": "myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "etag": "W/\u002221d7bea6-a586-47dd-ac09-04a97b857a29\u0022", + "name": "myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "etag": "W/\u002260883ae5-64c7-4896-81b1-f5a0d6a21011\u0022", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -2094,7 +2166,7 @@ "description": "approved it for some reason.", "actionsRequired": "" }, - "linkIdentifier": "536948354" + "linkIdentifier": "536906593" }, "type": "Microsoft.Network/privateLinkServices/privateEndpointConnections" } @@ -2106,7 +2178,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2114,8 +2186,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:42 GMT", - "ETag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "Date": "Thu, 28 Apr 2022 09:25:08 GMT", + "ETag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2126,25 +2198,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6def211a-5b16-45fb-980c-1b6b877f1247", - "x-ms-correlation-request-id": "6fde8eca-d513-4bb1-ad56-45302bafad3c", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013742Z:6fde8eca-d513-4bb1-ad56-45302bafad3c" + "x-ms-arm-service-request-id": "30bbbfc5-327a-41c1-8c19-a024705373a8", + "x-ms-correlation-request-id": "699b46ec-ba5a-4ba6-ae77-ccfaead59047", + "x-ms-ratelimit-remaining-subscription-reads": "11895", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092508Z:699b46ec-ba5a-4ba6-ae77-ccfaead59047" }, "ResponseBody": { "name": "myPrivateEndpoint", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint", - "etag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "etag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "type": "Microsoft.Network/privateEndpoints", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "51fa3961-3131-44c1-aab8-6ef3df43529e", + "resourceGuid": "d0ad9c90-6a4f-442f-84eb-111247435e97", "privateLinkServiceConnections": [ { "name": "myService", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService", - "etag": "W/\u0022b2e01943-084d-480c-89e1-0dd35ae749bf\u0022", + "etag": "W/\u0022d85a9c69-d1e9-491c-ac7d-1aaf7fed2b17\u0022", "properties": { "provisioningState": "Succeeded", "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService", @@ -2165,7 +2237,7 @@ "ipConfigurations": [], "networkInterfaces": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.430d6a08-9d2b-4c67-89b8-825298b50c86" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.dd9a792b-f814-4b70-bb0a-80710a2209aa" } ], "customDnsConfigs": [] @@ -2179,7 +2251,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2187,8 +2259,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:42 GMT", - "ETag": "W/\u002221d7bea6-a586-47dd-ac09-04a97b857a29\u0022", + "Date": "Thu, 28 Apr 2022 09:25:08 GMT", + "ETag": "W/\u002260883ae5-64c7-4896-81b1-f5a0d6a21011\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2199,26 +2271,26 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "160912a8-5f41-47bf-a03a-b11d36f38514", - "x-ms-correlation-request-id": "e48fb32b-040d-44f6-9689-1e1e0ae59f2a", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013742Z:e48fb32b-040d-44f6-9689-1e1e0ae59f2a" + "x-ms-arm-service-request-id": "6268deb2-5284-4418-9ef5-ec70dd90e410", + "x-ms-correlation-request-id": "052bd33b-6dc5-44be-b830-1c20f4a58e66", + "x-ms-ratelimit-remaining-subscription-reads": "11894", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092508Z:052bd33b-6dc5-44be-b830-1c20f4a58e66" }, "ResponseBody": { "name": "myService", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService", - "etag": "W/\u002221d7bea6-a586-47dd-ac09-04a97b857a29\u0022", + "etag": "W/\u002260883ae5-64c7-4896-81b1-f5a0d6a21011\u0022", "type": "Microsoft.Network/privateLinkServices", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "066bebc9-2b80-4c27-b181-0a4858402fe6", + "resourceGuid": "78a1643a-eb2e-45a5-bca2-637ee9fbcef7", "fqdns": [ "fqdn1", "fqdn2", "fqdn3" ], - "alias": "myservice.22f418af-ba1d-46d4-a60d-3f21f5fb6076.eastus.azure.privatelinkservice", + "alias": "myservice.357e98c0-00ab-4024-acc2-6bd3bc58db69.eastus.azure.privatelinkservice", "visibility": { "subscriptions": [ "00000000-0000-0000-0000-000000000000" @@ -2239,7 +2311,7 @@ { "name": "myIPConfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration", - "etag": "W/\u002221d7bea6-a586-47dd-ac09-04a97b857a29\u0022", + "etag": "W/\u002260883ae5-64c7-4896-81b1-f5a0d6a21011\u0022", "type": "Microsoft.Network/privateLinkServices/ipConfigurations", "properties": { "provisioningState": "Succeeded", @@ -2254,9 +2326,9 @@ ], "privateEndpointConnections": [ { - "name": "myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e", - "etag": "W/\u002221d7bea6-a586-47dd-ac09-04a97b857a29\u0022", + "name": "myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97", + "etag": "W/\u002260883ae5-64c7-4896-81b1-f5a0d6a21011\u0022", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -2267,14 +2339,14 @@ "description": "approved it for some reason.", "actionsRequired": "" }, - "linkIdentifier": "536948354" + "linkIdentifier": "536906593" }, "type": "Microsoft.Network/privateLinkServices/privateEndpointConnections" } ], "networkInterfaces": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.ca77c97c-158d-4515-bfad-ba0b670ed19a" + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.67b61536-f242-4741-bee1-8c30169bcd94" } ] } @@ -2288,17 +2360,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/32e1a86d-edde-49a7-8c54-bcdee939698c?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3148bd3a-e977-464a-ba84-e75c2b01696c?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 27 Apr 2022 01:37:43 GMT", + "Date": "Thu, 28 Apr 2022 09:25:08 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/32e1a86d-edde-49a7-8c54-bcdee939698c?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/3148bd3a-e977-464a-ba84-e75c2b01696c?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -2307,21 +2379,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0918b817-1e22-4318-85c9-f583a85a4748", - "x-ms-correlation-request-id": "6bfc0528-bcae-40e5-bb1f-8ab9ac0904cc", - "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013744Z:6bfc0528-bcae-40e5-bb1f-8ab9ac0904cc" + "x-ms-arm-service-request-id": "a5fbf74f-26ca-4fcd-835f-92fa944fbaaf", + "x-ms-correlation-request-id": "8d8c95ab-a0a6-46e3-a697-ec7fd8c82c30", + "x-ms-ratelimit-remaining-subscription-deletes": "14988", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092508Z:8d8c95ab-a0a6-46e3-a697-ec7fd8c82c30" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/32e1a86d-edde-49a7-8c54-bcdee939698c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3148bd3a-e977-464a-ba84-e75c2b01696c?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2329,7 +2401,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:54 GMT", + "Date": "Thu, 28 Apr 2022 09:25:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2340,33 +2412,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "db8afe9f-2560-4825-af5b-98264dfe1066", - "x-ms-correlation-request-id": "c0e1d679-9dac-4c5a-bddf-9f001e20a051", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013755Z:c0e1d679-9dac-4c5a-bddf-9f001e20a051" + "x-ms-arm-service-request-id": "ab5d91bd-29b7-40af-8845-edbcc6d33281", + "x-ms-correlation-request-id": "6b3e45be-ccf7-4c31-933c-b3c35c7a8753", + "x-ms-ratelimit-remaining-subscription-reads": "11893", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092518Z:6b3e45be-ccf7-4c31-933c-b3c35c7a8753" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/32e1a86d-edde-49a7-8c54-bcdee939698c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/3148bd3a-e977-464a-ba84-e75c2b01696c?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/32e1a86d-edde-49a7-8c54-bcdee939698c?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3148bd3a-e977-464a-ba84-e75c2b01696c?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:37:54 GMT", + "Date": "Thu, 28 Apr 2022 09:25:18 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/32e1a86d-edde-49a7-8c54-bcdee939698c?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/3148bd3a-e977-464a-ba84-e75c2b01696c?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -2374,32 +2446,32 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0918b817-1e22-4318-85c9-f583a85a4748", - "x-ms-correlation-request-id": "6bfc0528-bcae-40e5-bb1f-8ab9ac0904cc", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013755Z:80e3ac41-7a36-4ad3-ab55-759bd913b4ad" + "x-ms-arm-service-request-id": "a5fbf74f-26ca-4fcd-835f-92fa944fbaaf", + "x-ms-correlation-request-id": "8d8c95ab-a0a6-46e3-a697-ec7fd8c82c30", + "x-ms-ratelimit-remaining-subscription-reads": "11892", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092518Z:3aa865da-08c3-4a49-85d0-b3ab808d5943" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.51fa3961-3131-44c1-aab8-6ef3df43529e?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d0ad9c90-6a4f-442f-84eb-111247435e97?api-version=2021-08-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b84b49ff-6ea1-420e-bbb0-45d72d386559?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/049d85ce-bbca-4584-a75d-2cc5199426cc?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 27 Apr 2022 01:37:55 GMT", + "Date": "Thu, 28 Apr 2022 09:25:18 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b84b49ff-6ea1-420e-bbb0-45d72d386559?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/049d85ce-bbca-4584-a75d-2cc5199426cc?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -2408,21 +2480,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9da893fc-60a7-4ebf-826d-9ba3f8c95db5", - "x-ms-correlation-request-id": "68484737-30f3-48ad-b03f-99b9cb812b52", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013755Z:68484737-30f3-48ad-b03f-99b9cb812b52" + "x-ms-arm-service-request-id": "38e3afb1-c30c-42e6-b7c5-0725809f585c", + "x-ms-correlation-request-id": "5697c844-0797-49c4-b744-1f526d6441f9", + "x-ms-ratelimit-remaining-subscription-deletes": "14987", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092519Z:5697c844-0797-49c4-b744-1f526d6441f9" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b84b49ff-6ea1-420e-bbb0-45d72d386559?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/049d85ce-bbca-4584-a75d-2cc5199426cc?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2430,7 +2502,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:38:05 GMT", + "Date": "Thu, 28 Apr 2022 09:25:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2441,33 +2513,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "711296b8-2d91-4613-93de-668249d41ad5", - "x-ms-correlation-request-id": "8ba47a7b-fad2-4cfc-aef1-b3c8b529665e", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013806Z:8ba47a7b-fad2-4cfc-aef1-b3c8b529665e" + "x-ms-arm-service-request-id": "c89d15b4-0e22-4d2e-9d18-58ef3aa6b4e8", + "x-ms-correlation-request-id": "b3b9d3ae-c0f7-4c5b-b791-c3e60f375c3c", + "x-ms-ratelimit-remaining-subscription-reads": "11891", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092529Z:b3b9d3ae-c0f7-4c5b-b791-c3e60f375c3c" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b84b49ff-6ea1-420e-bbb0-45d72d386559?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/049d85ce-bbca-4584-a75d-2cc5199426cc?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b84b49ff-6ea1-420e-bbb0-45d72d386559?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/049d85ce-bbca-4584-a75d-2cc5199426cc?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:38:05 GMT", + "Date": "Thu, 28 Apr 2022 09:25:28 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b84b49ff-6ea1-420e-bbb0-45d72d386559?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/049d85ce-bbca-4584-a75d-2cc5199426cc?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -2475,10 +2547,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9da893fc-60a7-4ebf-826d-9ba3f8c95db5", - "x-ms-correlation-request-id": "68484737-30f3-48ad-b03f-99b9cb812b52", - "x-ms-ratelimit-remaining-subscription-reads": "11975", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013806Z:90bcc687-a0d8-4d61-86da-aabac579ec64" + "x-ms-arm-service-request-id": "38e3afb1-c30c-42e6-b7c5-0725809f585c", + "x-ms-correlation-request-id": "5697c844-0797-49c4-b744-1f526d6441f9", + "x-ms-ratelimit-remaining-subscription-reads": "11890", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092529Z:f4173616-4b3b-453c-8cb1-9edb234fb0a6" }, "ResponseBody": null }, @@ -2490,18 +2562,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/542f89a1-f5a5-40d7-8766-b83634dd13ce?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2b4063d5-5306-45e2-bc21-fcc691c53d16?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 27 Apr 2022 01:38:06 GMT", + "Date": "Thu, 28 Apr 2022 09:25:28 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/542f89a1-f5a5-40d7-8766-b83634dd13ce?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2b4063d5-5306-45e2-bc21-fcc691c53d16?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -2510,21 +2582,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6c42e60f-aee9-43ab-b4c8-7ba78744b6f0", - "x-ms-correlation-request-id": "c99b38c3-a848-4246-a729-fd4e55df7fdb", - "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013807Z:c99b38c3-a848-4246-a729-fd4e55df7fdb" + "x-ms-arm-service-request-id": "a70cc2d4-152c-46a1-ba7a-5749c577d1b9", + "x-ms-correlation-request-id": "659129cc-28fe-4321-87c2-8e7f95e0ca7f", + "x-ms-ratelimit-remaining-subscription-deletes": "14986", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092529Z:659129cc-28fe-4321-87c2-8e7f95e0ca7f" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/542f89a1-f5a5-40d7-8766-b83634dd13ce?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2b4063d5-5306-45e2-bc21-fcc691c53d16?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2532,7 +2604,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:38:17 GMT", + "Date": "Thu, 28 Apr 2022 09:25:38 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2543,34 +2615,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bf8517a1-74c3-4b1e-aa56-2d18e952957a", - "x-ms-correlation-request-id": "ea2bfd01-66fd-49a8-9c34-ea71e0cce2d4", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013818Z:ea2bfd01-66fd-49a8-9c34-ea71e0cce2d4" + "x-ms-arm-service-request-id": "1e409872-dd1d-4d66-bcde-c22dec0e33b6", + "x-ms-correlation-request-id": "5df44c2d-0b45-475a-b977-f0debfa1ea1b", + "x-ms-ratelimit-remaining-subscription-reads": "11889", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092539Z:5df44c2d-0b45-475a-b977-f0debfa1ea1b" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/542f89a1-f5a5-40d7-8766-b83634dd13ce?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2b4063d5-5306-45e2-bc21-fcc691c53d16?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/542f89a1-f5a5-40d7-8766-b83634dd13ce?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2b4063d5-5306-45e2-bc21-fcc691c53d16?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:38:18 GMT", + "Date": "Thu, 28 Apr 2022 09:25:38 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/542f89a1-f5a5-40d7-8766-b83634dd13ce?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2b4063d5-5306-45e2-bc21-fcc691c53d16?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -2578,10 +2650,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6c42e60f-aee9-43ab-b4c8-7ba78744b6f0", - "x-ms-correlation-request-id": "c99b38c3-a848-4246-a729-fd4e55df7fdb", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013818Z:9e0e68bc-65b9-4b6c-ab4a-cbe4f3383d32" + "x-ms-arm-service-request-id": "a70cc2d4-152c-46a1-ba7a-5749c577d1b9", + "x-ms-correlation-request-id": "659129cc-28fe-4321-87c2-8e7f95e0ca7f", + "x-ms-ratelimit-remaining-subscription-reads": "11888", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092539Z:fea92aad-26a7-456a-869a-54d01e2bf805" }, "ResponseBody": null }, @@ -2593,18 +2665,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4c9e6f66-1e93-4d20-8c54-9c312711a575?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1e9f944e-2608-4609-b079-5a02da784f6c?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 27 Apr 2022 01:38:18 GMT", + "Date": "Thu, 28 Apr 2022 09:25:39 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/4c9e6f66-1e93-4d20-8c54-9c312711a575?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1e9f944e-2608-4609-b079-5a02da784f6c?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -2613,21 +2685,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "66c18834-8119-465e-8517-b03273cea140", - "x-ms-correlation-request-id": "5ae78290-51be-49e1-b432-5b88666ef54c", - "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013819Z:5ae78290-51be-49e1-b432-5b88666ef54c" + "x-ms-arm-service-request-id": "cba7b88f-b02e-4c95-886f-51cbee9faf8a", + "x-ms-correlation-request-id": "98a628de-9aa2-42ed-b2e0-7c32a4d846ac", + "x-ms-ratelimit-remaining-subscription-deletes": "14985", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092539Z:98a628de-9aa2-42ed-b2e0-7c32a4d846ac" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4c9e6f66-1e93-4d20-8c54-9c312711a575?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1e9f944e-2608-4609-b079-5a02da784f6c?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2635,7 +2707,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:38:29 GMT", + "Date": "Thu, 28 Apr 2022 09:25:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2646,34 +2718,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f63d6d10-a8b2-498b-ad88-e081d6cc26a8", - "x-ms-correlation-request-id": "1f65611e-9c08-4408-8311-64a0f91b89a3", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013830Z:1f65611e-9c08-4408-8311-64a0f91b89a3" + "x-ms-arm-service-request-id": "667464a2-1874-44ef-b288-db0a040c772d", + "x-ms-correlation-request-id": "cedd5d85-1ffe-4c14-8e63-4837200f9e08", + "x-ms-ratelimit-remaining-subscription-reads": "11887", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092549Z:cedd5d85-1ffe-4c14-8e63-4837200f9e08" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/4c9e6f66-1e93-4d20-8c54-9c312711a575?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1e9f944e-2608-4609-b079-5a02da784f6c?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.7.3 (Windows-10-10.0.22581-SP0)" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4c9e6f66-1e93-4d20-8c54-9c312711a575?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1e9f944e-2608-4609-b079-5a02da784f6c?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 27 Apr 2022 01:38:29 GMT", + "Date": "Thu, 28 Apr 2022 09:25:49 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/4c9e6f66-1e93-4d20-8c54-9c312711a575?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1e9f944e-2608-4609-b079-5a02da784f6c?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -2681,10 +2753,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "66c18834-8119-465e-8517-b03273cea140", - "x-ms-correlation-request-id": "5ae78290-51be-49e1-b432-5b88666ef54c", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220427T013830Z:ebce1f2c-fd65-4deb-9746-9d3694fa7977" + "x-ms-arm-service-request-id": "cba7b88f-b02e-4c95-886f-51cbee9faf8a", + "x-ms-correlation-request-id": "98a628de-9aa2-42ed-b2e0-7c32a4d846ac", + "x-ms-ratelimit-remaining-subscription-reads": "11886", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092550Z:aa3e67c2-f28c-4b60-a6cd-405d369a4cb6" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.pyTestMgmtNetworktest_network.json index e40f34265337..aa6c40ac6532 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:51:40 GMT", + "Date": "Thu, 28 Apr 2022 09:25:51 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:51:40 GMT", + "Date": "Thu, 28 Apr 2022 09:25:51 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "fe8e4853-2af7-409f-9001-afd1902bcfb9", + "client-request-id": "070b092e-b73f-4368-9c77-f3dd6126a64a", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "fe8e4853-2af7-409f-9001-afd1902bcfb9", + "client-request-id": "070b092e-b73f-4368-9c77-f3dd6126a64a", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:51:40 GMT", + "Date": "Thu, 28 Apr 2022 09:25:51 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus" @@ -228,11 +228,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8052ff0c-71db-48bb-a48f-fa2b930beaa3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a7d06fa2-a72f-49c7-a5f1-c1c4871594e3?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "509", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:51:40 GMT", + "Date": "Thu, 28 Apr 2022 09:25:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -242,32 +242,32 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "dad6194f-01b6-4a78-8941-2217f34f6f8d", - "x-ms-correlation-request-id": "5f4c755c-8f08-4aef-93a8-6681cf9c70c4", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-routing-request-id": "EASTUS2:20220425T035141Z:5f4c755c-8f08-4aef-93a8-6681cf9c70c4" + "x-ms-arm-service-request-id": "22988bd9-eab6-4480-9959-28e976873cbd", + "x-ms-correlation-request-id": "7390bca1-2c35-4da7-a510-db2ebcc8bc5e", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092552Z:7390bca1-2c35-4da7-a510-db2ebcc8bc5e" }, "ResponseBody": { "name": "myServiceEndpointPolicy", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy", - "etag": "W/\u002220a755ac-fedd-4578-ae14-31b02cf8d615\u0022", + "etag": "W/\u0022b25f2d01-a8ba-469b-b1ed-b05858d6f77e\u0022", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "3315c5ba-8600-42a7-9803-8707077fd760", + "resourceGuid": "e9f90026-541f-4a03-b9ce-508991ec0931", "serviceEndpointPolicyDefinitions": [] } } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8052ff0c-71db-48bb-a48f-fa2b930beaa3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a7d06fa2-a72f-49c7-a5f1-c1c4871594e3?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -275,7 +275,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:51:50 GMT", + "Date": "Thu, 28 Apr 2022 09:26:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -286,10 +286,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "68938b5c-178c-4629-9d0a-a95ac105875e", - "x-ms-correlation-request-id": "b315d5c9-0ae0-435b-82c4-3c422176e8d5", - "x-ms-ratelimit-remaining-subscription-reads": "11902", - "x-ms-routing-request-id": "EASTUS2:20220425T035151Z:b315d5c9-0ae0-435b-82c4-3c422176e8d5" + "x-ms-arm-service-request-id": "a45f98f0-be60-4c3c-ab23-39b0cb05f001", + "x-ms-correlation-request-id": "a4d1818d-cac7-4f93-a36c-5b2255aeae5b", + "x-ms-ratelimit-remaining-subscription-reads": "11885", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092602Z:a4d1818d-cac7-4f93-a36c-5b2255aeae5b" }, "ResponseBody": { "status": "Succeeded" @@ -302,7 +302,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -310,8 +310,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:51:50 GMT", - "ETag": "W/\u002278b445dd-dc67-4fd1-bfbb-3385a0eea8df\u0022", + "Date": "Thu, 28 Apr 2022 09:26:01 GMT", + "ETag": "W/\u0022fe360244-dac7-46d1-a6ac-6907909b3f6f\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -322,20 +322,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "555294e7-7de6-4617-95c9-21f163385fa6", - "x-ms-correlation-request-id": "05b677e7-c275-48b7-8116-e35e9c2b5645", - "x-ms-ratelimit-remaining-subscription-reads": "11901", - "x-ms-routing-request-id": "EASTUS2:20220425T035151Z:05b677e7-c275-48b7-8116-e35e9c2b5645" + "x-ms-arm-service-request-id": "2e418d5f-4e7f-430c-b60b-2c99ef74b988", + "x-ms-correlation-request-id": "78136bfe-f3db-458f-8169-5fbe65b9ebf4", + "x-ms-ratelimit-remaining-subscription-reads": "11884", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092602Z:78136bfe-f3db-458f-8169-5fbe65b9ebf4" }, "ResponseBody": { "name": "myServiceEndpointPolicy", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy", - "etag": "W/\u002278b445dd-dc67-4fd1-bfbb-3385a0eea8df\u0022", + "etag": "W/\u0022fe360244-dac7-46d1-a6ac-6907909b3f6f\u0022", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "3315c5ba-8600-42a7-9803-8707077fd760", + "resourceGuid": "e9f90026-541f-4a03-b9ce-508991ec0931", "serviceEndpointPolicyDefinitions": [] } } @@ -349,7 +349,7 @@ "Connection": "keep-alive", "Content-Length": "207", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -362,11 +362,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5f743967-8e1f-485a-9af9-6bac41f5aa5b?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ca41e428-363d-4c3e-975a-acd6cc25738d?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "708", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:51:51 GMT", + "Date": "Thu, 28 Apr 2022 09:26:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -376,15 +376,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "532d6738-5ceb-43f8-b3b0-4989aeb5fa95", - "x-ms-correlation-request-id": "b6218194-7bdb-45d8-9a93-322d6ca89ff2", - "x-ms-ratelimit-remaining-subscription-writes": "1183", - "x-ms-routing-request-id": "EASTUS2:20220425T035151Z:b6218194-7bdb-45d8-9a93-322d6ca89ff2" + "x-ms-arm-service-request-id": "adf8d047-f854-45db-8940-45b7e0cc0207", + "x-ms-correlation-request-id": "ac85a5b8-a51a-43a8-86df-aa4bf1b2a996", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092602Z:ac85a5b8-a51a-43a8-86df-aa4bf1b2a996" }, "ResponseBody": { "name": "myServiceEndpointPolicyDefinition", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition", - "etag": "W/\u0022df9065d9-67b5-43cf-a349-e39dbaaf1965\u0022", + "etag": "W/\u0022e4956f12-0f7d-438b-bc46-7f33bd4a2ca5\u0022", "properties": { "provisioningState": "Updating", "service": "Microsoft.Storage", @@ -397,13 +397,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5f743967-8e1f-485a-9af9-6bac41f5aa5b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ca41e428-363d-4c3e-975a-acd6cc25738d?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -411,7 +411,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:01 GMT", + "Date": "Thu, 28 Apr 2022 09:26:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -422,10 +422,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "57dbeef7-a865-460f-a374-2b06a5b71dda", - "x-ms-correlation-request-id": "a19a4f94-3188-4795-bf63-129f86a320d7", - "x-ms-ratelimit-remaining-subscription-reads": "11900", - "x-ms-routing-request-id": "EASTUS2:20220425T035201Z:a19a4f94-3188-4795-bf63-129f86a320d7" + "x-ms-arm-service-request-id": "30de6b34-8a21-4247-9974-a0a862e4f6f6", + "x-ms-correlation-request-id": "1ac8f9db-7ad8-49ed-96c9-6f5f7b82270b", + "x-ms-ratelimit-remaining-subscription-reads": "11883", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092612Z:1ac8f9db-7ad8-49ed-96c9-6f5f7b82270b" }, "ResponseBody": { "status": "Succeeded" @@ -438,7 +438,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -446,8 +446,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:01 GMT", - "ETag": "W/\u0022ae076e01-c2e6-4623-a00a-9f2127403d75\u0022", + "Date": "Thu, 28 Apr 2022 09:26:13 GMT", + "ETag": "W/\u002262589616-1fc0-4720-a877-3fc506fe2b77\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -458,15 +458,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a3d9f975-19b4-4ea6-b347-31c1b98ed5b5", - "x-ms-correlation-request-id": "b43bc85a-d17e-42b4-88e7-acbc94f2b02b", - "x-ms-ratelimit-remaining-subscription-reads": "11899", - "x-ms-routing-request-id": "EASTUS2:20220425T035202Z:b43bc85a-d17e-42b4-88e7-acbc94f2b02b" + "x-ms-arm-service-request-id": "86bc5cbc-ac85-49b2-80bd-e4963b6fc967", + "x-ms-correlation-request-id": "57b9a60f-d81d-4874-88bc-c2b507c597b3", + "x-ms-ratelimit-remaining-subscription-reads": "11882", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092613Z:57b9a60f-d81d-4874-88bc-c2b507c597b3" }, "ResponseBody": { "name": "myServiceEndpointPolicyDefinition", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition", - "etag": "W/\u0022ae076e01-c2e6-4623-a00a-9f2127403d75\u0022", + "etag": "W/\u002262589616-1fc0-4720-a877-3fc506fe2b77\u0022", "properties": { "provisioningState": "Succeeded", "service": "Microsoft.Storage", @@ -485,7 +485,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -493,8 +493,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:01 GMT", - "ETag": "W/\u0022ae076e01-c2e6-4623-a00a-9f2127403d75\u0022", + "Date": "Thu, 28 Apr 2022 09:26:13 GMT", + "ETag": "W/\u002262589616-1fc0-4720-a877-3fc506fe2b77\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -505,15 +505,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "277b2850-4218-4e81-b906-980ac7ef649e", - "x-ms-correlation-request-id": "d843160d-fef4-4b78-967c-b99e7aa73499", - "x-ms-ratelimit-remaining-subscription-reads": "11898", - "x-ms-routing-request-id": "EASTUS2:20220425T035202Z:d843160d-fef4-4b78-967c-b99e7aa73499" + "x-ms-arm-service-request-id": "5eca4368-20d2-4345-adf7-49ef869cd34a", + "x-ms-correlation-request-id": "bcc22f15-abc2-409c-be75-585e390dc3fb", + "x-ms-ratelimit-remaining-subscription-reads": "11881", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092613Z:bcc22f15-abc2-409c-be75-585e390dc3fb" }, "ResponseBody": { "name": "myServiceEndpointPolicyDefinition", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition", - "etag": "W/\u0022ae076e01-c2e6-4623-a00a-9f2127403d75\u0022", + "etag": "W/\u002262589616-1fc0-4720-a877-3fc506fe2b77\u0022", "properties": { "provisioningState": "Succeeded", "service": "Microsoft.Storage", @@ -532,7 +532,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -540,8 +540,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:01 GMT", - "ETag": "W/\u0022ae076e01-c2e6-4623-a00a-9f2127403d75\u0022", + "Date": "Thu, 28 Apr 2022 09:26:13 GMT", + "ETag": "W/\u002262589616-1fc0-4720-a877-3fc506fe2b77\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -552,25 +552,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5937a36c-0b73-41f6-839d-4be6a6ef4594", - "x-ms-correlation-request-id": "34596843-2d46-43f9-bea4-5aa8d7e1a116", - "x-ms-ratelimit-remaining-subscription-reads": "11897", - "x-ms-routing-request-id": "EASTUS2:20220425T035202Z:34596843-2d46-43f9-bea4-5aa8d7e1a116" + "x-ms-arm-service-request-id": "0711fbf3-3f4e-4a81-92fe-c0210e3afa73", + "x-ms-correlation-request-id": "811805cf-eeb6-4681-957c-8c37d15570de", + "x-ms-ratelimit-remaining-subscription-reads": "11880", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092613Z:811805cf-eeb6-4681-957c-8c37d15570de" }, "ResponseBody": { "name": "myServiceEndpointPolicy", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy", - "etag": "W/\u0022ae076e01-c2e6-4623-a00a-9f2127403d75\u0022", + "etag": "W/\u002262589616-1fc0-4720-a877-3fc506fe2b77\u0022", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "3315c5ba-8600-42a7-9803-8707077fd760", + "resourceGuid": "e9f90026-541f-4a03-b9ce-508991ec0931", "serviceEndpointPolicyDefinitions": [ { "name": "myServiceEndpointPolicyDefinition", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition", - "etag": "W/\u0022ae076e01-c2e6-4623-a00a-9f2127403d75\u0022", + "etag": "W/\u002262589616-1fc0-4720-a877-3fc506fe2b77\u0022", "properties": { "provisioningState": "Succeeded", "service": "Microsoft.Storage", @@ -594,7 +594,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -608,7 +608,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:01 GMT", + "Date": "Thu, 28 Apr 2022 09:26:13 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -619,15 +619,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f8a84329-8298-4ac4-93e6-04a77fe6f5e5", - "x-ms-correlation-request-id": "20e2989d-b30d-440f-b702-16a3edc1ccca", - "x-ms-ratelimit-remaining-subscription-writes": "1182", - "x-ms-routing-request-id": "EASTUS2:20220425T035202Z:20e2989d-b30d-440f-b702-16a3edc1ccca" + "x-ms-arm-service-request-id": "b078cc52-7bbe-48c5-a166-f7f417886a03", + "x-ms-correlation-request-id": "db0c2785-73e3-4eb5-b595-7292b343a05a", + "x-ms-ratelimit-remaining-subscription-writes": "1181", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092613Z:db0c2785-73e3-4eb5-b595-7292b343a05a" }, "ResponseBody": { "name": "myServiceEndpointPolicy", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy", - "etag": "W/\u002242e6baf5-504f-42b3-a50f-28b281fe0ad5\u0022", + "etag": "W/\u0022180126ea-41a2-413c-bd21-a2b49fa2821a\u0022", "type": "Microsoft.Network/serviceEndpointPolicies", "location": "eastus", "tags": { @@ -636,12 +636,12 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "3315c5ba-8600-42a7-9803-8707077fd760", + "resourceGuid": "e9f90026-541f-4a03-b9ce-508991ec0931", "serviceEndpointPolicyDefinitions": [ { "name": "myServiceEndpointPolicyDefinition", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition", - "etag": "W/\u002242e6baf5-504f-42b3-a50f-28b281fe0ad5\u0022", + "etag": "W/\u0022180126ea-41a2-413c-bd21-a2b49fa2821a\u0022", "properties": { "provisioningState": "Succeeded", "service": "Microsoft.Storage", @@ -664,17 +664,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b2e93e1f-4ed3-45a1-9759-123d2d0ba8d9?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52cf5e9e-9570-4db3-a496-be0c44ef4467?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:52:01 GMT", + "Date": "Thu, 28 Apr 2022 09:26:13 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b2e93e1f-4ed3-45a1-9759-123d2d0ba8d9?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/52cf5e9e-9570-4db3-a496-be0c44ef4467?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -683,21 +683,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b791abcb-75d5-4d90-924d-b2ec1a2e148e", - "x-ms-correlation-request-id": "d19dfdd0-8263-4a02-9976-15cba4c4df19", - "x-ms-ratelimit-remaining-subscription-deletes": "14988", - "x-ms-routing-request-id": "EASTUS2:20220425T035202Z:d19dfdd0-8263-4a02-9976-15cba4c4df19" + "x-ms-arm-service-request-id": "2edb43a2-d66c-4d96-8b5a-eed713a62acf", + "x-ms-correlation-request-id": "b6da1061-800b-4c26-b20b-408685c2be94", + "x-ms-ratelimit-remaining-subscription-deletes": "14984", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092613Z:b6da1061-800b-4c26-b20b-408685c2be94" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b2e93e1f-4ed3-45a1-9759-123d2d0ba8d9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52cf5e9e-9570-4db3-a496-be0c44ef4467?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -705,7 +705,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:12 GMT", + "Date": "Thu, 28 Apr 2022 09:26:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -716,33 +716,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "94e23c9e-4647-44f4-b8b7-f6170dcad367", - "x-ms-correlation-request-id": "84672b01-ce2f-4246-b3ee-70407540b316", - "x-ms-ratelimit-remaining-subscription-reads": "11896", - "x-ms-routing-request-id": "EASTUS2:20220425T035212Z:84672b01-ce2f-4246-b3ee-70407540b316" + "x-ms-arm-service-request-id": "986d8af2-07ec-43a1-8f5b-1c6a985cf141", + "x-ms-correlation-request-id": "b3cdd85d-5b23-4536-958f-aeedecf81121", + "x-ms-ratelimit-remaining-subscription-reads": "11879", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092623Z:b3cdd85d-5b23-4536-958f-aeedecf81121" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b2e93e1f-4ed3-45a1-9759-123d2d0ba8d9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/52cf5e9e-9570-4db3-a496-be0c44ef4467?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b2e93e1f-4ed3-45a1-9759-123d2d0ba8d9?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52cf5e9e-9570-4db3-a496-be0c44ef4467?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:12 GMT", + "Date": "Thu, 28 Apr 2022 09:26:23 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b2e93e1f-4ed3-45a1-9759-123d2d0ba8d9?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/52cf5e9e-9570-4db3-a496-be0c44ef4467?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -750,10 +750,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b791abcb-75d5-4d90-924d-b2ec1a2e148e", - "x-ms-correlation-request-id": "d19dfdd0-8263-4a02-9976-15cba4c4df19", - "x-ms-ratelimit-remaining-subscription-reads": "11895", - "x-ms-routing-request-id": "EASTUS2:20220425T035212Z:749ea862-6e18-42b3-85c6-7d13249a4825" + "x-ms-arm-service-request-id": "2edb43a2-d66c-4d96-8b5a-eed713a62acf", + "x-ms-correlation-request-id": "b6da1061-800b-4c26-b20b-408685c2be94", + "x-ms-ratelimit-remaining-subscription-reads": "11878", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092623Z:8e13c82f-c5a4-4d55-af96-90e1a45ae280" }, "ResponseBody": null }, @@ -765,18 +765,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6c97888e-3e57-40fb-ace1-e0f4fbc260e3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b9c6c2c3-08a8-4611-958f-8dab2390b72a?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 03:52:12 GMT", + "Date": "Thu, 28 Apr 2022 09:26:24 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6c97888e-3e57-40fb-ace1-e0f4fbc260e3?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b9c6c2c3-08a8-4611-958f-8dab2390b72a?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -785,21 +785,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0213889b-27b5-4c1a-8d9c-2148f784522f", - "x-ms-correlation-request-id": "2940be08-c52f-4863-8882-b831520afba7", - "x-ms-ratelimit-remaining-subscription-deletes": "14987", - "x-ms-routing-request-id": "EASTUS2:20220425T035212Z:2940be08-c52f-4863-8882-b831520afba7" + "x-ms-arm-service-request-id": "143eada3-2095-428a-a385-3a65ab0a5079", + "x-ms-correlation-request-id": "5b099ae0-b3fb-44fe-8fb2-55517f8086fe", + "x-ms-ratelimit-remaining-subscription-deletes": "14983", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092624Z:5b099ae0-b3fb-44fe-8fb2-55517f8086fe" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6c97888e-3e57-40fb-ace1-e0f4fbc260e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b9c6c2c3-08a8-4611-958f-8dab2390b72a?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -807,7 +807,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:22 GMT", + "Date": "Thu, 28 Apr 2022 09:26:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -818,34 +818,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "23f831c3-2f8b-4cac-84a8-33587d8e6ad4", - "x-ms-correlation-request-id": "d4bf967d-704c-4cfd-8473-8ca29739d0b3", - "x-ms-ratelimit-remaining-subscription-reads": "11894", - "x-ms-routing-request-id": "EASTUS2:20220425T035222Z:d4bf967d-704c-4cfd-8473-8ca29739d0b3" + "x-ms-arm-service-request-id": "3c123427-a23f-4788-8cf5-8b282bef5f5c", + "x-ms-correlation-request-id": "6cc3f760-c6f0-440b-be0c-6ea500ae451c", + "x-ms-ratelimit-remaining-subscription-reads": "11877", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092634Z:6cc3f760-c6f0-440b-be0c-6ea500ae451c" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6c97888e-3e57-40fb-ace1-e0f4fbc260e3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b9c6c2c3-08a8-4611-958f-8dab2390b72a?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6c97888e-3e57-40fb-ace1-e0f4fbc260e3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b9c6c2c3-08a8-4611-958f-8dab2390b72a?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:22 GMT", + "Date": "Thu, 28 Apr 2022 09:26:34 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6c97888e-3e57-40fb-ace1-e0f4fbc260e3?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b9c6c2c3-08a8-4611-958f-8dab2390b72a?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -853,10 +853,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0213889b-27b5-4c1a-8d9c-2148f784522f", - "x-ms-correlation-request-id": "2940be08-c52f-4863-8882-b831520afba7", - "x-ms-ratelimit-remaining-subscription-reads": "11893", - "x-ms-routing-request-id": "EASTUS2:20220425T035223Z:c24bf6a6-24e1-449b-8fd7-cd859c05ddd3" + "x-ms-arm-service-request-id": "143eada3-2095-428a-a385-3a65ab0a5079", + "x-ms-correlation-request-id": "5b099ae0-b3fb-44fe-8fb2-55517f8086fe", + "x-ms-ratelimit-remaining-subscription-reads": "11876", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092634Z:2afb5648-7746-46fb-8500-7deac0fe3bd0" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.pyTestMgmtNetworktest_network.json index af09bd06336c..54e3396c8843 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:23 GMT", + "Date": "Thu, 28 Apr 2022 09:26:35 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - NCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:23 GMT", + "Date": "Thu, 28 Apr 2022 09:26:35 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "3e25346f-b49c-4010-815c-6fc5e31abe83", + "client-request-id": "d02efe76-b51c-4263-ae6f-a1b0e6857f52", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "3e25346f-b49c-4010-815c-6fc5e31abe83", + "client-request-id": "d02efe76-b51c-4263-ae6f-a1b0e6857f52", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:23 GMT", + "Date": "Thu, 28 Apr 2022 09:26:35 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "115", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "West US", @@ -235,11 +235,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cf523ee8-b5f4-45c4-bb21-2eca8ccc84f3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5b4cd817-7244-4a02-b8e4-d15f11d768ba?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "542", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:24 GMT", + "Date": "Thu, 28 Apr 2022 09:26:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -249,15 +249,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ea5ffe6c-f5b9-4e61-a36b-c3f25b0eb405", - "x-ms-correlation-request-id": "a7b8d7fa-1079-4444-9edf-a228dd68359f", - "x-ms-ratelimit-remaining-subscription-writes": "1181", - "x-ms-routing-request-id": "EASTUS2:20220425T035224Z:a7b8d7fa-1079-4444-9edf-a228dd68359f" + "x-ms-arm-service-request-id": "c6ab6fe5-9705-411e-ad9f-c61d5d3f5332", + "x-ms-correlation-request-id": "aa9e97b7-a2f9-4284-a5f0-8233a24bcb88", + "x-ms-ratelimit-remaining-subscription-writes": "1180", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092636Z:aa9e97b7-a2f9-4284-a5f0-8233a24bcb88" }, "ResponseBody": { "name": "virtualwan", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualWans/virtualwan", - "etag": "W/\u00222eefb807-924b-475c-b675-101653c39296\u0022", + "etag": "W/\u0022010f9c9f-bd2f-449f-8a57-ba1a66081447\u0022", "type": "Microsoft.Network/virtualWans", "location": "westus", "tags": { @@ -273,13 +273,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cf523ee8-b5f4-45c4-bb21-2eca8ccc84f3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5b4cd817-7244-4a02-b8e4-d15f11d768ba?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -287,7 +287,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:34 GMT", + "Date": "Thu, 28 Apr 2022 09:26:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -298,10 +298,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3f8f88a8-a0e3-4fb3-a6dc-e1bc445585ce", - "x-ms-correlation-request-id": "c4765015-18e0-48c9-8153-f0e9fc73f9b9", - "x-ms-ratelimit-remaining-subscription-reads": "11892", - "x-ms-routing-request-id": "EASTUS2:20220425T035234Z:c4765015-18e0-48c9-8153-f0e9fc73f9b9" + "x-ms-arm-service-request-id": "f3ae70d7-8c37-4b3d-aba6-7d5e1e9d4608", + "x-ms-correlation-request-id": "f5a308ac-8e8f-445e-859a-9bbef24df385", + "x-ms-ratelimit-remaining-subscription-reads": "11875", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092646Z:f5a308ac-8e8f-445e-859a-9bbef24df385" }, "ResponseBody": { "status": "Succeeded" @@ -314,7 +314,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -322,8 +322,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:34 GMT", - "ETag": "W/\u002274250d8a-67ae-4033-8dab-075a1637c6a6\u0022", + "Date": "Thu, 28 Apr 2022 09:26:46 GMT", + "ETag": "W/\u002205eead30-b305-4607-a5d1-0b92b6121881\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -334,15 +334,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0c51e8c6-710e-4074-ac3b-916bfc038aec", - "x-ms-correlation-request-id": "a0e188b7-a590-44b4-8cfe-bd5a24da12a0", - "x-ms-ratelimit-remaining-subscription-reads": "11891", - "x-ms-routing-request-id": "EASTUS2:20220425T035235Z:a0e188b7-a590-44b4-8cfe-bd5a24da12a0" + "x-ms-arm-service-request-id": "d618d6b1-eb53-4be6-8b15-91918c6b45b5", + "x-ms-correlation-request-id": "9df8f791-8d64-42ca-bebc-53482368ecfd", + "x-ms-ratelimit-remaining-subscription-reads": "11874", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092646Z:9df8f791-8d64-42ca-bebc-53482368ecfd" }, "ResponseBody": { "name": "virtualwan", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualWans/virtualwan", - "etag": "W/\u002274250d8a-67ae-4033-8dab-075a1637c6a6\u0022", + "etag": "W/\u002205eead30-b305-4607-a5d1-0b92b6121881\u0022", "type": "Microsoft.Network/virtualWans", "location": "westus", "tags": { @@ -366,7 +366,7 @@ "Connection": "keep-alive", "Content-Length": "269", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "West US", @@ -384,11 +384,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1048", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:35 GMT", + "Date": "Thu, 28 Apr 2022 09:26:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -398,15 +398,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1002cef3-4e1e-4553-98d4-3f4ca407b96d", - "x-ms-correlation-request-id": "93ec9074-0e65-460e-b114-5beecc189783", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-routing-request-id": "EASTUS2:20220425T035236Z:93ec9074-0e65-460e-b114-5beecc189783" + "x-ms-arm-service-request-id": "038ca13c-848f-4940-9769-5cddc3bf7c87", + "x-ms-correlation-request-id": "286e1772-d1ff-46cc-ac63-74b00e819865", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092648Z:286e1772-d1ff-46cc-ac63-74b00e819865" }, "ResponseBody": { "name": "virtualhub", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub", - "etag": "W/\u002258bbc85b-e5f9-48d1-9a24-831bf5e0ff40\u0022", + "etag": "W/\u0022c289bf63-9125-4601-9e00-beef43a7435f\u0022", "type": "Microsoft.Network/virtualHubs", "location": "westus", "tags": { @@ -437,13 +437,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -451,7 +451,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:45 GMT", + "Date": "Thu, 28 Apr 2022 09:26:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -463,23 +463,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "954851e3-9e3a-402c-b711-b024383e69c8", - "x-ms-correlation-request-id": "2074e963-e462-4999-8b63-ed8b26fdc853", - "x-ms-ratelimit-remaining-subscription-reads": "11890", - "x-ms-routing-request-id": "EASTUS2:20220425T035246Z:2074e963-e462-4999-8b63-ed8b26fdc853" + "x-ms-arm-service-request-id": "b59a413d-6908-4812-8c75-3074d503e4bf", + "x-ms-correlation-request-id": "f7ae6801-595c-4f39-81f4-bfa8d35a8502", + "x-ms-ratelimit-remaining-subscription-reads": "11873", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092658Z:f7ae6801-595c-4f39-81f4-bfa8d35a8502" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -487,7 +487,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:52:56 GMT", + "Date": "Thu, 28 Apr 2022 09:27:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -499,23 +499,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "93e892b4-c415-4880-bb70-e71a2f5a39eb", - "x-ms-correlation-request-id": "ac820986-ac48-4926-a2eb-851585d64531", - "x-ms-ratelimit-remaining-subscription-reads": "11889", - "x-ms-routing-request-id": "EASTUS2:20220425T035256Z:ac820986-ac48-4926-a2eb-851585d64531" + "x-ms-arm-service-request-id": "16af3d82-0621-42e7-9f42-50f64ca173a1", + "x-ms-correlation-request-id": "ad0a0244-ac15-47fb-a50c-8eb97bc0289e", + "x-ms-ratelimit-remaining-subscription-reads": "11872", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092708Z:ad0a0244-ac15-47fb-a50c-8eb97bc0289e" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -523,7 +523,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:53:16 GMT", + "Date": "Thu, 28 Apr 2022 09:27:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -535,23 +535,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e59f50fa-6727-4c15-b2b4-56c90226e668", - "x-ms-correlation-request-id": "e4e8c23a-9c85-49a3-a1d3-a5bf4a3f979a", - "x-ms-ratelimit-remaining-subscription-reads": "11888", - "x-ms-routing-request-id": "EASTUS2:20220425T035316Z:e4e8c23a-9c85-49a3-a1d3-a5bf4a3f979a" + "x-ms-arm-service-request-id": "83fad61a-a651-4969-ad9b-1c9e6dc6e74f", + "x-ms-correlation-request-id": "9583cb1e-5ace-4cae-8e9f-a35991ccfc30", + "x-ms-ratelimit-remaining-subscription-reads": "11871", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092728Z:9583cb1e-5ace-4cae-8e9f-a35991ccfc30" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -559,7 +559,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:53:36 GMT", + "Date": "Thu, 28 Apr 2022 09:27:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -571,23 +571,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "19ad6d0d-89b9-4681-90a8-814770256918", - "x-ms-correlation-request-id": "1ef812da-16a7-41ea-9df8-1f119245e53a", - "x-ms-ratelimit-remaining-subscription-reads": "11887", - "x-ms-routing-request-id": "EASTUS2:20220425T035336Z:1ef812da-16a7-41ea-9df8-1f119245e53a" + "x-ms-arm-service-request-id": "1e2fbf40-3c10-496c-8ba1-52ca83391cc6", + "x-ms-correlation-request-id": "c13c9811-bb54-4aa3-9a48-f4cabbb38367", + "x-ms-ratelimit-remaining-subscription-reads": "11870", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092748Z:c13c9811-bb54-4aa3-9a48-f4cabbb38367" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -595,7 +595,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:54:16 GMT", + "Date": "Thu, 28 Apr 2022 09:28:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -607,23 +607,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3c0159e3-7ea8-4228-b363-846fbb0bfa94", - "x-ms-correlation-request-id": "aaedbfac-6c81-4dd3-802e-33de286ce767", - "x-ms-ratelimit-remaining-subscription-reads": "11886", - "x-ms-routing-request-id": "EASTUS2:20220425T035417Z:aaedbfac-6c81-4dd3-802e-33de286ce767" + "x-ms-arm-service-request-id": "7ec4d52f-99bb-4331-a665-a4b79e939942", + "x-ms-correlation-request-id": "5e503774-f68c-47ee-84f6-854d9e2e5052", + "x-ms-ratelimit-remaining-subscription-reads": "11869", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092829Z:5e503774-f68c-47ee-84f6-854d9e2e5052" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -631,7 +631,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:54:56 GMT", + "Date": "Thu, 28 Apr 2022 09:29:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -643,23 +643,59 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "fb365ecc-bb44-451b-992e-8b08c9c93702", - "x-ms-correlation-request-id": "698377ee-4739-4fe5-86f0-55757f988705", - "x-ms-ratelimit-remaining-subscription-reads": "11885", - "x-ms-routing-request-id": "EASTUS2:20220425T035457Z:698377ee-4739-4fe5-86f0-55757f988705" + "x-ms-arm-service-request-id": "14687659-13eb-460b-9be7-bd6b64705e86", + "x-ms-correlation-request-id": "842aebf0-3d97-4c65-ad87-16bab021549e", + "x-ms-ratelimit-remaining-subscription-reads": "11868", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T092909Z:842aebf0-3d97-4c65-ad87-16bab021549e" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 28 Apr 2022 09:30:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "160", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "a6f92710-d62a-4e7a-92aa-3421c139f1d9", + "x-ms-correlation-request-id": "61063d97-b48c-427a-8e56-9d8e19fc9ba2", + "x-ms-ratelimit-remaining-subscription-reads": "11867", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093029Z:61063d97-b48c-427a-8e56-9d8e19fc9ba2" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/445b0b3d-9542-4161-8ad5-365e485019cd?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/07a37d6c-22ad-4fd9-8772-5d57d406e4ab?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -667,7 +703,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:17 GMT", + "Date": "Thu, 28 Apr 2022 09:33:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -678,10 +714,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "97ea0d75-319d-46ca-ba64-13855dace7b4", - "x-ms-correlation-request-id": "83c070fe-5b98-4314-994b-057cf8216111", - "x-ms-ratelimit-remaining-subscription-reads": "11884", - "x-ms-routing-request-id": "EASTUS2:20220425T035617Z:83c070fe-5b98-4314-994b-057cf8216111" + "x-ms-arm-service-request-id": "e9488af3-ce3a-46cb-ac77-4d33e22908ce", + "x-ms-correlation-request-id": "01e42d92-3525-4d57-9830-ccdf8687e7a5", + "x-ms-ratelimit-remaining-subscription-reads": "11866", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093309Z:01e42d92-3525-4d57-9830-ccdf8687e7a5" }, "ResponseBody": { "status": "Succeeded" @@ -694,7 +730,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -702,7 +738,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:17 GMT", + "Date": "Thu, 28 Apr 2022 09:33:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -713,15 +749,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ea0c57b6-705e-4da4-a684-efb59b543bd3", - "x-ms-correlation-request-id": "df8c7645-a300-472f-abc0-cf6ab191e283", - "x-ms-ratelimit-remaining-subscription-reads": "11883", - "x-ms-routing-request-id": "EASTUS2:20220425T035617Z:df8c7645-a300-472f-abc0-cf6ab191e283" + "x-ms-arm-service-request-id": "3189d850-0243-4231-8753-bfa91cea748c", + "x-ms-correlation-request-id": "762040c0-3225-4dc5-a1ac-e74d02143438", + "x-ms-ratelimit-remaining-subscription-reads": "11865", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093309Z:762040c0-3225-4dc5-a1ac-e74d02143438" }, "ResponseBody": { "name": "virtualhub", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub", - "etag": "W/\u002215325692-9f0a-44d1-901e-224b17378c43\u0022", + "etag": "W/\u0022ba55bab0-2168-43f7-8ad7-cbc04c8cad5a\u0022", "type": "Microsoft.Network/virtualHubs", "location": "westus", "tags": { @@ -760,7 +796,7 @@ "Connection": "keep-alive", "Content-Length": "94", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -773,20 +809,20 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/cb95bed2-717e-4181-b7cb-0c994a536559?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/6204ad41-e7d4-4762-a338-b0b9f6f4ac52?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "570", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:19 GMT", + "Date": "Thu, 28 Apr 2022 09:33:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "79170eb7-7d81-4053-a4af-1c57529fe121", + "x-ms-correlation-request-id": "eabfc56c-ae3b-4d92-b927-f00d406733a7", "x-ms-ratelimit-remaining-subscription-writes": "1179", - "x-ms-routing-request-id": "EASTUS2:20220425T035619Z:79170eb7-7d81-4053-a4af-1c57529fe121" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093312Z:eabfc56c-ae3b-4d92-b927-f00d406733a7" }, "ResponseBody": { "properties": { @@ -802,7 +838,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy", "name": "firewallpolicy", "type": "Microsoft.Network/FirewallPolicies", - "etag": "17e3824e-a16d-4b57-ae2a-1075d18f923d", + "etag": "4bb21089-eded-4db6-976a-08631ce3930e", "location": "eastus", "tags": { "key1": "value1" @@ -810,13 +846,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/cb95bed2-717e-4181-b7cb-0c994a536559?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/6204ad41-e7d4-4762-a338-b0b9f6f4ac52?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -824,7 +860,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:29 GMT", + "Date": "Thu, 28 Apr 2022 09:33:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -832,9 +868,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "caf55778-d42a-4e12-a17f-effa763e5061", - "x-ms-ratelimit-remaining-subscription-reads": "11882", - "x-ms-routing-request-id": "EASTUS2:20220425T035629Z:caf55778-d42a-4e12-a17f-effa763e5061" + "x-ms-correlation-request-id": "41f9b6b4-fcb2-4722-a2fd-a889a9bfa7dd", + "x-ms-ratelimit-remaining-subscription-reads": "11864", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093322Z:41f9b6b4-fcb2-4722-a2fd-a889a9bfa7dd" }, "ResponseBody": { "status": "Succeeded" @@ -847,7 +883,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -855,8 +891,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:29 GMT", - "ETag": "\u002217e3824e-a16d-4b57-ae2a-1075d18f923d\u0022", + "Date": "Thu, 28 Apr 2022 09:33:23 GMT", + "ETag": "\u00224bb21089-eded-4db6-976a-08631ce3930e\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -864,9 +900,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8cce6cab-8287-4b74-80c4-faa4c339f414", - "x-ms-ratelimit-remaining-subscription-reads": "11881", - "x-ms-routing-request-id": "EASTUS2:20220425T035629Z:8cce6cab-8287-4b74-80c4-faa4c339f414" + "x-ms-correlation-request-id": "7d18e96d-8d28-410e-8036-b669db454fb7", + "x-ms-ratelimit-remaining-subscription-reads": "11863", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093323Z:7d18e96d-8d28-410e-8036-b669db454fb7" }, "ResponseBody": { "properties": { @@ -882,7 +918,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy", "name": "firewallpolicy", "type": "Microsoft.Network/FirewallPolicies", - "etag": "17e3824e-a16d-4b57-ae2a-1075d18f923d", + "etag": "4bb21089-eded-4db6-976a-08631ce3930e", "location": "eastus", "tags": { "key1": "value1" @@ -898,7 +934,7 @@ "Connection": "keep-alive", "Content-Length": "510", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "West US", @@ -928,11 +964,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "981", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:33 GMT", + "Date": "Thu, 28 Apr 2022 09:33:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -942,15 +978,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "efb68612-0111-466d-9aad-5746cfd56c42", - "x-ms-correlation-request-id": "3047fb02-8e0c-4387-b5fb-12a35bb48478", + "x-ms-arm-service-request-id": "190fee6f-d378-49fa-ac59-459153f3bce5", + "x-ms-correlation-request-id": "073b3595-93c3-4d76-b708-fe54b7b3a72f", "x-ms-ratelimit-remaining-subscription-writes": "1178", - "x-ms-routing-request-id": "EASTUS2:20220425T035633Z:3047fb02-8e0c-4387-b5fb-12a35bb48478" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093326Z:073b3595-93c3-4d76-b708-fe54b7b3a72f" }, "ResponseBody": { "name": "azurefirewall", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u00229fd16a3e-41be-4c13-9f0c-02e349fda559\u0022", + "etag": "W/\u0022c14c87e1-5187-48c8-ad8f-4a65e2ea5c00\u0022", "type": "Microsoft.Network/azureFirewalls", "location": "westus", "tags": { @@ -979,13 +1015,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -993,7 +1029,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:43 GMT", + "Date": "Thu, 28 Apr 2022 09:33:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1005,23 +1041,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "687ecdbc-ec6f-49a0-a82c-18ce8aa4b6e1", - "x-ms-correlation-request-id": "2cd3153c-b85f-4904-b7ae-ce7f48a7015f", - "x-ms-ratelimit-remaining-subscription-reads": "11880", - "x-ms-routing-request-id": "EASTUS2:20220425T035643Z:2cd3153c-b85f-4904-b7ae-ce7f48a7015f" + "x-ms-arm-service-request-id": "8b92c22a-1748-48c4-8904-e017643a81a2", + "x-ms-correlation-request-id": "d5782abf-bf75-4bf6-8113-22b8f524b438", + "x-ms-ratelimit-remaining-subscription-reads": "11862", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093336Z:d5782abf-bf75-4bf6-8113-22b8f524b438" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1029,7 +1065,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:56:53 GMT", + "Date": "Thu, 28 Apr 2022 09:33:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -1041,23 +1077,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "785ca092-f014-4e0e-840c-5556780cc9dc", - "x-ms-correlation-request-id": "6f8f8269-d13a-4c10-ad9f-2fa2aa9a2229", - "x-ms-ratelimit-remaining-subscription-reads": "11879", - "x-ms-routing-request-id": "EASTUS2:20220425T035654Z:6f8f8269-d13a-4c10-ad9f-2fa2aa9a2229" + "x-ms-arm-service-request-id": "9aef9859-c768-4102-8936-ffc11f658722", + "x-ms-correlation-request-id": "87a2e63c-786a-4ea0-92fe-9e26542d70fe", + "x-ms-ratelimit-remaining-subscription-reads": "11861", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093347Z:87a2e63c-786a-4ea0-92fe-9e26542d70fe" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1065,7 +1101,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:57:13 GMT", + "Date": "Thu, 28 Apr 2022 09:34:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -1077,23 +1113,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b2157af5-4277-4d89-8d70-4b005bd08811", - "x-ms-correlation-request-id": "0197ca4c-49a4-419c-84a6-a7da6c4f92f9", - "x-ms-ratelimit-remaining-subscription-reads": "11878", - "x-ms-routing-request-id": "EASTUS2:20220425T035714Z:0197ca4c-49a4-419c-84a6-a7da6c4f92f9" + "x-ms-arm-service-request-id": "979d8741-9870-423f-86cb-68f1a19373ca", + "x-ms-correlation-request-id": "16a6bd02-1385-4f31-b2e0-ecd1297753cc", + "x-ms-ratelimit-remaining-subscription-reads": "11860", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093407Z:16a6bd02-1385-4f31-b2e0-ecd1297753cc" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1101,7 +1137,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:57:33 GMT", + "Date": "Thu, 28 Apr 2022 09:34:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -1113,23 +1149,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2c2753cd-e970-471a-8f99-f334d597c5c6", - "x-ms-correlation-request-id": "30a9b660-e5e7-4886-bed2-dcabd508941e", - "x-ms-ratelimit-remaining-subscription-reads": "11877", - "x-ms-routing-request-id": "EASTUS2:20220425T035734Z:30a9b660-e5e7-4886-bed2-dcabd508941e" + "x-ms-arm-service-request-id": "66c068ae-e498-4cff-99ee-72990cd95ab3", + "x-ms-correlation-request-id": "9000709e-9ae9-4262-bf91-c030546de020", + "x-ms-ratelimit-remaining-subscription-reads": "11859", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093427Z:9000709e-9ae9-4262-bf91-c030546de020" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1137,7 +1173,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:58:14 GMT", + "Date": "Thu, 28 Apr 2022 09:35:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -1149,23 +1185,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "582d3c79-9fc2-4470-a28a-88fa3040125c", - "x-ms-correlation-request-id": "013edb03-3e3e-4e4b-a95d-631031ad136b", - "x-ms-ratelimit-remaining-subscription-reads": "11876", - "x-ms-routing-request-id": "EASTUS2:20220425T035814Z:013edb03-3e3e-4e4b-a95d-631031ad136b" + "x-ms-arm-service-request-id": "01358071-f24f-4cfc-9595-4fdf7459da3c", + "x-ms-correlation-request-id": "7d809c07-c662-4c6d-9f08-601df98e94d4", + "x-ms-ratelimit-remaining-subscription-reads": "11859", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093507Z:7d809c07-c662-4c6d-9f08-601df98e94d4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1173,7 +1209,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 03:58:53 GMT", + "Date": "Thu, 28 Apr 2022 09:35:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -1185,23 +1221,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "7c7010e0-e1a7-4c8c-ad57-6dacd52e3efb", - "x-ms-correlation-request-id": "70091ec0-24b2-4d15-ae8d-1d08ee0933ee", - "x-ms-ratelimit-remaining-subscription-reads": "11875", - "x-ms-routing-request-id": "EASTUS2:20220425T035854Z:70091ec0-24b2-4d15-ae8d-1d08ee0933ee" + "x-ms-arm-service-request-id": "7910ca20-3ea7-4496-8144-7d09bfbdf7fd", + "x-ms-correlation-request-id": "d62e6aee-f5c8-4074-9418-449c1300dc0c", + "x-ms-ratelimit-remaining-subscription-reads": "11858", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093547Z:d62e6aee-f5c8-4074-9418-449c1300dc0c" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1209,7 +1245,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:00:14 GMT", + "Date": "Thu, 28 Apr 2022 09:37:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -1221,59 +1257,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e9487946-ce82-4b16-b73b-58ffbaa227ea", - "x-ms-correlation-request-id": "b5d17468-b541-428f-9783-c88cb1bd169f", - "x-ms-ratelimit-remaining-subscription-reads": "11874", - "x-ms-routing-request-id": "EASTUS2:20220425T040014Z:b5d17468-b541-428f-9783-c88cb1bd169f" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:02:54 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Retry-After": "100", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d38884b8-d855-4ec1-b38d-e3360c86f352", - "x-ms-correlation-request-id": "f0bb09d8-b01b-4cd2-9b78-8a84793db3fc", - "x-ms-ratelimit-remaining-subscription-reads": "11873", - "x-ms-routing-request-id": "EASTUS2:20220425T040254Z:f0bb09d8-b01b-4cd2-9b78-8a84793db3fc" + "x-ms-arm-service-request-id": "1643f258-48dc-4f0b-ae6f-e500525508a7", + "x-ms-correlation-request-id": "44e2ec60-9c4d-4e7d-bd5a-ada472c7e932", + "x-ms-ratelimit-remaining-subscription-reads": "11857", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093708Z:44e2ec60-9c4d-4e7d-bd5a-ada472c7e932" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1281,7 +1281,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:04:35 GMT", + "Date": "Thu, 28 Apr 2022 09:39:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1293,23 +1293,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c04802b9-0d51-46fc-bc8a-676ba617ad47", - "x-ms-correlation-request-id": "8ca7bd23-2a47-4261-a320-559046fb5616", - "x-ms-ratelimit-remaining-subscription-reads": "11872", - "x-ms-routing-request-id": "EASTUS2:20220425T040435Z:8ca7bd23-2a47-4261-a320-559046fb5616" + "x-ms-arm-service-request-id": "dcb81b52-1e1a-499a-a3ac-45ee2c233ff3", + "x-ms-correlation-request-id": "9b063d88-9585-4367-96f2-32eaa81c7981", + "x-ms-ratelimit-remaining-subscription-reads": "11856", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T093948Z:9b063d88-9585-4367-96f2-32eaa81c7981" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1317,7 +1317,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:06:14 GMT", + "Date": "Thu, 28 Apr 2022 09:41:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1329,23 +1329,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c4ca0dec-9473-4e39-b21a-ce9f14f40080", - "x-ms-correlation-request-id": "75cfdc5b-4423-4c8e-bfb2-e87354bc84c2", - "x-ms-ratelimit-remaining-subscription-reads": "11871", - "x-ms-routing-request-id": "EASTUS2:20220425T040615Z:75cfdc5b-4423-4c8e-bfb2-e87354bc84c2" + "x-ms-arm-service-request-id": "a8ad55ef-dac5-4ace-a45b-f060776c440f", + "x-ms-correlation-request-id": "e46308f5-3f6b-4ce3-960a-dcd4ffbaaef4", + "x-ms-ratelimit-remaining-subscription-reads": "11858", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094128Z:e46308f5-3f6b-4ce3-960a-dcd4ffbaaef4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1353,7 +1353,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:07:54 GMT", + "Date": "Thu, 28 Apr 2022 09:43:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1365,23 +1365,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "43043d7b-9cd7-404f-8a6d-9aff994fff6d", - "x-ms-correlation-request-id": "522834aa-e7d1-4b32-a8ce-2961f139dcc6", - "x-ms-ratelimit-remaining-subscription-reads": "11870", - "x-ms-routing-request-id": "EASTUS2:20220425T040755Z:522834aa-e7d1-4b32-a8ce-2961f139dcc6" + "x-ms-arm-service-request-id": "9eef0806-9213-4b44-a955-c34cd79ebd12", + "x-ms-correlation-request-id": "8847bb9c-5082-47bb-9269-4007e557d496", + "x-ms-ratelimit-remaining-subscription-reads": "11857", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094309Z:8847bb9c-5082-47bb-9269-4007e557d496" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1389,7 +1389,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:09:35 GMT", + "Date": "Thu, 28 Apr 2022 09:44:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1401,23 +1401,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "24769415-809b-4657-9a5c-e80f2f2256dd", - "x-ms-correlation-request-id": "3ba6a203-c96b-4ca0-b887-2f94a7d5f5f9", - "x-ms-ratelimit-remaining-subscription-reads": "11869", - "x-ms-routing-request-id": "EASTUS2:20220425T040935Z:3ba6a203-c96b-4ca0-b887-2f94a7d5f5f9" + "x-ms-arm-service-request-id": "ad554442-5f10-4ef1-a310-8854798784a6", + "x-ms-correlation-request-id": "1105649b-0a45-45e2-b94c-c25df97c9bba", + "x-ms-ratelimit-remaining-subscription-reads": "11856", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094449Z:1105649b-0a45-45e2-b94c-c25df97c9bba" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1425,7 +1425,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:11:15 GMT", + "Date": "Thu, 28 Apr 2022 09:46:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1437,23 +1437,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c8bbf6d1-f0e2-4146-bc59-f4651b8f75ef", - "x-ms-correlation-request-id": "bd3c4acc-bb43-46a7-91e0-f3ba1626cdc1", - "x-ms-ratelimit-remaining-subscription-reads": "11871", - "x-ms-routing-request-id": "EASTUS2:20220425T041116Z:bd3c4acc-bb43-46a7-91e0-f3ba1626cdc1" + "x-ms-arm-service-request-id": "89406714-fe16-4a04-8e4d-16af3161cb12", + "x-ms-correlation-request-id": "2687376e-4ee0-4a7c-a4ec-65c55b033e00", + "x-ms-ratelimit-remaining-subscription-reads": "11858", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094629Z:2687376e-4ee0-4a7c-a4ec-65c55b033e00" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1461,7 +1461,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:12:55 GMT", + "Date": "Thu, 28 Apr 2022 09:48:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1473,23 +1473,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ffbae458-ab9e-4b8d-b6f8-67bfb5c266c5", - "x-ms-correlation-request-id": "ec406989-3747-460d-a218-fbb8a307bd74", - "x-ms-ratelimit-remaining-subscription-reads": "11870", - "x-ms-routing-request-id": "EASTUS2:20220425T041256Z:ec406989-3747-460d-a218-fbb8a307bd74" + "x-ms-arm-service-request-id": "dc96d4d6-fdb4-48b0-ac59-1df6894144af", + "x-ms-correlation-request-id": "2921d4ef-c28f-46e4-85a7-ce1da180286c", + "x-ms-ratelimit-remaining-subscription-reads": "11857", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094809Z:2921d4ef-c28f-46e4-85a7-ce1da180286c" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62b76e1d-c374-4a06-96df-e61718b7593b?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c6c0e3fc-10a1-4a46-b28b-1118d3b74d95?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1497,7 +1497,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:14:36 GMT", + "Date": "Thu, 28 Apr 2022 09:49:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1508,10 +1508,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "38a32889-8ea4-4f1a-b350-aa13a7f40a73", - "x-ms-correlation-request-id": "80aa5ed1-664b-4888-8bae-1343ebca582d", - "x-ms-ratelimit-remaining-subscription-reads": "11869", - "x-ms-routing-request-id": "EASTUS2:20220425T041436Z:80aa5ed1-664b-4888-8bae-1343ebca582d" + "x-ms-arm-service-request-id": "70f4cc81-7aa6-4872-bf18-c79523c4b2ab", + "x-ms-correlation-request-id": "5eace6bd-5e0a-4480-898c-acd3d8869edd", + "x-ms-ratelimit-remaining-subscription-reads": "11856", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094950Z:5eace6bd-5e0a-4480-898c-acd3d8869edd" }, "ResponseBody": { "status": "Succeeded" @@ -1524,7 +1524,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1532,8 +1532,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:14:36 GMT", - "ETag": "W/\u0022e16b209d-cdbe-42d1-ac71-143de1c2f77e\u0022", + "Date": "Thu, 28 Apr 2022 09:49:49 GMT", + "ETag": "W/\u0022d5ca0a05-b50b-4760-9f5f-dc9a6705d8b4\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1544,15 +1544,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "054fd5fd-8b22-4781-8514-6c3130122ae8", - "x-ms-correlation-request-id": "ec1a336a-5164-4c68-b610-1fd2f29e335f", - "x-ms-ratelimit-remaining-subscription-reads": "11868", - "x-ms-routing-request-id": "EASTUS2:20220425T041436Z:ec1a336a-5164-4c68-b610-1fd2f29e335f" + "x-ms-arm-service-request-id": "002b7d6c-1975-4cff-8240-fa905b14cd38", + "x-ms-correlation-request-id": "2c573933-182b-49ba-9304-eda63af1733b", + "x-ms-ratelimit-remaining-subscription-reads": "11855", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094950Z:2c573933-182b-49ba-9304-eda63af1733b" }, "ResponseBody": { "name": "azurefirewall", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u0022e16b209d-cdbe-42d1-ac71-143de1c2f77e\u0022", + "etag": "W/\u0022d5ca0a05-b50b-4760-9f5f-dc9a6705d8b4\u0022", "type": "Microsoft.Network/azureFirewalls", "location": "westus", "tags": { @@ -1573,7 +1573,7 @@ "publicIPs": { "addresses": [ { - "address": "168.61.3.246" + "address": "104.40.9.150" } ], "count": 1 @@ -1592,7 +1592,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1600,8 +1600,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:14:36 GMT", - "ETag": "W/\u0022e16b209d-cdbe-42d1-ac71-143de1c2f77e\u0022", + "Date": "Thu, 28 Apr 2022 09:49:49 GMT", + "ETag": "W/\u0022d5ca0a05-b50b-4760-9f5f-dc9a6705d8b4\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1612,15 +1612,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f99a5f01-742d-4f41-a8ba-cabc063fb77a", - "x-ms-correlation-request-id": "4c5c7868-0d35-4d7f-b555-160de59740bb", - "x-ms-ratelimit-remaining-subscription-reads": "11867", - "x-ms-routing-request-id": "EASTUS2:20220425T041436Z:4c5c7868-0d35-4d7f-b555-160de59740bb" + "x-ms-arm-service-request-id": "73c41e15-87c8-487a-b19f-e6d7e92d311f", + "x-ms-correlation-request-id": "3c295db8-4ff1-41fe-b8b7-a806d2cacaa8", + "x-ms-ratelimit-remaining-subscription-reads": "11854", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094950Z:3c295db8-4ff1-41fe-b8b7-a806d2cacaa8" }, "ResponseBody": { "name": "azurefirewall", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u0022e16b209d-cdbe-42d1-ac71-143de1c2f77e\u0022", + "etag": "W/\u0022d5ca0a05-b50b-4760-9f5f-dc9a6705d8b4\u0022", "type": "Microsoft.Network/azureFirewalls", "location": "westus", "tags": { @@ -1641,7 +1641,7 @@ "publicIPs": { "addresses": [ { - "address": "168.61.3.246" + "address": "104.40.9.150" } ], "count": 1 @@ -1662,7 +1662,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -1676,7 +1676,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:14:36 GMT", + "Date": "Thu, 28 Apr 2022 09:49:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1688,15 +1688,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "af2eb3e2-9aea-4f97-b0ed-2ea61dd6127d", - "x-ms-correlation-request-id": "6876adc9-fb7a-4df5-8f84-b707d8e392e7", - "x-ms-ratelimit-remaining-subscription-writes": "1178", - "x-ms-routing-request-id": "EASTUS2:20220425T041437Z:6876adc9-fb7a-4df5-8f84-b707d8e392e7" + "x-ms-arm-service-request-id": "8475671e-48da-43fd-822b-47650b0c9331", + "x-ms-correlation-request-id": "d27d5b7c-70d7-438b-a7f3-19a7256bdf45", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T094950Z:d27d5b7c-70d7-438b-a7f3-19a7256bdf45" }, "ResponseBody": { "name": "azurefirewall", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "etag": "W/\u0022fa6ef7cc-c073-4aa9-a8b9-276fc78f8121\u0022", "type": "Microsoft.Network/azureFirewalls", "location": "westus", "tags": { @@ -1718,7 +1718,7 @@ "publicIPs": { "addresses": [ { - "address": "168.61.3.246" + "address": "104.40.9.150" } ], "count": 1 @@ -1737,7 +1737,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1745,8 +1745,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:14:46 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "Date": "Thu, 28 Apr 2022 09:50:00 GMT", + "ETag": "W/\u0022fa6ef7cc-c073-4aa9-a8b9-276fc78f8121\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1757,15 +1757,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "19bbcace-6128-4b15-8d78-3a5ad5422111", - "x-ms-correlation-request-id": "d8bc3aed-06a6-4bf4-9c5c-ae0f4fb015e9", - "x-ms-ratelimit-remaining-subscription-reads": "11866", - "x-ms-routing-request-id": "EASTUS2:20220425T041447Z:d8bc3aed-06a6-4bf4-9c5c-ae0f4fb015e9" + "x-ms-arm-service-request-id": "2b96c700-33d1-4eb9-9fee-6e33a364c319", + "x-ms-correlation-request-id": "63b79466-891b-497e-ae66-50cbb9ac6c97", + "x-ms-ratelimit-remaining-subscription-reads": "11856", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095001Z:63b79466-891b-497e-ae66-50cbb9ac6c97" }, "ResponseBody": { "name": "azurefirewall", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "etag": "W/\u0022fa6ef7cc-c073-4aa9-a8b9-276fc78f8121\u0022", "type": "Microsoft.Network/azureFirewalls", "location": "westus", "tags": { @@ -1787,7 +1787,7 @@ "publicIPs": { "addresses": [ { - "address": "168.61.3.246" + "address": "104.40.9.150" } ], "count": 1 @@ -1806,7 +1806,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1814,8 +1814,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:15:16 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "Date": "Thu, 28 Apr 2022 09:50:31 GMT", + "ETag": "W/\u0022fa6ef7cc-c073-4aa9-a8b9-276fc78f8121\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1826,15 +1826,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1bd20865-6eba-47cd-baa1-5ac8815ceebc", - "x-ms-correlation-request-id": "eb606bc5-bf30-4b93-9c28-c0061323aef9", - "x-ms-ratelimit-remaining-subscription-reads": "11868", - "x-ms-routing-request-id": "EASTUS2:20220425T041517Z:eb606bc5-bf30-4b93-9c28-c0061323aef9" + "x-ms-arm-service-request-id": "45ac6f2e-ee22-4fa0-bb9b-bfc7952a27b0", + "x-ms-correlation-request-id": "b1909b5c-3cb2-48de-915b-57cd7a367392", + "x-ms-ratelimit-remaining-subscription-reads": "11855", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095031Z:b1909b5c-3cb2-48de-915b-57cd7a367392" }, "ResponseBody": { "name": "azurefirewall", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "etag": "W/\u0022fa6ef7cc-c073-4aa9-a8b9-276fc78f8121\u0022", "type": "Microsoft.Network/azureFirewalls", "location": "westus", "tags": { @@ -1856,7 +1856,7 @@ "publicIPs": { "addresses": [ { - "address": "168.61.3.246" + "address": "104.40.9.150" } ], "count": 1 @@ -1875,7 +1875,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1883,8 +1883,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:15:47 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "Date": "Thu, 28 Apr 2022 09:51:01 GMT", + "ETag": "W/\u0022066e1106-b5ba-4a72-8395-1ff07259efc2\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1895,15 +1895,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5a2435be-4248-471a-81a1-5c3956f6b8fa", - "x-ms-correlation-request-id": "98e3a46a-c0f1-4d3d-acdc-59a62c67f27d", - "x-ms-ratelimit-remaining-subscription-reads": "11867", - "x-ms-routing-request-id": "EASTUS2:20220425T041547Z:98e3a46a-c0f1-4d3d-acdc-59a62c67f27d" + "x-ms-arm-service-request-id": "475e4c6d-ba49-4083-89f4-0294c23443cc", + "x-ms-correlation-request-id": "4559997e-dd6b-4ef6-b429-9e7dfbe869c9", + "x-ms-ratelimit-remaining-subscription-reads": "11854", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095101Z:4559997e-dd6b-4ef6-b429-9e7dfbe869c9" }, "ResponseBody": { "name": "azurefirewall", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "etag": "W/\u0022066e1106-b5ba-4a72-8395-1ff07259efc2\u0022", "type": "Microsoft.Network/azureFirewalls", "location": "westus", "tags": { @@ -1911,7 +1911,7 @@ "tag2": "value2" }, "properties": { - "provisioningState": "Updating", + "provisioningState": "Succeeded", "sku": { "name": "AZFW_Hub", "tier": "Standard" @@ -1925,7 +1925,7 @@ "publicIPs": { "addresses": [ { - "address": "168.61.3.246" + "address": "104.40.9.150" } ], "count": 1 @@ -1939,12 +1939,47 @@ }, { "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Length": "0", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Thu, 28 Apr 2022 09:51:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "118ccc90-0df0-4371-903b-d2979ad9952d", + "x-ms-correlation-request-id": "d222a9fa-4cbf-45c7-a33b-efb5c740a9d1", + "x-ms-ratelimit-remaining-subscription-deletes": "14983", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095101Z:d222a9fa-4cbf-45c7-a33b-efb5c740a9d1" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1952,10 +1987,10 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:16:16 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "Date": "Thu, 28 Apr 2022 09:51:11 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "10", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -1964,56 +1999,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9e1dfbce-d56b-4158-a381-59fec295f27c", - "x-ms-correlation-request-id": "0566e1eb-160a-4cef-b6c9-3f9d2b880d26", - "x-ms-ratelimit-remaining-subscription-reads": "11866", - "x-ms-routing-request-id": "EASTUS2:20220425T041617Z:0566e1eb-160a-4cef-b6c9-3f9d2b880d26" + "x-ms-arm-service-request-id": "ea8f05e4-ce70-46bd-8811-25ec0250f380", + "x-ms-correlation-request-id": "d7747a85-ecc1-4834-9462-9e42050b062b", + "x-ms-ratelimit-remaining-subscription-reads": "11853", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095111Z:d7747a85-ecc1-4834-9462-9e42050b062b" }, "ResponseBody": { - "name": "azurefirewall", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "type": "Microsoft.Network/azureFirewalls", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Updating", - "sku": { - "name": "AZFW_Hub", - "tier": "Standard" - }, - "additionalProperties": {}, - "virtualHub": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub" - }, - "hubIPAddresses": { - "privateIPAddress": "10.168.0.132", - "publicIPs": { - "addresses": [ - { - "address": "168.61.3.246" - } - ], - "count": 1 - } - }, - "firewallPolicy": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy" - } - } + "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2021,10 +2023,10 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:16:47 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "Date": "Thu, 28 Apr 2022 09:51:21 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "20", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -2033,56 +2035,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d7863228-0eb5-45fc-92d1-8942717c7460", - "x-ms-correlation-request-id": "5e2d0a6d-606b-4f31-8014-2398848dbb59", - "x-ms-ratelimit-remaining-subscription-reads": "11865", - "x-ms-routing-request-id": "EASTUS2:20220425T041647Z:5e2d0a6d-606b-4f31-8014-2398848dbb59" + "x-ms-arm-service-request-id": "61a20a91-4c2d-4c04-8193-ad7caf040fdb", + "x-ms-correlation-request-id": "a672b1ec-ef95-4d02-af59-8ccb10231dab", + "x-ms-ratelimit-remaining-subscription-reads": "11852", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095122Z:a672b1ec-ef95-4d02-af59-8ccb10231dab" }, "ResponseBody": { - "name": "azurefirewall", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "type": "Microsoft.Network/azureFirewalls", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Updating", - "sku": { - "name": "AZFW_Hub", - "tier": "Standard" - }, - "additionalProperties": {}, - "virtualHub": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub" - }, - "hubIPAddresses": { - "privateIPAddress": "10.168.0.132", - "publicIPs": { - "addresses": [ - { - "address": "168.61.3.246" - } - ], - "count": 1 - } - }, - "firewallPolicy": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy" - } - } + "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2090,10 +2059,10 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:17:17 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "Date": "Thu, 28 Apr 2022 09:51:41 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "20", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -2102,56 +2071,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a5b17c20-d619-47c2-953d-8e83cb97a897", - "x-ms-correlation-request-id": "fee9206e-461d-43e4-a38e-63fc631450db", - "x-ms-ratelimit-remaining-subscription-reads": "11864", - "x-ms-routing-request-id": "EASTUS2:20220425T041717Z:fee9206e-461d-43e4-a38e-63fc631450db" + "x-ms-arm-service-request-id": "8eaf535d-692f-4174-a60c-0e1c8fb4e242", + "x-ms-correlation-request-id": "8bfa515f-43e8-44d2-8bd1-823eafaf7549", + "x-ms-ratelimit-remaining-subscription-reads": "11851", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095142Z:8bfa515f-43e8-44d2-8bd1-823eafaf7549" }, "ResponseBody": { - "name": "azurefirewall", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "type": "Microsoft.Network/azureFirewalls", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Updating", - "sku": { - "name": "AZFW_Hub", - "tier": "Standard" - }, - "additionalProperties": {}, - "virtualHub": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub" - }, - "hubIPAddresses": { - "privateIPAddress": "10.168.0.132", - "publicIPs": { - "addresses": [ - { - "address": "168.61.3.246" - } - ], - "count": 1 - } - }, - "firewallPolicy": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy" - } - } + "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2159,10 +2095,10 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:17:47 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", + "Date": "Thu, 28 Apr 2022 09:52:02 GMT", "Expires": "-1", "Pragma": "no-cache", + "Retry-After": "40", "Server": [ "Microsoft-HTTPAPI/2.0", "Microsoft-HTTPAPI/2.0" @@ -2171,334 +2107,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "64fdea46-fe79-4bf9-ac4a-23182493bbd3", - "x-ms-correlation-request-id": "0ea70535-e10f-4af2-9c50-7933c38eabe4", - "x-ms-ratelimit-remaining-subscription-reads": "11863", - "x-ms-routing-request-id": "EASTUS2:20220425T041748Z:0ea70535-e10f-4af2-9c50-7933c38eabe4" - }, - "ResponseBody": { - "name": "azurefirewall", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "type": "Microsoft.Network/azureFirewalls", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Updating", - "sku": { - "name": "AZFW_Hub", - "tier": "Standard" - }, - "additionalProperties": {}, - "virtualHub": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub" - }, - "hubIPAddresses": { - "privateIPAddress": "10.168.0.132", - "publicIPs": { - "addresses": [ - { - "address": "168.61.3.246" - } - ], - "count": 1 - } - }, - "firewallPolicy": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy" - } - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:18:18 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "358c3ffd-d277-4a14-98ad-d7349c74cf1e", - "x-ms-correlation-request-id": "7727ca19-4793-47b9-bf5d-25a2b1095881", - "x-ms-ratelimit-remaining-subscription-reads": "11862", - "x-ms-routing-request-id": "EASTUS2:20220425T041818Z:7727ca19-4793-47b9-bf5d-25a2b1095881" - }, - "ResponseBody": { - "name": "azurefirewall", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "type": "Microsoft.Network/azureFirewalls", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Updating", - "sku": { - "name": "AZFW_Hub", - "tier": "Standard" - }, - "additionalProperties": {}, - "virtualHub": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub" - }, - "hubIPAddresses": { - "privateIPAddress": "10.168.0.132", - "publicIPs": { - "addresses": [ - { - "address": "168.61.3.246" - } - ], - "count": 1 - } - }, - "firewallPolicy": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy" - } - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:18:47 GMT", - "ETag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "674312a0-a462-43a7-b64f-6a28d17b573d", - "x-ms-correlation-request-id": "3cac8b70-bf33-4c85-b6a5-0de478002d80", - "x-ms-ratelimit-remaining-subscription-reads": "11861", - "x-ms-routing-request-id": "EASTUS2:20220425T041848Z:3cac8b70-bf33-4c85-b6a5-0de478002d80" - }, - "ResponseBody": { - "name": "azurefirewall", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u002250f7e25e-2829-49ba-a12c-8421599dc38f\u0022", - "type": "Microsoft.Network/azureFirewalls", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Updating", - "sku": { - "name": "AZFW_Hub", - "tier": "Standard" - }, - "additionalProperties": {}, - "virtualHub": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub" - }, - "hubIPAddresses": { - "privateIPAddress": "10.168.0.132", - "publicIPs": { - "addresses": [ - { - "address": "168.61.3.246" - } - ], - "count": 1 - } - }, - "firewallPolicy": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy" - } - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:19:17 GMT", - "ETag": "W/\u0022d3269082-6030-4eff-96a9-9d7bf6419c79\u0022", - "Expires": "-1", - "Pragma": "no-cache", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bbdc3865-e938-4395-8111-982a555f5722", - "x-ms-correlation-request-id": "e579993d-f341-4896-acf4-2cf7514e8d5b", - "x-ms-ratelimit-remaining-subscription-reads": "11860", - "x-ms-routing-request-id": "EASTUS2:20220425T041918Z:e579993d-f341-4896-acf4-2cf7514e8d5b" - }, - "ResponseBody": { - "name": "azurefirewall", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall", - "etag": "W/\u0022d3269082-6030-4eff-96a9-9d7bf6419c79\u0022", - "type": "Microsoft.Network/azureFirewalls", - "location": "westus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "sku": { - "name": "AZFW_Hub", - "tier": "Standard" - }, - "additionalProperties": {}, - "virtualHub": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/virtualHubs/virtualhub" - }, - "hubIPAddresses": { - "privateIPAddress": "10.168.0.132", - "publicIPs": { - "addresses": [ - { - "address": "168.61.3.246" - } - ], - "count": 1 - } - }, - "firewallPolicy": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/firewallPolicies/firewallpolicy" - } - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/20ad2a59/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-08-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:19:17 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", - "Pragma": "no-cache", - "Retry-After": "10", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b1de7e28-03bf-4e9d-a168-2d62c7320416", - "x-ms-correlation-request-id": "82ce35fc-5297-40b0-9438-155dee906777", - "x-ms-ratelimit-remaining-subscription-deletes": "14987", - "x-ms-routing-request-id": "EASTUS2:20220425T041918Z:82ce35fc-5297-40b0-9438-155dee906777" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:19:28 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Retry-After": "10", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e2cba849-9339-459a-b4d4-cc8fa5959ab3", - "x-ms-correlation-request-id": "2c66201f-1cbc-4362-a5dd-9cbd383efe9a", - "x-ms-ratelimit-remaining-subscription-reads": "11859", - "x-ms-routing-request-id": "EASTUS2:20220425T041928Z:2c66201f-1cbc-4362-a5dd-9cbd383efe9a" + "x-ms-arm-service-request-id": "c86203bb-0900-46dd-9e02-cdf1529c7011", + "x-ms-correlation-request-id": "a324fffa-aee6-4dc5-9282-b934cbee9451", + "x-ms-ratelimit-remaining-subscription-reads": "11850", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095202Z:a324fffa-aee6-4dc5-9282-b934cbee9451" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2506,115 +2131,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:19:38 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Retry-After": "20", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ac518c35-7ab4-4cfc-abbb-d4d8cf8a675a", - "x-ms-correlation-request-id": "df89078d-df24-4d93-b2cd-a711a13c68b5", - "x-ms-ratelimit-remaining-subscription-reads": "11858", - "x-ms-routing-request-id": "EASTUS2:20220425T041938Z:df89078d-df24-4d93-b2cd-a711a13c68b5" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:19:58 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Retry-After": "20", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "fe79671e-86c2-4bba-b2b1-5661df42c9c9", - "x-ms-correlation-request-id": "ee399d14-37a6-4f68-8b41-8c561e1a7378", - "x-ms-ratelimit-remaining-subscription-reads": "11857", - "x-ms-routing-request-id": "EASTUS2:20220425T041959Z:ee399d14-37a6-4f68-8b41-8c561e1a7378" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:20:19 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Retry-After": "40", - "Server": [ - "Microsoft-HTTPAPI/2.0", - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", - "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e7b92753-7052-4768-a899-b1019a9d76b0", - "x-ms-correlation-request-id": "3aa0854c-f062-43fa-8761-6c9926cda59d", - "x-ms-ratelimit-remaining-subscription-reads": "11859", - "x-ms-routing-request-id": "EASTUS2:20220425T042019Z:3aa0854c-f062-43fa-8761-6c9926cda59d" - }, - "ResponseBody": { - "status": "InProgress" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "*/*", - "Accept-Encoding": "gzip, deflate", - "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:20:58 GMT", + "Date": "Thu, 28 Apr 2022 09:52:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -2626,23 +2143,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "801b80c4-7904-48b9-845f-0d074ea4e37f", - "x-ms-correlation-request-id": "4798aaa8-d1e8-41cb-8966-74e746a91ca8", - "x-ms-ratelimit-remaining-subscription-reads": "11858", - "x-ms-routing-request-id": "EASTUS2:20220425T042059Z:4798aaa8-d1e8-41cb-8966-74e746a91ca8" + "x-ms-arm-service-request-id": "4242dba0-9c5d-469b-b779-c920bfd0e0e7", + "x-ms-correlation-request-id": "22278d7c-b4b8-4f14-9b87-0d951de88e88", + "x-ms-ratelimit-remaining-subscription-reads": "11849", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095242Z:22278d7c-b4b8-4f14-9b87-0d951de88e88" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2650,7 +2167,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:21:39 GMT", + "Date": "Thu, 28 Apr 2022 09:53:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -2662,23 +2179,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "fd531ab2-8f9b-4624-9edd-14890b204f64", - "x-ms-correlation-request-id": "e0d45539-9d79-41a0-8535-a0dcca0d364e", - "x-ms-ratelimit-remaining-subscription-reads": "11857", - "x-ms-routing-request-id": "EASTUS2:20220425T042139Z:e0d45539-9d79-41a0-8535-a0dcca0d364e" + "x-ms-arm-service-request-id": "a2e49d41-2dfa-4b38-b768-3526990caedb", + "x-ms-correlation-request-id": "f1c2d103-cdf8-4cd2-97ad-432611ab4b7c", + "x-ms-ratelimit-remaining-subscription-reads": "11848", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095322Z:f1c2d103-cdf8-4cd2-97ad-432611ab4b7c" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2686,7 +2203,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:22:59 GMT", + "Date": "Thu, 28 Apr 2022 09:54:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -2698,23 +2215,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "eb9ed1f3-199f-403e-9f9a-45e92b124f77", - "x-ms-correlation-request-id": "ad1a9f7e-ea9f-4473-a121-f72f20a831ea", - "x-ms-ratelimit-remaining-subscription-reads": "11856", - "x-ms-routing-request-id": "EASTUS2:20220425T042259Z:ad1a9f7e-ea9f-4473-a121-f72f20a831ea" + "x-ms-arm-service-request-id": "681a8d53-be3a-4261-8ef2-244b584532bd", + "x-ms-correlation-request-id": "e48c209b-3574-45ee-b2cb-bdc5447c6945", + "x-ms-ratelimit-remaining-subscription-reads": "11847", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095443Z:e48c209b-3574-45ee-b2cb-bdc5447c6945" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -2722,7 +2239,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:39 GMT", + "Date": "Thu, 28 Apr 2022 09:57:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2733,34 +2250,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6c8c78f0-7c20-4db4-bc27-a6bd4d9e6e9d", - "x-ms-correlation-request-id": "41a130dc-8893-4fa3-89c2-f415b36778b8", - "x-ms-ratelimit-remaining-subscription-reads": "11885", - "x-ms-routing-request-id": "EASTUS2:20220425T042539Z:41a130dc-8893-4fa3-89c2-f415b36778b8" + "x-ms-arm-service-request-id": "521e2b23-caa1-4296-9d25-3eedb8a7d20d", + "x-ms-correlation-request-id": "b18ac643-95b8-4b07-a980-cfabd637cdd3", + "x-ms-ratelimit-remaining-subscription-reads": "11857", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095723Z:b18ac643-95b8-4b07-a980-cfabd637cdd3" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:39 GMT", + "Date": "Thu, 28 Apr 2022 09:57:22 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/ce185cef-8696-487b-8f59-507794e04f57?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/582548e0-05e9-4c43-9525-50fa2ecc6966?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -2768,10 +2285,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b1de7e28-03bf-4e9d-a168-2d62c7320416", - "x-ms-correlation-request-id": "82ce35fc-5297-40b0-9438-155dee906777", - "x-ms-ratelimit-remaining-subscription-reads": "11884", - "x-ms-routing-request-id": "EASTUS2:20220425T042539Z:93a4f361-de58-4cb2-9eb9-4f1ee60cc139" + "x-ms-arm-service-request-id": "118ccc90-0df0-4371-903b-d2979ad9952d", + "x-ms-correlation-request-id": "d222a9fa-4cbf-45c7-a33b-efb5c740a9d1", + "x-ms-ratelimit-remaining-subscription-reads": "11856", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095723Z:e0e4bb66-1411-43e2-9acc-b4c334fd754e" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.pyTestMgmtNetworktest_network.json index 9f8b3c5d2a78..f77998d267e6 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:40 GMT", + "Date": "Thu, 28 Apr 2022 09:57:25 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:40 GMT", + "Date": "Thu, 28 Apr 2022 09:57:25 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12707.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "557b60ba-15f4-4684-a2ca-2847ecf184d8", + "client-request-id": "66c6d036-0e03-4463-a197-94a2a5228450", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "557b60ba-15f4-4684-a2ca-2847ecf184d8", + "client-request-id": "66c6d036-0e03-4463-a197-94a2a5228450", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:40 GMT", + "Date": "Thu, 28 Apr 2022 09:57:25 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "95", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "West US", @@ -233,20 +233,20 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/c669669a-9994-4239-b688-4aa1160ab662?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/b8cf3b5a-24dd-45d5-9d19-e2f0676d7bfd?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "572", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:43 GMT", + "Date": "Thu, 28 Apr 2022 09:57:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d92c8888-2a2b-4551-8f85-2dfffe34fed2", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-routing-request-id": "EASTUS2:20220425T042543Z:d92c8888-2a2b-4551-8f85-2dfffe34fed2" + "x-ms-correlation-request-id": "eb60632b-f37d-4931-8cf5-8b2c796dce17", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095728Z:eb60632b-f37d-4931-8cf5-8b2c796dce17" }, "ResponseBody": { "properties": { @@ -262,7 +262,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy", "name": "myFirewallPolicy", "type": "Microsoft.Network/FirewallPolicies", - "etag": "c5dd2046-58d2-4cd7-8542-3f685c0e6879", + "etag": "b12877c7-df26-4d92-9fe5-a641b4b89cc9", "location": "westus", "tags": { "key1": "value1" @@ -270,13 +270,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/c669669a-9994-4239-b688-4aa1160ab662?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/b8cf3b5a-24dd-45d5-9d19-e2f0676d7bfd?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -284,7 +284,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:53 GMT", + "Date": "Thu, 28 Apr 2022 09:57:37 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -292,9 +292,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2d02bf57-a162-4535-8b06-c2f13abfa108", - "x-ms-ratelimit-remaining-subscription-reads": "11883", - "x-ms-routing-request-id": "EASTUS2:20220425T042554Z:2d02bf57-a162-4535-8b06-c2f13abfa108" + "x-ms-correlation-request-id": "c8c95abe-da89-4ac9-b310-0d9ba5755a7a", + "x-ms-ratelimit-remaining-subscription-reads": "11855", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095738Z:c8c95abe-da89-4ac9-b310-0d9ba5755a7a" }, "ResponseBody": { "status": "Succeeded" @@ -307,7 +307,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -315,8 +315,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:53 GMT", - "ETag": "\u0022c5dd2046-58d2-4cd7-8542-3f685c0e6879\u0022", + "Date": "Thu, 28 Apr 2022 09:57:37 GMT", + "ETag": "\u0022b12877c7-df26-4d92-9fe5-a641b4b89cc9\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -324,9 +324,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d0815d1-8e2a-495e-96d7-dc3bade55bf4", - "x-ms-ratelimit-remaining-subscription-reads": "11882", - "x-ms-routing-request-id": "EASTUS2:20220425T042554Z:6d0815d1-8e2a-495e-96d7-dc3bade55bf4" + "x-ms-correlation-request-id": "4fa39d75-aaab-47bd-b2a7-2e4b8780bc9f", + "x-ms-ratelimit-remaining-subscription-reads": "11854", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095738Z:4fa39d75-aaab-47bd-b2a7-2e4b8780bc9f" }, "ResponseBody": { "properties": { @@ -342,7 +342,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy", "name": "myFirewallPolicy", "type": "Microsoft.Network/FirewallPolicies", - "etag": "c5dd2046-58d2-4cd7-8542-3f685c0e6879", + "etag": "b12877c7-df26-4d92-9fe5-a641b4b89cc9", "location": "westus", "tags": { "key1": "value1" @@ -358,7 +358,7 @@ "Connection": "keep-alive", "Content-Length": "361", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -394,20 +394,20 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/4b754e25-a044-4f90-9e21-5c4313b96a40?api-version=2020-04-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/396aaa5f-6faf-4537-8a77-5039ccb37586?api-version=2020-04-01", "Cache-Control": "no-cache", "Content-Length": "1091", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:25:55 GMT", + "Date": "Thu, 28 Apr 2022 09:57:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1efd344b-db04-4c50-8c03-5cc069329239", - "x-ms-ratelimit-remaining-subscription-writes": "1179", - "x-ms-routing-request-id": "EASTUS2:20220425T042556Z:1efd344b-db04-4c50-8c03-5cc069329239" + "x-ms-correlation-request-id": "305bc7c9-5793-42be-9e2d-ec6d6bf2a751", + "x-ms-ratelimit-remaining-subscription-writes": "1178", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095740Z:305bc7c9-5793-42be-9e2d-ec6d6bf2a751" }, "ResponseBody": { "properties": { @@ -445,18 +445,18 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup", "name": "myRuleGroup", "type": "Microsoft.Network/FirewallPolicies/RuleGroups", - "etag": "54182e2a-7fd6-4111-b237-b811d6b94401", + "etag": "17777856-a2c5-48df-8927-ff0442f9749f", "location": "westus" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/4b754e25-a044-4f90-9e21-5c4313b96a40?api-version=2020-04-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/396aaa5f-6faf-4537-8a77-5039ccb37586?api-version=2020-04-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -464,7 +464,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:05 GMT", + "Date": "Thu, 28 Apr 2022 09:57:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -472,9 +472,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8343fad1-67ea-49da-8708-fa69159c59e1", - "x-ms-ratelimit-remaining-subscription-reads": "11881", - "x-ms-routing-request-id": "EASTUS2:20220425T042606Z:8343fad1-67ea-49da-8708-fa69159c59e1" + "x-ms-correlation-request-id": "ec3aa1ce-bedf-4d48-a449-7f2d790d2c9b", + "x-ms-ratelimit-remaining-subscription-reads": "11853", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095751Z:ec3aa1ce-bedf-4d48-a449-7f2d790d2c9b" }, "ResponseBody": { "status": "Succeeded" @@ -487,7 +487,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -495,8 +495,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:06 GMT", - "ETag": "\u002254182e2a-7fd6-4111-b237-b811d6b94401\u0022", + "Date": "Thu, 28 Apr 2022 09:57:51 GMT", + "ETag": "\u002217777856-a2c5-48df-8927-ff0442f9749f\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -504,9 +504,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a8ad822d-a597-457f-9331-5dcc08101905", - "x-ms-ratelimit-remaining-subscription-reads": "11880", - "x-ms-routing-request-id": "EASTUS2:20220425T042606Z:a8ad822d-a597-457f-9331-5dcc08101905" + "x-ms-correlation-request-id": "d3498b54-7135-4cb6-b314-d268fa4eac36", + "x-ms-ratelimit-remaining-subscription-reads": "11852", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095751Z:d3498b54-7135-4cb6-b314-d268fa4eac36" }, "ResponseBody": { "properties": { @@ -544,7 +544,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup", "name": "myRuleGroup", "type": "Microsoft.Network/FirewallPolicies/RuleGroups", - "etag": "54182e2a-7fd6-4111-b237-b811d6b94401", + "etag": "17777856-a2c5-48df-8927-ff0442f9749f", "location": "westus" } }, @@ -555,7 +555,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -563,8 +563,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:06 GMT", - "ETag": "\u002254182e2a-7fd6-4111-b237-b811d6b94401\u0022", + "Date": "Thu, 28 Apr 2022 09:57:51 GMT", + "ETag": "\u002217777856-a2c5-48df-8927-ff0442f9749f\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -572,9 +572,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0f5e9e24-af5d-45c0-b6e0-515e1b6212d0", - "x-ms-ratelimit-remaining-subscription-reads": "11879", - "x-ms-routing-request-id": "EASTUS2:20220425T042607Z:0f5e9e24-af5d-45c0-b6e0-515e1b6212d0" + "x-ms-correlation-request-id": "d70dd4d1-bd25-408f-9bc8-fcaa4db512e8", + "x-ms-ratelimit-remaining-subscription-reads": "11851", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095751Z:d70dd4d1-bd25-408f-9bc8-fcaa4db512e8" }, "ResponseBody": { "properties": { @@ -612,7 +612,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup", "name": "myRuleGroup", "type": "Microsoft.Network/FirewallPolicies/RuleGroups", - "etag": "54182e2a-7fd6-4111-b237-b811d6b94401", + "etag": "17777856-a2c5-48df-8927-ff0442f9749f", "location": "westus" } }, @@ -623,7 +623,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -631,8 +631,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:06 GMT", - "ETag": "\u00224b5d6712-fb42-4ee5-81f1-9bd0c97f402e\u0022", + "Date": "Thu, 28 Apr 2022 09:57:51 GMT", + "ETag": "\u0022d472ddaf-b6b6-4f8a-be38-1975c7cfc87c\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -640,9 +640,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "429dae2b-bf8b-496b-b0d6-acd2281fb379", - "x-ms-ratelimit-remaining-subscription-reads": "11878", - "x-ms-routing-request-id": "EASTUS2:20220425T042607Z:429dae2b-bf8b-496b-b0d6-acd2281fb379" + "x-ms-correlation-request-id": "cda1105e-325b-4184-83db-924e3958076c", + "x-ms-ratelimit-remaining-subscription-reads": "11850", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095751Z:cda1105e-325b-4184-83db-924e3958076c" }, "ResponseBody": { "properties": { @@ -662,7 +662,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy", "name": "myFirewallPolicy", "type": "Microsoft.Network/FirewallPolicies", - "etag": "4b5d6712-fb42-4ee5-81f1-9bd0c97f402e", + "etag": "d472ddaf-b6b6-4f8a-be38-1975c7cfc87c", "location": "westus", "tags": { "key1": "value1" @@ -677,26 +677,26 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/f98ec8a4-edb5-46a7-adfa-0b02b845df7a?api-version=2020-04-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/29cf2e23-9d96-41d0-874e-56d7051a551b?api-version=2020-04-01", "Cache-Control": "no-cache", "Content-Length": "1091", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:08 GMT", + "Date": "Thu, 28 Apr 2022 09:57:52 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperationResults/f98ec8a4-edb5-46a7-adfa-0b02b845df7a?api-version=2020-04-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperationResults/29cf2e23-9d96-41d0-874e-56d7051a551b?api-version=2020-04-01", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cce8bc70-0e2a-4889-b718-b7557638d295", - "x-ms-ratelimit-remaining-subscription-deletes": "14986", - "x-ms-routing-request-id": "EASTUS2:20220425T042609Z:cce8bc70-0e2a-4889-b718-b7557638d295" + "x-ms-correlation-request-id": "e3697a6a-686d-46bb-a2d2-ec8996365575", + "x-ms-ratelimit-remaining-subscription-deletes": "14982", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095752Z:e3697a6a-686d-46bb-a2d2-ec8996365575" }, "ResponseBody": { "properties": { @@ -734,18 +734,18 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup", "name": "myRuleGroup", "type": "Microsoft.Network/FirewallPolicies/RuleGroups", - "etag": "f5c13da3-1764-47be-acc4-4e650ae1a186", + "etag": "cdb4041b-0a93-4860-a7be-a57525ce2d94", "location": "westus" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/f98ec8a4-edb5-46a7-adfa-0b02b845df7a?api-version=2020-04-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/29cf2e23-9d96-41d0-874e-56d7051a551b?api-version=2020-04-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -753,7 +753,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:19 GMT", + "Date": "Thu, 28 Apr 2022 09:58:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -761,22 +761,22 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1625c1d2-5ee0-4da9-b59d-c631dcddd2d2", - "x-ms-ratelimit-remaining-subscription-reads": "11877", - "x-ms-routing-request-id": "EASTUS2:20220425T042619Z:1625c1d2-5ee0-4da9-b59d-c631dcddd2d2" + "x-ms-correlation-request-id": "858b6511-2a61-406c-a8bf-c0fd78971b53", + "x-ms-ratelimit-remaining-subscription-reads": "11849", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095803Z:858b6511-2a61-406c-a8bf-c0fd78971b53" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperationResults/f98ec8a4-edb5-46a7-adfa-0b02b845df7a?api-version=2020-04-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperationResults/29cf2e23-9d96-41d0-874e-56d7051a551b?api-version=2020-04-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -784,7 +784,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:19 GMT", + "Date": "Thu, 28 Apr 2022 09:58:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -792,9 +792,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "17befeb6-2a5b-4e27-b65c-74f2cddaaae0", - "x-ms-ratelimit-remaining-subscription-reads": "11876", - "x-ms-routing-request-id": "EASTUS2:20220425T042619Z:17befeb6-2a5b-4e27-b65c-74f2cddaaae0" + "x-ms-correlation-request-id": "e7186feb-3f22-40a3-9eb5-0c1bf8944981", + "x-ms-ratelimit-remaining-subscription-reads": "11848", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095803Z:e7186feb-3f22-40a3-9eb5-0c1bf8944981" }, "ResponseBody": "null" }, @@ -806,22 +806,22 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:26:20 GMT", + "Date": "Thu, 28 Apr 2022 09:58:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cee148ef-b479-4dc1-92e0-c2f9cb1effc4", - "x-ms-ratelimit-remaining-subscription-deletes": "14985", - "x-ms-routing-request-id": "EASTUS2:20220425T042620Z:cee148ef-b479-4dc1-92e0-c2f9cb1effc4" + "x-ms-correlation-request-id": "40d11f8c-e80d-42bf-8a2c-6ebb34074ac7", + "x-ms-ratelimit-remaining-subscription-deletes": "14981", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095804Z:40d11f8c-e80d-42bf-8a2c-6ebb34074ac7" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.pyTestMgmtNetworktest_network.json index 2ad2eb4bb936..3466d6b6a339 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:21 GMT", + "Date": "Thu, 28 Apr 2022 09:58:04 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,7 +111,7 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:21 GMT", + "Date": "Thu, 28 Apr 2022 09:58:04 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "faa3754a-08b9-4eed-aeda-8b64f8d3db2d", + "client-request-id": "4d1f8139-a7e2-453b-a388-650bf41817e7", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "faa3754a-08b9-4eed-aeda-8b64f8d3db2d", + "client-request-id": "4d1f8139-a7e2-453b-a388-650bf41817e7", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:21 GMT", + "Date": "Thu, 28 Apr 2022 09:58:05 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "140", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "West US", @@ -237,20 +237,20 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/7c70dc18-3fc8-4401-8809-f8bd2174ae9c?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/6efd3c01-41b5-4c4f-b225-8aff78cbc0d4?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "539", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:23 GMT", + "Date": "Thu, 28 Apr 2022 09:58:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ef72166f-a42f-424e-a32f-0e7773086b45", - "x-ms-ratelimit-remaining-subscription-writes": "1178", - "x-ms-routing-request-id": "EASTUS2:20220425T042623Z:ef72166f-a42f-424e-a32f-0e7773086b45" + "x-ms-correlation-request-id": "1713ca6a-e178-4392-bdf0-e4e4661841da", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095807Z:1713ca6a-e178-4392-bdf0-e4e4661841da" }, "ResponseBody": { "properties": { @@ -266,7 +266,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups", "name": "myIpGroups", "type": "Microsoft.Network/IpGroups", - "etag": "d1be75b8-0f0d-4bfd-9be0-16bd15f7a0de", + "etag": "03d9e853-1b04-4b57-9924-a14f996de39a", "location": "westus", "tags": { "key1": "value1" @@ -274,13 +274,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/7c70dc18-3fc8-4401-8809-f8bd2174ae9c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/6efd3c01-41b5-4c4f-b225-8aff78cbc0d4?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -288,7 +288,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:33 GMT", + "Date": "Thu, 28 Apr 2022 09:58:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -296,9 +296,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "472b4351-d4b8-4fc3-9e71-bec75500ab14", - "x-ms-ratelimit-remaining-subscription-reads": "11875", - "x-ms-routing-request-id": "EASTUS2:20220425T042633Z:472b4351-d4b8-4fc3-9e71-bec75500ab14" + "x-ms-correlation-request-id": "116524b1-2697-457b-baef-e195efe09c44", + "x-ms-ratelimit-remaining-subscription-reads": "11847", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095817Z:116524b1-2697-457b-baef-e195efe09c44" }, "ResponseBody": { "status": "Succeeded" @@ -311,7 +311,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -319,8 +319,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:33 GMT", - "ETag": "\u0022d1be75b8-0f0d-4bfd-9be0-16bd15f7a0de\u0022", + "Date": "Thu, 28 Apr 2022 09:58:17 GMT", + "ETag": "\u002203d9e853-1b04-4b57-9924-a14f996de39a\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -328,9 +328,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c02ad8b2-2b68-4812-a308-45d53bf69c1e", - "x-ms-ratelimit-remaining-subscription-reads": "11874", - "x-ms-routing-request-id": "EASTUS2:20220425T042633Z:c02ad8b2-2b68-4812-a308-45d53bf69c1e" + "x-ms-correlation-request-id": "2e5f15a1-a6a8-479e-8b69-5d94eae415f9", + "x-ms-ratelimit-remaining-subscription-reads": "11846", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095817Z:2e5f15a1-a6a8-479e-8b69-5d94eae415f9" }, "ResponseBody": { "properties": { @@ -346,7 +346,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups", "name": "myIpGroups", "type": "Microsoft.Network/IpGroups", - "etag": "d1be75b8-0f0d-4bfd-9be0-16bd15f7a0de", + "etag": "03d9e853-1b04-4b57-9924-a14f996de39a", "location": "westus", "tags": { "key1": "value1" @@ -360,7 +360,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -368,8 +368,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:33 GMT", - "ETag": "\u0022d1be75b8-0f0d-4bfd-9be0-16bd15f7a0de\u0022", + "Date": "Thu, 28 Apr 2022 09:58:17 GMT", + "ETag": "\u002203d9e853-1b04-4b57-9924-a14f996de39a\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", @@ -377,9 +377,9 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9540c2a6-f629-4ed3-b11f-ffc4fc5534f5", - "x-ms-ratelimit-remaining-subscription-reads": "11873", - "x-ms-routing-request-id": "EASTUS2:20220425T042633Z:9540c2a6-f629-4ed3-b11f-ffc4fc5534f5" + "x-ms-correlation-request-id": "30dd87ac-caa2-4888-9e24-8ec6ebbe61f4", + "x-ms-ratelimit-remaining-subscription-reads": "11845", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095817Z:30dd87ac-caa2-4888-9e24-8ec6ebbe61f4" }, "ResponseBody": { "properties": { @@ -395,7 +395,7 @@ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups", "name": "myIpGroups", "type": "Microsoft.Network/IpGroups", - "etag": "d1be75b8-0f0d-4bfd-9be0-16bd15f7a0de", + "etag": "03d9e853-1b04-4b57-9924-a14f996de39a", "location": "westus", "tags": { "key1": "value1" @@ -410,22 +410,22 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:26:34 GMT", + "Date": "Thu, 28 Apr 2022 09:58:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": "Microsoft-HTTPAPI/2.0", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5de6cd91-c4df-420e-af0a-aef886ce13ed", - "x-ms-ratelimit-remaining-subscription-deletes": "14984", - "x-ms-routing-request-id": "EASTUS2:20220425T042634Z:5de6cd91-c4df-420e-af0a-aef886ce13ed" + "x-ms-correlation-request-id": "98586674-56a1-495a-a3b1-55a4d55eb7cf", + "x-ms-ratelimit-remaining-subscription-deletes": "14980", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095818Z:98586674-56a1-495a-a3b1-55a4d55eb7cf" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.pyTestMgmtNetworktest_network.json index ae43e75cddcb..0b09814f1cc5 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:35 GMT", + "Date": "Thu, 28 Apr 2022 09:58:20 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:35 GMT", + "Date": "Thu, 28 Apr 2022 09:58:20 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "c7c07d6b-c6f2-4162-9953-bb072406a7ad", + "client-request-id": "069418fa-f9ae-4d55-b7f4-2de7c81311c9", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "c7c07d6b-c6f2-4162-9953-bb072406a7ad", + "client-request-id": "069418fa-f9ae-4d55-b7f4-2de7c81311c9", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:35 GMT", + "Date": "Thu, 28 Apr 2022 09:58:20 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "87", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "westus", @@ -234,11 +234,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62dcc4ff-64e2-4db0-b4ca-3346828c7782?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c1799c78-5a2a-49f2-bb2c-5e526471de09?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "598", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:36 GMT", + "Date": "Thu, 28 Apr 2022 09:58:20 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -248,20 +248,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "203931e7-c5a9-47e3-b10a-063771e19419", - "x-ms-correlation-request-id": "67cbcaa3-fdc3-4935-86a7-b245c90250d5", - "x-ms-ratelimit-remaining-subscription-writes": "1177", - "x-ms-routing-request-id": "EASTUS2:20220425T042637Z:67cbcaa3-fdc3-4935-86a7-b245c90250d5" + "x-ms-arm-service-request-id": "18b69992-e991-4f50-9a71-d08855c250d1", + "x-ms-correlation-request-id": "cc77330f-6f15-4cb9-8324-98636dbaf4d6", + "x-ms-ratelimit-remaining-subscription-writes": "1176", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095821Z:cc77330f-6f15-4cb9-8324-98636dbaf4d6" }, "ResponseBody": { "name": "publicipprefixd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd2d02bf9", - "etag": "W/\u00224cb9db0e-8123-4dea-addf-89afaa782c8b\u0022", + "etag": "W/\u002288a13303-8e8f-4206-af73-3a52b553f071\u0022", "type": "Microsoft.Network/publicIPPrefixes", "location": "westus", "properties": { "provisioningState": "Updating", - "resourceGuid": "60b5521d-47c3-44a3-b1ab-6ee302d85e39", + "resourceGuid": "31f5a798-13e6-4de3-91f4-abd49133caa5", "prefixLength": 30, "publicIPAddressVersion": "IPv4", "ipTags": [] @@ -273,13 +273,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/62dcc4ff-64e2-4db0-b4ca-3346828c7782?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c1799c78-5a2a-49f2-bb2c-5e526471de09?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -287,7 +287,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:39 GMT", + "Date": "Thu, 28 Apr 2022 09:58:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -298,10 +298,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3559a6e5-f4eb-43ff-9f84-f7c410d17747", - "x-ms-correlation-request-id": "460d6fec-a6fe-48bd-930d-197353fff009", - "x-ms-ratelimit-remaining-subscription-reads": "11872", - "x-ms-routing-request-id": "EASTUS2:20220425T042640Z:460d6fec-a6fe-48bd-930d-197353fff009" + "x-ms-arm-service-request-id": "b7d059ff-b3af-4c71-a97d-7061223a9d68", + "x-ms-correlation-request-id": "7c9bab4c-1f0e-4f9b-8de4-32062895bc41", + "x-ms-ratelimit-remaining-subscription-reads": "11844", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095824Z:7c9bab4c-1f0e-4f9b-8de4-32062895bc41" }, "ResponseBody": { "status": "Succeeded" @@ -314,7 +314,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -322,8 +322,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:39 GMT", - "ETag": "W/\u0022b556d380-9f81-4a24-9416-dc802d521ddf\u0022", + "Date": "Thu, 28 Apr 2022 09:58:23 GMT", + "ETag": "W/\u002206dff27a-1eca-4588-9c98-d44471ba1813\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -334,23 +334,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6ebc8ca5-ec20-4d11-aeae-7fc1fb4df8df", - "x-ms-correlation-request-id": "520187d3-9dea-4358-ab81-1ae79e529c19", - "x-ms-ratelimit-remaining-subscription-reads": "11871", - "x-ms-routing-request-id": "EASTUS2:20220425T042640Z:520187d3-9dea-4358-ab81-1ae79e529c19" + "x-ms-arm-service-request-id": "6650dde3-c667-4787-82f0-9e728c52457a", + "x-ms-correlation-request-id": "1a299830-9acd-4fc8-9b03-c1057714f94c", + "x-ms-ratelimit-remaining-subscription-reads": "11843", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095824Z:1a299830-9acd-4fc8-9b03-c1057714f94c" }, "ResponseBody": { "name": "publicipprefixd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd2d02bf9", - "etag": "W/\u0022b556d380-9f81-4a24-9416-dc802d521ddf\u0022", + "etag": "W/\u002206dff27a-1eca-4588-9c98-d44471ba1813\u0022", "type": "Microsoft.Network/publicIPPrefixes", "location": "westus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "60b5521d-47c3-44a3-b1ab-6ee302d85e39", + "resourceGuid": "31f5a798-13e6-4de3-91f4-abd49133caa5", "prefixLength": 30, "publicIPAddressVersion": "IPv4", - "ipPrefix": "40.86.162.56/30", + "ipPrefix": "52.155.62.100/30", "ipTags": [] }, "sku": { @@ -368,7 +368,7 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus" @@ -376,11 +376,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/76ba0438-a5b3-4d49-9fd5-47de5880a190?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/007c7818-24d6-4f34-9176-9821e87fb97e?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "650", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:40 GMT", + "Date": "Thu, 28 Apr 2022 09:58:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "1", @@ -390,19 +390,19 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "97227b7e-8aaf-4e2b-9d8f-35f8e5d6fea8", - "x-ms-correlation-request-id": "90430ca7-7215-4575-9ace-e4e06ac3ca35", - "x-ms-ratelimit-remaining-subscription-writes": "1176", - "x-ms-routing-request-id": "EASTUS2:20220425T042640Z:90430ca7-7215-4575-9ace-e4e06ac3ca35" + "x-ms-arm-service-request-id": "935e0148-439e-4073-9107-0e5e11251261", + "x-ms-correlation-request-id": "5ef0596b-1de2-408f-b96e-f84d6b1b4a4e", + "x-ms-ratelimit-remaining-subscription-writes": "1175", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095824Z:5ef0596b-1de2-408f-b96e-f84d6b1b4a4e" }, "ResponseBody": { "name": "publicipaddressd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd2d02bf9", - "etag": "W/\u00222977514c-bf9c-49e9-884c-f03698d67f03\u0022", + "etag": "W/\u00227f3c057e-be43-4bea-9d02-bcecc41e8604\u0022", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "c4ca79a1-c8a7-464a-afc4-9d1023a8ce47", + "resourceGuid": "a9b810d0-be93-4f29-a40f-0d07b411e9ac", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Dynamic", "idleTimeoutInMinutes": 4, @@ -416,13 +416,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/76ba0438-a5b3-4d49-9fd5-47de5880a190?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/007c7818-24d6-4f34-9176-9821e87fb97e?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -430,7 +430,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:41 GMT", + "Date": "Thu, 28 Apr 2022 09:58:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -441,10 +441,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4d504ef5-9a26-4d4b-bfcc-769c65375d49", - "x-ms-correlation-request-id": "e2c3903a-a9b5-454b-9464-3519792a5da0", - "x-ms-ratelimit-remaining-subscription-reads": "11870", - "x-ms-routing-request-id": "EASTUS2:20220425T042641Z:e2c3903a-a9b5-454b-9464-3519792a5da0" + "x-ms-arm-service-request-id": "34821752-278a-4f48-baa7-db3cce84d802", + "x-ms-correlation-request-id": "95bebd9f-8d11-40a0-ae2b-1ebb8da08b8d", + "x-ms-ratelimit-remaining-subscription-reads": "11842", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095826Z:95bebd9f-8d11-40a0-ae2b-1ebb8da08b8d" }, "ResponseBody": { "status": "Succeeded" @@ -457,7 +457,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -465,8 +465,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:41 GMT", - "ETag": "W/\u002251a45989-1801-4557-a02a-95c8cfcbc1fd\u0022", + "Date": "Thu, 28 Apr 2022 09:58:25 GMT", + "ETag": "W/\u0022290d2be5-1c67-4dd6-b57a-624225b0ca8d\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -477,19 +477,19 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "90f47d3a-a9ee-4354-84a0-b4bb909cc051", - "x-ms-correlation-request-id": "136b6068-1c93-434c-a694-0e6e9b50b499", - "x-ms-ratelimit-remaining-subscription-reads": "11869", - "x-ms-routing-request-id": "EASTUS2:20220425T042641Z:136b6068-1c93-434c-a694-0e6e9b50b499" + "x-ms-arm-service-request-id": "5fa9ef56-502e-41d7-a80c-03f74b770333", + "x-ms-correlation-request-id": "37e90a7c-8407-4880-b141-c5680b5aa098", + "x-ms-ratelimit-remaining-subscription-reads": "11841", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095826Z:37e90a7c-8407-4880-b141-c5680b5aa098" }, "ResponseBody": { "name": "publicipaddressd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd2d02bf9", - "etag": "W/\u002251a45989-1801-4557-a02a-95c8cfcbc1fd\u0022", + "etag": "W/\u0022290d2be5-1c67-4dd6-b57a-624225b0ca8d\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "c4ca79a1-c8a7-464a-afc4-9d1023a8ce47", + "resourceGuid": "a9b810d0-be93-4f29-a40f-0d07b411e9ac", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Dynamic", "idleTimeoutInMinutes": 4, @@ -509,7 +509,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -517,8 +517,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:41 GMT", - "ETag": "W/\u002251a45989-1801-4557-a02a-95c8cfcbc1fd\u0022", + "Date": "Thu, 28 Apr 2022 09:58:25 GMT", + "ETag": "W/\u0022290d2be5-1c67-4dd6-b57a-624225b0ca8d\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -529,19 +529,19 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a5993b88-ecca-4fde-b2d0-7637798e98e9", - "x-ms-correlation-request-id": "62985ad2-4acb-45d5-ba64-7ffeff690957", - "x-ms-ratelimit-remaining-subscription-reads": "11868", - "x-ms-routing-request-id": "EASTUS2:20220425T042641Z:62985ad2-4acb-45d5-ba64-7ffeff690957" + "x-ms-arm-service-request-id": "ab652d00-0f0c-4288-88b8-ff10b10d4a71", + "x-ms-correlation-request-id": "a12fd822-b27b-41b5-80bf-ce8518519968", + "x-ms-ratelimit-remaining-subscription-reads": "11840", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095826Z:a12fd822-b27b-41b5-80bf-ce8518519968" }, "ResponseBody": { "name": "publicipaddressd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd2d02bf9", - "etag": "W/\u002251a45989-1801-4557-a02a-95c8cfcbc1fd\u0022", + "etag": "W/\u0022290d2be5-1c67-4dd6-b57a-624225b0ca8d\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "c4ca79a1-c8a7-464a-afc4-9d1023a8ce47", + "resourceGuid": "a9b810d0-be93-4f29-a40f-0d07b411e9ac", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Dynamic", "idleTimeoutInMinutes": 4, @@ -561,7 +561,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -569,8 +569,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:41 GMT", - "ETag": "W/\u0022b556d380-9f81-4a24-9416-dc802d521ddf\u0022", + "Date": "Thu, 28 Apr 2022 09:58:25 GMT", + "ETag": "W/\u002206dff27a-1eca-4588-9c98-d44471ba1813\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -581,23 +581,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "def996a8-0c73-40b9-ac88-b022f1b8b485", - "x-ms-correlation-request-id": "8605db3a-977e-40ed-b7c6-6ee86fc49a34", - "x-ms-ratelimit-remaining-subscription-reads": "11867", - "x-ms-routing-request-id": "EASTUS2:20220425T042641Z:8605db3a-977e-40ed-b7c6-6ee86fc49a34" + "x-ms-arm-service-request-id": "b0970e27-feb1-4e73-82b9-a834a9a04dbf", + "x-ms-correlation-request-id": "738ef43e-afaf-409c-bbcb-98a3671a7bb3", + "x-ms-ratelimit-remaining-subscription-reads": "11839", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095826Z:738ef43e-afaf-409c-bbcb-98a3671a7bb3" }, "ResponseBody": { "name": "publicipprefixd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd2d02bf9", - "etag": "W/\u0022b556d380-9f81-4a24-9416-dc802d521ddf\u0022", + "etag": "W/\u002206dff27a-1eca-4588-9c98-d44471ba1813\u0022", "type": "Microsoft.Network/publicIPPrefixes", "location": "westus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "60b5521d-47c3-44a3-b1ab-6ee302d85e39", + "resourceGuid": "31f5a798-13e6-4de3-91f4-abd49133caa5", "prefixLength": 30, "publicIPAddressVersion": "IPv4", - "ipPrefix": "40.86.162.56/30", + "ipPrefix": "52.155.62.100/30", "ipTags": [] }, "sku": { @@ -615,7 +615,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -629,7 +629,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:41 GMT", + "Date": "Thu, 28 Apr 2022 09:58:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -640,15 +640,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "437c0d26-9854-45d0-8a64-c71dbcec041b", - "x-ms-correlation-request-id": "ef847f97-6872-4e3d-91b6-677957a1dc99", - "x-ms-ratelimit-remaining-subscription-writes": "1175", - "x-ms-routing-request-id": "EASTUS2:20220425T042642Z:ef847f97-6872-4e3d-91b6-677957a1dc99" + "x-ms-arm-service-request-id": "7b3f5f59-2515-4325-97db-ef5f023134c9", + "x-ms-correlation-request-id": "b26512a6-97c9-49e4-ae0d-c6fd5261b2af", + "x-ms-ratelimit-remaining-subscription-writes": "1174", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095826Z:b26512a6-97c9-49e4-ae0d-c6fd5261b2af" }, "ResponseBody": { "name": "publicipaddressd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd2d02bf9", - "etag": "W/\u0022ab60ac7f-e8f7-4ef1-aab9-9de2d313cd31\u0022", + "etag": "W/\u0022a6e0b84e-22bc-42c3-92f4-ab1f26903a43\u0022", "location": "eastus", "tags": { "tag1": "value1", @@ -656,7 +656,7 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "c4ca79a1-c8a7-464a-afc4-9d1023a8ce47", + "resourceGuid": "a9b810d0-be93-4f29-a40f-0d07b411e9ac", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Dynamic", "idleTimeoutInMinutes": 4, @@ -678,7 +678,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -692,7 +692,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:42 GMT", + "Date": "Thu, 28 Apr 2022 09:58:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -703,15 +703,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "67becc48-9da1-43f1-98bb-8e26687437c3", - "x-ms-correlation-request-id": "998a95bc-3061-4994-b0a0-cda34010d543", - "x-ms-ratelimit-remaining-subscription-writes": "1174", - "x-ms-routing-request-id": "EASTUS2:20220425T042642Z:998a95bc-3061-4994-b0a0-cda34010d543" + "x-ms-arm-service-request-id": "5d701d0f-e4ca-48c5-9ada-13f7a4fdebb2", + "x-ms-correlation-request-id": "fd59a9d9-8530-443b-a23d-6ec072f2a38e", + "x-ms-ratelimit-remaining-subscription-writes": "1173", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095827Z:fd59a9d9-8530-443b-a23d-6ec072f2a38e" }, "ResponseBody": { "name": "publicipprefixd2d02bf9", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd2d02bf9", - "etag": "W/\u0022ab572eba-8c5d-4c77-8fcc-ca1bb1fe7b7c\u0022", + "etag": "W/\u0022d2a5cf5a-0542-4680-90ac-f730abf01f5d\u0022", "type": "Microsoft.Network/publicIPPrefixes", "location": "westus", "tags": { @@ -720,10 +720,10 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "60b5521d-47c3-44a3-b1ab-6ee302d85e39", + "resourceGuid": "31f5a798-13e6-4de3-91f4-abd49133caa5", "prefixLength": 30, "publicIPAddressVersion": "IPv4", - "ipPrefix": "40.86.162.56/30", + "ipPrefix": "52.155.62.100/30", "ipTags": [] }, "sku": { @@ -740,18 +740,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7d5a2b5d-be19-4e5d-b486-2bf9f6b78382?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ed5f713b-7e28-4957-b322-772e95cb13c7?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:26:42 GMT", + "Date": "Thu, 28 Apr 2022 09:58:26 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7d5a2b5d-be19-4e5d-b486-2bf9f6b78382?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/ed5f713b-7e28-4957-b322-772e95cb13c7?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -760,21 +760,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a3ee489d-4273-4ffa-9ef4-37ed57929406", - "x-ms-correlation-request-id": "37d6efd4-a7ee-4f45-9368-0ab2c91310e4", - "x-ms-ratelimit-remaining-subscription-deletes": "14983", - "x-ms-routing-request-id": "EASTUS2:20220425T042642Z:37d6efd4-a7ee-4f45-9368-0ab2c91310e4" + "x-ms-arm-service-request-id": "b4a0a89a-981c-4f9c-a203-4f2c56d3795d", + "x-ms-correlation-request-id": "36df6a47-2954-4705-9215-4388bbed58dd", + "x-ms-ratelimit-remaining-subscription-deletes": "14979", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095827Z:36df6a47-2954-4705-9215-4388bbed58dd" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7d5a2b5d-be19-4e5d-b486-2bf9f6b78382?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ed5f713b-7e28-4957-b322-772e95cb13c7?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -782,7 +782,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:52 GMT", + "Date": "Thu, 28 Apr 2022 09:58:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -793,34 +793,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f9da64d0-29f0-4a7a-b1c3-1c2eae625f20", - "x-ms-correlation-request-id": "d3a1de4a-7d55-43fb-91a1-b9017fa17b30", - "x-ms-ratelimit-remaining-subscription-reads": "11866", - "x-ms-routing-request-id": "EASTUS2:20220425T042652Z:d3a1de4a-7d55-43fb-91a1-b9017fa17b30" + "x-ms-arm-service-request-id": "c3939391-d684-4b2e-8474-5f0bbd74fac6", + "x-ms-correlation-request-id": "182c5758-15c3-4744-8d1d-242cc61e9d70", + "x-ms-ratelimit-remaining-subscription-reads": "11838", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095837Z:182c5758-15c3-4744-8d1d-242cc61e9d70" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7d5a2b5d-be19-4e5d-b486-2bf9f6b78382?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/ed5f713b-7e28-4957-b322-772e95cb13c7?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7d5a2b5d-be19-4e5d-b486-2bf9f6b78382?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ed5f713b-7e28-4957-b322-772e95cb13c7?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:26:52 GMT", + "Date": "Thu, 28 Apr 2022 09:58:36 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7d5a2b5d-be19-4e5d-b486-2bf9f6b78382?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/ed5f713b-7e28-4957-b322-772e95cb13c7?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -828,10 +828,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a3ee489d-4273-4ffa-9ef4-37ed57929406", - "x-ms-correlation-request-id": "37d6efd4-a7ee-4f45-9368-0ab2c91310e4", - "x-ms-ratelimit-remaining-subscription-reads": "11865", - "x-ms-routing-request-id": "EASTUS2:20220425T042652Z:e9694062-848a-438b-ac31-471d0af2b5a3" + "x-ms-arm-service-request-id": "b4a0a89a-981c-4f9c-a203-4f2c56d3795d", + "x-ms-correlation-request-id": "36df6a47-2954-4705-9215-4388bbed58dd", + "x-ms-ratelimit-remaining-subscription-reads": "11837", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095837Z:ffa9270e-353d-49ed-a090-db93c2aa23df" }, "ResponseBody": null }, @@ -843,18 +843,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/38bd5b4b-59b1-4b2d-9d72-2d5fbe0b2584?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f836981a-4570-49dc-b849-279447c6aa2d?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:26:52 GMT", + "Date": "Thu, 28 Apr 2022 09:58:36 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/38bd5b4b-59b1-4b2d-9d72-2d5fbe0b2584?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f836981a-4570-49dc-b849-279447c6aa2d?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -863,21 +863,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "aa77179c-61e0-4075-9e6a-712a159e819f", - "x-ms-correlation-request-id": "27400d99-bdb8-4c99-b920-36ae8fcca0fd", - "x-ms-ratelimit-remaining-subscription-deletes": "14982", - "x-ms-routing-request-id": "EASTUS2:20220425T042652Z:27400d99-bdb8-4c99-b920-36ae8fcca0fd" + "x-ms-arm-service-request-id": "25f86b94-12a6-418d-a87a-cf351687141d", + "x-ms-correlation-request-id": "2058acd5-bf5d-498b-821a-c70bad6c449b", + "x-ms-ratelimit-remaining-subscription-deletes": "14978", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095837Z:2058acd5-bf5d-498b-821a-c70bad6c449b" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/38bd5b4b-59b1-4b2d-9d72-2d5fbe0b2584?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f836981a-4570-49dc-b849-279447c6aa2d?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -885,7 +885,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:02 GMT", + "Date": "Thu, 28 Apr 2022 09:58:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -896,34 +896,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4d259bae-f4b1-4698-b812-6a69729578ee", - "x-ms-correlation-request-id": "210d4cce-f8e7-4501-b9ed-495a5ed48706", - "x-ms-ratelimit-remaining-subscription-reads": "11864", - "x-ms-routing-request-id": "EASTUS2:20220425T042703Z:210d4cce-f8e7-4501-b9ed-495a5ed48706" + "x-ms-arm-service-request-id": "5fc73df6-b6be-4bfd-93a9-98d45afd9666", + "x-ms-correlation-request-id": "76d78d05-edaf-4c62-9e10-cc0017c96fca", + "x-ms-ratelimit-remaining-subscription-reads": "11836", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095847Z:76d78d05-edaf-4c62-9e10-cc0017c96fca" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/38bd5b4b-59b1-4b2d-9d72-2d5fbe0b2584?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f836981a-4570-49dc-b849-279447c6aa2d?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/38bd5b4b-59b1-4b2d-9d72-2d5fbe0b2584?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f836981a-4570-49dc-b849-279447c6aa2d?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:02 GMT", + "Date": "Thu, 28 Apr 2022 09:58:47 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/38bd5b4b-59b1-4b2d-9d72-2d5fbe0b2584?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f836981a-4570-49dc-b849-279447c6aa2d?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -931,10 +931,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "aa77179c-61e0-4075-9e6a-712a159e819f", - "x-ms-correlation-request-id": "27400d99-bdb8-4c99-b920-36ae8fcca0fd", - "x-ms-ratelimit-remaining-subscription-reads": "11863", - "x-ms-routing-request-id": "EASTUS2:20220425T042703Z:c4f30ac1-f1a1-42e1-b452-46bb5fdb7d52" + "x-ms-arm-service-request-id": "25f86b94-12a6-418d-a87a-cf351687141d", + "x-ms-correlation-request-id": "2058acd5-bf5d-498b-821a-c70bad6c449b", + "x-ms-ratelimit-remaining-subscription-reads": "11835", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095847Z:c7901244-2e87-44bb-a10f-d3630c2d20ba" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.pyTestMgmtNetworktest_network.json index e60e5e8f8362..9e9a800e5cb1 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:03 GMT", + "Date": "Thu, 28 Apr 2022 09:58:49 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - NCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:03 GMT", + "Date": "Thu, 28 Apr 2022 09:58:49 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "38b2dfed-2a46-433f-ba14-5d8e4bdd8885", + "client-request-id": "e6299d78-f5ac-4cb1-b312-542dd5a60080", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "38b2dfed-2a46-433f-ba14-5d8e4bdd8885", + "client-request-id": "e6299d78-f5ac-4cb1-b312-542dd5a60080", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:03 GMT", + "Date": "Thu, 28 Apr 2022 09:58:49 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "167", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -236,11 +236,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37bf6dbe-58e3-497d-84ca-569b42ca232c?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/defed511-00a3-4d46-a104-60027d727684?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "651", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:04 GMT", + "Date": "Thu, 28 Apr 2022 09:58:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "1", @@ -250,19 +250,19 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "52393ab5-3154-42c3-94ff-8e8a33d9e72c", - "x-ms-correlation-request-id": "4a3e0408-29fd-4ee6-9df8-feada37d2221", - "x-ms-ratelimit-remaining-subscription-writes": "1173", - "x-ms-routing-request-id": "EASTUS2:20220425T042705Z:4a3e0408-29fd-4ee6-9df8-feada37d2221" + "x-ms-arm-service-request-id": "bf485734-e290-4775-a97c-40f731df4225", + "x-ms-correlation-request-id": "cb9be436-8d5f-4201-a74c-b3eec478e5a0", + "x-ms-ratelimit-remaining-subscription-writes": "1172", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095850Z:cb9be436-8d5f-4201-a74c-b3eec478e5a0" }, "ResponseBody": { "name": "public_ip_address_name", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name", - "etag": "W/\u00224bda4858-3b58-4fa4-a036-1356f37e7f71\u0022", + "etag": "W/\u0022b2958d70-ab6f-42ff-a80c-7e1b6982f54a\u0022", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "8c484674-c8ef-4c7c-950e-b774b004dddd", + "resourceGuid": "6d4610c6-d9b8-4ba7-8e9f-84d0a8233375", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Static", "idleTimeoutInMinutes": 10, @@ -276,13 +276,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37bf6dbe-58e3-497d-84ca-569b42ca232c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/defed511-00a3-4d46-a104-60027d727684?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -290,7 +290,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:05 GMT", + "Date": "Thu, 28 Apr 2022 09:58:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -301,10 +301,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d2353be8-0d3f-4488-8efc-3d3d2048fa35", - "x-ms-correlation-request-id": "7f1fbd3a-dd7b-40b7-8a2d-828a122ba9ea", - "x-ms-ratelimit-remaining-subscription-reads": "11862", - "x-ms-routing-request-id": "EASTUS2:20220425T042706Z:7f1fbd3a-dd7b-40b7-8a2d-828a122ba9ea" + "x-ms-arm-service-request-id": "2596b8b0-3c5e-45b5-b228-15be9bd7a199", + "x-ms-correlation-request-id": "0f8fbc4a-cdbf-437e-9e17-79c4024b1731", + "x-ms-ratelimit-remaining-subscription-reads": "11834", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095851Z:0f8fbc4a-cdbf-437e-9e17-79c4024b1731" }, "ResponseBody": { "status": "Succeeded" @@ -317,7 +317,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -325,8 +325,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:05 GMT", - "ETag": "W/\u00220e44b877-e0ec-46ae-9201-b337f02d638c\u0022", + "Date": "Thu, 28 Apr 2022 09:58:51 GMT", + "ETag": "W/\u0022bc89afee-d6ca-4a97-8bf0-c91249f3c2ba\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -337,20 +337,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b8c945f9-2f08-4624-847d-f55391b6f24b", - "x-ms-correlation-request-id": "0ef9b865-f789-46ed-8109-ab171fe0cdda", - "x-ms-ratelimit-remaining-subscription-reads": "11861", - "x-ms-routing-request-id": "EASTUS2:20220425T042706Z:0ef9b865-f789-46ed-8109-ab171fe0cdda" + "x-ms-arm-service-request-id": "230a78b5-3df3-4a0d-ab95-158fe31fd300", + "x-ms-correlation-request-id": "3fd8ec01-8e2c-41e5-881a-c75f91872168", + "x-ms-ratelimit-remaining-subscription-reads": "11833", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095851Z:3fd8ec01-8e2c-41e5-881a-c75f91872168" }, "ResponseBody": { "name": "public_ip_address_name", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name", - "etag": "W/\u00220e44b877-e0ec-46ae-9201-b337f02d638c\u0022", + "etag": "W/\u0022bc89afee-d6ca-4a97-8bf0-c91249f3c2ba\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "8c484674-c8ef-4c7c-950e-b774b004dddd", - "ipAddress": "20.115.114.246", + "resourceGuid": "6d4610c6-d9b8-4ba7-8e9f-84d0a8233375", + "ipAddress": "20.124.241.133", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Static", "idleTimeoutInMinutes": 10, @@ -372,7 +372,7 @@ "Connection": "keep-alive", "Content-Length": "1892", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -451,11 +451,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/dc9711f6-bbe0-4ec7-838f-927a16dd6c24?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6639027d-a78c-486d-8eba-208ba82c1d79?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "6832", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:06 GMT", + "Date": "Thu, 28 Apr 2022 09:58:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -464,25 +464,25 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c158df55-95e9-42f3-9947-503466b42244", - "x-ms-correlation-request-id": "1b72c561-5931-4ff0-b667-ccf8162b2351", - "x-ms-ratelimit-remaining-subscription-writes": "1172", - "x-ms-routing-request-id": "EASTUS2:20220425T042706Z:1b72c561-5931-4ff0-b667-ccf8162b2351" + "x-ms-arm-service-request-id": "45b79f23-e8ae-4a31-94af-7aa5572041ac", + "x-ms-correlation-request-id": "47280c07-ebc7-4c15-ab79-7cf91ae3faa3", + "x-ms-ratelimit-remaining-subscription-writes": "1171", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095852Z:47280c07-ebc7-4c15-ab79-7cf91ae3faa3" }, "ResponseBody": { "name": "myLoadBalancer", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "ae084d7c-8ee0-405c-848f-f541c89f2ede", + "resourceGuid": "78abbe82-832a-4198-bc6f-91aac6e74455", "frontendIPConfigurations": [ { "name": "myFrontendIpconfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", "properties": { "provisioningState": "Succeeded", @@ -507,7 +507,7 @@ { "name": "myBackendAddressPool", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "properties": { "provisioningState": "Succeeded", "loadBalancerBackendAddresses": [], @@ -529,7 +529,7 @@ { "name": "myLoadBalancingRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers/loadBalancingRules", "properties": { "provisioningState": "Succeeded", @@ -564,7 +564,7 @@ { "name": "myProbe", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "properties": { "provisioningState": "Succeeded", "protocol": "Http", @@ -586,7 +586,7 @@ { "name": "myOutboundRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers/outboundRules", "properties": { "provisioningState": "Succeeded", @@ -614,13 +614,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/dc9711f6-bbe0-4ec7-838f-927a16dd6c24?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6639027d-a78c-486d-8eba-208ba82c1d79?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -628,7 +628,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:36 GMT", + "Date": "Thu, 28 Apr 2022 09:59:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -639,10 +639,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c27e4dc4-032a-4a27-b056-b5eb0483618a", - "x-ms-correlation-request-id": "f68d0b29-0e7d-4a4d-8dfb-eb52202fc5c7", - "x-ms-ratelimit-remaining-subscription-reads": "11860", - "x-ms-routing-request-id": "EASTUS2:20220425T042736Z:f68d0b29-0e7d-4a4d-8dfb-eb52202fc5c7" + "x-ms-arm-service-request-id": "cb38f6b2-28ea-46a6-bf4b-88109a4cd662", + "x-ms-correlation-request-id": "f8aeef7d-4708-413d-beef-061649b94ad0", + "x-ms-ratelimit-remaining-subscription-reads": "11832", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095922Z:f8aeef7d-4708-413d-beef-061649b94ad0" }, "ResponseBody": { "status": "Succeeded" @@ -655,7 +655,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -663,8 +663,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:36 GMT", - "ETag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "Date": "Thu, 28 Apr 2022 09:59:21 GMT", + "ETag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -675,25 +675,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1b11f840-4745-4cb1-a11d-5e82726f76ef", - "x-ms-correlation-request-id": "fc6c26ed-07dd-448c-a133-df764a0e04f2", - "x-ms-ratelimit-remaining-subscription-reads": "11859", - "x-ms-routing-request-id": "EASTUS2:20220425T042736Z:fc6c26ed-07dd-448c-a133-df764a0e04f2" + "x-ms-arm-service-request-id": "e7b9901e-e9ef-4ac5-a8d8-e1dac8586365", + "x-ms-correlation-request-id": "e1da090a-df58-4ab1-91e2-343e44df72a3", + "x-ms-ratelimit-remaining-subscription-reads": "11831", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095922Z:e1da090a-df58-4ab1-91e2-343e44df72a3" }, "ResponseBody": { "name": "myLoadBalancer", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "ae084d7c-8ee0-405c-848f-f541c89f2ede", + "resourceGuid": "78abbe82-832a-4198-bc6f-91aac6e74455", "frontendIPConfigurations": [ { "name": "myFrontendIpconfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", "properties": { "provisioningState": "Succeeded", @@ -718,7 +718,7 @@ { "name": "myBackendAddressPool", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "properties": { "provisioningState": "Succeeded", "loadBalancerBackendAddresses": [], @@ -740,7 +740,7 @@ { "name": "myLoadBalancingRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers/loadBalancingRules", "properties": { "provisioningState": "Succeeded", @@ -775,7 +775,7 @@ { "name": "myProbe", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "properties": { "provisioningState": "Succeeded", "protocol": "Http", @@ -797,7 +797,7 @@ { "name": "myOutboundRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule", - "etag": "W/\u0022be92669a-ce19-4c60-85da-2a3781a7429a\u0022", + "etag": "W/\u00220a7f5935-40ae-4903-b5a3-1567d34bb66e\u0022", "type": "Microsoft.Network/loadBalancers/outboundRules", "properties": { "provisioningState": "Succeeded", @@ -833,7 +833,7 @@ "Connection": "keep-alive", "Content-Length": "377", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -850,11 +850,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c5212a24-4967-4665-9c28-31f9511b635e?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/944bbbf7-2963-40e0-b62a-e7f451aa9c2c?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "890", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:27:36 GMT", + "Date": "Thu, 28 Apr 2022 09:59:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -863,15 +863,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f6f6bf6c-97b6-448f-a432-a5f8f0d19a60", - "x-ms-correlation-request-id": "60f4a40c-2366-401b-902f-7a6f14a1fc47", - "x-ms-ratelimit-remaining-subscription-writes": "1171", - "x-ms-routing-request-id": "EASTUS2:20220425T042736Z:60f4a40c-2366-401b-902f-7a6f14a1fc47" + "x-ms-arm-service-request-id": "0bce635d-47e6-4101-b386-d9114be160db", + "x-ms-correlation-request-id": "268d3d79-72e5-4b5a-9b8b-eda93907ea7f", + "x-ms-ratelimit-remaining-subscription-writes": "1170", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095922Z:268d3d79-72e5-4b5a-9b8b-eda93907ea7f" }, "ResponseBody": { "name": "myInboundNatRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/inboundNatRules", "properties": { "provisioningState": "Succeeded", @@ -890,13 +890,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c5212a24-4967-4665-9c28-31f9511b635e?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/944bbbf7-2963-40e0-b62a-e7f451aa9c2c?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -904,7 +904,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", + "Date": "Thu, 28 Apr 2022 09:59:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -915,10 +915,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "8f04db98-3924-4003-92f6-1fd6ff8ed210", - "x-ms-correlation-request-id": "721c4d2c-b401-49a0-a972-590a721b3991", - "x-ms-ratelimit-remaining-subscription-reads": "11858", - "x-ms-routing-request-id": "EASTUS2:20220425T042806Z:721c4d2c-b401-49a0-a972-590a721b3991" + "x-ms-arm-service-request-id": "2f62c0db-0dc6-4e39-b2c1-8e8f67ee5491", + "x-ms-correlation-request-id": "f56b18e9-3b73-4cf9-a013-12998046ceff", + "x-ms-ratelimit-remaining-subscription-reads": "11830", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095952Z:f56b18e9-3b73-4cf9-a013-12998046ceff" }, "ResponseBody": { "status": "Succeeded" @@ -931,7 +931,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -939,8 +939,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -951,15 +951,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "cdd26476-346c-4e07-a184-40d012109a0e", - "x-ms-correlation-request-id": "15278f28-83cd-4f11-b760-ea9e219af82a", - "x-ms-ratelimit-remaining-subscription-reads": "11857", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:15278f28-83cd-4f11-b760-ea9e219af82a" + "x-ms-arm-service-request-id": "fc3fcccb-c526-42be-8b99-4a7c13138621", + "x-ms-correlation-request-id": "c462f35d-486c-40ef-b421-260ae6c2a605", + "x-ms-ratelimit-remaining-subscription-reads": "11829", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095952Z:c462f35d-486c-40ef-b421-260ae6c2a605" }, "ResponseBody": { "name": "myInboundNatRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/inboundNatRules", "properties": { "provisioningState": "Succeeded", @@ -984,7 +984,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -992,8 +992,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1004,15 +1004,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5553f4ac-a2fe-41b4-9a5d-fab55c464a37", - "x-ms-correlation-request-id": "501be97d-b5d7-459a-914c-56c1ca72ff7f", - "x-ms-ratelimit-remaining-subscription-reads": "11856", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:501be97d-b5d7-459a-914c-56c1ca72ff7f" + "x-ms-arm-service-request-id": "73bbb77a-c53e-4a33-b956-2fde31269bd4", + "x-ms-correlation-request-id": "6a08334c-58c7-4369-b745-425ca90d7a17", + "x-ms-ratelimit-remaining-subscription-reads": "11828", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095952Z:6a08334c-58c7-4369-b745-425ca90d7a17" }, "ResponseBody": { "name": "myFrontendIpconfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", "properties": { "provisioningState": "Succeeded", @@ -1045,7 +1045,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1053,8 +1053,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1065,15 +1065,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4a18c5e1-d59f-464c-9ea5-e649bdbfd9a1", - "x-ms-correlation-request-id": "e5880dec-5e36-4a79-a33c-ff2bc00db830", - "x-ms-ratelimit-remaining-subscription-reads": "11855", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:e5880dec-5e36-4a79-a33c-ff2bc00db830" + "x-ms-arm-service-request-id": "933cfc8c-3c95-477b-9315-50c9c49f430b", + "x-ms-correlation-request-id": "051bc035-54e3-4737-8e49-0ceed91741d8", + "x-ms-ratelimit-remaining-subscription-reads": "11827", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095953Z:051bc035-54e3-4737-8e49-0ceed91741d8" }, "ResponseBody": { "name": "myBackendAddressPool", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "properties": { "provisioningState": "Succeeded", "loadBalancerBackendAddresses": [], @@ -1098,7 +1098,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1106,8 +1106,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1118,15 +1118,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5794307c-0352-4a5a-a3cc-a9731dfbeabe", - "x-ms-correlation-request-id": "4f42c3ae-810d-4294-8982-ad0072ef6365", - "x-ms-ratelimit-remaining-subscription-reads": "11854", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:4f42c3ae-810d-4294-8982-ad0072ef6365" + "x-ms-arm-service-request-id": "29bfe5ec-92a1-41e4-9be3-846364472a55", + "x-ms-correlation-request-id": "b9abea94-be1e-42b4-8834-315c4bf48f92", + "x-ms-ratelimit-remaining-subscription-reads": "11826", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095953Z:b9abea94-be1e-42b4-8834-315c4bf48f92" }, "ResponseBody": { "name": "myLoadBalancingRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/loadBalancingRules", "properties": { "provisioningState": "Succeeded", @@ -1164,7 +1164,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1172,8 +1172,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1184,15 +1184,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "092323b8-a5b4-4393-84a3-c560323e0a01", - "x-ms-correlation-request-id": "c0316283-3bb6-4d66-9a66-79cd7e096059", - "x-ms-ratelimit-remaining-subscription-reads": "11853", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:c0316283-3bb6-4d66-9a66-79cd7e096059" + "x-ms-arm-service-request-id": "f0c293ef-5541-4bf1-bcc2-b159b1b682f9", + "x-ms-correlation-request-id": "1cda9e1c-ae5c-43be-8ebe-bdbdeb6472c7", + "x-ms-ratelimit-remaining-subscription-reads": "11825", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095953Z:1cda9e1c-ae5c-43be-8ebe-bdbdeb6472c7" }, "ResponseBody": { "name": "myInboundNatRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/inboundNatRules", "properties": { "provisioningState": "Succeeded", @@ -1217,7 +1217,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1225,8 +1225,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1237,15 +1237,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "913e4f32-042f-4ae9-9507-3c5767c53fb4", - "x-ms-correlation-request-id": "d3568b7a-343b-4edf-b042-6e08883aaf60", - "x-ms-ratelimit-remaining-subscription-reads": "11852", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:d3568b7a-343b-4edf-b042-6e08883aaf60" + "x-ms-arm-service-request-id": "7a65a2f6-433f-49fe-9bde-021f0731d571", + "x-ms-correlation-request-id": "b0078637-9b26-42f0-ae2d-f0b8dda97fd8", + "x-ms-ratelimit-remaining-subscription-reads": "11824", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095953Z:b0078637-9b26-42f0-ae2d-f0b8dda97fd8" }, "ResponseBody": { "name": "myOutboundRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/outboundRules", "properties": { "provisioningState": "Succeeded", @@ -1271,7 +1271,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1279,8 +1279,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1291,15 +1291,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2217883c-fb62-40b5-83fd-46b7ebc9ac60", - "x-ms-correlation-request-id": "9d03c490-492a-400f-aae9-261d0c535888", - "x-ms-ratelimit-remaining-subscription-reads": "11851", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:9d03c490-492a-400f-aae9-261d0c535888" + "x-ms-arm-service-request-id": "299bf4f2-348b-4024-bbd8-467d25e334c3", + "x-ms-correlation-request-id": "e9307e27-8da1-4ba7-9b20-a6936072cbd9", + "x-ms-ratelimit-remaining-subscription-reads": "11823", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095953Z:e9307e27-8da1-4ba7-9b20-a6936072cbd9" }, "ResponseBody": { "name": "myProbe", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "properties": { "provisioningState": "Succeeded", "protocol": "Http", @@ -1323,7 +1323,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1331,8 +1331,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:06 GMT", - "ETag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "Date": "Thu, 28 Apr 2022 09:59:52 GMT", + "ETag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1343,25 +1343,25 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f783cb7b-b87f-4ccb-a8e1-17ae2cea6b19", - "x-ms-correlation-request-id": "f25d4fd9-0f9d-4a23-a408-c1d5d34c62fe", - "x-ms-ratelimit-remaining-subscription-reads": "11850", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:f25d4fd9-0f9d-4a23-a408-c1d5d34c62fe" + "x-ms-arm-service-request-id": "94f32e4b-2ac5-47f0-bf50-5225f31cfebe", + "x-ms-correlation-request-id": "7e688fcf-eaa9-447e-9e22-03314d901568", + "x-ms-ratelimit-remaining-subscription-reads": "11822", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095953Z:7e688fcf-eaa9-447e-9e22-03314d901568" }, "ResponseBody": { "name": "myLoadBalancer", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "ae084d7c-8ee0-405c-848f-f541c89f2ede", + "resourceGuid": "78abbe82-832a-4198-bc6f-91aac6e74455", "frontendIPConfigurations": [ { "name": "myFrontendIpconfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", "properties": { "provisioningState": "Succeeded", @@ -1391,7 +1391,7 @@ { "name": "myBackendAddressPool", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "properties": { "provisioningState": "Succeeded", "loadBalancerBackendAddresses": [], @@ -1413,7 +1413,7 @@ { "name": "myLoadBalancingRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/loadBalancingRules", "properties": { "provisioningState": "Succeeded", @@ -1448,7 +1448,7 @@ { "name": "myProbe", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "properties": { "provisioningState": "Succeeded", "protocol": "Http", @@ -1469,7 +1469,7 @@ { "name": "myInboundNatRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/inboundNatRules", "properties": { "provisioningState": "Succeeded", @@ -1491,7 +1491,7 @@ { "name": "myOutboundRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule", - "etag": "W/\u00224e62752d-a109-4ebd-bedc-000cc1e1983e\u0022", + "etag": "W/\u00228ee13955-8b78-4176-bd6e-cb527f06c8ed\u0022", "type": "Microsoft.Network/loadBalancers/outboundRules", "properties": { "provisioningState": "Succeeded", @@ -1527,7 +1527,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -1541,7 +1541,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:07 GMT", + "Date": "Thu, 28 Apr 2022 09:59:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1552,15 +1552,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "62e39f46-b968-4980-ad40-295fe571075a", - "x-ms-correlation-request-id": "c6c2bc30-fdfa-4b3f-a0ff-2bb1358a4068", - "x-ms-ratelimit-remaining-subscription-writes": "1170", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:c6c2bc30-fdfa-4b3f-a0ff-2bb1358a4068" + "x-ms-arm-service-request-id": "b10b5b6c-1813-4167-8510-3023cbd3b954", + "x-ms-correlation-request-id": "aff3d9c6-65ec-4b39-a1dd-f74a401f9539", + "x-ms-ratelimit-remaining-subscription-writes": "1169", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095953Z:aff3d9c6-65ec-4b39-a1dd-f74a401f9539" }, "ResponseBody": { "name": "myLoadBalancer", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer", - "etag": "W/\u0022628815ba-00e0-4caa-bec2-80fb81d11b7f\u0022", + "etag": "W/\u0022534f9931-c84e-4e26-9c3f-aaecc5fd3461\u0022", "type": "Microsoft.Network/loadBalancers", "location": "eastus", "tags": { @@ -1569,12 +1569,12 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "ae084d7c-8ee0-405c-848f-f541c89f2ede", + "resourceGuid": "78abbe82-832a-4198-bc6f-91aac6e74455", "frontendIPConfigurations": [ { "name": "myFrontendIpconfiguration", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration", - "etag": "W/\u0022628815ba-00e0-4caa-bec2-80fb81d11b7f\u0022", + "etag": "W/\u0022534f9931-c84e-4e26-9c3f-aaecc5fd3461\u0022", "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", "properties": { "provisioningState": "Succeeded", @@ -1604,7 +1604,7 @@ { "name": "myBackendAddressPool", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool", - "etag": "W/\u0022628815ba-00e0-4caa-bec2-80fb81d11b7f\u0022", + "etag": "W/\u0022534f9931-c84e-4e26-9c3f-aaecc5fd3461\u0022", "properties": { "provisioningState": "Succeeded", "loadBalancerBackendAddresses": [], @@ -1626,7 +1626,7 @@ { "name": "myLoadBalancingRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule", - "etag": "W/\u0022628815ba-00e0-4caa-bec2-80fb81d11b7f\u0022", + "etag": "W/\u0022534f9931-c84e-4e26-9c3f-aaecc5fd3461\u0022", "type": "Microsoft.Network/loadBalancers/loadBalancingRules", "properties": { "provisioningState": "Succeeded", @@ -1661,7 +1661,7 @@ { "name": "myProbe", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe", - "etag": "W/\u0022628815ba-00e0-4caa-bec2-80fb81d11b7f\u0022", + "etag": "W/\u0022534f9931-c84e-4e26-9c3f-aaecc5fd3461\u0022", "properties": { "provisioningState": "Succeeded", "protocol": "Http", @@ -1682,7 +1682,7 @@ { "name": "myInboundNatRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule", - "etag": "W/\u0022628815ba-00e0-4caa-bec2-80fb81d11b7f\u0022", + "etag": "W/\u0022534f9931-c84e-4e26-9c3f-aaecc5fd3461\u0022", "type": "Microsoft.Network/loadBalancers/inboundNatRules", "properties": { "provisioningState": "Succeeded", @@ -1704,7 +1704,7 @@ { "name": "myOutboundRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule", - "etag": "W/\u0022628815ba-00e0-4caa-bec2-80fb81d11b7f\u0022", + "etag": "W/\u0022534f9931-c84e-4e26-9c3f-aaecc5fd3461\u0022", "type": "Microsoft.Network/loadBalancers/outboundRules", "properties": { "provisioningState": "Succeeded", @@ -1739,17 +1739,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7cfe658c-4a63-433e-a1a0-a4ac43d75fde?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2d2a6218-1d5e-4f0f-a02b-b7f35790235d?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:28:07 GMT", + "Date": "Thu, 28 Apr 2022 09:59:53 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7cfe658c-4a63-433e-a1a0-a4ac43d75fde?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2d2a6218-1d5e-4f0f-a02b-b7f35790235d?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -1758,21 +1758,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d25969f2-ab97-476f-8535-205e71d25f35", - "x-ms-correlation-request-id": "d2f0069d-d858-4dc9-9f60-3e5db3e848ef", - "x-ms-ratelimit-remaining-subscription-deletes": "14981", - "x-ms-routing-request-id": "EASTUS2:20220425T042807Z:d2f0069d-d858-4dc9-9f60-3e5db3e848ef" + "x-ms-arm-service-request-id": "217bee72-9e2f-4300-8f39-ea9614385770", + "x-ms-correlation-request-id": "4790c588-4532-4293-abc7-1e6a20dece38", + "x-ms-ratelimit-remaining-subscription-deletes": "14977", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T095954Z:4790c588-4532-4293-abc7-1e6a20dece38" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7cfe658c-4a63-433e-a1a0-a4ac43d75fde?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2d2a6218-1d5e-4f0f-a02b-b7f35790235d?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1780,7 +1780,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:16 GMT", + "Date": "Thu, 28 Apr 2022 10:00:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1791,33 +1791,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "acf8b1f8-0e9d-4d3f-9446-71abaf1b3203", - "x-ms-correlation-request-id": "bbaebef9-5b4d-4c49-96e3-2c51e8d1cacf", - "x-ms-ratelimit-remaining-subscription-reads": "11849", - "x-ms-routing-request-id": "EASTUS2:20220425T042817Z:bbaebef9-5b4d-4c49-96e3-2c51e8d1cacf" + "x-ms-arm-service-request-id": "2fb9da9e-f8bf-465e-b182-b6b7bc208db4", + "x-ms-correlation-request-id": "9b7f7a1f-ff8c-4203-8039-d3270080aff9", + "x-ms-ratelimit-remaining-subscription-reads": "11848", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100004Z:9b7f7a1f-ff8c-4203-8039-d3270080aff9" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7cfe658c-4a63-433e-a1a0-a4ac43d75fde?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2d2a6218-1d5e-4f0f-a02b-b7f35790235d?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7cfe658c-4a63-433e-a1a0-a4ac43d75fde?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2d2a6218-1d5e-4f0f-a02b-b7f35790235d?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:18 GMT", + "Date": "Thu, 28 Apr 2022 10:00:03 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7cfe658c-4a63-433e-a1a0-a4ac43d75fde?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2d2a6218-1d5e-4f0f-a02b-b7f35790235d?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -1825,10 +1825,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d25969f2-ab97-476f-8535-205e71d25f35", - "x-ms-correlation-request-id": "d2f0069d-d858-4dc9-9f60-3e5db3e848ef", - "x-ms-ratelimit-remaining-subscription-reads": "11848", - "x-ms-routing-request-id": "EASTUS2:20220425T042818Z:287b2bc9-ffaa-4481-8f41-150797e294af" + "x-ms-arm-service-request-id": "217bee72-9e2f-4300-8f39-ea9614385770", + "x-ms-correlation-request-id": "4790c588-4532-4293-abc7-1e6a20dece38", + "x-ms-ratelimit-remaining-subscription-reads": "11847", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100004Z:e46576f1-840b-448f-974c-74d59ead2cc4" }, "ResponseBody": null }, @@ -1840,18 +1840,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/845186c0-20e9-417b-b7ff-7263c32ab831?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5a3d2376-0a8c-4119-8692-ad5b8f60b71e?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:28:18 GMT", + "Date": "Thu, 28 Apr 2022 10:00:03 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/845186c0-20e9-417b-b7ff-7263c32ab831?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5a3d2376-0a8c-4119-8692-ad5b8f60b71e?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -1860,21 +1860,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5ecf0f40-9ffc-43bd-98cb-5674c18e40b1", - "x-ms-correlation-request-id": "42af577f-aeb3-44f5-a2c1-ce04c75b743e", - "x-ms-ratelimit-remaining-subscription-deletes": "14980", - "x-ms-routing-request-id": "EASTUS2:20220425T042818Z:42af577f-aeb3-44f5-a2c1-ce04c75b743e" + "x-ms-arm-service-request-id": "10cba766-4725-423f-840a-d7137a0b89fc", + "x-ms-correlation-request-id": "79cf132e-5fd0-4ea1-b414-09e292615cef", + "x-ms-ratelimit-remaining-subscription-deletes": "14976", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100004Z:79cf132e-5fd0-4ea1-b414-09e292615cef" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/845186c0-20e9-417b-b7ff-7263c32ab831?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5a3d2376-0a8c-4119-8692-ad5b8f60b71e?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -1882,7 +1882,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:28 GMT", + "Date": "Thu, 28 Apr 2022 10:00:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1893,34 +1893,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1c86b5e3-0876-477f-93a2-5b8df32d2b5e", - "x-ms-correlation-request-id": "f68cd036-03c5-4adb-80c6-e17612691e3f", - "x-ms-ratelimit-remaining-subscription-reads": "11847", - "x-ms-routing-request-id": "EASTUS2:20220425T042828Z:f68cd036-03c5-4adb-80c6-e17612691e3f" + "x-ms-arm-service-request-id": "e725aa8a-bb9e-4cc6-8aaf-8b6114da8462", + "x-ms-correlation-request-id": "a38e3be2-a6b7-4e3e-aa71-09c034f291d1", + "x-ms-ratelimit-remaining-subscription-reads": "11846", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100014Z:a38e3be2-a6b7-4e3e-aa71-09c034f291d1" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/845186c0-20e9-417b-b7ff-7263c32ab831?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5a3d2376-0a8c-4119-8692-ad5b8f60b71e?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/845186c0-20e9-417b-b7ff-7263c32ab831?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5a3d2376-0a8c-4119-8692-ad5b8f60b71e?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:28 GMT", + "Date": "Thu, 28 Apr 2022 10:00:14 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/845186c0-20e9-417b-b7ff-7263c32ab831?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5a3d2376-0a8c-4119-8692-ad5b8f60b71e?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -1928,10 +1928,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5ecf0f40-9ffc-43bd-98cb-5674c18e40b1", - "x-ms-correlation-request-id": "42af577f-aeb3-44f5-a2c1-ce04c75b743e", - "x-ms-ratelimit-remaining-subscription-reads": "11846", - "x-ms-routing-request-id": "EASTUS2:20220425T042828Z:c760cf72-f92e-4c39-b669-de971210c4b0" + "x-ms-arm-service-request-id": "10cba766-4725-423f-840a-d7137a0b89fc", + "x-ms-correlation-request-id": "79cf132e-5fd0-4ea1-b414-09e292615cef", + "x-ms-ratelimit-remaining-subscription-reads": "11845", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100014Z:f71d034c-1072-45c9-ac82-15b8ee413727" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.pyTestMgmtNetworktest_network.json index 06d206162d18..4ae9232d6ee3 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:29 GMT", + "Date": "Thu, 28 Apr 2022 10:00:15 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:30 GMT", + "Date": "Thu, 28 Apr 2022 10:00:15 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "5c9b669b-6089-4616-96c9-23326b16b4e4", + "client-request-id": "7a819a57-b72e-47a1-8b2a-356f6d7763f4", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "5c9b669b-6089-4616-96c9-23326b16b4e4", + "client-request-id": "7a819a57-b72e-47a1-8b2a-356f6d7763f4", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:30 GMT", + "Date": "Thu, 28 Apr 2022 10:00:15 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - NCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "132", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -235,11 +235,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/301b2d40-db82-4d75-ae2b-ac0aa7f911e8?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1e9e74cb-0877-4dd6-a5fa-510eb5540f28?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "636", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:30 GMT", + "Date": "Thu, 28 Apr 2022 10:00:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "1", @@ -249,19 +249,19 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "524f5d2d-9995-4f0d-b74a-a1eff20a8670", - "x-ms-correlation-request-id": "d58fdbb4-1176-42fd-92b9-39d149cdd574", - "x-ms-ratelimit-remaining-subscription-writes": "1169", - "x-ms-routing-request-id": "EASTUS2:20220425T042830Z:d58fdbb4-1176-42fd-92b9-39d149cdd574" + "x-ms-arm-service-request-id": "928361bf-335b-4f43-bb55-ffc6d7a2dac5", + "x-ms-correlation-request-id": "7008506b-7d53-4b8f-879b-8ef8b1a77174", + "x-ms-ratelimit-remaining-subscription-writes": "1168", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100016Z:7008506b-7d53-4b8f-879b-8ef8b1a77174" }, "ResponseBody": { "name": "publicipaddress", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress", - "etag": "W/\u002294c9cb35-51d0-4826-a573-fb6f36f772ce\u0022", + "etag": "W/\u0022d249cacc-fabc-4e2d-82bc-4117daf1cb33\u0022", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "8a85fcbc-1856-4faf-8535-a4e72df01170", + "resourceGuid": "a30a48a8-0d1f-401a-a7e6-8f2071296905", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Static", "idleTimeoutInMinutes": 4, @@ -275,13 +275,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/301b2d40-db82-4d75-ae2b-ac0aa7f911e8?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1e9e74cb-0877-4dd6-a5fa-510eb5540f28?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -289,7 +289,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:31 GMT", + "Date": "Thu, 28 Apr 2022 10:00:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -300,10 +300,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "35fd6f09-aa4c-40a2-bbea-9c369e80887f", - "x-ms-correlation-request-id": "9325f5b2-eb54-4a4e-9dff-83cea0a0ccae", - "x-ms-ratelimit-remaining-subscription-reads": "11845", - "x-ms-routing-request-id": "EASTUS2:20220425T042831Z:9325f5b2-eb54-4a4e-9dff-83cea0a0ccae" + "x-ms-arm-service-request-id": "f3fa3c43-1ceb-4940-82a4-524d4387a65b", + "x-ms-correlation-request-id": "ac8f138d-0686-481d-9a28-c78a213910b8", + "x-ms-ratelimit-remaining-subscription-reads": "11844", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100018Z:ac8f138d-0686-481d-9a28-c78a213910b8" }, "ResponseBody": { "status": "Succeeded" @@ -316,7 +316,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -324,8 +324,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:31 GMT", - "ETag": "W/\u00224b962e04-25b9-4c9b-95da-56f384dc96e3\u0022", + "Date": "Thu, 28 Apr 2022 10:00:18 GMT", + "ETag": "W/\u0022bb459cba-5945-4f16-89dd-b1053de9eeb9\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -336,20 +336,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e9b865d8-b353-40f2-b4eb-8f6b99f4d413", - "x-ms-correlation-request-id": "8fe5ec86-33eb-4f36-a8d7-18830a85913f", - "x-ms-ratelimit-remaining-subscription-reads": "11844", - "x-ms-routing-request-id": "EASTUS2:20220425T042831Z:8fe5ec86-33eb-4f36-a8d7-18830a85913f" + "x-ms-arm-service-request-id": "18de064e-1d39-4f39-b314-3270905571db", + "x-ms-correlation-request-id": "6c881ec7-021c-4673-bc4c-1894f0d9d313", + "x-ms-ratelimit-remaining-subscription-reads": "11843", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100018Z:6c881ec7-021c-4673-bc4c-1894f0d9d313" }, "ResponseBody": { "name": "publicipaddress", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress", - "etag": "W/\u00224b962e04-25b9-4c9b-95da-56f384dc96e3\u0022", + "etag": "W/\u0022bb459cba-5945-4f16-89dd-b1053de9eeb9\u0022", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "8a85fcbc-1856-4faf-8535-a4e72df01170", - "ipAddress": "20.115.115.225", + "resourceGuid": "a30a48a8-0d1f-401a-a7e6-8f2071296905", + "ipAddress": "20.121.190.126", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Static", "idleTimeoutInMinutes": 4, @@ -371,7 +371,7 @@ "Connection": "keep-alive", "Content-Length": "87", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -385,11 +385,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c06d73e7-3f60-4958-9f57-4a1c4ff3cb22?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bff54925-6dfe-4e50-825d-5946db6afacc?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "582", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:32 GMT", + "Date": "Thu, 28 Apr 2022 10:00:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "3", @@ -399,20 +399,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3a04cf9e-6bd9-40a5-a1ac-80692417b3be", - "x-ms-correlation-request-id": "55d81568-12e0-43e7-8e9f-94e8110a289e", - "x-ms-ratelimit-remaining-subscription-writes": "1168", - "x-ms-routing-request-id": "EASTUS2:20220425T042832Z:55d81568-12e0-43e7-8e9f-94e8110a289e" + "x-ms-arm-service-request-id": "fde83c2a-12de-4060-a6b9-25adec5d70e6", + "x-ms-correlation-request-id": "51038745-f6f1-45a9-ace7-b9f78c8277d0", + "x-ms-ratelimit-remaining-subscription-writes": "1167", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100018Z:51038745-f6f1-45a9-ace7-b9f78c8277d0" }, "ResponseBody": { "name": "publicipprefix", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix", - "etag": "W/\u0022106cd6ba-df3a-4ad7-b896-95f6adb0b670\u0022", + "etag": "W/\u002207ff45f2-aa48-42b1-a2ed-b094164662b3\u0022", "type": "Microsoft.Network/publicIPPrefixes", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "1e44b8c9-c416-4560-bd0b-d8aacd33f85f", + "resourceGuid": "14cbde04-3d0e-4873-b33f-004057500545", "prefixLength": 30, "publicIPAddressVersion": "IPv4", "ipTags": [] @@ -424,13 +424,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c06d73e7-3f60-4958-9f57-4a1c4ff3cb22?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bff54925-6dfe-4e50-825d-5946db6afacc?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -438,7 +438,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:35 GMT", + "Date": "Thu, 28 Apr 2022 10:00:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -449,10 +449,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "89829bc8-7ad8-4938-baf8-b79f54a0615f", - "x-ms-correlation-request-id": "504188f4-3e78-4997-9f0c-c8da1c2a364d", - "x-ms-ratelimit-remaining-subscription-reads": "11843", - "x-ms-routing-request-id": "EASTUS2:20220425T042835Z:504188f4-3e78-4997-9f0c-c8da1c2a364d" + "x-ms-arm-service-request-id": "9f35acb2-5a64-4b21-8768-c41257f46de5", + "x-ms-correlation-request-id": "e4e4545a-cb0a-4cba-8ddb-8735c317cb09", + "x-ms-ratelimit-remaining-subscription-reads": "11842", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100021Z:e4e4545a-cb0a-4cba-8ddb-8735c317cb09" }, "ResponseBody": { "status": "Succeeded" @@ -465,7 +465,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -473,8 +473,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:35 GMT", - "ETag": "W/\u00224618411b-2e37-4ed9-b374-0451d069062a\u0022", + "Date": "Thu, 28 Apr 2022 10:00:21 GMT", + "ETag": "W/\u00227429c985-e794-47ca-8ac8-f317c9112b77\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -485,23 +485,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "cab36366-6a24-4eec-9644-46eb1d4f64ce", - "x-ms-correlation-request-id": "45e51c1e-e031-46d2-bf43-0ae0c3fd2d73", - "x-ms-ratelimit-remaining-subscription-reads": "11842", - "x-ms-routing-request-id": "EASTUS2:20220425T042835Z:45e51c1e-e031-46d2-bf43-0ae0c3fd2d73" + "x-ms-arm-service-request-id": "3f89b74a-5fc5-4381-8211-81a5f0d22ee4", + "x-ms-correlation-request-id": "0dbebfc3-fba6-44c1-b950-f9662e7a18d9", + "x-ms-ratelimit-remaining-subscription-reads": "11841", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100021Z:0dbebfc3-fba6-44c1-b950-f9662e7a18d9" }, "ResponseBody": { "name": "publicipprefix", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix", - "etag": "W/\u00224618411b-2e37-4ed9-b374-0451d069062a\u0022", + "etag": "W/\u00227429c985-e794-47ca-8ac8-f317c9112b77\u0022", "type": "Microsoft.Network/publicIPPrefixes", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "1e44b8c9-c416-4560-bd0b-d8aacd33f85f", + "resourceGuid": "14cbde04-3d0e-4873-b33f-004057500545", "prefixLength": 30, "publicIPAddressVersion": "IPv4", - "ipPrefix": "20.124.254.140/30", + "ipPrefix": "20.185.151.184/30", "ipTags": [] }, "sku": { @@ -519,7 +519,7 @@ "Connection": "keep-alive", "Content-Length": "404", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -542,11 +542,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/69afed10-b3ff-4820-bdde-fca66729727a?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e93f2908-9316-482c-9718-dc4b79e3a02f?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "928", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:35 GMT", + "Date": "Thu, 28 Apr 2022 10:00:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -556,20 +556,20 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "107daf51-5e0d-44f8-9f94-4fa498df1ee3", - "x-ms-correlation-request-id": "59a9b9eb-19f9-414b-87c1-ca5c4eec5e70", - "x-ms-ratelimit-remaining-subscription-writes": "1167", - "x-ms-routing-request-id": "EASTUS2:20220425T042835Z:59a9b9eb-19f9-414b-87c1-ca5c4eec5e70" + "x-ms-arm-service-request-id": "45cee0b5-d056-4ec7-9284-1775c323a5b3", + "x-ms-correlation-request-id": "0cc3856a-f39e-491b-8874-bbc44e222b87", + "x-ms-ratelimit-remaining-subscription-writes": "1166", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100022Z:0cc3856a-f39e-491b-8874-bbc44e222b87" }, "ResponseBody": { "name": "myNatGateway", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway", - "etag": "W/\u0022c1c2be89-617a-4280-b922-3e6ff66bb24f\u0022", + "etag": "W/\u0022c0209c53-6d26-4043-9adb-24e7edb6d9df\u0022", "type": "Microsoft.Network/natGateways", "location": "eastus", "properties": { "provisioningState": "Updating", - "resourceGuid": "687f885f-cc78-4775-b174-a9736b4d128d", + "resourceGuid": "a429d74d-a042-4940-bbe3-360afb8689d2", "idleTimeoutInMinutes": 4, "publicIpAddresses": [ { @@ -589,13 +589,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/69afed10-b3ff-4820-bdde-fca66729727a?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e93f2908-9316-482c-9718-dc4b79e3a02f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -603,7 +603,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:45 GMT", + "Date": "Thu, 28 Apr 2022 10:00:32 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -614,10 +614,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6e947e7d-f95c-4b99-aa0b-96ca4e87d988", - "x-ms-correlation-request-id": "22afdbe2-db13-4db4-91a1-42af1903bdeb", - "x-ms-ratelimit-remaining-subscription-reads": "11841", - "x-ms-routing-request-id": "EASTUS2:20220425T042845Z:22afdbe2-db13-4db4-91a1-42af1903bdeb" + "x-ms-arm-service-request-id": "e00c6fd8-515d-4f9e-b262-313975d416b9", + "x-ms-correlation-request-id": "e204c595-ffc5-46de-a9f8-0ecea58e4cf8", + "x-ms-ratelimit-remaining-subscription-reads": "11840", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100032Z:e204c595-ffc5-46de-a9f8-0ecea58e4cf8" }, "ResponseBody": { "status": "Succeeded" @@ -630,7 +630,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -638,8 +638,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:45 GMT", - "ETag": "W/\u0022d1620751-3aa5-42dd-b8de-5cb9dd916bc5\u0022", + "Date": "Thu, 28 Apr 2022 10:00:32 GMT", + "ETag": "W/\u0022f1c0a691-2b8b-4af0-a8a6-a9aab4531c26\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -650,20 +650,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f4b55c07-0ee7-402a-a7f9-5d0efbe2ed7d", - "x-ms-correlation-request-id": "479eb1ce-11dc-4a74-bba9-1022db79de22", - "x-ms-ratelimit-remaining-subscription-reads": "11840", - "x-ms-routing-request-id": "EASTUS2:20220425T042845Z:479eb1ce-11dc-4a74-bba9-1022db79de22" + "x-ms-arm-service-request-id": "9df3995a-9bf4-4d41-a5f2-d7b0da57915b", + "x-ms-correlation-request-id": "6729f9c7-4f84-49e6-8aff-45a7cdc437b8", + "x-ms-ratelimit-remaining-subscription-reads": "11839", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100032Z:6729f9c7-4f84-49e6-8aff-45a7cdc437b8" }, "ResponseBody": { "name": "myNatGateway", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway", - "etag": "W/\u0022d1620751-3aa5-42dd-b8de-5cb9dd916bc5\u0022", + "etag": "W/\u0022f1c0a691-2b8b-4af0-a8a6-a9aab4531c26\u0022", "type": "Microsoft.Network/natGateways", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "687f885f-cc78-4775-b174-a9736b4d128d", + "resourceGuid": "a429d74d-a042-4940-bbe3-360afb8689d2", "idleTimeoutInMinutes": 4, "publicIpAddresses": [ { @@ -689,7 +689,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -697,8 +697,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:45 GMT", - "ETag": "W/\u0022d1620751-3aa5-42dd-b8de-5cb9dd916bc5\u0022", + "Date": "Thu, 28 Apr 2022 10:00:32 GMT", + "ETag": "W/\u0022f1c0a691-2b8b-4af0-a8a6-a9aab4531c26\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -709,20 +709,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d35a7e55-d8e0-4b3e-9cde-12d4038e6340", - "x-ms-correlation-request-id": "1ce857e9-5924-4df7-a363-165743566ec9", - "x-ms-ratelimit-remaining-subscription-reads": "11839", - "x-ms-routing-request-id": "EASTUS2:20220425T042845Z:1ce857e9-5924-4df7-a363-165743566ec9" + "x-ms-arm-service-request-id": "027b467a-7d11-4f9a-affd-b53454aea876", + "x-ms-correlation-request-id": "ad680c21-79a4-44b8-b896-9f39f7d83465", + "x-ms-ratelimit-remaining-subscription-reads": "11838", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100032Z:ad680c21-79a4-44b8-b896-9f39f7d83465" }, "ResponseBody": { "name": "myNatGateway", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway", - "etag": "W/\u0022d1620751-3aa5-42dd-b8de-5cb9dd916bc5\u0022", + "etag": "W/\u0022f1c0a691-2b8b-4af0-a8a6-a9aab4531c26\u0022", "type": "Microsoft.Network/natGateways", "location": "eastus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "687f885f-cc78-4775-b174-a9736b4d128d", + "resourceGuid": "a429d74d-a042-4940-bbe3-360afb8689d2", "idleTimeoutInMinutes": 4, "publicIpAddresses": [ { @@ -750,7 +750,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -764,7 +764,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:45 GMT", + "Date": "Thu, 28 Apr 2022 10:00:32 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -775,15 +775,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c00ec921-f1fc-4f7e-ba1a-3e3fd8eee9da", - "x-ms-correlation-request-id": "7c042480-28bc-4437-98d9-1613058f08f9", - "x-ms-ratelimit-remaining-subscription-writes": "1166", - "x-ms-routing-request-id": "EASTUS2:20220425T042846Z:7c042480-28bc-4437-98d9-1613058f08f9" + "x-ms-arm-service-request-id": "40f1b053-8d0c-49f3-b32d-5fa77f2155e8", + "x-ms-correlation-request-id": "b037b253-0954-4ddf-ab90-7bcc88c62a34", + "x-ms-ratelimit-remaining-subscription-writes": "1165", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100033Z:b037b253-0954-4ddf-ab90-7bcc88c62a34" }, "ResponseBody": { "name": "myNatGateway", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway", - "etag": "W/\u0022b475172a-e1e4-47a9-a7c7-c94ac10bab93\u0022", + "etag": "W/\u0022908e8bfb-0604-4ea7-950e-b8755cd6d6d9\u0022", "type": "Microsoft.Network/natGateways", "location": "eastus", "tags": { @@ -792,7 +792,7 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "687f885f-cc78-4775-b174-a9736b4d128d", + "resourceGuid": "a429d74d-a042-4940-bbe3-360afb8689d2", "idleTimeoutInMinutes": 4, "publicIpAddresses": [ { @@ -819,18 +819,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eb95de23-56c0-4bc2-b917-65e97ffd1ca3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6ea12142-21ea-4f84-8aef-b75f75420ac2?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:28:45 GMT", + "Date": "Thu, 28 Apr 2022 10:00:32 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/eb95de23-56c0-4bc2-b917-65e97ffd1ca3?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6ea12142-21ea-4f84-8aef-b75f75420ac2?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -839,21 +839,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3c746f96-f43b-4a58-9652-49f8b210f54d", - "x-ms-correlation-request-id": "19640379-5b02-4877-b6e0-2c04a3d2b500", - "x-ms-ratelimit-remaining-subscription-deletes": "14979", - "x-ms-routing-request-id": "EASTUS2:20220425T042846Z:19640379-5b02-4877-b6e0-2c04a3d2b500" + "x-ms-arm-service-request-id": "ea288950-bbd6-4783-b54b-ff04cb608d91", + "x-ms-correlation-request-id": "c3a6d9c7-51e6-4acb-9ff4-03ca78e2021f", + "x-ms-ratelimit-remaining-subscription-deletes": "14975", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100033Z:c3a6d9c7-51e6-4acb-9ff4-03ca78e2021f" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eb95de23-56c0-4bc2-b917-65e97ffd1ca3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6ea12142-21ea-4f84-8aef-b75f75420ac2?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -861,7 +861,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:55 GMT", + "Date": "Thu, 28 Apr 2022 10:00:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -872,34 +872,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f430e156-6d8f-4665-896c-a032ff412212", - "x-ms-correlation-request-id": "8aed67cd-c9d9-4b8b-98ce-cd71a53c4419", - "x-ms-ratelimit-remaining-subscription-reads": "11838", - "x-ms-routing-request-id": "EASTUS2:20220425T042856Z:8aed67cd-c9d9-4b8b-98ce-cd71a53c4419" + "x-ms-arm-service-request-id": "f606a7d7-110a-485b-b6ba-c77a6b5c3466", + "x-ms-correlation-request-id": "4a7533ae-5194-4c38-8228-9ff8dc61d072", + "x-ms-ratelimit-remaining-subscription-reads": "11837", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100043Z:4a7533ae-5194-4c38-8228-9ff8dc61d072" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/eb95de23-56c0-4bc2-b917-65e97ffd1ca3?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6ea12142-21ea-4f84-8aef-b75f75420ac2?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/eb95de23-56c0-4bc2-b917-65e97ffd1ca3?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6ea12142-21ea-4f84-8aef-b75f75420ac2?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:55 GMT", + "Date": "Thu, 28 Apr 2022 10:00:42 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/eb95de23-56c0-4bc2-b917-65e97ffd1ca3?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6ea12142-21ea-4f84-8aef-b75f75420ac2?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -907,10 +907,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3c746f96-f43b-4a58-9652-49f8b210f54d", - "x-ms-correlation-request-id": "19640379-5b02-4877-b6e0-2c04a3d2b500", - "x-ms-ratelimit-remaining-subscription-reads": "11837", - "x-ms-routing-request-id": "EASTUS2:20220425T042856Z:a4fa88a4-cada-40d1-a009-8e5ab41d64c5" + "x-ms-arm-service-request-id": "ea288950-bbd6-4783-b54b-ff04cb608d91", + "x-ms-correlation-request-id": "c3a6d9c7-51e6-4acb-9ff4-03ca78e2021f", + "x-ms-ratelimit-remaining-subscription-reads": "11836", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100043Z:02479792-587c-4afb-a6e7-71a8265217b9" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.pyTestMgmtNetworktest_network.json index 28f93f17c399..eaba0fa99438 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:59 GMT", + "Date": "Thu, 28 Apr 2022 10:00:45 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - NCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:59 GMT", + "Date": "Thu, 28 Apr 2022 10:00:45 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "c7b503b0-ba2e-4779-bc86-2ead80322eed", + "client-request-id": "07fd1470-5411-49f2-a449-16b0eacd3d22", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "c7b503b0-ba2e-4779-bc86-2ead80322eed", + "client-request-id": "07fd1470-5411-49f2-a449-16b0eacd3d22", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:59 GMT", + "Date": "Thu, 28 Apr 2022 10:00:45 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "79", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "eastus", @@ -234,11 +234,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c05070d0-e049-44a5-9bb1-7fb9f5e83d2e?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4ee62285-7f77-474d-9786-ba99c69343b4?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "420", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:28:59 GMT", + "Date": "Thu, 28 Apr 2022 10:00:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -248,15 +248,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "85f69329-7856-484e-905d-b48799c5d013", - "x-ms-correlation-request-id": "f49ef645-01dc-4987-b293-2f32b8bd9342", - "x-ms-ratelimit-remaining-subscription-writes": "1165", - "x-ms-routing-request-id": "EASTUS2:20220425T042859Z:f49ef645-01dc-4987-b293-2f32b8bd9342" + "x-ms-arm-service-request-id": "d924cc00-b204-4505-95ee-e287879d7e19", + "x-ms-correlation-request-id": "7bfca3bf-64ce-4da1-ac2e-a21e03b14eae", + "x-ms-ratelimit-remaining-subscription-writes": "1164", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100046Z:7bfca3bf-64ce-4da1-ac2e-a21e03b14eae" }, "ResponseBody": { "name": "myRouteFilter", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter", - "etag": "W/\u002201a2f9cb-e53c-49f2-94f6-271f016b67e1\u0022", + "etag": "W/\u0022a259e20d-6c5d-446e-b5d4-0491bc4c6d52\u0022", "type": "Microsoft.Network/routeFilters", "location": "eastus", "tags": { @@ -269,13 +269,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c05070d0-e049-44a5-9bb1-7fb9f5e83d2e?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4ee62285-7f77-474d-9786-ba99c69343b4?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -283,7 +283,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:09 GMT", + "Date": "Thu, 28 Apr 2022 10:00:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -294,10 +294,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "8923debb-15fe-464e-ba5e-d6cd4168ed0c", - "x-ms-correlation-request-id": "1f63317e-2aff-43a4-af5d-77f242f8c068", - "x-ms-ratelimit-remaining-subscription-reads": "11836", - "x-ms-routing-request-id": "EASTUS2:20220425T042909Z:1f63317e-2aff-43a4-af5d-77f242f8c068" + "x-ms-arm-service-request-id": "5efd982f-f7b0-4709-8f8a-36886ed836b4", + "x-ms-correlation-request-id": "8c022e99-8f1d-4d66-9914-286a9a469a24", + "x-ms-ratelimit-remaining-subscription-reads": "11835", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100057Z:8c022e99-8f1d-4d66-9914-286a9a469a24" }, "ResponseBody": { "status": "Succeeded" @@ -310,7 +310,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -318,8 +318,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:09 GMT", - "ETag": "W/\u0022409df41c-5ef6-44d4-b56c-aaf1c7fe6cf1\u0022", + "Date": "Thu, 28 Apr 2022 10:00:56 GMT", + "ETag": "W/\u00227fae80c9-8f49-4e00-b240-a1a7e6dadf9f\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -330,15 +330,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "037e4955-b05b-4840-95aa-762d2297b68a", - "x-ms-correlation-request-id": "775cb99a-80d1-4d3a-b114-f8ef66c854b7", - "x-ms-ratelimit-remaining-subscription-reads": "11835", - "x-ms-routing-request-id": "EASTUS2:20220425T042910Z:775cb99a-80d1-4d3a-b114-f8ef66c854b7" + "x-ms-arm-service-request-id": "eb281770-a905-4b89-a74b-75bcd148be40", + "x-ms-correlation-request-id": "47ee9654-ecbc-418f-a6a0-693d73ff03c7", + "x-ms-ratelimit-remaining-subscription-reads": "11834", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100057Z:47ee9654-ecbc-418f-a6a0-693d73ff03c7" }, "ResponseBody": { "name": "myRouteFilter", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter", - "etag": "W/\u0022409df41c-5ef6-44d4-b56c-aaf1c7fe6cf1\u0022", + "etag": "W/\u00227fae80c9-8f49-4e00-b240-a1a7e6dadf9f\u0022", "type": "Microsoft.Network/routeFilters", "location": "eastus", "tags": { @@ -357,7 +357,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -365,7 +365,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:10 GMT", + "Date": "Thu, 28 Apr 2022 10:00:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -376,10 +376,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9e966c88-9f81-405d-8e2f-f414c2be8f11", - "x-ms-correlation-request-id": "41ac654d-7ac7-49f1-9a31-6fe2db7a280b", - "x-ms-ratelimit-remaining-subscription-reads": "11834", - "x-ms-routing-request-id": "EASTUS2:20220425T042910Z:41ac654d-7ac7-49f1-9a31-6fe2db7a280b" + "x-ms-arm-service-request-id": "225458cb-e6dc-46e8-a249-296fe5835b74", + "x-ms-correlation-request-id": "b87377b4-88ff-4303-9362-2b36a2f0d5f6", + "x-ms-ratelimit-remaining-subscription-reads": "11833", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100057Z:b87377b4-88ff-4303-9362-2b36a2f0d5f6" }, "ResponseBody": { "name": "Public", @@ -60613,7 +60613,7 @@ "Connection": "keep-alive", "Content-Length": "103", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -60626,11 +60626,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8bc5dd10-1cc0-46e8-b051-f4fb48e1f66a?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7d11d439-45ec-4ee3-96a2-3dbc13d37f4e?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "486", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:10 GMT", + "Date": "Thu, 28 Apr 2022 10:00:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -60640,15 +60640,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "509e245e-8217-4cf4-a61d-b0e972d54089", - "x-ms-correlation-request-id": "f73e39f5-037c-421f-92c2-45ff069fcd4d", - "x-ms-ratelimit-remaining-subscription-writes": "1164", - "x-ms-routing-request-id": "EASTUS2:20220425T042910Z:f73e39f5-037c-421f-92c2-45ff069fcd4d" + "x-ms-arm-service-request-id": "d24ce578-c5b8-4d23-93a9-91488d36f498", + "x-ms-correlation-request-id": "8ae64a7d-39ee-4a1c-8bed-067ba1053287", + "x-ms-ratelimit-remaining-subscription-writes": "1163", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100057Z:8ae64a7d-39ee-4a1c-8bed-067ba1053287" }, "ResponseBody": { "name": "myRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule", - "etag": "W/\u00229c8cefc2-a70e-4a3c-810a-42ee80e17224\u0022", + "etag": "W/\u002221277fc6-baf4-4d0f-b970-ddb8c7de1cba\u0022", "properties": { "provisioningState": "Updating", "access": "Allow", @@ -60661,13 +60661,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8bc5dd10-1cc0-46e8-b051-f4fb48e1f66a?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7d11d439-45ec-4ee3-96a2-3dbc13d37f4e?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -60675,7 +60675,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:20 GMT", + "Date": "Thu, 28 Apr 2022 10:01:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -60686,10 +60686,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "21fa8722-5c88-4fa7-be4e-0ced74e77ed1", - "x-ms-correlation-request-id": "944f4dcc-c7ce-4b7a-be93-8d6d1eb0a3d6", - "x-ms-ratelimit-remaining-subscription-reads": "11833", - "x-ms-routing-request-id": "EASTUS2:20220425T042920Z:944f4dcc-c7ce-4b7a-be93-8d6d1eb0a3d6" + "x-ms-arm-service-request-id": "0e6cf19a-c251-486c-8e52-e57fc903c335", + "x-ms-correlation-request-id": "8581662d-1638-4df3-822d-602e2e527ef6", + "x-ms-ratelimit-remaining-subscription-reads": "11832", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100108Z:8581662d-1638-4df3-822d-602e2e527ef6" }, "ResponseBody": { "status": "Succeeded" @@ -60702,7 +60702,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -60710,8 +60710,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:20 GMT", - "ETag": "W/\u0022fddc01d3-8c61-4766-990b-75b33f8b1a65\u0022", + "Date": "Thu, 28 Apr 2022 10:01:07 GMT", + "ETag": "W/\u0022c7fea123-0ca8-4ed0-8741-9a6bef2437e0\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -60722,15 +60722,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "85e9a5c5-056d-4aee-ac2c-604b095774b6", - "x-ms-correlation-request-id": "f05f2c47-5588-40e9-91be-fd06d4b9e1ca", - "x-ms-ratelimit-remaining-subscription-reads": "11832", - "x-ms-routing-request-id": "EASTUS2:20220425T042920Z:f05f2c47-5588-40e9-91be-fd06d4b9e1ca" + "x-ms-arm-service-request-id": "2e41a368-8b9f-43f0-b6fa-1dbdf21be92f", + "x-ms-correlation-request-id": "1330c133-d36e-4ea9-a0b5-97dd5ebafaaf", + "x-ms-ratelimit-remaining-subscription-reads": "11831", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100108Z:1330c133-d36e-4ea9-a0b5-97dd5ebafaaf" }, "ResponseBody": { "name": "myRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule", - "etag": "W/\u0022fddc01d3-8c61-4766-990b-75b33f8b1a65\u0022", + "etag": "W/\u0022c7fea123-0ca8-4ed0-8741-9a6bef2437e0\u0022", "properties": { "provisioningState": "Succeeded", "access": "Allow", @@ -60749,7 +60749,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -60757,8 +60757,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:20 GMT", - "ETag": "W/\u0022fddc01d3-8c61-4766-990b-75b33f8b1a65\u0022", + "Date": "Thu, 28 Apr 2022 10:01:07 GMT", + "ETag": "W/\u0022c7fea123-0ca8-4ed0-8741-9a6bef2437e0\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -60769,15 +60769,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e46bd9e5-ccf8-44e7-8414-2f2027a79f81", - "x-ms-correlation-request-id": "ebeb89ee-e9b8-4b46-9068-c468ead4c5cb", - "x-ms-ratelimit-remaining-subscription-reads": "11831", - "x-ms-routing-request-id": "EASTUS2:20220425T042920Z:ebeb89ee-e9b8-4b46-9068-c468ead4c5cb" + "x-ms-arm-service-request-id": "ce3ce924-cde4-48ab-9016-fcd7c29918d2", + "x-ms-correlation-request-id": "d5c90fea-ddd5-4cdc-82e1-95fdd8b7ad08", + "x-ms-ratelimit-remaining-subscription-reads": "11830", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100108Z:d5c90fea-ddd5-4cdc-82e1-95fdd8b7ad08" }, "ResponseBody": { "name": "myRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule", - "etag": "W/\u0022fddc01d3-8c61-4766-990b-75b33f8b1a65\u0022", + "etag": "W/\u0022c7fea123-0ca8-4ed0-8741-9a6bef2437e0\u0022", "properties": { "provisioningState": "Succeeded", "access": "Allow", @@ -60796,7 +60796,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -60804,8 +60804,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:20 GMT", - "ETag": "W/\u0022fddc01d3-8c61-4766-990b-75b33f8b1a65\u0022", + "Date": "Thu, 28 Apr 2022 10:01:07 GMT", + "ETag": "W/\u0022c7fea123-0ca8-4ed0-8741-9a6bef2437e0\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -60816,15 +60816,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "516f71bb-cc1e-4c64-97de-7204c33e94b0", - "x-ms-correlation-request-id": "c4e90d6a-0e23-477b-9e9b-86aaa3840ef2", - "x-ms-ratelimit-remaining-subscription-reads": "11830", - "x-ms-routing-request-id": "EASTUS2:20220425T042920Z:c4e90d6a-0e23-477b-9e9b-86aaa3840ef2" + "x-ms-arm-service-request-id": "9927c781-c7e9-4c44-961d-b6b814123ddd", + "x-ms-correlation-request-id": "8acf7a25-0de2-44ab-b899-80ab5be0f9d0", + "x-ms-ratelimit-remaining-subscription-reads": "11829", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100108Z:8acf7a25-0de2-44ab-b899-80ab5be0f9d0" }, "ResponseBody": { "name": "myRouteFilter", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter", - "etag": "W/\u0022fddc01d3-8c61-4766-990b-75b33f8b1a65\u0022", + "etag": "W/\u0022c7fea123-0ca8-4ed0-8741-9a6bef2437e0\u0022", "type": "Microsoft.Network/routeFilters", "location": "eastus", "tags": { @@ -60836,7 +60836,7 @@ { "name": "myRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule", - "etag": "W/\u0022fddc01d3-8c61-4766-990b-75b33f8b1a65\u0022", + "etag": "W/\u0022c7fea123-0ca8-4ed0-8741-9a6bef2437e0\u0022", "properties": { "provisioningState": "Succeeded", "access": "Allow", @@ -60860,7 +60860,7 @@ "Connection": "keep-alive", "Content-Length": "28", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -60873,7 +60873,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:20 GMT", + "Date": "Thu, 28 Apr 2022 10:01:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -60884,15 +60884,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "35e710bf-3e17-47d8-a329-2676f921b064", - "x-ms-correlation-request-id": "e26c96ad-2c21-4a02-b21f-8bcc7a5429f4", - "x-ms-ratelimit-remaining-subscription-writes": "1163", - "x-ms-routing-request-id": "EASTUS2:20220425T042921Z:e26c96ad-2c21-4a02-b21f-8bcc7a5429f4" + "x-ms-arm-service-request-id": "82320e27-65fb-44e8-8135-335dc325f0a3", + "x-ms-correlation-request-id": "a35c7d48-45f7-41d4-a493-c93abfd4e9f6", + "x-ms-ratelimit-remaining-subscription-writes": "1162", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100108Z:a35c7d48-45f7-41d4-a493-c93abfd4e9f6" }, "ResponseBody": { "name": "myRouteFilter", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter", - "etag": "W/\u0022af89d470-decd-46e3-b31b-dbb873495fef\u0022", + "etag": "W/\u0022abdfc5ec-1b68-466a-980e-f8191d88c125\u0022", "type": "Microsoft.Network/routeFilters", "location": "eastus", "tags": { @@ -60904,7 +60904,7 @@ { "name": "myRule", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule", - "etag": "W/\u0022af89d470-decd-46e3-b31b-dbb873495fef\u0022", + "etag": "W/\u0022abdfc5ec-1b68-466a-980e-f8191d88c125\u0022", "properties": { "provisioningState": "Succeeded", "access": "Allow", @@ -60927,17 +60927,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/85e6c13e-1f05-4478-8619-5e9a1cba38a5?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b94c2f3d-71cb-4f54-bb03-fd9cdf4ced75?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:29:20 GMT", + "Date": "Thu, 28 Apr 2022 10:01:07 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/85e6c13e-1f05-4478-8619-5e9a1cba38a5?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b94c2f3d-71cb-4f54-bb03-fd9cdf4ced75?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -60946,21 +60946,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "db7e251c-8551-44d5-b363-146a1c88d5e9", - "x-ms-correlation-request-id": "fe679eb3-450e-444d-9532-ce2da8d2cc5a", - "x-ms-ratelimit-remaining-subscription-deletes": "14978", - "x-ms-routing-request-id": "EASTUS2:20220425T042921Z:fe679eb3-450e-444d-9532-ce2da8d2cc5a" + "x-ms-arm-service-request-id": "a8190446-5992-4f49-b937-78c9c71df9d8", + "x-ms-correlation-request-id": "6e4390cc-0ef1-46ed-b083-b3a21c6c7d1f", + "x-ms-ratelimit-remaining-subscription-deletes": "14974", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100108Z:6e4390cc-0ef1-46ed-b083-b3a21c6c7d1f" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/85e6c13e-1f05-4478-8619-5e9a1cba38a5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b94c2f3d-71cb-4f54-bb03-fd9cdf4ced75?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -60968,7 +60968,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:30 GMT", + "Date": "Thu, 28 Apr 2022 10:01:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -60979,33 +60979,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b24e8d2d-244a-402b-81fc-6b17898e12b0", - "x-ms-correlation-request-id": "c535e231-a939-42e7-a03e-efb49575aba5", - "x-ms-ratelimit-remaining-subscription-reads": "11829", - "x-ms-routing-request-id": "EASTUS2:20220425T042931Z:c535e231-a939-42e7-a03e-efb49575aba5" + "x-ms-arm-service-request-id": "21ea5ecf-b27b-45d3-bc39-8d4ca4fe6f84", + "x-ms-correlation-request-id": "a1d58556-0142-4336-83c1-a58d34660389", + "x-ms-ratelimit-remaining-subscription-reads": "11828", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100118Z:a1d58556-0142-4336-83c1-a58d34660389" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/85e6c13e-1f05-4478-8619-5e9a1cba38a5?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b94c2f3d-71cb-4f54-bb03-fd9cdf4ced75?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/85e6c13e-1f05-4478-8619-5e9a1cba38a5?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b94c2f3d-71cb-4f54-bb03-fd9cdf4ced75?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:30 GMT", + "Date": "Thu, 28 Apr 2022 10:01:18 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/85e6c13e-1f05-4478-8619-5e9a1cba38a5?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b94c2f3d-71cb-4f54-bb03-fd9cdf4ced75?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -61013,10 +61013,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "db7e251c-8551-44d5-b363-146a1c88d5e9", - "x-ms-correlation-request-id": "fe679eb3-450e-444d-9532-ce2da8d2cc5a", - "x-ms-ratelimit-remaining-subscription-reads": "11828", - "x-ms-routing-request-id": "EASTUS2:20220425T042931Z:9975dba7-49ea-4526-a13f-f4a37e6bc9b2" + "x-ms-arm-service-request-id": "a8190446-5992-4f49-b937-78c9c71df9d8", + "x-ms-correlation-request-id": "6e4390cc-0ef1-46ed-b083-b3a21c6c7d1f", + "x-ms-ratelimit-remaining-subscription-reads": "11827", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100118Z:15f9dca9-a939-4ad2-8692-7dd8a37c4c6d" }, "ResponseBody": null }, @@ -61028,18 +61028,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3786235c-b81a-47d0-98c2-ef2145e1253c?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/edb947e1-7ea5-4407-96d7-98d2e9e34e4b?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:29:31 GMT", + "Date": "Thu, 28 Apr 2022 10:01:19 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/3786235c-b81a-47d0-98c2-ef2145e1253c?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/edb947e1-7ea5-4407-96d7-98d2e9e34e4b?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -61048,21 +61048,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b08f5d43-604c-47f2-8b04-e99cc08793ed", - "x-ms-correlation-request-id": "9b04d913-2d84-4563-a9ff-a98795273ca9", - "x-ms-ratelimit-remaining-subscription-deletes": "14977", - "x-ms-routing-request-id": "EASTUS2:20220425T042931Z:9b04d913-2d84-4563-a9ff-a98795273ca9" + "x-ms-arm-service-request-id": "2c92b096-1235-4e12-bdf8-baf6240025ee", + "x-ms-correlation-request-id": "b930d9c1-8f3d-44a5-8b5f-0697f0ecbe5e", + "x-ms-ratelimit-remaining-subscription-deletes": "14973", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100119Z:b930d9c1-8f3d-44a5-8b5f-0697f0ecbe5e" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3786235c-b81a-47d0-98c2-ef2145e1253c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/edb947e1-7ea5-4407-96d7-98d2e9e34e4b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -61070,7 +61070,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:40 GMT", + "Date": "Thu, 28 Apr 2022 10:01:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -61081,34 +61081,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "49e3e0d1-8bfe-4146-a507-2c866a66385e", - "x-ms-correlation-request-id": "5b6c4860-93cf-47fc-87f5-d400a4975cd7", - "x-ms-ratelimit-remaining-subscription-reads": "11827", - "x-ms-routing-request-id": "EASTUS2:20220425T042941Z:5b6c4860-93cf-47fc-87f5-d400a4975cd7" + "x-ms-arm-service-request-id": "c85a73fa-4310-42b1-934a-dbfc5f3ea471", + "x-ms-correlation-request-id": "d9d59f36-abe3-460c-8805-9440c2e4709f", + "x-ms-ratelimit-remaining-subscription-reads": "11826", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100129Z:d9d59f36-abe3-460c-8805-9440c2e4709f" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/3786235c-b81a-47d0-98c2-ef2145e1253c?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/edb947e1-7ea5-4407-96d7-98d2e9e34e4b?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3786235c-b81a-47d0-98c2-ef2145e1253c?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/edb947e1-7ea5-4407-96d7-98d2e9e34e4b?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:41 GMT", + "Date": "Thu, 28 Apr 2022 10:01:29 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/3786235c-b81a-47d0-98c2-ef2145e1253c?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/edb947e1-7ea5-4407-96d7-98d2e9e34e4b?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -61116,10 +61116,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b08f5d43-604c-47f2-8b04-e99cc08793ed", - "x-ms-correlation-request-id": "9b04d913-2d84-4563-a9ff-a98795273ca9", - "x-ms-ratelimit-remaining-subscription-reads": "11826", - "x-ms-routing-request-id": "EASTUS2:20220425T042941Z:78879557-980b-4ed2-b423-7b51abddb1bd" + "x-ms-arm-service-request-id": "2c92b096-1235-4e12-bdf8-baf6240025ee", + "x-ms-correlation-request-id": "b930d9c1-8f3d-44a5-8b5f-0697f0ecbe5e", + "x-ms-ratelimit-remaining-subscription-reads": "11825", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100129Z:b3cee83e-3acc-4f46-a387-fb3506babe6c" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.pyTestMgmtNetworktest_network.json index 42531c41b669..8c36cfee51f3 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:43 GMT", + "Date": "Thu, 28 Apr 2022 10:01:30 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:43 GMT", + "Date": "Thu, 28 Apr 2022 10:01:30 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "cd89fa3c-ae97-43a1-a7ac-1e1ffe9b33e3", + "client-request-id": "dcd2f509-553f-411b-99dc-7c8f670ec7af", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "cd89fa3c-ae97-43a1-a7ac-1e1ffe9b33e3", + "client-request-id": "dcd2f509-553f-411b-99dc-7c8f670ec7af", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:43 GMT", + "Date": "Thu, 28 Apr 2022 10:01:30 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "22", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "westus" @@ -228,11 +228,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/093a31c9-a5db-473d-b455-f7c2a6b87770?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/da1ccd82-a6e1-40b3-95a4-6185b1c0fce2?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "479", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:43 GMT", + "Date": "Thu, 28 Apr 2022 10:01:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "2", @@ -242,33 +242,33 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b3226f18-5f6c-4481-83ca-eac3b4edd49f", - "x-ms-correlation-request-id": "7af82038-ef59-40f7-90d3-4003ef19aef4", - "x-ms-ratelimit-remaining-subscription-writes": "1162", - "x-ms-routing-request-id": "EASTUS2:20220425T042944Z:7af82038-ef59-40f7-90d3-4003ef19aef4" + "x-ms-arm-service-request-id": "2c7f603b-aea9-40dc-8430-e5846d5b6c8f", + "x-ms-correlation-request-id": "c4d83a3c-34d0-4d4f-84fe-cfcc60dbf3f6", + "x-ms-ratelimit-remaining-subscription-writes": "1161", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100131Z:c4d83a3c-34d0-4d4f-84fe-cfcc60dbf3f6" }, "ResponseBody": { "name": "myRouteTable", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable", - "etag": "W/\u0022ef54f537-c904-4e0b-b175-50399b8a5534\u0022", + "etag": "W/\u0022e4363369-4215-49e9-8bfa-83e06f90b249\u0022", "type": "Microsoft.Network/routeTables", "location": "westus", "properties": { "provisioningState": "Updating", - "resourceGuid": "0de03c51-f2b4-45cb-9043-c0e0d7323178", + "resourceGuid": "887eac69-810e-473d-b272-984a1a172a47", "disableBgpRoutePropagation": false, "routes": [] } } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/093a31c9-a5db-473d-b455-f7c2a6b87770?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/da1ccd82-a6e1-40b3-95a4-6185b1c0fce2?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -276,7 +276,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:45 GMT", + "Date": "Thu, 28 Apr 2022 10:01:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -287,10 +287,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4d4d685c-9250-414a-85b6-71f66b2a41a1", - "x-ms-correlation-request-id": "9c1263fc-85ef-4ed7-8420-bed27c855c26", - "x-ms-ratelimit-remaining-subscription-reads": "11825", - "x-ms-routing-request-id": "EASTUS2:20220425T042946Z:9c1263fc-85ef-4ed7-8420-bed27c855c26" + "x-ms-arm-service-request-id": "190ed088-58a1-4f4a-b2bf-74c0a8403bbd", + "x-ms-correlation-request-id": "a51e1b0e-74ff-4b1f-be99-3fda0d1764dd", + "x-ms-ratelimit-remaining-subscription-reads": "11824", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100133Z:a51e1b0e-74ff-4b1f-be99-3fda0d1764dd" }, "ResponseBody": { "status": "Succeeded" @@ -303,7 +303,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -311,8 +311,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:45 GMT", - "ETag": "W/\u0022b334e83c-7686-4858-bf71-0744bf3221a9\u0022", + "Date": "Thu, 28 Apr 2022 10:01:33 GMT", + "ETag": "W/\u00221ae62916-53f2-4ab7-ae01-96ebed7545a3\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -323,20 +323,20 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e6951876-db0a-4326-bc80-073c3b3a0093", - "x-ms-correlation-request-id": "cb7ee2ce-3ce9-4989-a6fd-14e4b1308cd3", - "x-ms-ratelimit-remaining-subscription-reads": "11824", - "x-ms-routing-request-id": "EASTUS2:20220425T042946Z:cb7ee2ce-3ce9-4989-a6fd-14e4b1308cd3" + "x-ms-arm-service-request-id": "32a8f346-36cd-4d86-869a-c2699502004a", + "x-ms-correlation-request-id": "322ef38b-c7a3-463c-bb90-59d9068fc45f", + "x-ms-ratelimit-remaining-subscription-reads": "11823", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100133Z:322ef38b-c7a3-463c-bb90-59d9068fc45f" }, "ResponseBody": { "name": "myRouteTable", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable", - "etag": "W/\u0022b334e83c-7686-4858-bf71-0744bf3221a9\u0022", + "etag": "W/\u00221ae62916-53f2-4ab7-ae01-96ebed7545a3\u0022", "type": "Microsoft.Network/routeTables", "location": "westus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "0de03c51-f2b4-45cb-9043-c0e0d7323178", + "resourceGuid": "887eac69-810e-473d-b272-984a1a172a47", "disableBgpRoutePropagation": false, "routes": [] } @@ -351,7 +351,7 @@ "Connection": "keep-alive", "Content-Length": "88", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "properties": { @@ -361,11 +361,11 @@ }, "StatusCode": 201, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e63908c5-e5dc-4f7d-b093-f3496841bcf7?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6581493-615a-4261-bc28-c96d7f6c210f?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "461", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:45 GMT", + "Date": "Thu, 28 Apr 2022 10:01:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "2", @@ -375,15 +375,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4cf1972c-5375-4ff3-9cfb-6ea6ad342aae", - "x-ms-correlation-request-id": "7729fee8-8ed3-4d0a-b301-7284efb60d7c", - "x-ms-ratelimit-remaining-subscription-writes": "1161", - "x-ms-routing-request-id": "EASTUS2:20220425T042946Z:7729fee8-8ed3-4d0a-b301-7284efb60d7c" + "x-ms-arm-service-request-id": "826db0e9-21c5-4ef0-9264-7d35e9094426", + "x-ms-correlation-request-id": "d01c8ffc-8e69-41b3-af0e-7cd31ac0d55f", + "x-ms-ratelimit-remaining-subscription-writes": "1160", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100134Z:d01c8ffc-8e69-41b3-af0e-7cd31ac0d55f" }, "ResponseBody": { "name": "myRoute", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute", - "etag": "W/\u002229086b09-c1b1-4468-a7c5-e99e80101532\u0022", + "etag": "W/\u0022b99d3f8b-4406-4871-a39f-3e586d331a2a\u0022", "properties": { "provisioningState": "Updating", "addressPrefix": "10.0.3.0/24", @@ -394,13 +394,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e63908c5-e5dc-4f7d-b093-f3496841bcf7?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6581493-615a-4261-bc28-c96d7f6c210f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -408,7 +408,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:47 GMT", + "Date": "Thu, 28 Apr 2022 10:01:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -419,10 +419,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9a3cd738-2dd6-4430-9bd8-4392604035bd", - "x-ms-correlation-request-id": "0bf8923f-ee80-4c18-a23b-73a130b9f772", - "x-ms-ratelimit-remaining-subscription-reads": "11823", - "x-ms-routing-request-id": "EASTUS2:20220425T042948Z:0bf8923f-ee80-4c18-a23b-73a130b9f772" + "x-ms-arm-service-request-id": "17d509b7-c812-4609-9eab-5b5a0140beb9", + "x-ms-correlation-request-id": "5a0f0f82-072b-4319-9753-4e3079f6b625", + "x-ms-ratelimit-remaining-subscription-reads": "11822", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100136Z:5a0f0f82-072b-4319-9753-4e3079f6b625" }, "ResponseBody": { "status": "Succeeded" @@ -435,7 +435,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -443,8 +443,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:47 GMT", - "ETag": "W/\u00228f746be3-8fe1-4996-9ec5-fd046b12e5d7\u0022", + "Date": "Thu, 28 Apr 2022 10:01:36 GMT", + "ETag": "W/\u002259fc8367-739e-41f5-8242-8f3ae552b43b\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -455,15 +455,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f920334e-0c64-4e33-9341-882a3e0cefcf", - "x-ms-correlation-request-id": "931241c0-3d02-44ce-b280-c46dc26c8940", - "x-ms-ratelimit-remaining-subscription-reads": "11822", - "x-ms-routing-request-id": "EASTUS2:20220425T042948Z:931241c0-3d02-44ce-b280-c46dc26c8940" + "x-ms-arm-service-request-id": "56b2367d-9324-431a-ab7e-ed70a628be94", + "x-ms-correlation-request-id": "195d8d24-e5c4-413e-9c53-e5d321a94abb", + "x-ms-ratelimit-remaining-subscription-reads": "11821", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100136Z:195d8d24-e5c4-413e-9c53-e5d321a94abb" }, "ResponseBody": { "name": "myRoute", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute", - "etag": "W/\u00228f746be3-8fe1-4996-9ec5-fd046b12e5d7\u0022", + "etag": "W/\u002259fc8367-739e-41f5-8242-8f3ae552b43b\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.3.0/24", @@ -480,7 +480,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -488,8 +488,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:47 GMT", - "ETag": "W/\u00228f746be3-8fe1-4996-9ec5-fd046b12e5d7\u0022", + "Date": "Thu, 28 Apr 2022 10:01:36 GMT", + "ETag": "W/\u002259fc8367-739e-41f5-8242-8f3ae552b43b\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -500,15 +500,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d2a335a2-5723-44d6-b50b-0b7e29eca284", - "x-ms-correlation-request-id": "3e763cca-e0ab-4df8-93b3-ef0f50bb8890", - "x-ms-ratelimit-remaining-subscription-reads": "11821", - "x-ms-routing-request-id": "EASTUS2:20220425T042948Z:3e763cca-e0ab-4df8-93b3-ef0f50bb8890" + "x-ms-arm-service-request-id": "970d490f-3c3c-465b-9337-4e6527a642ce", + "x-ms-correlation-request-id": "fc25b522-252f-40ae-89db-ed60e2fab93a", + "x-ms-ratelimit-remaining-subscription-reads": "11820", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100136Z:fc25b522-252f-40ae-89db-ed60e2fab93a" }, "ResponseBody": { "name": "myRoute", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute", - "etag": "W/\u00228f746be3-8fe1-4996-9ec5-fd046b12e5d7\u0022", + "etag": "W/\u002259fc8367-739e-41f5-8242-8f3ae552b43b\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.3.0/24", @@ -525,7 +525,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -533,8 +533,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:49 GMT", - "ETag": "W/\u00228f746be3-8fe1-4996-9ec5-fd046b12e5d7\u0022", + "Date": "Thu, 28 Apr 2022 10:01:36 GMT", + "ETag": "W/\u002259fc8367-739e-41f5-8242-8f3ae552b43b\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -545,26 +545,26 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "504df1a4-055b-4a6d-8f4a-24749a7f4970", - "x-ms-correlation-request-id": "6bb33f76-c825-4ba9-830d-53da6a7e9bb3", - "x-ms-ratelimit-remaining-subscription-reads": "11820", - "x-ms-routing-request-id": "EASTUS2:20220425T042949Z:6bb33f76-c825-4ba9-830d-53da6a7e9bb3" + "x-ms-arm-service-request-id": "b87b06aa-0c11-4a5c-94e7-1ded63abce02", + "x-ms-correlation-request-id": "2f86b103-afd5-42e6-a3e9-11a2c6faf5eb", + "x-ms-ratelimit-remaining-subscription-reads": "11819", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100136Z:2f86b103-afd5-42e6-a3e9-11a2c6faf5eb" }, "ResponseBody": { "name": "myRouteTable", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable", - "etag": "W/\u00228f746be3-8fe1-4996-9ec5-fd046b12e5d7\u0022", + "etag": "W/\u002259fc8367-739e-41f5-8242-8f3ae552b43b\u0022", "type": "Microsoft.Network/routeTables", "location": "westus", "properties": { "provisioningState": "Succeeded", - "resourceGuid": "0de03c51-f2b4-45cb-9043-c0e0d7323178", + "resourceGuid": "887eac69-810e-473d-b272-984a1a172a47", "disableBgpRoutePropagation": false, "routes": [ { "name": "myRoute", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute", - "etag": "W/\u00228f746be3-8fe1-4996-9ec5-fd046b12e5d7\u0022", + "etag": "W/\u002259fc8367-739e-41f5-8242-8f3ae552b43b\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.3.0/24", @@ -586,7 +586,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "tags": { @@ -600,7 +600,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:49 GMT", + "Date": "Thu, 28 Apr 2022 10:01:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -611,15 +611,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f38712d9-9666-4828-b34f-520ac41406c7", - "x-ms-correlation-request-id": "34602364-c207-488e-a607-4b8a8caad2e4", - "x-ms-ratelimit-remaining-subscription-writes": "1160", - "x-ms-routing-request-id": "EASTUS2:20220425T042949Z:34602364-c207-488e-a607-4b8a8caad2e4" + "x-ms-arm-service-request-id": "1316d494-bd0b-441c-95fe-42d453003324", + "x-ms-correlation-request-id": "5bb561b1-737c-47bc-a037-18f4f0796d50", + "x-ms-ratelimit-remaining-subscription-writes": "1159", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100137Z:5bb561b1-737c-47bc-a037-18f4f0796d50" }, "ResponseBody": { "name": "myRouteTable", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable", - "etag": "W/\u00228637d41d-f14a-45d1-b1a5-dc3dcc7297da\u0022", + "etag": "W/\u0022e5afd7be-5f7d-4266-b5dd-dcb9a4a11c86\u0022", "type": "Microsoft.Network/routeTables", "location": "westus", "tags": { @@ -628,13 +628,13 @@ }, "properties": { "provisioningState": "Succeeded", - "resourceGuid": "0de03c51-f2b4-45cb-9043-c0e0d7323178", + "resourceGuid": "887eac69-810e-473d-b272-984a1a172a47", "disableBgpRoutePropagation": false, "routes": [ { "name": "myRoute", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute", - "etag": "W/\u00228637d41d-f14a-45d1-b1a5-dc3dcc7297da\u0022", + "etag": "W/\u0022e5afd7be-5f7d-4266-b5dd-dcb9a4a11c86\u0022", "properties": { "provisioningState": "Succeeded", "addressPrefix": "10.0.3.0/24", @@ -655,17 +655,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3085a56b-742d-455a-89fa-be26ac161d41?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2cdb640c-0500-4da6-b63a-2840e7b44fbb?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:29:49 GMT", + "Date": "Thu, 28 Apr 2022 10:01:36 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/3085a56b-742d-455a-89fa-be26ac161d41?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/2cdb640c-0500-4da6-b63a-2840e7b44fbb?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "2", "Server": [ @@ -674,21 +674,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "14a3a0fc-4f74-409d-b55e-20267c03f1d8", - "x-ms-correlation-request-id": "a2627764-25a7-4f8e-829f-4fd00069425e", - "x-ms-ratelimit-remaining-subscription-deletes": "14976", - "x-ms-routing-request-id": "EASTUS2:20220425T042949Z:a2627764-25a7-4f8e-829f-4fd00069425e" + "x-ms-arm-service-request-id": "f6af3342-8c15-4e5a-b606-accb9191b53b", + "x-ms-correlation-request-id": "5665beec-eb86-4d49-b0a8-4179b7178ec1", + "x-ms-ratelimit-remaining-subscription-deletes": "14972", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100137Z:5665beec-eb86-4d49-b0a8-4179b7178ec1" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3085a56b-742d-455a-89fa-be26ac161d41?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2cdb640c-0500-4da6-b63a-2840e7b44fbb?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -696,7 +696,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:51 GMT", + "Date": "Thu, 28 Apr 2022 10:01:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -707,33 +707,33 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1ff90141-3fce-4f18-b850-666678660019", - "x-ms-correlation-request-id": "1a707e37-9eb4-4e76-849c-3d178b6627ad", - "x-ms-ratelimit-remaining-subscription-reads": "11819", - "x-ms-routing-request-id": "EASTUS2:20220425T042951Z:1a707e37-9eb4-4e76-849c-3d178b6627ad" + "x-ms-arm-service-request-id": "eda6b355-9290-46a8-bab0-2987161bb64b", + "x-ms-correlation-request-id": "e6d7465e-44c0-4ed8-8f26-f8a12b020536", + "x-ms-ratelimit-remaining-subscription-reads": "11818", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100139Z:e6d7465e-44c0-4ed8-8f26-f8a12b020536" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/3085a56b-742d-455a-89fa-be26ac161d41?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/2cdb640c-0500-4da6-b63a-2840e7b44fbb?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3085a56b-742d-455a-89fa-be26ac161d41?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2cdb640c-0500-4da6-b63a-2840e7b44fbb?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:51 GMT", + "Date": "Thu, 28 Apr 2022 10:01:39 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/3085a56b-742d-455a-89fa-be26ac161d41?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/2cdb640c-0500-4da6-b63a-2840e7b44fbb?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -741,10 +741,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "14a3a0fc-4f74-409d-b55e-20267c03f1d8", - "x-ms-correlation-request-id": "a2627764-25a7-4f8e-829f-4fd00069425e", - "x-ms-ratelimit-remaining-subscription-reads": "11818", - "x-ms-routing-request-id": "EASTUS2:20220425T042951Z:0bd99ca3-8caa-440c-b468-5f9b79df17f1" + "x-ms-arm-service-request-id": "f6af3342-8c15-4e5a-b606-accb9191b53b", + "x-ms-correlation-request-id": "5665beec-eb86-4d49-b0a8-4179b7178ec1", + "x-ms-ratelimit-remaining-subscription-reads": "11817", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100139Z:1dada3e3-6a39-4afd-aea2-50e4b8c4b6d5" }, "ResponseBody": null }, @@ -756,18 +756,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f503d241-ee85-4cb0-8894-d26324ef5c40?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cb117644-f2a7-4e24-bafe-a1753c491936?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 04:29:51 GMT", + "Date": "Thu, 28 Apr 2022 10:01:39 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f503d241-ee85-4cb0-8894-d26324ef5c40?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cb117644-f2a7-4e24-bafe-a1753c491936?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "2", "Server": [ @@ -776,21 +776,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6600ec3e-f254-4409-ba65-2906cfaa333a", - "x-ms-correlation-request-id": "d93e19cb-2d0d-4a75-bf06-a51459c73d8a", - "x-ms-ratelimit-remaining-subscription-deletes": "14975", - "x-ms-routing-request-id": "EASTUS2:20220425T042951Z:d93e19cb-2d0d-4a75-bf06-a51459c73d8a" + "x-ms-arm-service-request-id": "c3ae967e-53e0-49b2-9366-d43f0861f167", + "x-ms-correlation-request-id": "66aa590a-0415-4e2e-a84d-5e543c65eed7", + "x-ms-ratelimit-remaining-subscription-deletes": "14971", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100139Z:66aa590a-0415-4e2e-a84d-5e543c65eed7" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f503d241-ee85-4cb0-8894-d26324ef5c40?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cb117644-f2a7-4e24-bafe-a1753c491936?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -798,7 +798,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:54 GMT", + "Date": "Thu, 28 Apr 2022 10:01:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -809,34 +809,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "31599978-f979-4475-ae71-c7376c6db25f", - "x-ms-correlation-request-id": "434f67ac-e7e9-4ad2-a3db-007d1bcb1a96", - "x-ms-ratelimit-remaining-subscription-reads": "11817", - "x-ms-routing-request-id": "EASTUS2:20220425T042954Z:434f67ac-e7e9-4ad2-a3db-007d1bcb1a96" + "x-ms-arm-service-request-id": "bd20e3a3-fc4b-465e-8d91-d738cf09e1e9", + "x-ms-correlation-request-id": "cc9810c0-8bcc-4a8c-9b92-b684dbd46cda", + "x-ms-ratelimit-remaining-subscription-reads": "11816", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100141Z:cc9810c0-8bcc-4a8c-9b92-b684dbd46cda" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f503d241-ee85-4cb0-8894-d26324ef5c40?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cb117644-f2a7-4e24-bafe-a1753c491936?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f503d241-ee85-4cb0-8894-d26324ef5c40?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cb117644-f2a7-4e24-bafe-a1753c491936?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:54 GMT", + "Date": "Thu, 28 Apr 2022 10:01:41 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f503d241-ee85-4cb0-8894-d26324ef5c40?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cb117644-f2a7-4e24-bafe-a1753c491936?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -844,10 +844,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6600ec3e-f254-4409-ba65-2906cfaa333a", - "x-ms-correlation-request-id": "d93e19cb-2d0d-4a75-bf06-a51459c73d8a", - "x-ms-ratelimit-remaining-subscription-reads": "11816", - "x-ms-routing-request-id": "EASTUS2:20220425T042954Z:ee1f9dbe-ffde-46f4-a89d-4ad28d4d1a39" + "x-ms-arm-service-request-id": "c3ae967e-53e0-49b2-9366-d43f0861f167", + "x-ms-correlation-request-id": "66aa590a-0415-4e2e-a84d-5e543c65eed7", + "x-ms-ratelimit-remaining-subscription-reads": "11815", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T100142Z:d430edfc-51e1-4fe6-b72d-fbf8dbac1bb3" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.pyTestMgmtNetworktest_network.json index 167949a879fb..68289317eeb2 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:55 GMT", + "Date": "Fri, 29 Apr 2022 03:50:01 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - NCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:55 GMT", + "Date": "Fri, 29 Apr 2022 03:50:01 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12707.9 - KRSLR2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,28 +172,28 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "8aa4af64-8658-45a5-b554-4efdb0f8ae40", + "client-request-id": "28de8017-2f13-4612-9ac3-741ab1abfc56", "Connection": "keep-alive", - "Content-Length": "286", + "Content-Length": "291", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.6.8 (Windows-10-10.0.19041-SP0)", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", - "x-client-os": "linux", + "x-client-os": "win32", "x-client-sku": "MSAL.Python", "x-client-ver": "1.17.0", "x-ms-lib-capability": "retry-after, h429" }, - "RequestBody": "client_id=8c41a920-007a-4844-a189-2d0efe39f51e\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=o0XWF_siD-FhI.5AE83-u0GaQHW_GP7cjy\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q%7EIsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "8aa4af64-8658-45a5-b554-4efdb0f8ae40", + "client-request-id": "28de8017-2f13-4612-9ac3-741ab1abfc56", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:55 GMT", + "Date": "Fri, 29 Apr 2022 03:50:01 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12707.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "115", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "location": "West US", @@ -235,11 +235,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/82901f39-cc1e-43d7-b083-9cbe42103803?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/aba7a33f-de3e-496a-b3d4-6ac5536639a9?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "556", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:29:56 GMT", + "Date": "Fri, 29 Apr 2022 03:50:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -249,15 +249,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0a4f8591-ab54-4a73-b2ea-34ffe9a7fced", - "x-ms-correlation-request-id": "e1110f04-5f42-4c67-947d-84f43432da42", - "x-ms-ratelimit-remaining-subscription-writes": "1159", - "x-ms-routing-request-id": "EASTUS2:20220425T042956Z:e1110f04-5f42-4c67-947d-84f43432da42" + "x-ms-arm-service-request-id": "9bc223aa-f51c-472e-8eb0-a0a68953cba9", + "x-ms-correlation-request-id": "f1a7eb99-e016-4fd1-ad97-8b04cec66ee8", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035011Z:f1a7eb99-e016-4fd1-ad97-8b04cec66ee8" }, "ResponseBody": { "name": "virtualwanf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwanf36329e7", - "etag": "W/\u002215690873-5f76-4656-984d-1f6c35a1e19a\u0022", + "etag": "W/\u002217b38575-5e20-4b50-b2ea-eb26ad0ebf56\u0022", "type": "Microsoft.Network/virtualWans", "location": "westus", "tags": { @@ -273,13 +273,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/82901f39-cc1e-43d7-b083-9cbe42103803?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/aba7a33f-de3e-496a-b3d4-6ac5536639a9?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -287,7 +287,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:06 GMT", + "Date": "Fri, 29 Apr 2022 03:50:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -298,10 +298,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "74c4e3c6-a08a-4ff5-a09d-0105f5f2b853", - "x-ms-correlation-request-id": "5bc9612c-63ee-4a7f-8f22-2beb1f04ba34", - "x-ms-ratelimit-remaining-subscription-reads": "11822", - "x-ms-routing-request-id": "EASTUS2:20220425T043006Z:5bc9612c-63ee-4a7f-8f22-2beb1f04ba34" + "x-ms-arm-service-request-id": "ccea2e3d-8102-4e51-83e3-7d9b272d96fc", + "x-ms-correlation-request-id": "9a3dd462-9ba2-4417-b19d-1ba8c8a09347", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035022Z:9a3dd462-9ba2-4417-b19d-1ba8c8a09347" }, "ResponseBody": { "status": "Succeeded" @@ -314,7 +314,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -322,8 +322,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:06 GMT", - "ETag": "W/\u0022e96ef3ba-1d5d-4c99-9cd5-5068007a9b29\u0022", + "Date": "Fri, 29 Apr 2022 03:50:21 GMT", + "ETag": "W/\u0022e9ecbc6e-ef59-4885-af3f-1a025eee9223\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -334,15 +334,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e0742f64-17b0-4150-9a99-a9881d9f6b01", - "x-ms-correlation-request-id": "94171658-59c6-49ca-9a38-d9d1b26edd96", - "x-ms-ratelimit-remaining-subscription-reads": "11821", - "x-ms-routing-request-id": "EASTUS2:20220425T043006Z:94171658-59c6-49ca-9a38-d9d1b26edd96" + "x-ms-arm-service-request-id": "3dc98c50-c358-4120-8a1d-a20419627829", + "x-ms-correlation-request-id": "d963cab2-d83c-4a2b-affb-0b8b9da3cdc0", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035022Z:d963cab2-d83c-4a2b-affb-0b8b9da3cdc0" }, "ResponseBody": { "name": "virtualwanf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwanf36329e7", - "etag": "W/\u0022e96ef3ba-1d5d-4c99-9cd5-5068007a9b29\u0022", + "etag": "W/\u0022e9ecbc6e-ef59-4885-af3f-1a025eee9223\u0022", "type": "Microsoft.Network/virtualWans", "location": "westus", "tags": { @@ -366,7 +366,7 @@ "Connection": "keep-alive", "Content-Length": "533", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "location": "West US", @@ -404,11 +404,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e2283dc3-0e08-43c4-b457-e38497dc7859?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b01a2657-4d3f-4ddd-8cc7-14874ff63019?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1642", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:07 GMT", + "Date": "Fri, 29 Apr 2022 03:50:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -418,15 +418,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a3d87cc3-50b7-4261-b7ae-c20793621190", - "x-ms-correlation-request-id": "9e073a7e-3559-44c4-841c-c8f69ee93f89", - "x-ms-ratelimit-remaining-subscription-writes": "1158", - "x-ms-routing-request-id": "EASTUS2:20220425T043007Z:9e073a7e-3559-44c4-841c-c8f69ee93f89" + "x-ms-arm-service-request-id": "bbdb0bda-8920-4988-b8a1-c639beb0b7e2", + "x-ms-correlation-request-id": "e576a7a8-40e0-407e-82dd-e9ff7383625d", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035028Z:e576a7a8-40e0-407e-82dd-e9ff7383625d" }, "ResponseBody": { "name": "vnpsitef36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsitef36329e7", - "etag": "W/\u0022bf519263-0d7c-46b7-87df-bbe601839536\u0022", + "etag": "W/\u00227eb18a30-5185-4560-bd95-a80ed5c25da6\u0022", "type": "Microsoft.Network/vpnSites", "location": "westus", "tags": { @@ -457,7 +457,7 @@ { "name": "vpnSiteLink1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsitef36329e7/vpnSiteLinks/vpnSiteLink1", - "etag": "W/\u0022bf519263-0d7c-46b7-87df-bbe601839536\u0022", + "etag": "W/\u00227eb18a30-5185-4560-bd95-a80ed5c25da6\u0022", "properties": { "provisioningState": "Updating", "ipAddress": "50.50.50.56", @@ -477,13 +477,49 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e2283dc3-0e08-43c4-b457-e38497dc7859?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b01a2657-4d3f-4ddd-8cc7-14874ff63019?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 29 Apr 2022 03:50:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "10", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "1e5b6be8-7fb7-404f-a5c8-b2926672defa", + "x-ms-correlation-request-id": "0372221a-8146-4fca-86e3-da31b0880cb2", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035038Z:0372221a-8146-4fca-86e3-da31b0880cb2" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b01a2657-4d3f-4ddd-8cc7-14874ff63019?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -491,7 +527,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:17 GMT", + "Date": "Fri, 29 Apr 2022 03:50:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -502,10 +538,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9472a4f3-abf8-45fe-91ca-b20562212438", - "x-ms-correlation-request-id": "47b9ae29-54af-44a0-8cbf-b94a82a384b8", - "x-ms-ratelimit-remaining-subscription-reads": "11820", - "x-ms-routing-request-id": "EASTUS2:20220425T043017Z:47b9ae29-54af-44a0-8cbf-b94a82a384b8" + "x-ms-arm-service-request-id": "931660bf-c508-46ac-8ae2-a72ed890795e", + "x-ms-correlation-request-id": "f91b6ac4-6a76-4150-bbb0-b3b6561ea11c", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035049Z:f91b6ac4-6a76-4150-bbb0-b3b6561ea11c" }, "ResponseBody": { "status": "Succeeded" @@ -518,7 +554,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -526,8 +562,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:17 GMT", - "ETag": "W/\u0022b4a43a31-4ee1-4916-9a3b-03ef9c4281ba\u0022", + "Date": "Fri, 29 Apr 2022 03:50:49 GMT", + "ETag": "W/\u0022c68ab7c7-e741-4700-b996-515df571c84b\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -538,15 +574,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "086137f7-f252-4e3f-b136-d9ca767e5df8", - "x-ms-correlation-request-id": "21b8f697-db85-4e75-aefd-6a45688ceae9", - "x-ms-ratelimit-remaining-subscription-reads": "11819", - "x-ms-routing-request-id": "EASTUS2:20220425T043017Z:21b8f697-db85-4e75-aefd-6a45688ceae9" + "x-ms-arm-service-request-id": "eb2f9a7a-27e5-4b97-9973-7713b1d5ccf1", + "x-ms-correlation-request-id": "659c7698-0a11-45eb-9c40-6b20722a0cfc", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035049Z:659c7698-0a11-45eb-9c40-6b20722a0cfc" }, "ResponseBody": { "name": "vnpsitef36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsitef36329e7", - "etag": "W/\u0022b4a43a31-4ee1-4916-9a3b-03ef9c4281ba\u0022", + "etag": "W/\u0022c68ab7c7-e741-4700-b996-515df571c84b\u0022", "type": "Microsoft.Network/vpnSites", "location": "westus", "tags": { @@ -577,7 +613,7 @@ { "name": "vpnSiteLink1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsitef36329e7/vpnSiteLinks/vpnSiteLink1", - "etag": "W/\u0022b4a43a31-4ee1-4916-9a3b-03ef9c4281ba\u0022", + "etag": "W/\u0022c68ab7c7-e741-4700-b996-515df571c84b\u0022", "properties": { "provisioningState": "Succeeded", "ipAddress": "50.50.50.56", @@ -605,7 +641,7 @@ "Connection": "keep-alive", "Content-Length": "275", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "location": "West US", @@ -623,11 +659,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "1070", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:18 GMT", + "Date": "Fri, 29 Apr 2022 03:50:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -637,15 +673,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0c8a71e9-0542-44a6-8403-a60b42ab682d", - "x-ms-correlation-request-id": "1295a660-8e1e-4985-84b9-76bcc1b3d63b", - "x-ms-ratelimit-remaining-subscription-writes": "1157", - "x-ms-routing-request-id": "EASTUS2:20220425T043018Z:1295a660-8e1e-4985-84b9-76bcc1b3d63b" + "x-ms-arm-service-request-id": "0a9ab6cb-c859-4bd2-bda1-415d0ef32a4b", + "x-ms-correlation-request-id": "14724eca-a4eb-4870-b19d-e0bc3d61d469", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035053Z:14724eca-a4eb-4870-b19d-e0bc3d61d469" }, "ResponseBody": { "name": "virtualhubxf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubxf36329e7", - "etag": "W/\u0022ec7e48ef-409e-46ae-ba47-8e6539bafd0e\u0022", + "etag": "W/\u00227e5209e1-7118-4134-81ce-ac181536d028\u0022", "type": "Microsoft.Network/virtualHubs", "location": "westus", "tags": { @@ -676,13 +712,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -690,7 +726,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:27 GMT", + "Date": "Fri, 29 Apr 2022 03:51:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -702,23 +738,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4c0ae12f-7f1c-4280-8b09-c870f235f93a", - "x-ms-correlation-request-id": "0493da9b-4cbe-4f27-9a61-27bb86b61847", - "x-ms-ratelimit-remaining-subscription-reads": "11818", - "x-ms-routing-request-id": "EASTUS2:20220425T043028Z:0493da9b-4cbe-4f27-9a61-27bb86b61847" + "x-ms-arm-service-request-id": "68c20cc2-5daa-4f36-b896-612e9b69dc9d", + "x-ms-correlation-request-id": "59ce4afe-e512-4d83-86fa-a168cec5b849", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035103Z:59ce4afe-e512-4d83-86fa-a168cec5b849" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -726,7 +762,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:38 GMT", + "Date": "Fri, 29 Apr 2022 03:51:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -738,23 +774,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "7b65333a-6a95-4840-8d0c-c31c3c9b0d51", - "x-ms-correlation-request-id": "36b39923-188f-4ea7-8e0f-758711e6ae4f", - "x-ms-ratelimit-remaining-subscription-reads": "11817", - "x-ms-routing-request-id": "EASTUS2:20220425T043038Z:36b39923-188f-4ea7-8e0f-758711e6ae4f" + "x-ms-arm-service-request-id": "ecf2a4c4-1ce1-41a1-96eb-9c7d30a967f4", + "x-ms-correlation-request-id": "739124d0-d3a9-4de9-ba09-789379cd628b", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035114Z:739124d0-d3a9-4de9-ba09-789379cd628b" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -762,7 +798,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:30:58 GMT", + "Date": "Fri, 29 Apr 2022 03:51:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -774,23 +810,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e6469d33-c4cd-4b30-add2-6a4ca08720e6", - "x-ms-correlation-request-id": "9ca8d2a1-38f2-45fe-a9aa-d80bfeb13ae6", - "x-ms-ratelimit-remaining-subscription-reads": "11816", - "x-ms-routing-request-id": "EASTUS2:20220425T043058Z:9ca8d2a1-38f2-45fe-a9aa-d80bfeb13ae6" + "x-ms-arm-service-request-id": "54ac4886-f44c-4fc5-a1aa-daed6ae5db29", + "x-ms-correlation-request-id": "66ecf038-1528-42c4-aed6-6a320222a6a2", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035134Z:66ecf038-1528-42c4-aed6-6a320222a6a2" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -798,7 +834,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:31:18 GMT", + "Date": "Fri, 29 Apr 2022 03:51:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -810,23 +846,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e4323241-fb6e-46c8-8bff-dd7a8d3c719e", - "x-ms-correlation-request-id": "df0a0cc8-e43b-4732-8d0a-f3332070091a", - "x-ms-ratelimit-remaining-subscription-reads": "11815", - "x-ms-routing-request-id": "EASTUS2:20220425T043119Z:df0a0cc8-e43b-4732-8d0a-f3332070091a" + "x-ms-arm-service-request-id": "51bf7511-57bb-4424-97a2-2f9a0b961168", + "x-ms-correlation-request-id": "8315f5c3-a7e4-4cc6-b22b-14189a071e78", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035154Z:8315f5c3-a7e4-4cc6-b22b-14189a071e78" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -834,7 +870,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:31:58 GMT", + "Date": "Fri, 29 Apr 2022 03:52:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -846,23 +882,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "55b789d7-a038-42d4-bb63-4ef01acd8e5e", - "x-ms-correlation-request-id": "c1f95ef5-0af6-46f6-b666-940f01447e6a", - "x-ms-ratelimit-remaining-subscription-reads": "11814", - "x-ms-routing-request-id": "EASTUS2:20220425T043159Z:c1f95ef5-0af6-46f6-b666-940f01447e6a" + "x-ms-arm-service-request-id": "b77c298a-4506-4404-9271-19b95ced3c13", + "x-ms-correlation-request-id": "842e63e2-08d5-4394-89c0-897d54ff5a01", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035235Z:842e63e2-08d5-4394-89c0-897d54ff5a01" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -870,7 +906,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:32:38 GMT", + "Date": "Fri, 29 Apr 2022 03:53:15 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -882,23 +918,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ec1c6942-d392-41f8-aa21-ded75641ab0f", - "x-ms-correlation-request-id": "31cc166e-bce3-4005-9cc0-7324d8bd90e9", - "x-ms-ratelimit-remaining-subscription-reads": "11813", - "x-ms-routing-request-id": "EASTUS2:20220425T043239Z:31cc166e-bce3-4005-9cc0-7324d8bd90e9" + "x-ms-arm-service-request-id": "0d924c0b-0a4e-4458-978f-d0e07f7e7cf9", + "x-ms-correlation-request-id": "7975f0e5-09ed-40b6-a450-c38f6550053d", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035315Z:7975f0e5-09ed-40b6-a450-c38f6550053d" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -906,7 +942,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:33:59 GMT", + "Date": "Fri, 29 Apr 2022 03:54:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -918,23 +954,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e7826d60-505b-4c67-97a4-ca1cb69128c4", - "x-ms-correlation-request-id": "d7f7a8be-8780-49b8-87a3-b83ad567ae8c", + "x-ms-arm-service-request-id": "831fbfcc-dcaf-4a13-bd23-bc1c25b7bedc", + "x-ms-correlation-request-id": "de19e58b-3263-4dc0-96c9-9e87ec87db3c", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-routing-request-id": "EASTUS2:20220425T043359Z:d7f7a8be-8780-49b8-87a3-b83ad567ae8c" + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035436Z:de19e58b-3263-4dc0-96c9-9e87ec87db3c" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2d34935a-5442-4e18-8a73-e75c0d832e07?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/58d395d1-2691-4cac-b350-133972a8fd1f?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -942,7 +978,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:36:40 GMT", + "Date": "Fri, 29 Apr 2022 03:57:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -953,10 +989,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4c98f5d7-10fc-4fee-944c-41def9fe44b1", - "x-ms-correlation-request-id": "239a844b-110d-41ea-b680-89c5307307b2", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-routing-request-id": "EASTUS2:20220425T043640Z:239a844b-110d-41ea-b680-89c5307307b2" + "x-ms-arm-service-request-id": "f4b925c7-e5a3-4115-b781-26304eced6a6", + "x-ms-correlation-request-id": "13307ad3-90d2-47f1-9907-b166490939bd", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035717Z:13307ad3-90d2-47f1-9907-b166490939bd" }, "ResponseBody": { "status": "Succeeded" @@ -969,7 +1005,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -977,7 +1013,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:36:40 GMT", + "Date": "Fri, 29 Apr 2022 03:57:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -988,15 +1024,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d78e9283-6120-4d28-9122-3fbba5193187", - "x-ms-correlation-request-id": "244717fa-d241-4907-a250-cce4d505e1cb", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-routing-request-id": "EASTUS2:20220425T043640Z:244717fa-d241-4907-a250-cce4d505e1cb" + "x-ms-arm-service-request-id": "86b31f63-d1ff-4927-a810-4874fa783ed1", + "x-ms-correlation-request-id": "280eda7b-e48b-4ea0-a706-4649041d1564", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035718Z:280eda7b-e48b-4ea0-a706-4649041d1564" }, "ResponseBody": { "name": "virtualhubxf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubxf36329e7", - "etag": "W/\u00229033689b-6403-40e5-a74e-366b1db75032\u0022", + "etag": "W/\u002245c49039-6498-4013-ba65-df63133c9677\u0022", "type": "Microsoft.Network/virtualHubs", "location": "westus", "tags": { @@ -1035,7 +1071,7 @@ "Connection": "keep-alive", "Content-Length": "825", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "location": "West US", @@ -1078,11 +1114,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "3976", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:36:41 GMT", + "Date": "Fri, 29 Apr 2022 03:57:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1092,15 +1128,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "02e83e20-3479-4688-8012-3157244a0c18", - "x-ms-correlation-request-id": "02f9ce05-870d-4d6b-813d-31cbdc99a02f", + "x-ms-arm-service-request-id": "dbabf7c8-77ef-47d8-8a80-d5bab0219b1a", + "x-ms-correlation-request-id": "1ae51ab4-636e-4354-b965-ff71df142e80", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-routing-request-id": "EASTUS2:20220425T043641Z:02f9ce05-870d-4d6b-813d-31cbdc99a02f" + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035724Z:1ae51ab4-636e-4354-b965-ff71df142e80" }, "ResponseBody": { "name": "vpngatewayf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7", - "etag": "W/\u0022ade1c9af-14ed-4c2e-9d60-405e0e958143\u0022", + "etag": "W/\u00228b8ec3a8-26d2-4e45-bb2f-4d77d7a4a6a2\u0022", "type": "Microsoft.Network/vpnGateways", "location": "westus", "tags": { @@ -1112,7 +1148,7 @@ { "name": "vpnConnection1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7/vpnConnections/vpnConnection1", - "etag": "W/\u0022ade1c9af-14ed-4c2e-9d60-405e0e958143\u0022", + "etag": "W/\u00228b8ec3a8-26d2-4e45-bb2f-4d77d7a4a6a2\u0022", "type": "Microsoft.Network/vpnGateways/vpnConnections", "properties": { "provisioningState": "Updating", @@ -1142,7 +1178,7 @@ { "name": "Connection-Link1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1", - "etag": "W/\u0022ade1c9af-14ed-4c2e-9d60-405e0e958143\u0022", + "etag": "W/\u00228b8ec3a8-26d2-4e45-bb2f-4d77d7a4a6a2\u0022", "properties": { "provisioningState": "Updating", "vpnSiteLink": { @@ -1189,13 +1225,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1203,7 +1239,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:36:50 GMT", + "Date": "Fri, 29 Apr 2022 03:57:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -1215,23 +1251,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2aef7794-baf3-4abc-8e73-109ac8d4198e", - "x-ms-correlation-request-id": "0bf16c4f-75ea-4114-b29a-c4feedf00652", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-routing-request-id": "EASTUS2:20220425T043651Z:0bf16c4f-75ea-4114-b29a-c4feedf00652" + "x-ms-arm-service-request-id": "92c81723-7e2c-49d7-87b7-95262ddde27a", + "x-ms-correlation-request-id": "96dd35d7-5434-474d-ba89-f1bd8fd671de", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035734Z:96dd35d7-5434-474d-ba89-f1bd8fd671de" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1239,7 +1275,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:37:00 GMT", + "Date": "Fri, 29 Apr 2022 03:57:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -1251,23 +1287,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b08db055-2638-4145-8b87-0bdf392637b1", - "x-ms-correlation-request-id": "3ab2b3c6-8387-4658-81b7-e6aa6ff79924", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-routing-request-id": "EASTUS2:20220425T043701Z:3ab2b3c6-8387-4658-81b7-e6aa6ff79924" + "x-ms-arm-service-request-id": "7578c863-5271-46e7-9262-2bd0e8dc3702", + "x-ms-correlation-request-id": "7d02f600-733c-456e-9076-9dbc652d167c", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035745Z:7d02f600-733c-456e-9076-9dbc652d167c" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1275,7 +1311,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:37:21 GMT", + "Date": "Fri, 29 Apr 2022 03:58:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -1287,23 +1323,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2094e31b-f6a8-4920-bb91-2d1bd84df731", - "x-ms-correlation-request-id": "881bc17d-0d52-4165-bd78-36e96f4c2227", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-routing-request-id": "EASTUS2:20220425T043721Z:881bc17d-0d52-4165-bd78-36e96f4c2227" + "x-ms-arm-service-request-id": "a370a8ed-368e-47b5-bdf3-fe89aa5e1e30", + "x-ms-correlation-request-id": "d69dbcf7-ec9a-4e1d-aeed-d9207c735783", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035805Z:d69dbcf7-ec9a-4e1d-aeed-d9207c735783" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1311,7 +1347,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:37:41 GMT", + "Date": "Fri, 29 Apr 2022 03:58:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -1323,23 +1359,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9e155dc4-1663-4434-94e7-a530352cb1a1", - "x-ms-correlation-request-id": "6e63f702-3119-4132-a60e-613ab336c96a", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-routing-request-id": "EASTUS2:20220425T043741Z:6e63f702-3119-4132-a60e-613ab336c96a" + "x-ms-arm-service-request-id": "412850c3-c3e8-40ed-a55c-d04678fac512", + "x-ms-correlation-request-id": "6f0e62ca-1495-4d90-9924-819943c67f26", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035826Z:6f0e62ca-1495-4d90-9924-819943c67f26" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1347,7 +1383,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:38:21 GMT", + "Date": "Fri, 29 Apr 2022 03:59:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -1359,23 +1395,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "cc6e7f52-914f-4a83-8b6a-8501ac980afc", - "x-ms-correlation-request-id": "0f7f281d-c178-4e40-aa30-132a6bdea07f", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-routing-request-id": "EASTUS2:20220425T043821Z:0f7f281d-c178-4e40-aa30-132a6bdea07f" + "x-ms-arm-service-request-id": "86c491f9-2b8e-4a2b-b5a3-652003af4040", + "x-ms-correlation-request-id": "71001973-90cb-47aa-8827-c77ece2dfe6c", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035906Z:71001973-90cb-47aa-8827-c77ece2dfe6c" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1383,7 +1419,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:39:01 GMT", + "Date": "Fri, 29 Apr 2022 03:59:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -1395,23 +1431,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ab19ca6e-ec2e-4569-857c-bc5aaf50bc84", - "x-ms-correlation-request-id": "837f0e56-020d-4308-b404-1514323e969b", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-routing-request-id": "EASTUS2:20220425T043901Z:837f0e56-020d-4308-b404-1514323e969b" + "x-ms-arm-service-request-id": "aa8e09f7-8ba8-4098-a153-838b22d501a9", + "x-ms-correlation-request-id": "42713129-644a-4dab-95b1-40f61a99f6d2", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T035946Z:42713129-644a-4dab-95b1-40f61a99f6d2" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1419,7 +1455,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:40:21 GMT", + "Date": "Fri, 29 Apr 2022 04:01:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -1431,23 +1467,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ae2dba02-ca8d-4638-bb26-eebb9ad15bd2", - "x-ms-correlation-request-id": "e273f1c2-3380-437c-afe0-cc0e1dd031d5", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-routing-request-id": "EASTUS2:20220425T044022Z:e273f1c2-3380-437c-afe0-cc0e1dd031d5" + "x-ms-arm-service-request-id": "c059f84b-6dd2-450c-ab04-98f016f4cd85", + "x-ms-correlation-request-id": "1711dabb-021b-4459-8d59-b22caed54092", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T040108Z:1711dabb-021b-4459-8d59-b22caed54092" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1455,7 +1491,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:43:01 GMT", + "Date": "Fri, 29 Apr 2022 04:03:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1467,23 +1503,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "74db0d9f-9c21-4d19-8e98-73f1982d456d", - "x-ms-correlation-request-id": "4db60ef4-21d1-4743-b8e0-da37aded0109", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-routing-request-id": "EASTUS2:20220425T044302Z:4db60ef4-21d1-4743-b8e0-da37aded0109" + "x-ms-arm-service-request-id": "ac478e71-e568-443f-b203-0f5c60cc7139", + "x-ms-correlation-request-id": "8b2940f1-9646-48ad-bde2-e062334ef683", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T040350Z:8b2940f1-9646-48ad-bde2-e062334ef683" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1491,7 +1527,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:44:42 GMT", + "Date": "Fri, 29 Apr 2022 04:05:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1503,23 +1539,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "86787154-44d8-48ce-839a-c8878c17a7fe", - "x-ms-correlation-request-id": "5997d243-8604-43a8-8bac-1190605f50e8", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-routing-request-id": "EASTUS2:20220425T044442Z:5997d243-8604-43a8-8bac-1190605f50e8" + "x-ms-arm-service-request-id": "e7131775-914d-47f2-ba21-c8dcb31f3070", + "x-ms-correlation-request-id": "f608ebba-6790-4648-be4a-4d8c352fa080", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T040531Z:f608ebba-6790-4648-be4a-4d8c352fa080" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1527,7 +1563,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:46:22 GMT", + "Date": "Fri, 29 Apr 2022 04:07:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1539,23 +1575,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ffd62d9e-01a0-466e-ad78-7f93476fd943", - "x-ms-correlation-request-id": "719598ae-63a8-4a96-9431-714d02d4bfba", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-routing-request-id": "EASTUS2:20220425T044622Z:719598ae-63a8-4a96-9431-714d02d4bfba" + "x-ms-arm-service-request-id": "0bc30a91-3ef3-437a-99fd-6eb4f3ebb322", + "x-ms-correlation-request-id": "782b8174-99fd-4aff-bbab-29bbd2b1a0d4", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T040712Z:782b8174-99fd-4aff-bbab-29bbd2b1a0d4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1563,7 +1599,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:48:02 GMT", + "Date": "Fri, 29 Apr 2022 04:08:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1575,23 +1611,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "32c4e965-4212-4605-b82a-3aa36abe3aa2", - "x-ms-correlation-request-id": "02c95ad0-a6b2-4dca-8cd8-069062992898", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-routing-request-id": "EASTUS2:20220425T044802Z:02c95ad0-a6b2-4dca-8cd8-069062992898" + "x-ms-arm-service-request-id": "94b92bc0-2c63-455f-bc9d-e3e781b2a61e", + "x-ms-correlation-request-id": "7a11bbe9-1f74-42bc-8457-f9549823a391", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T040853Z:7a11bbe9-1f74-42bc-8457-f9549823a391" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1599,7 +1635,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:49:42 GMT", + "Date": "Fri, 29 Apr 2022 04:10:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1611,23 +1647,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bd101698-5167-4d48-8b50-f5e54525bd97", - "x-ms-correlation-request-id": "ec312e5c-af12-4497-bf54-f797234fb317", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-routing-request-id": "EASTUS2:20220425T044943Z:ec312e5c-af12-4497-bf54-f797234fb317" + "x-ms-arm-service-request-id": "708c84ee-7b65-4ab7-b749-9f0167f7c9ed", + "x-ms-correlation-request-id": "de8fddc5-de3d-4351-9a1c-1e9dd23f0321", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T041035Z:de8fddc5-de3d-4351-9a1c-1e9dd23f0321" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1635,7 +1671,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:51:22 GMT", + "Date": "Fri, 29 Apr 2022 04:12:15 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1647,23 +1683,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "1e4f5c59-73e1-41b4-8de6-70247ebdc403", - "x-ms-correlation-request-id": "19ca13d8-14bf-4807-aefa-104ed2f3a528", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-routing-request-id": "EASTUS2:20220425T045123Z:19ca13d8-14bf-4807-aefa-104ed2f3a528" + "x-ms-arm-service-request-id": "f92bf90d-84e4-4ac4-8b0b-3f02d8b94040", + "x-ms-correlation-request-id": "4781b215-bd16-4231-98cb-67574bd6cbb2", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T041216Z:4781b215-bd16-4231-98cb-67574bd6cbb2" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1671,7 +1707,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:53:03 GMT", + "Date": "Fri, 29 Apr 2022 04:13:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1683,31 +1719,31 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e39689e0-caf1-43d3-a057-63e97e3974f6", - "x-ms-correlation-request-id": "07bac574-430f-470e-b908-9e3c26399497", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-routing-request-id": "EASTUS2:20220425T045303Z:07bac574-430f-470e-b908-9e3c26399497" + "x-ms-arm-service-request-id": "68438624-5ef3-4309-872c-e324c046d920", + "x-ms-correlation-request-id": "8fc4f7b3-4550-4217-a8f7-e7e253030d39", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T041357Z:8fc4f7b3-4550-4217-a8f7-e7e253030d39" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "30", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:54:43 GMT", + "Date": "Fri, 29 Apr 2022 04:15:38 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1716,26 +1752,24 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "cf7d4b1c-26e9-4321-9760-891118fa905f", - "x-ms-correlation-request-id": "8aac91ac-bc38-4ec3-bc17-d16c8d74a013", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-routing-request-id": "EASTUS2:20220425T045444Z:8aac91ac-bc38-4ec3-bc17-d16c8d74a013" + "x-ms-arm-service-request-id": "09f511a8-3b9e-42fe-bb3f-6e5b32a39a64", + "x-ms-correlation-request-id": "7f247380-c520-45cb-aa4b-75f8a803e327", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T041539Z:7f247380-c520-45cb-aa4b-75f8a803e327" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1743,7 +1777,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:56:23 GMT", + "Date": "Fri, 29 Apr 2022 04:17:19 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1755,23 +1789,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "95b1d484-996d-4224-adc7-97b40b34fd31", - "x-ms-correlation-request-id": "655d96b8-124a-4c13-95e3-59fcbb9aeaef", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-routing-request-id": "EASTUS2:20220425T045624Z:655d96b8-124a-4c13-95e3-59fcbb9aeaef" + "x-ms-arm-service-request-id": "05de3459-478b-4287-81a4-f0e3fe008ca2", + "x-ms-correlation-request-id": "9ded086f-0196-46ea-8ae9-821362d8ee7f", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T041720Z:9ded086f-0196-46ea-8ae9-821362d8ee7f" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1779,7 +1813,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:58:03 GMT", + "Date": "Fri, 29 Apr 2022 04:19:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1791,23 +1825,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0e7da97a-512b-4c3a-899e-85f7a334110e", - "x-ms-correlation-request-id": "23c8965f-84e8-431d-904b-b21c5b91d1cd", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-routing-request-id": "EASTUS2:20220425T045804Z:23c8965f-84e8-431d-904b-b21c5b91d1cd" + "x-ms-arm-service-request-id": "e8c03dff-43c7-45f3-aa59-613dd101b808", + "x-ms-correlation-request-id": "06cf49e3-b953-4adb-a59c-2360b3871dba", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T041901Z:06cf49e3-b953-4adb-a59c-2360b3871dba" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1815,7 +1849,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 04:59:43 GMT", + "Date": "Fri, 29 Apr 2022 04:20:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1827,23 +1861,57 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f6229a9b-2374-4a00-8a52-ed72de6684ec", - "x-ms-correlation-request-id": "d95e287f-2531-453f-9e1d-f9076b894988", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-routing-request-id": "EASTUS2:20220425T045944Z:d95e287f-2531-453f-9e1d-f9076b894988" + "x-ms-arm-service-request-id": "7064e25f-0cd0-4d7c-b232-826d36d3dbbe", + "x-ms-correlation-request-id": "0df1af08-0466-482e-a65b-a112e4ea55db", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042043Z:0df1af08-0466-482e-a65b-a112e4ea55db" + }, + "ResponseBody": { + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "30", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 29 Apr 2022 04:22:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "100", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "f3d68bea-b9f3-4c69-b408-db2a2089e93e", + "x-ms-correlation-request-id": "30aac616-d4a2-4b3a-a49d-ba4dc1ac0fd2", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042224Z:30aac616-d4a2-4b3a-a49d-ba4dc1ac0fd2" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1851,7 +1919,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:01:23 GMT", + "Date": "Fri, 29 Apr 2022 04:24:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1863,23 +1931,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9088bd56-1a89-4554-87c5-148230914147", - "x-ms-correlation-request-id": "30b4aa9f-a553-4476-a040-480051031578", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-routing-request-id": "EASTUS2:20220425T050124Z:30b4aa9f-a553-4476-a040-480051031578" + "x-ms-arm-service-request-id": "311decc0-ac30-4dfd-9c3e-ab91a50fac13", + "x-ms-correlation-request-id": "810150dd-7cbc-4b3f-b7d2-7265b8b34ebf", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042405Z:810150dd-7cbc-4b3f-b7d2-7265b8b34ebf" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1887,7 +1955,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:03:05 GMT", + "Date": "Fri, 29 Apr 2022 04:25:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -1899,23 +1967,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e99a3a77-40be-4045-867f-2141ce0d4912", - "x-ms-correlation-request-id": "0eb6f529-2ae4-4e71-81fe-5c78d4f25c1c", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-routing-request-id": "EASTUS2:20220425T050305Z:0eb6f529-2ae4-4e71-81fe-5c78d4f25c1c" + "x-ms-arm-service-request-id": "56ec5d1e-7225-4903-b98d-62994f6b0375", + "x-ms-correlation-request-id": "fb7160c3-de09-4729-a949-ac1bfb3e9d57", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042547Z:fb7160c3-de09-4729-a949-ac1bfb3e9d57" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1fc4c7fe-c228-40ff-be88-63d26ea0242d?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6a35ca9b-c294-49b6-9f78-be3d2cddb1ae?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1923,7 +1991,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:44 GMT", + "Date": "Fri, 29 Apr 2022 04:27:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1934,10 +2002,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2565eabe-0ec9-47de-bf92-6ab1e55aed5c", - "x-ms-correlation-request-id": "796d4d8e-ae53-4889-8d36-fe9a5842b574", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-routing-request-id": "EASTUS2:20220425T050445Z:796d4d8e-ae53-4889-8d36-fe9a5842b574" + "x-ms-arm-service-request-id": "6d499fad-a371-43f4-bb6d-d042fecd680d", + "x-ms-correlation-request-id": "f68ba4f9-ca93-4010-8443-2fce45fb30b3", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042728Z:f68ba4f9-ca93-4010-8443-2fce45fb30b3" }, "ResponseBody": { "status": "Succeeded" @@ -1950,7 +2018,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -1958,7 +2026,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:44 GMT", + "Date": "Fri, 29 Apr 2022 04:27:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -1969,15 +2037,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2b80b1f7-374c-49fb-8401-3d873fbfc5af", - "x-ms-correlation-request-id": "82c5dd5f-8757-40eb-bb44-63a7655303a6", - "x-ms-ratelimit-remaining-subscription-reads": "11975", - "x-ms-routing-request-id": "EASTUS2:20220425T050445Z:82c5dd5f-8757-40eb-bb44-63a7655303a6" + "x-ms-arm-service-request-id": "8f1881c4-0c11-4a02-81f4-7cc3eda90ed2", + "x-ms-correlation-request-id": "03d1b044-af4d-46bb-bb12-b97662f980b7", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042728Z:03d1b044-af4d-46bb-bb12-b97662f980b7" }, "ResponseBody": { "name": "vpngatewayf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7", - "etag": "W/\u00227f2b5c97-280e-42f5-9d81-32f3050cebba\u0022", + "etag": "W/\u00228f46f8f4-6ed1-451a-ae6d-38f9e7b3b361\u0022", "type": "Microsoft.Network/vpnGateways", "location": "westus", "tags": { @@ -1989,7 +2057,7 @@ { "name": "vpnConnection1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7/vpnConnections/vpnConnection1", - "etag": "W/\u00227f2b5c97-280e-42f5-9d81-32f3050cebba\u0022", + "etag": "W/\u00228f46f8f4-6ed1-451a-ae6d-38f9e7b3b361\u0022", "type": "Microsoft.Network/vpnGateways/vpnConnections", "properties": { "provisioningState": "Succeeded", @@ -2019,7 +2087,7 @@ { "name": "Connection-Link1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1", - "etag": "W/\u00227f2b5c97-280e-42f5-9d81-32f3050cebba\u0022", + "etag": "W/\u00228f46f8f4-6ed1-451a-ae6d-38f9e7b3b361\u0022", "properties": { "provisioningState": "Succeeded", "vpnSiteLink": { @@ -2059,22 +2127,22 @@ { "ipconfigurationId": "Instance0", "defaultBgpIpAddresses": [ - "10.168.0.13" + "10.168.0.12" ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "13.64.132.253", + "13.64.97.61", "10.168.0.4" ] }, { "ipconfigurationId": "Instance1", "defaultBgpIpAddresses": [ - "10.168.0.12" + "10.168.0.13" ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "13.64.130.90", + "13.64.97.128", "10.168.0.5" ] } @@ -2085,12 +2153,12 @@ "ipConfigurations": [ { "id": "Instance0", - "publicIpAddress": "13.64.132.253", + "publicIpAddress": "13.64.97.61", "privateIpAddress": "10.168.0.4" }, { "id": "Instance1", - "publicIpAddress": "13.64.130.90", + "publicIpAddress": "13.64.97.128", "privateIpAddress": "10.168.0.5" } ], @@ -2109,7 +2177,7 @@ "Connection": "keep-alive", "Content-Length": "261", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "location": "West US", @@ -2126,11 +2194,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/73427af1-4bea-43bb-8587-9ed709c40dfc?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7597730a-b8e3-4381-bbe2-48723f989fbc?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "684", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:45 GMT", + "Date": "Fri, 29 Apr 2022 04:27:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -2140,15 +2208,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "16cc3739-06e1-43b5-9e33-6b174788ecb7", - "x-ms-correlation-request-id": "386dfcbf-4bb1-476d-823e-09965ee8c5b9", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-routing-request-id": "EASTUS2:20220425T050446Z:386dfcbf-4bb1-476d-823e-09965ee8c5b9" + "x-ms-arm-service-request-id": "26ed74e5-4e95-4433-825e-cc4823951ec0", + "x-ms-correlation-request-id": "b755f8d5-165d-4ad8-805e-639c89b8b27b", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042734Z:b755f8d5-165d-4ad8-805e-639c89b8b27b" }, "ResponseBody": { "name": "mySecurityPartnerProviderf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProviderf36329e7", - "etag": "W/\u0022247b713c-77e0-473f-8ff3-2246adb721b8\u0022", + "etag": "W/\u0022ee338115-fa79-4ee9-8239-fc3426b78011\u0022", "type": "Microsoft.Network/securityPartnerProviders", "location": "westus", "tags": { @@ -2164,13 +2232,13 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/73427af1-4bea-43bb-8587-9ed709c40dfc?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7597730a-b8e3-4381-bbe2-48723f989fbc?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2178,7 +2246,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:55 GMT", + "Date": "Fri, 29 Apr 2022 04:27:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2189,10 +2257,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6c766fa0-b245-44f5-b65e-7f8df57f7950", - "x-ms-correlation-request-id": "2e80067b-f053-40e7-857b-57e4a6361ef9", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-routing-request-id": "EASTUS2:20220425T050456Z:2e80067b-f053-40e7-857b-57e4a6361ef9" + "x-ms-arm-service-request-id": "34405819-0a84-4e12-953a-223434f95863", + "x-ms-correlation-request-id": "a5ade20e-c9fb-4f49-b942-cf4e852775f3", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042745Z:a5ade20e-c9fb-4f49-b942-cf4e852775f3" }, "ResponseBody": { "status": "Succeeded" @@ -2205,7 +2273,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2213,7 +2281,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:55 GMT", + "Date": "Fri, 29 Apr 2022 04:27:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2224,15 +2292,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2b63e888-cb6e-42ea-8726-7264cdbaa0cb", - "x-ms-correlation-request-id": "b4e75b0f-f288-4ae1-9feb-eb5d4676d46d", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-routing-request-id": "EASTUS2:20220425T050456Z:b4e75b0f-f288-4ae1-9feb-eb5d4676d46d" + "x-ms-arm-service-request-id": "0b8b97e9-13af-40e0-a763-ead2caa234bd", + "x-ms-correlation-request-id": "d4f1db9d-11f2-43af-99bb-efa084d3a87d", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042746Z:d4f1db9d-11f2-43af-99bb-efa084d3a87d" }, "ResponseBody": { "name": "mySecurityPartnerProviderf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProviderf36329e7", - "etag": "W/\u0022efb6d778-6e44-4f63-82ca-9b6295c0c61f\u0022", + "etag": "W/\u0022b0419b80-163c-424f-9b5e-9f0347590b39\u0022", "type": "Microsoft.Network/securityPartnerProviders", "location": "westus", "tags": { @@ -2254,7 +2322,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2262,7 +2330,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:55 GMT", + "Date": "Fri, 29 Apr 2022 04:27:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2273,15 +2341,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "84d64f98-d113-4866-9f0d-6d0f392ae475", - "x-ms-correlation-request-id": "b96c1817-dbad-436f-8e54-4d4fddaf5fb6", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-routing-request-id": "EASTUS2:20220425T050456Z:b96c1817-dbad-436f-8e54-4d4fddaf5fb6" + "x-ms-arm-service-request-id": "6a987613-a8fc-40e0-933d-c97b28bfd940", + "x-ms-correlation-request-id": "03c451cd-eafd-4a4c-98bb-f7e5b2c7ce42", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042746Z:03c451cd-eafd-4a4c-98bb-f7e5b2c7ce42" }, "ResponseBody": { "name": "virtualhubxf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubxf36329e7", - "etag": "W/\u0022cda2bba9-1162-451b-98dd-7513deb6c511\u0022", + "etag": "W/\u00221df8b48c-b972-4706-8093-1aa1368aec89\u0022", "type": "Microsoft.Network/virtualHubs", "location": "westus", "tags": { @@ -2293,8 +2361,8 @@ "addressPrefix": "10.168.0.0/24", "virtualRouterAsn": 65515, "virtualRouterIps": [ - "10.168.0.69", - "10.168.0.68" + "10.168.0.68", + "10.168.0.69" ], "routeTable": { "routes": [] @@ -2328,7 +2396,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2336,7 +2404,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:55 GMT", + "Date": "Fri, 29 Apr 2022 04:27:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2347,15 +2415,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d95e2013-7112-4079-9cc3-09d551ca0f64", - "x-ms-correlation-request-id": "80ffcba3-78f0-4b1f-b027-f8946814813f", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-routing-request-id": "EASTUS2:20220425T050456Z:80ffcba3-78f0-4b1f-b027-f8946814813f" + "x-ms-arm-service-request-id": "d52b4d49-5d81-4727-aaea-4b94662298d0", + "x-ms-correlation-request-id": "9fa280dd-50a6-4594-9079-f48fbc7c952f", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042746Z:9fa280dd-50a6-4594-9079-f48fbc7c952f" }, "ResponseBody": { "name": "vpngatewayf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7", - "etag": "W/\u00227f2b5c97-280e-42f5-9d81-32f3050cebba\u0022", + "etag": "W/\u00228f46f8f4-6ed1-451a-ae6d-38f9e7b3b361\u0022", "type": "Microsoft.Network/vpnGateways", "location": "westus", "tags": { @@ -2367,7 +2435,7 @@ { "name": "vpnConnection1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7/vpnConnections/vpnConnection1", - "etag": "W/\u00227f2b5c97-280e-42f5-9d81-32f3050cebba\u0022", + "etag": "W/\u00228f46f8f4-6ed1-451a-ae6d-38f9e7b3b361\u0022", "type": "Microsoft.Network/vpnGateways/vpnConnections", "properties": { "provisioningState": "Succeeded", @@ -2397,7 +2465,7 @@ { "name": "Connection-Link1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngatewayf36329e7/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1", - "etag": "W/\u00227f2b5c97-280e-42f5-9d81-32f3050cebba\u0022", + "etag": "W/\u00228f46f8f4-6ed1-451a-ae6d-38f9e7b3b361\u0022", "properties": { "provisioningState": "Succeeded", "vpnSiteLink": { @@ -2437,22 +2505,22 @@ { "ipconfigurationId": "Instance0", "defaultBgpIpAddresses": [ - "10.168.0.13" + "10.168.0.12" ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "13.64.132.253", + "13.64.97.61", "10.168.0.4" ] }, { "ipconfigurationId": "Instance1", "defaultBgpIpAddresses": [ - "10.168.0.12" + "10.168.0.13" ], "customBgpIpAddresses": [], "tunnelIpAddresses": [ - "13.64.130.90", + "13.64.97.128", "10.168.0.5" ] } @@ -2463,12 +2531,12 @@ "ipConfigurations": [ { "id": "Instance0", - "publicIpAddress": "13.64.132.253", + "publicIpAddress": "13.64.97.61", "privateIpAddress": "10.168.0.4" }, { "id": "Instance1", - "publicIpAddress": "13.64.130.90", + "publicIpAddress": "13.64.97.128", "privateIpAddress": "10.168.0.5" } ], @@ -2485,7 +2553,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2493,8 +2561,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:55 GMT", - "ETag": "W/\u0022b1fab2a7-7ab5-4cb0-8328-99d7a045353f\u0022", + "Date": "Fri, 29 Apr 2022 04:27:46 GMT", + "ETag": "W/\u002258fac2ab-cfd3-47bf-a079-cd237bcbcdb3\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2505,15 +2573,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "06083711-bf41-41c6-bf2b-6eb7031114df", - "x-ms-correlation-request-id": "9a50179d-987d-4f6c-975c-0c4bb72105c1", - "x-ms-ratelimit-remaining-subscription-reads": "11970", - "x-ms-routing-request-id": "EASTUS2:20220425T050456Z:9a50179d-987d-4f6c-975c-0c4bb72105c1" + "x-ms-arm-service-request-id": "c0911cdc-9540-4f07-9587-30826b3a6ceb", + "x-ms-correlation-request-id": "21a293f0-3c8a-4a31-b651-9764b8ff70a0", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042746Z:21a293f0-3c8a-4a31-b651-9764b8ff70a0" }, "ResponseBody": { "name": "virtualwanf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwanf36329e7", - "etag": "W/\u0022b1fab2a7-7ab5-4cb0-8328-99d7a045353f\u0022", + "etag": "W/\u002258fac2ab-cfd3-47bf-a079-cd237bcbcdb3\u0022", "type": "Microsoft.Network/virtualWans", "location": "westus", "tags": { @@ -2545,7 +2613,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2553,8 +2621,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:55 GMT", - "ETag": "W/\u0022b4a43a31-4ee1-4916-9a3b-03ef9c4281ba\u0022", + "Date": "Fri, 29 Apr 2022 04:27:46 GMT", + "ETag": "W/\u0022c68ab7c7-e741-4700-b996-515df571c84b\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2565,15 +2633,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "14849219-cfd8-4161-9258-0cf932dcc860", - "x-ms-correlation-request-id": "8172074e-5c60-4c39-8f4e-977bf4c2ef37", - "x-ms-ratelimit-remaining-subscription-reads": "11969", - "x-ms-routing-request-id": "EASTUS2:20220425T050456Z:8172074e-5c60-4c39-8f4e-977bf4c2ef37" + "x-ms-arm-service-request-id": "42ec6e2c-3047-4ee7-ae5b-8e37f62420fb", + "x-ms-correlation-request-id": "b3206554-0363-4b12-9f38-8beb96267e2f", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042747Z:b3206554-0363-4b12-9f38-8beb96267e2f" }, "ResponseBody": { "name": "vpnSiteLink1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsitef36329e7/vpnSiteLinks/vpnSiteLink1", - "etag": "W/\u0022b4a43a31-4ee1-4916-9a3b-03ef9c4281ba\u0022", + "etag": "W/\u0022c68ab7c7-e741-4700-b996-515df571c84b\u0022", "properties": { "provisioningState": "Succeeded", "ipAddress": "50.50.50.56", @@ -2596,7 +2664,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2604,7 +2672,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:04:56 GMT", + "Date": "Fri, 29 Apr 2022 04:27:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -2615,15 +2683,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b137f7ee-231b-448a-8f5d-347b6cc1306f", - "x-ms-correlation-request-id": "b579f0e4-6c7a-47d3-bf9f-233296c29293", - "x-ms-ratelimit-remaining-subscription-reads": "11968", - "x-ms-routing-request-id": "EASTUS2:20220425T050456Z:b579f0e4-6c7a-47d3-bf9f-233296c29293" + "x-ms-arm-service-request-id": "eba2306f-2975-4047-8308-d2cd7909ce43", + "x-ms-correlation-request-id": "385ff21c-9f52-4dbc-9696-21cf43e728b1", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042747Z:385ff21c-9f52-4dbc-9696-21cf43e728b1" }, "ResponseBody": { "name": "mySecurityPartnerProviderf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProviderf36329e7", - "etag": "W/\u0022ab9d9511-5b86-48cf-bc9b-257f60aac0e2\u0022", + "etag": "W/\u002292b5291b-a889-475e-9bbf-928210ebc983\u0022", "type": "Microsoft.Network/securityPartnerProviders", "location": "westus", "tags": { @@ -2646,17 +2714,17 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 05:04:56 GMT", + "Date": "Fri, 29 Apr 2022 04:27:47 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -2665,21 +2733,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ee80787a-7d67-4d19-b09b-8fadc803c74b", - "x-ms-correlation-request-id": "c4798635-672e-4cc4-a160-63755e6d7a29", + "x-ms-arm-service-request-id": "642827d2-cf7f-4105-a60d-59997ae0e8c8", + "x-ms-correlation-request-id": "8f5b3b02-f7c2-4962-88d9-97023dccc72a", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-routing-request-id": "EASTUS2:20220425T050457Z:c4798635-672e-4cc4-a160-63755e6d7a29" + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042747Z:8f5b3b02-f7c2-4962-88d9-97023dccc72a" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2687,7 +2755,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:05:07 GMT", + "Date": "Fri, 29 Apr 2022 04:27:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -2699,23 +2767,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c3fd2f4d-8327-4b35-993b-056cdb694418", - "x-ms-correlation-request-id": "41bacd9d-4aa5-4b56-9426-fcaabdeafbe5", - "x-ms-ratelimit-remaining-subscription-reads": "11967", - "x-ms-routing-request-id": "EASTUS2:20220425T050507Z:41bacd9d-4aa5-4b56-9426-fcaabdeafbe5" + "x-ms-arm-service-request-id": "445e7180-68d2-4c49-b84c-ba8fe6b8d51d", + "x-ms-correlation-request-id": "77acbdf4-b60c-4544-89ef-9714210afd26", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042758Z:77acbdf4-b60c-4544-89ef-9714210afd26" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2723,7 +2791,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:05:17 GMT", + "Date": "Fri, 29 Apr 2022 04:28:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -2735,23 +2803,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b15e9a7f-0cf0-4d11-a507-bf58b9b26f15", - "x-ms-correlation-request-id": "7ce4d88c-e779-459f-af70-e8f2df22f831", - "x-ms-ratelimit-remaining-subscription-reads": "11966", - "x-ms-routing-request-id": "EASTUS2:20220425T050517Z:7ce4d88c-e779-459f-af70-e8f2df22f831" + "x-ms-arm-service-request-id": "85a3b74d-2c49-440c-9de2-a2f0ac993555", + "x-ms-correlation-request-id": "b5f592b5-6744-466f-aed4-9b4d0a3077cc", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042808Z:b5f592b5-6744-466f-aed4-9b4d0a3077cc" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2759,7 +2827,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:05:37 GMT", + "Date": "Fri, 29 Apr 2022 04:28:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -2771,23 +2839,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "8d3cddd6-7536-48e1-abee-ff52bdaf7894", - "x-ms-correlation-request-id": "957a1cac-17d1-4be6-a197-c75427ce9621", - "x-ms-ratelimit-remaining-subscription-reads": "11965", - "x-ms-routing-request-id": "EASTUS2:20220425T050537Z:957a1cac-17d1-4be6-a197-c75427ce9621" + "x-ms-arm-service-request-id": "212d95b8-8170-4164-b9fc-850acd0563a1", + "x-ms-correlation-request-id": "79b1c49a-06e0-4d39-8482-93e1f047bd30", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042828Z:79b1c49a-06e0-4d39-8482-93e1f047bd30" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2795,7 +2863,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:06:17 GMT", + "Date": "Fri, 29 Apr 2022 04:29:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -2807,23 +2875,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "b40dca9e-8941-4f81-832f-2473210b293c", - "x-ms-correlation-request-id": "1e06116b-e8b5-429a-b619-07dd24caff95", - "x-ms-ratelimit-remaining-subscription-reads": "11964", - "x-ms-routing-request-id": "EASTUS2:20220425T050617Z:1e06116b-e8b5-429a-b619-07dd24caff95" + "x-ms-arm-service-request-id": "b398c128-426d-4e42-a59e-f386ce049a82", + "x-ms-correlation-request-id": "5d771688-f582-49d3-aea4-957f6a142f4a", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T042909Z:5d771688-f582-49d3-aea4-957f6a142f4a" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2831,7 +2899,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:07:37 GMT", + "Date": "Fri, 29 Apr 2022 04:30:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -2843,23 +2911,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "fbc2fe1d-57bc-4880-97da-5e9a4b7b1d80", - "x-ms-correlation-request-id": "054eb4a8-f872-423d-9047-05ea8e2aef96", - "x-ms-ratelimit-remaining-subscription-reads": "11963", - "x-ms-routing-request-id": "EASTUS2:20220425T050737Z:054eb4a8-f872-423d-9047-05ea8e2aef96" + "x-ms-arm-service-request-id": "183e494f-62f4-4463-9a27-847f7deb4d81", + "x-ms-correlation-request-id": "070572ec-14f1-4ce2-b21f-0135694ed93d", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T043030Z:070572ec-14f1-4ce2-b21f-0135694ed93d" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2867,7 +2935,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:10:18 GMT", + "Date": "Fri, 29 Apr 2022 04:33:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -2879,23 +2947,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f695479d-fe47-4b96-b409-96c38f3ad4cb", - "x-ms-correlation-request-id": "963a4059-f37f-4b33-8ab3-2d7db1569fe6", - "x-ms-ratelimit-remaining-subscription-reads": "11962", - "x-ms-routing-request-id": "EASTUS2:20220425T051018Z:963a4059-f37f-4b33-8ab3-2d7db1569fe6" + "x-ms-arm-service-request-id": "1394ea88-1301-4053-909e-085adf8cf925", + "x-ms-correlation-request-id": "d2d86e19-e0ab-4fbd-9725-12548c8705c6", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T043312Z:d2d86e19-e0ab-4fbd-9725-12548c8705c6" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2903,7 +2971,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:11:57 GMT", + "Date": "Fri, 29 Apr 2022 04:34:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -2915,23 +2983,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f775b16a-6050-49ff-8000-7e313c0acb83", - "x-ms-correlation-request-id": "ea4acb6e-3881-4f30-85d1-2401f6f835bb", - "x-ms-ratelimit-remaining-subscription-reads": "11961", - "x-ms-routing-request-id": "EASTUS2:20220425T051158Z:ea4acb6e-3881-4f30-85d1-2401f6f835bb" + "x-ms-arm-service-request-id": "d1fd718b-0cd7-45f7-83ea-fee96ef354bd", + "x-ms-correlation-request-id": "c22e6582-b0dc-47d9-b4d5-46d34e733dfb", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T043453Z:c22e6582-b0dc-47d9-b4d5-46d34e733dfb" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2939,7 +3007,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:13:38 GMT", + "Date": "Fri, 29 Apr 2022 04:36:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -2951,23 +3019,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bdbf2582-73f8-4a15-9cad-3627d0a521cb", - "x-ms-correlation-request-id": "693b862e-79b5-447e-9cd2-04e8d491f0d0", - "x-ms-ratelimit-remaining-subscription-reads": "11960", - "x-ms-routing-request-id": "EASTUS2:20220425T051338Z:693b862e-79b5-447e-9cd2-04e8d491f0d0" + "x-ms-arm-service-request-id": "fb8b6e3b-8f7e-418e-82e8-a85fc174111a", + "x-ms-correlation-request-id": "9bfc6f5a-2f54-4dc3-981a-da5719c6a66e", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T043635Z:9bfc6f5a-2f54-4dc3-981a-da5719c6a66e" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -2975,7 +3043,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:15:18 GMT", + "Date": "Fri, 29 Apr 2022 04:38:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -2987,23 +3055,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "055abab4-6e72-4ea0-aed2-0fd757ff9439", - "x-ms-correlation-request-id": "959269c9-2aa4-49e4-8a9a-c03f96992319", - "x-ms-ratelimit-remaining-subscription-reads": "11959", - "x-ms-routing-request-id": "EASTUS2:20220425T051518Z:959269c9-2aa4-49e4-8a9a-c03f96992319" + "x-ms-arm-service-request-id": "f5d34c51-d48b-4a86-8802-01a7d5851052", + "x-ms-correlation-request-id": "efdc4920-5ab7-452d-a8c0-298b18bfb90c", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T043818Z:efdc4920-5ab7-452d-a8c0-298b18bfb90c" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3011,7 +3079,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:16:59 GMT", + "Date": "Fri, 29 Apr 2022 04:39:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3023,23 +3091,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ebdd66de-560e-45a4-a78e-fbe14fb30b79", - "x-ms-correlation-request-id": "29661b39-e756-4bb6-9321-4d04123712c0", - "x-ms-ratelimit-remaining-subscription-reads": "11958", - "x-ms-routing-request-id": "EASTUS2:20220425T051659Z:29661b39-e756-4bb6-9321-4d04123712c0" + "x-ms-arm-service-request-id": "ce2d34f1-68a0-4ee9-b8cd-d2b84f05198b", + "x-ms-correlation-request-id": "7a922fdb-9e09-4eac-a0dd-40e86cfccd79", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T043959Z:7a922fdb-9e09-4eac-a0dd-40e86cfccd79" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3047,7 +3115,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:18:39 GMT", + "Date": "Fri, 29 Apr 2022 04:41:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3059,23 +3127,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c1495d2d-0a1e-4625-b0c0-988601f54e71", - "x-ms-correlation-request-id": "6b688ea8-b9c8-4ac2-b516-e3be9a0d9684", - "x-ms-ratelimit-remaining-subscription-reads": "11957", - "x-ms-routing-request-id": "EASTUS2:20220425T051839Z:6b688ea8-b9c8-4ac2-b516-e3be9a0d9684" + "x-ms-arm-service-request-id": "57668664-474a-4f84-9602-47b3c1460814", + "x-ms-correlation-request-id": "30aa95cf-c7dc-47a1-90d4-6e48ff6b6c33", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T044140Z:30aa95cf-c7dc-47a1-90d4-6e48ff6b6c33" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3083,7 +3151,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:20:20 GMT", + "Date": "Fri, 29 Apr 2022 04:43:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3095,23 +3163,68 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "74e93887-2443-466a-9dc4-ce41dfa80d83", - "x-ms-correlation-request-id": "9f82d2a2-3f4e-4cfa-8246-4a8051cedb51", - "x-ms-ratelimit-remaining-subscription-reads": "11956", - "x-ms-routing-request-id": "EASTUS2:20220425T052020Z:9f82d2a2-3f4e-4cfa-8246-4a8051cedb51" + "x-ms-arm-service-request-id": "59613cc9-4bbe-483e-882c-1d9a2382c5fd", + "x-ms-correlation-request-id": "dc608360-218a-4735-83c8-25870697d8c4", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T044322Z:dc608360-218a-4735-83c8-25870697d8c4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Accept-Encoding": "gzip, deflate", + "client-request-id": "413009f6-cc2d-49e8-a089-937b7a9bfd4a", + "Connection": "keep-alive", + "Content-Length": "291", + "Content-Type": "application/x-www-form-urlencoded", + "Cookie": "cookie;", + "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.6.8 (Windows-10-10.0.19041-SP0)", + "x-client-cpu": "x64", + "x-client-current-telemetry": "4|730,0|", + "x-client-last-telemetry": "4|0|||", + "x-client-os": "win32", + "x-client-sku": "MSAL.Python", + "x-client-ver": "1.17.0", + "x-ms-lib-capability": "retry-after, h429" + }, + "RequestBody": "client_id=a2df54d5-ab03-4725-9b80-9a00b3b1967f\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=0vj7Q%7EIsFayrD0V_8oyOfygU-GE3ELOabq95a\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-store, no-cache", + "client-request-id": "413009f6-cc2d-49e8-a089-937b7a9bfd4a", + "Content-Length": "93", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 29 Apr 2022 04:45:03 GMT", + "Expires": "-1", + "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", + "Pragma": "no-cache", + "Set-Cookie": "[set-cookie;]", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-clitelem": "1,0,0,,", + "x-ms-ests-server": "2.1.12651.9 - EUS ProdSlices", + "X-XSS-Protection": "0" + }, + "ResponseBody": { + "token_type": "Bearer", + "expires_in": 3599, + "ext_expires_in": 3599, + "access_token": "access_token" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3119,7 +3232,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:21:59 GMT", + "Date": "Fri, 29 Apr 2022 04:45:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3131,23 +3244,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "968ceb93-cf1c-46f0-b350-aeded5143572", - "x-ms-correlation-request-id": "4cd1ddb3-cd82-4df4-9c6c-c4297faaa499", - "x-ms-ratelimit-remaining-subscription-reads": "11955", - "x-ms-routing-request-id": "EASTUS2:20220425T052200Z:4cd1ddb3-cd82-4df4-9c6c-c4297faaa499" + "x-ms-arm-service-request-id": "78943cfb-732c-422a-aa5c-a6c02d08b5b6", + "x-ms-correlation-request-id": "b90bf819-a332-4e69-8c67-f9c18ef0b5a3", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T044504Z:b90bf819-a332-4e69-8c67-f9c18ef0b5a3" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3155,7 +3268,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:23:39 GMT", + "Date": "Fri, 29 Apr 2022 04:46:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3167,68 +3280,95 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3d912bbd-25fe-4f76-aa84-f7a6a85d9dce", - "x-ms-correlation-request-id": "4cbb26b4-d82d-4643-b356-f09bd3df4359", - "x-ms-ratelimit-remaining-subscription-reads": "11954", - "x-ms-routing-request-id": "EASTUS2:20220425T052340Z:4cbb26b4-d82d-4643-b356-f09bd3df4359" + "x-ms-arm-service-request-id": "88d540cf-96a0-4080-9815-9c0687d26734", + "x-ms-correlation-request-id": "e3ccfc48-67d4-4cf1-b511-194e2e0a3e29", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T044646Z:e3ccfc48-67d4-4cf1-b511-194e2e0a3e29" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token", - "RequestMethod": "POST", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", + "RequestMethod": "GET", "RequestHeaders": { - "Accept": "application/json", + "Accept": "*/*", "Accept-Encoding": "gzip, deflate", - "client-request-id": "b929fd68-0c12-449e-a0ad-ac4a35824f0d", "Connection": "keep-alive", - "Content-Length": "286", - "Content-Type": "application/x-www-form-urlencoded", - "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", - "x-client-cpu": "x64", - "x-client-current-telemetry": "4|730,0|", - "x-client-last-telemetry": "4|0|||", - "x-client-os": "linux", - "x-client-sku": "MSAL.Python", - "x-client-ver": "1.17.0", - "x-ms-lib-capability": "retry-after, h429" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, - "RequestBody": "client_id=8c41a920-007a-4844-a189-2d0efe39f51e\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=o0XWF_siD-FhI.5AE83-u0GaQHW_GP7cjy\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fmanagement.azure.com%2F.default", + "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Cache-Control": "no-store, no-cache", - "client-request-id": "b929fd68-0c12-449e-a0ad-ac4a35824f0d", - "Content-Length": "93", + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:25:20 GMT", + "Date": "Fri, 29 Apr 2022 04:48:26 GMT", "Expires": "-1", - "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", - "Set-Cookie": "[set-cookie;]", + "Retry-After": "100", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", - "X-XSS-Protection": "0" + "x-ms-arm-service-request-id": "56f03ebb-b12d-4ba8-bcf2-6eda8629a74d", + "x-ms-correlation-request-id": "7f2a6f71-3264-4273-bb75-a606466c0e17", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T044827Z:7f2a6f71-3264-4273-bb75-a606466c0e17" }, "ResponseBody": { - "token_type": "Bearer", - "expires_in": 3599, - "ext_expires_in": 3599, - "access_token": "access_token" + "status": "InProgress" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Encoding": "gzip", + "Content-Type": "application/json; charset=utf-8", + "Date": "Fri, 29 Apr 2022 04:50:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Retry-After": "100", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Transfer-Encoding": "chunked", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-arm-service-request-id": "09b729fb-ac56-494b-8570-067753480156", + "x-ms-correlation-request-id": "841bb7ee-79ac-43a5-b31e-43db8e5eea96", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T045008Z:841bb7ee-79ac-43a5-b31e-43db8e5eea96" + }, + "ResponseBody": { + "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3236,7 +3376,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:25:21 GMT", + "Date": "Fri, 29 Apr 2022 04:51:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3248,23 +3388,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5e96db4c-a1c4-4437-be58-dabbf9a82bf3", - "x-ms-correlation-request-id": "ff33cd3a-188e-4b31-8d04-b0bdd757287b", - "x-ms-ratelimit-remaining-subscription-reads": "11953", - "x-ms-routing-request-id": "EASTUS2:20220425T052521Z:ff33cd3a-188e-4b31-8d04-b0bdd757287b" + "x-ms-arm-service-request-id": "37b6ab83-4d38-4e10-a570-d52d79ea360c", + "x-ms-correlation-request-id": "28026d89-ee43-481a-8677-aab6764a0489", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T045150Z:28026d89-ee43-481a-8677-aab6764a0489" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3272,7 +3412,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:27:00 GMT", + "Date": "Fri, 29 Apr 2022 04:53:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3284,23 +3424,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9165695b-56f5-4e7c-b6a2-fb1f20796a0a", - "x-ms-correlation-request-id": "8c301449-c079-4b2e-bde1-4c68afb987cc", - "x-ms-ratelimit-remaining-subscription-reads": "11952", - "x-ms-routing-request-id": "EASTUS2:20220425T052701Z:8c301449-c079-4b2e-bde1-4c68afb987cc" + "x-ms-arm-service-request-id": "36d6e9b6-9f87-4a6c-b8d5-fd30c5d58fb3", + "x-ms-correlation-request-id": "9fead144-6b61-45b3-a6d4-1aed65bd3840", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T045331Z:9fead144-6b61-45b3-a6d4-1aed65bd3840" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3308,7 +3448,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:28:41 GMT", + "Date": "Fri, 29 Apr 2022 04:55:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3320,23 +3460,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5a9796c6-0069-47df-87ab-a1557c2ad1bc", - "x-ms-correlation-request-id": "f6645049-6707-4ca0-9435-28d179be4bcb", - "x-ms-ratelimit-remaining-subscription-reads": "11951", - "x-ms-routing-request-id": "EASTUS2:20220425T052841Z:f6645049-6707-4ca0-9435-28d179be4bcb" + "x-ms-arm-service-request-id": "149b0929-f371-487d-bdf3-f9c7d3cca850", + "x-ms-correlation-request-id": "1c4f7ca0-5eb1-4826-b6bc-264d3ba4c579", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T045512Z:1c4f7ca0-5eb1-4826-b6bc-264d3ba4c579" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3344,7 +3484,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:30:20 GMT", + "Date": "Fri, 29 Apr 2022 04:56:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3356,23 +3496,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5318015c-cc90-4e98-99cc-2c0c7a6febf7", - "x-ms-correlation-request-id": "7d1f99a3-5424-4330-9772-bb7b05b19207", - "x-ms-ratelimit-remaining-subscription-reads": "11950", - "x-ms-routing-request-id": "EASTUS2:20220425T053021Z:7d1f99a3-5424-4330-9772-bb7b05b19207" + "x-ms-arm-service-request-id": "c831230d-81d1-4041-9af0-0caa1e4e3b2a", + "x-ms-correlation-request-id": "bc156370-ed2a-4094-843b-e1a4c347c94a", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T045654Z:bc156370-ed2a-4094-843b-e1a4c347c94a" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3380,7 +3520,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:32:01 GMT", + "Date": "Fri, 29 Apr 2022 04:58:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -3392,23 +3532,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "db8dd914-c9e1-49b5-8d0a-56a93baacd20", - "x-ms-correlation-request-id": "f081842c-0aa8-4b8a-bb87-c496f716c991", - "x-ms-ratelimit-remaining-subscription-reads": "11949", - "x-ms-routing-request-id": "EASTUS2:20220425T053201Z:f081842c-0aa8-4b8a-bb87-c496f716c991" + "x-ms-arm-service-request-id": "f73d04b3-fb63-49e5-a3dd-bb160fa18e99", + "x-ms-correlation-request-id": "1eff05d3-f356-4715-af70-49f3e7a4d0ac", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T045835Z:1eff05d3-f356-4715-af70-49f3e7a4d0ac" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3416,7 +3556,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:42 GMT", + "Date": "Fri, 29 Apr 2022 05:00:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3427,10 +3567,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "77e1718a-4dd2-497e-bce9-b642e35ca51d", - "x-ms-correlation-request-id": "7d6f04db-5a9c-496b-9689-be2be49a3e14", - "x-ms-ratelimit-remaining-subscription-reads": "11948", - "x-ms-routing-request-id": "EASTUS2:20220425T053342Z:7d6f04db-5a9c-496b-9689-be2be49a3e14" + "x-ms-arm-service-request-id": "1ffc9a11-575c-4fb2-a883-2274a89c2403", + "x-ms-correlation-request-id": "472764af-638b-4e98-aa67-e14f959a8df1", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050017Z:472764af-638b-4e98-aa67-e14f959a8df1" }, "ResponseBody": { "status": "Succeeded", @@ -3438,24 +3578,24 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:42 GMT", + "Date": "Fri, 29 Apr 2022 05:00:17 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e76202ad-b025-4b8f-af3c-59a607a641cf?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/bf39582e-b4a8-444d-aca5-376bfc7242ed?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -3465,10 +3605,10 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ee80787a-7d67-4d19-b09b-8fadc803c74b", - "x-ms-correlation-request-id": "c4798635-672e-4cc4-a160-63755e6d7a29", - "x-ms-ratelimit-remaining-subscription-reads": "11947", - "x-ms-routing-request-id": "EASTUS2:20220425T053342Z:fdff36aa-d976-4459-99b8-12494c062d55" + "x-ms-arm-service-request-id": "642827d2-cf7f-4105-a60d-59997ae0e8c8", + "x-ms-correlation-request-id": "8f5b3b02-f7c2-4962-88d9-97023dccc72a", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050017Z:42c029fc-01b5-403d-a59c-335a9e9afca4" }, "ResponseBody": "null" }, @@ -3481,7 +3621,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "tags": { @@ -3495,7 +3635,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:42 GMT", + "Date": "Fri, 29 Apr 2022 05:00:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -3507,15 +3647,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e131bd02-8335-4e69-b0da-518801410b33", - "x-ms-correlation-request-id": "eba536b2-32a5-4898-82e2-a75d0a47fca9", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-routing-request-id": "EASTUS2:20220425T053342Z:eba536b2-32a5-4898-82e2-a75d0a47fca9" + "x-ms-arm-service-request-id": "72299635-6bf6-4d3f-bd88-6ecf2f855674", + "x-ms-correlation-request-id": "82ab18a9-c23b-40b2-b5ef-d9bbf01b736b", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050023Z:82ab18a9-c23b-40b2-b5ef-d9bbf01b736b" }, "ResponseBody": { "name": "virtualhubxf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubxf36329e7", - "etag": "W/\u0022689b1775-20e8-4bb9-9cdf-653f19a31bae\u0022", + "etag": "W/\u002267a5bf51-dad3-4883-a34b-bf1ded3c1aa3\u0022", "type": "Microsoft.Network/virtualHubs", "location": "westus", "tags": { @@ -3528,8 +3668,8 @@ "addressPrefix": "10.168.0.0/24", "virtualRouterAsn": 65515, "virtualRouterIps": [ - "10.168.0.69", - "10.168.0.68" + "10.168.0.68", + "10.168.0.69" ], "routeTable": { "routes": [] @@ -3565,7 +3705,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "tags": { @@ -3579,7 +3719,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:42 GMT", + "Date": "Fri, 29 Apr 2022 05:00:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3590,15 +3730,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "79745863-23e5-483c-b6a7-28e74e525f49", - "x-ms-correlation-request-id": "f72d6029-a75d-44e1-8015-f46514a14e84", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-routing-request-id": "EASTUS2:20220425T053343Z:f72d6029-a75d-44e1-8015-f46514a14e84" + "x-ms-arm-service-request-id": "111d02a0-06e7-4fe3-8baf-410c2e70d6e2", + "x-ms-correlation-request-id": "54d319c5-47c0-48dd-8f2a-ab8d52694646", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050027Z:54d319c5-47c0-48dd-8f2a-ab8d52694646" }, "ResponseBody": { "name": "virtualwanf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwanf36329e7", - "etag": "W/\u002290944434-4f00-499a-a15a-84f149135c32\u0022", + "etag": "W/\u00227000c958-70fe-4e9c-842f-ac46bde0d101\u0022", "type": "Microsoft.Network/virtualWans", "location": "westus", "tags": { @@ -3633,7 +3773,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "tags": { @@ -3647,7 +3787,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:43 GMT", + "Date": "Fri, 29 Apr 2022 05:00:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3658,15 +3798,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "04b04d26-0382-4b55-8529-70b47192ae2f", - "x-ms-correlation-request-id": "b33c2796-e9eb-4247-9653-164768136b6d", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-routing-request-id": "EASTUS2:20220425T053343Z:b33c2796-e9eb-4247-9653-164768136b6d" + "x-ms-arm-service-request-id": "72055566-563d-4552-9de4-0e35bd6bdfde", + "x-ms-correlation-request-id": "2d886f14-710c-4e67-a9d7-c49a898e1159", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050029Z:2d886f14-710c-4e67-a9d7-c49a898e1159" }, "ResponseBody": { "name": "vnpsitef36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsitef36329e7", - "etag": "W/\u0022c634004c-8ce7-4949-af7a-c07991b537e8\u0022", + "etag": "W/\u0022fd2dd8ed-b560-4076-aa88-a57793514496\u0022", "type": "Microsoft.Network/vpnSites", "location": "westus", "tags": { @@ -3698,7 +3838,7 @@ { "name": "vpnSiteLink1", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsitef36329e7/vpnSiteLinks/vpnSiteLink1", - "etag": "W/\u0022c634004c-8ce7-4949-af7a-c07991b537e8\u0022", + "etag": "W/\u0022fd2dd8ed-b560-4076-aa88-a57793514496\u0022", "properties": { "provisioningState": "Succeeded", "ipAddress": "50.50.50.56", @@ -3726,7 +3866,7 @@ "Connection": "keep-alive", "Content-Length": "46", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": { "tags": { @@ -3740,7 +3880,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:43 GMT", + "Date": "Fri, 29 Apr 2022 05:00:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3751,15 +3891,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "738f0654-bec7-47b2-aeb5-8099930d6591", - "x-ms-correlation-request-id": "a6cce421-fd2e-4e25-92f2-9aed9335fa1b", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-routing-request-id": "EASTUS2:20220425T053343Z:a6cce421-fd2e-4e25-92f2-9aed9335fa1b" + "x-ms-arm-service-request-id": "f7d5deff-668f-4ba6-b856-52bba0d2fe39", + "x-ms-correlation-request-id": "699d69af-1a80-4443-9093-bbc2a8c06928", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050036Z:699d69af-1a80-4443-9093-bbc2a8c06928" }, "ResponseBody": { "name": "mySecurityPartnerProviderf36329e7", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProviderf36329e7", - "etag": "W/\u0022ae00bb6d-6e71-485e-9c53-2cf2111effd9\u0022", + "etag": "W/\u0022da9c29ab-afd6-497e-8aa7-e17f8feddefd\u0022", "type": "Microsoft.Network/securityPartnerProviders", "location": "westus", "tags": { @@ -3783,18 +3923,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cd31d867-9f32-41e4-8e2b-d4c8b16e802a?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/796e5793-357b-4c91-ab40-3fa72cd19f80?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 05:33:43 GMT", + "Date": "Fri, 29 Apr 2022 05:00:37 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cd31d867-9f32-41e4-8e2b-d4c8b16e802a?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/796e5793-357b-4c91-ab40-3fa72cd19f80?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -3803,21 +3943,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f6288873-7fd2-4b91-bd2a-a473b02fd9d8", - "x-ms-correlation-request-id": "16fdecdb-aa71-4105-ba0a-ed9265f878b5", + "x-ms-arm-service-request-id": "98ac1c6f-52aa-4cfc-bc1d-c6e583d93149", + "x-ms-correlation-request-id": "589ef31b-57af-4947-88bb-d1c33cce9db5", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-routing-request-id": "EASTUS2:20220425T053344Z:16fdecdb-aa71-4105-ba0a-ed9265f878b5" + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050037Z:589ef31b-57af-4947-88bb-d1c33cce9db5" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cd31d867-9f32-41e4-8e2b-d4c8b16e802a?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/796e5793-357b-4c91-ab40-3fa72cd19f80?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3825,7 +3965,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:53 GMT", + "Date": "Fri, 29 Apr 2022 05:00:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -3836,34 +3976,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "c92cd084-d70d-4add-8dec-ef9543680ed3", - "x-ms-correlation-request-id": "e00d0bbd-9e35-4413-9483-6b8201b1cb11", - "x-ms-ratelimit-remaining-subscription-reads": "11946", - "x-ms-routing-request-id": "EASTUS2:20220425T053354Z:e00d0bbd-9e35-4413-9483-6b8201b1cb11" + "x-ms-arm-service-request-id": "8d20f0f0-8144-4d1f-a114-ed34f4441ff6", + "x-ms-correlation-request-id": "36a85487-73ad-48c9-bf13-24be87b57983", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050047Z:36a85487-73ad-48c9-bf13-24be87b57983" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cd31d867-9f32-41e4-8e2b-d4c8b16e802a?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/796e5793-357b-4c91-ab40-3fa72cd19f80?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cd31d867-9f32-41e4-8e2b-d4c8b16e802a?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/796e5793-357b-4c91-ab40-3fa72cd19f80?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:33:53 GMT", + "Date": "Fri, 29 Apr 2022 05:00:47 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cd31d867-9f32-41e4-8e2b-d4c8b16e802a?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/796e5793-357b-4c91-ab40-3fa72cd19f80?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -3871,10 +4011,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f6288873-7fd2-4b91-bd2a-a473b02fd9d8", - "x-ms-correlation-request-id": "16fdecdb-aa71-4105-ba0a-ed9265f878b5", - "x-ms-ratelimit-remaining-subscription-reads": "11945", - "x-ms-routing-request-id": "EASTUS2:20220425T053354Z:ff5e1a4b-c34a-45dc-82d9-9d0f9d8f33ba" + "x-ms-arm-service-request-id": "98ac1c6f-52aa-4cfc-bc1d-c6e583d93149", + "x-ms-correlation-request-id": "589ef31b-57af-4947-88bb-d1c33cce9db5", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050048Z:bd4d13ac-1e84-426c-ad96-b6ab6dfa5aea" }, "ResponseBody": null }, @@ -3886,18 +4026,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 05:33:53 GMT", + "Date": "Fri, 29 Apr 2022 05:00:48 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -3906,21 +4046,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "80adfaea-7d65-4b98-a9d2-2305e451318d", - "x-ms-correlation-request-id": "01dd626d-f645-41fa-86df-893aedfd064d", + "x-ms-arm-service-request-id": "b003b08e-eeb3-4606-80d3-30d50b655172", + "x-ms-correlation-request-id": "a64c4ee4-3646-40ec-a7e9-247f49e2e278", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-routing-request-id": "EASTUS2:20220425T053354Z:01dd626d-f645-41fa-86df-893aedfd064d" + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050049Z:a64c4ee4-3646-40ec-a7e9-247f49e2e278" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3928,7 +4068,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:34:03 GMT", + "Date": "Fri, 29 Apr 2022 05:00:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -3940,23 +4080,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "483186df-6cd5-4979-9143-cad4f55d40e1", - "x-ms-correlation-request-id": "ec132272-2162-4ff7-b3c5-d2dd0cf80d43", - "x-ms-ratelimit-remaining-subscription-reads": "11944", - "x-ms-routing-request-id": "EASTUS2:20220425T053404Z:ec132272-2162-4ff7-b3c5-d2dd0cf80d43" + "x-ms-arm-service-request-id": "10441930-0672-418d-8d2e-329b8b70f2f9", + "x-ms-correlation-request-id": "d00e18ad-d81c-4309-a319-1902ffede96a", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050059Z:d00e18ad-d81c-4309-a319-1902ffede96a" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -3964,7 +4104,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:34:14 GMT", + "Date": "Fri, 29 Apr 2022 05:01:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -3976,23 +4116,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "7ae06217-f17b-4cf3-96b8-a4d317fc498b", - "x-ms-correlation-request-id": "b28658b3-4630-4829-a5a1-36b0ff9b4a64", - "x-ms-ratelimit-remaining-subscription-reads": "11943", - "x-ms-routing-request-id": "EASTUS2:20220425T053414Z:b28658b3-4630-4829-a5a1-36b0ff9b4a64" + "x-ms-arm-service-request-id": "15eb8675-0f61-488a-a6eb-1a99dc0eb8bd", + "x-ms-correlation-request-id": "d5ac5cf2-a98f-40bc-8f37-6ba2d5477cef", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050109Z:d5ac5cf2-a98f-40bc-8f37-6ba2d5477cef" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4000,7 +4140,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:34:34 GMT", + "Date": "Fri, 29 Apr 2022 05:01:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -4012,23 +4152,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "209123ad-e11a-4b2c-8a27-ed9bb2bcc173", - "x-ms-correlation-request-id": "df6bef27-6f28-4ed9-ba8e-c9b63b0501e7", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-routing-request-id": "EASTUS2:20220425T053434Z:df6bef27-6f28-4ed9-ba8e-c9b63b0501e7" + "x-ms-arm-service-request-id": "e65f3f58-900b-42af-964f-2bae8468495c", + "x-ms-correlation-request-id": "96cd5843-0510-4f87-a558-6802f3589fb5", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050130Z:96cd5843-0510-4f87-a558-6802f3589fb5" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4036,7 +4176,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:34:55 GMT", + "Date": "Fri, 29 Apr 2022 05:01:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -4048,23 +4188,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "3c14d03c-1511-42a3-9832-b0d968ce75b4", - "x-ms-correlation-request-id": "9ad28ce7-4268-4ff4-9eb2-46e4e30b3303", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-routing-request-id": "EASTUS2:20220425T053455Z:9ad28ce7-4268-4ff4-9eb2-46e4e30b3303" + "x-ms-arm-service-request-id": "e2850e02-dd70-4332-9172-e4a21b66c458", + "x-ms-correlation-request-id": "f3c7146b-3712-47be-bcc0-081090bb86fd", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050150Z:f3c7146b-3712-47be-bcc0-081090bb86fd" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4072,7 +4212,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:35:34 GMT", + "Date": "Fri, 29 Apr 2022 05:02:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -4084,23 +4224,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "ba09e704-df0d-41e6-a1a7-170c7a273d1d", - "x-ms-correlation-request-id": "12718c6b-a563-4ec1-871d-fb122ed84452", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-routing-request-id": "EASTUS2:20220425T053535Z:12718c6b-a563-4ec1-871d-fb122ed84452" + "x-ms-arm-service-request-id": "05249d19-01cd-445d-95fa-b0355d9ed214", + "x-ms-correlation-request-id": "4e0b94f5-dfd7-4d86-bbc4-6eb933772c10", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050230Z:4e0b94f5-dfd7-4d86-bbc4-6eb933772c10" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4108,7 +4248,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:36:15 GMT", + "Date": "Fri, 29 Apr 2022 05:03:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -4120,23 +4260,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "5403563b-403d-4690-bed2-c5717f41fb2d", - "x-ms-correlation-request-id": "1f33ef7c-af5e-4afe-95ac-db3e4a4edd14", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-routing-request-id": "EASTUS2:20220425T053615Z:1f33ef7c-af5e-4afe-95ac-db3e4a4edd14" + "x-ms-arm-service-request-id": "c1aa7452-7477-4a40-b2e8-4f1cfb7ec4fa", + "x-ms-correlation-request-id": "efbca1fd-03fc-466f-bd46-aa94627f28b1", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050311Z:efbca1fd-03fc-466f-bd46-aa94627f28b1" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4144,7 +4284,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:37:35 GMT", + "Date": "Fri, 29 Apr 2022 05:04:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -4156,23 +4296,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "522db156-d474-4627-ba07-fc5a8d90d41b", - "x-ms-correlation-request-id": "d5987a38-be07-4753-8569-0f5663723623", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-routing-request-id": "EASTUS2:20220425T053736Z:d5987a38-be07-4753-8569-0f5663723623" + "x-ms-arm-service-request-id": "ca566b5d-81f3-4455-8ba3-61bfe6204260", + "x-ms-correlation-request-id": "b2461e34-5f8c-497a-8a46-b7509014faf6", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050432Z:b2461e34-5f8c-497a-8a46-b7509014faf6" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4180,7 +4320,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:40:15 GMT", + "Date": "Fri, 29 Apr 2022 05:07:13 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4192,23 +4332,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "f92a3de4-6da5-45f7-bc49-8081c085ab03", - "x-ms-correlation-request-id": "6288c0ab-9491-4b4d-b23c-8fb8b0e810e2", - "x-ms-ratelimit-remaining-subscription-reads": "11946", - "x-ms-routing-request-id": "EASTUS2:20220425T054016Z:6288c0ab-9491-4b4d-b23c-8fb8b0e810e2" + "x-ms-arm-service-request-id": "e011c8ec-4afa-4d58-97d1-b6c15209e51b", + "x-ms-correlation-request-id": "bab0870b-f605-497c-a616-78417737e2c4", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050713Z:bab0870b-f605-497c-a616-78417737e2c4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4216,7 +4356,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:41:56 GMT", + "Date": "Fri, 29 Apr 2022 05:08:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4228,23 +4368,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6dda85af-e6f4-48ff-9061-537b90339509", - "x-ms-correlation-request-id": "6bba5a7f-d7a0-4619-a761-df25f25ec531", - "x-ms-ratelimit-remaining-subscription-reads": "11945", - "x-ms-routing-request-id": "EASTUS2:20220425T054156Z:6bba5a7f-d7a0-4619-a761-df25f25ec531" + "x-ms-arm-service-request-id": "6758a2b2-07a5-467c-98fa-89954f5cc72d", + "x-ms-correlation-request-id": "5037e600-605f-4deb-851d-5c0fce529b86", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T050854Z:5037e600-605f-4deb-851d-5c0fce529b86" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4252,7 +4392,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:43:36 GMT", + "Date": "Fri, 29 Apr 2022 05:10:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4264,23 +4404,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "a3e95ecd-9c27-4354-a4a6-fdba70764730", - "x-ms-correlation-request-id": "29c68038-a6a3-401f-ab17-227fd80c275d", - "x-ms-ratelimit-remaining-subscription-reads": "11944", - "x-ms-routing-request-id": "EASTUS2:20220425T054336Z:29c68038-a6a3-401f-ab17-227fd80c275d" + "x-ms-arm-service-request-id": "b19f3ead-86f5-4940-a4e8-86f66d4dd00c", + "x-ms-correlation-request-id": "f9c5189a-ab19-4002-a2d7-7ac82ca4bf9b", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051036Z:f9c5189a-ab19-4002-a2d7-7ac82ca4bf9b" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4288,7 +4428,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:45:16 GMT", + "Date": "Fri, 29 Apr 2022 05:12:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4300,23 +4440,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "67e27e17-349f-4cb2-99ea-d2e94001d83c", - "x-ms-correlation-request-id": "6007364a-f285-48c2-bfe6-70266ff656a4", - "x-ms-ratelimit-remaining-subscription-reads": "11946", - "x-ms-routing-request-id": "EASTUS2:20220425T054516Z:6007364a-f285-48c2-bfe6-70266ff656a4" + "x-ms-arm-service-request-id": "c4132d48-6e5a-4ddf-8dd6-4c7dfe6b5b02", + "x-ms-correlation-request-id": "dcc2e4f6-0a96-4728-94fb-bc94e50bfc6d", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051217Z:dcc2e4f6-0a96-4728-94fb-bc94e50bfc6d" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4324,7 +4464,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:46:56 GMT", + "Date": "Fri, 29 Apr 2022 05:13:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4336,31 +4476,31 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "cd9594ea-8014-4ac8-981c-23c4d86fd51d", - "x-ms-correlation-request-id": "35bad2ac-4368-4ca7-ba65-39fec4e3341b", - "x-ms-ratelimit-remaining-subscription-reads": "11945", - "x-ms-routing-request-id": "EASTUS2:20220425T054657Z:35bad2ac-4368-4ca7-ba65-39fec4e3341b" + "x-ms-arm-service-request-id": "ffa6da70-333f-47a2-8519-112a613a8c1c", + "x-ms-correlation-request-id": "ed87edd7-8b49-481f-bf54-caf593b52d63", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051358Z:ed87edd7-8b49-481f-bf54-caf593b52d63" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "29", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:48:37 GMT", + "Date": "Fri, 29 Apr 2022 05:15:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4368,37 +4508,35 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "e5664626-a942-4429-bf50-dafc07582397", - "x-ms-correlation-request-id": "508198f6-4ebc-4b75-8e5e-28db92742885", - "x-ms-ratelimit-remaining-subscription-reads": "11944", - "x-ms-routing-request-id": "EASTUS2:20220425T054837Z:508198f6-4ebc-4b75-8e5e-28db92742885" + "x-ms-arm-service-request-id": "72a2c700-015e-408d-bb74-1f9784041351", + "x-ms-correlation-request-id": "02547c30-b082-4093-89ec-cbbd982293c5", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051540Z:02547c30-b082-4093-89ec-cbbd982293c5" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:48:37 GMT", + "Date": "Fri, 29 Apr 2022 05:15:39 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/51a59874-f2bb-436d-9041-d2f33beeedd9?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c4acee6b-fcee-4a34-87fd-30b2f6534661?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -4406,10 +4544,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "80adfaea-7d65-4b98-a9d2-2305e451318d", - "x-ms-correlation-request-id": "01dd626d-f645-41fa-86df-893aedfd064d", - "x-ms-ratelimit-remaining-subscription-reads": "11943", - "x-ms-routing-request-id": "EASTUS2:20220425T054837Z:943e253d-2106-4ada-a2a7-ea13c111703d" + "x-ms-arm-service-request-id": "b003b08e-eeb3-4606-80d3-30d50b655172", + "x-ms-correlation-request-id": "a64c4ee4-3646-40ec-a7e9-247f49e2e278", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051540Z:8e164cb9-12f6-43e2-86e8-b9fdac682357" }, "ResponseBody": null }, @@ -4421,18 +4559,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 05:48:37 GMT", + "Date": "Fri, 29 Apr 2022 05:15:40 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -4441,29 +4579,29 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2afe658e-ad6f-4974-a58a-fc4526b391c0", - "x-ms-correlation-request-id": "be6038d3-f47d-49f9-874d-b8881f0a1644", - "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-routing-request-id": "EASTUS2:20220425T054838Z:be6038d3-f47d-49f9-874d-b8881f0a1644" + "x-ms-arm-service-request-id": "063c53aa-d8ec-40fb-b300-a77efe4d9e94", + "x-ms-correlation-request-id": "ed508309-5eba-4a01-a32a-cfe8b6f67acd", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051541Z:ed508309-5eba-4a01-a32a-cfe8b6f67acd" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "30", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:48:47 GMT", + "Date": "Fri, 29 Apr 2022 05:15:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "10", @@ -4472,34 +4610,32 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "395d8b33-8828-4bdd-ad1c-6910be982135", - "x-ms-correlation-request-id": "d4bb95b7-ab79-4f9c-b771-5aa43ac64f1e", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-routing-request-id": "EASTUS2:20220425T054848Z:d4bb95b7-ab79-4f9c-b771-5aa43ac64f1e" + "x-ms-arm-service-request-id": "27afe64e-9afc-403d-bb02-e70eae2a847b", + "x-ms-correlation-request-id": "5bbcf4e5-a5a2-41b1-94e6-8e984dc7d579", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051551Z:5bbcf4e5-a5a2-41b1-94e6-8e984dc7d579" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "30", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:48:57 GMT", + "Date": "Fri, 29 Apr 2022 05:16:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -4508,34 +4644,32 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0140999b-ae42-40c5-932a-188a40faf2d4", - "x-ms-correlation-request-id": "dc1e1476-3b7a-4556-a5f2-5de50397c17a", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-routing-request-id": "EASTUS2:20220425T054858Z:dc1e1476-3b7a-4556-a5f2-5de50397c17a" + "x-ms-arm-service-request-id": "752f606a-28d1-4d3a-acb4-fa3afa4e962a", + "x-ms-correlation-request-id": "2ece11b2-a843-4053-9d84-f427be37865f", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051601Z:2ece11b2-a843-4053-9d84-f427be37865f" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "30", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:49:18 GMT", + "Date": "Fri, 29 Apr 2022 05:16:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "20", @@ -4544,34 +4678,32 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "67c5f4f7-d077-436a-9678-0ef9405efe3f", - "x-ms-correlation-request-id": "20544dca-6b77-41d4-a7be-2b8c72e52ed8", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-routing-request-id": "EASTUS2:20220425T054918Z:20544dca-6b77-41d4-a7be-2b8c72e52ed8" + "x-ms-arm-service-request-id": "5229b31c-ea1e-499e-9f59-2585fe306660", + "x-ms-correlation-request-id": "36eb3c62-4d54-42b6-84fc-e94a2886752e", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051622Z:36eb3c62-4d54-42b6-84fc-e94a2886752e" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "30", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:49:37 GMT", + "Date": "Fri, 29 Apr 2022 05:16:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -4580,34 +4712,32 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "8c8e91b6-2a99-430e-a649-c2160c853b61", - "x-ms-correlation-request-id": "263ef825-34c4-43a1-b915-6303f9ebf0fe", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-routing-request-id": "EASTUS2:20220425T054938Z:263ef825-34c4-43a1-b915-6303f9ebf0fe" + "x-ms-arm-service-request-id": "8b52eecc-a53f-4936-8065-c773f6532291", + "x-ms-correlation-request-id": "f739a9d5-a355-4a2b-b9de-c47f11b6c869", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051642Z:f739a9d5-a355-4a2b-b9de-c47f11b6c869" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "30", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:50:18 GMT", + "Date": "Fri, 29 Apr 2022 05:17:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "40", @@ -4616,34 +4746,32 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "9691e183-9e7d-49fe-94cb-a34d067e37f9", - "x-ms-correlation-request-id": "ecc86992-2129-4699-8155-1eb387f75293", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-routing-request-id": "EASTUS2:20220425T055018Z:ecc86992-2129-4699-8155-1eb387f75293" + "x-ms-arm-service-request-id": "c6d38648-1ddd-4143-972b-41e1c5e170bd", + "x-ms-correlation-request-id": "92166e3e-7b36-4afc-b6df-8ce0384978a4", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051723Z:92166e3e-7b36-4afc-b6df-8ce0384978a4" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Encoding": "gzip", + "Content-Length": "30", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:50:58 GMT", + "Date": "Fri, 29 Apr 2022 05:18:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "80", @@ -4652,26 +4780,24 @@ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0aa4bef9-ba94-4dea-a13e-e2158372f10d", - "x-ms-correlation-request-id": "ad92194e-0868-449c-a38d-2e456ecc050f", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-routing-request-id": "EASTUS2:20220425T055058Z:ad92194e-0868-449c-a38d-2e456ecc050f" + "x-ms-arm-service-request-id": "c233adcf-f3c1-45a3-bde9-1bd264b04ca2", + "x-ms-correlation-request-id": "15ad6917-615f-420a-a6cd-cb89893b5048", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051804Z:15ad6917-615f-420a-a6cd-cb89893b5048" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4679,7 +4805,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:52:18 GMT", + "Date": "Fri, 29 Apr 2022 05:19:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "160", @@ -4691,23 +4817,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "432394ca-4c51-431e-8edf-b4085a12dd69", - "x-ms-correlation-request-id": "9d37ee38-ca32-4709-88e8-5c342e146a02", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-routing-request-id": "EASTUS2:20220425T055219Z:9d37ee38-ca32-4709-88e8-5c342e146a02" + "x-ms-arm-service-request-id": "eb09e214-5284-4786-a843-f9c3b0ca0787", + "x-ms-correlation-request-id": "fd941897-19cb-4c98-a3cc-d34a545d7d38", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T051925Z:fd941897-19cb-4c98-a3cc-d34a545d7d38" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4715,7 +4841,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:54:58 GMT", + "Date": "Fri, 29 Apr 2022 05:22:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4727,23 +4853,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "dea563ab-a131-4598-a3f5-f6c4679af748", - "x-ms-correlation-request-id": "71c3caa9-c03c-4925-8aa3-26bcd2fcf5f4", - "x-ms-ratelimit-remaining-subscription-reads": "11938", - "x-ms-routing-request-id": "EASTUS2:20220425T055459Z:71c3caa9-c03c-4925-8aa3-26bcd2fcf5f4" + "x-ms-arm-service-request-id": "18119f22-b7c8-4767-ab0b-8a4fa919d292", + "x-ms-correlation-request-id": "ba8f76b1-a0d7-4cd5-ada9-031fea749828", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052207Z:ba8f76b1-a0d7-4cd5-ada9-031fea749828" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4751,7 +4877,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:56:39 GMT", + "Date": "Fri, 29 Apr 2022 05:23:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4763,23 +4889,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "4eb3f705-a405-4c5d-b2f1-65e30e112f9d", - "x-ms-correlation-request-id": "1848c387-e3ea-4f62-bac8-9069fb1e7c06", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-routing-request-id": "EASTUS2:20220425T055639Z:1848c387-e3ea-4f62-bac8-9069fb1e7c06" + "x-ms-arm-service-request-id": "786c6cd5-feeb-4439-a1af-f01e63110f8b", + "x-ms-correlation-request-id": "9908c61a-2879-4e45-9cb6-2f8eea87c1fc", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052348Z:9908c61a-2879-4e45-9cb6-2f8eea87c1fc" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4787,7 +4913,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:58:19 GMT", + "Date": "Fri, 29 Apr 2022 05:25:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Retry-After": "100", @@ -4799,23 +4925,23 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "7d48375a-7ea2-4d41-aefc-3b5403426e0d", - "x-ms-correlation-request-id": "6ffc5dd5-9eb5-4f95-aef0-78bc9e6294ac", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-routing-request-id": "EASTUS2:20220425T055819Z:6ffc5dd5-9eb5-4f95-aef0-78bc9e6294ac" + "x-ms-arm-service-request-id": "8136b7d6-eeb3-4986-a674-ca8d77c64621", + "x-ms-correlation-request-id": "fb18b952-8d4e-4b3e-881b-7d61381f5c3a", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052530Z:fb18b952-8d4e-4b3e-881b-7d61381f5c3a" }, "ResponseBody": { "status": "InProgress" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4823,7 +4949,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 05:59:59 GMT", + "Date": "Fri, 29 Apr 2022 05:27:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4834,34 +4960,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "d2b9bcb2-6d64-4b8b-8678-8ced0263dce8", - "x-ms-correlation-request-id": "cab04b61-f33b-4b76-b462-49015d576d30", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-routing-request-id": "EASTUS2:20220425T060000Z:cab04b61-f33b-4b76-b462-49015d576d30" + "x-ms-arm-service-request-id": "3df28c9a-0c66-425b-8fcc-1ad94d48e20d", + "x-ms-correlation-request-id": "01997e82-5ce6-47ac-9a04-e3c70a76fccc", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052711Z:01997e82-5ce6-47ac-9a04-e3c70a76fccc" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:00:00 GMT", + "Date": "Fri, 29 Apr 2022 05:27:11 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e046a9ab-6e76-46dc-ab45-723f466ff1ad?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/57c9e9a5-e86e-4fbb-a899-2eebc2875306?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -4869,10 +4995,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "2afe658e-ad6f-4974-a58a-fc4526b391c0", - "x-ms-correlation-request-id": "be6038d3-f47d-49f9-874d-b8881f0a1644", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-routing-request-id": "EASTUS2:20220425T060000Z:794be916-c2dd-4e0e-8ca4-72249d53d9f4" + "x-ms-arm-service-request-id": "063c53aa-d8ec-40fb-b300-a77efe4d9e94", + "x-ms-correlation-request-id": "ed508309-5eba-4a01-a32a-cfe8b6f67acd", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052712Z:ef23ff6b-010b-4d76-94b7-4bba1dfa1dbd" }, "ResponseBody": null }, @@ -4884,18 +5010,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/99ed3b5a-840c-4b19-baf5-c69ca14dcf42?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2043bcbe-07d3-4890-9c40-54adea1255c7?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 06:00:00 GMT", + "Date": "Fri, 29 Apr 2022 05:27:12 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/99ed3b5a-840c-4b19-baf5-c69ca14dcf42?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/2043bcbe-07d3-4890-9c40-54adea1255c7?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -4904,21 +5030,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "32c26faa-429d-408e-a87a-dabf4404bed7", - "x-ms-correlation-request-id": "82c58ab1-9834-4dd9-b014-4ecfbdce44d4", - "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-routing-request-id": "EASTUS2:20220425T060000Z:82c58ab1-9834-4dd9-b014-4ecfbdce44d4" + "x-ms-arm-service-request-id": "bda85604-50c9-45f6-93c6-95c249f99623", + "x-ms-correlation-request-id": "349aa064-5ecc-49e7-9e44-55a48fd9e3da", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052712Z:349aa064-5ecc-49e7-9e44-55a48fd9e3da" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/99ed3b5a-840c-4b19-baf5-c69ca14dcf42?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2043bcbe-07d3-4890-9c40-54adea1255c7?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -4926,7 +5052,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:00:10 GMT", + "Date": "Fri, 29 Apr 2022 05:27:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4937,34 +5063,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "14f80348-44ef-47a1-9c1e-45c28003e7ab", - "x-ms-correlation-request-id": "4b5a1567-5097-482f-9987-7bd75dc79f38", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-routing-request-id": "EASTUS2:20220425T060010Z:4b5a1567-5097-482f-9987-7bd75dc79f38" + "x-ms-arm-service-request-id": "a7e6e2bb-a2f0-4f97-87dc-eff67756c081", + "x-ms-correlation-request-id": "be6a42c8-73fa-4bd7-89cf-f50dce0a8939", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052723Z:be6a42c8-73fa-4bd7-89cf-f50dce0a8939" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/99ed3b5a-840c-4b19-baf5-c69ca14dcf42?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/2043bcbe-07d3-4890-9c40-54adea1255c7?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/99ed3b5a-840c-4b19-baf5-c69ca14dcf42?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2043bcbe-07d3-4890-9c40-54adea1255c7?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:00:10 GMT", + "Date": "Fri, 29 Apr 2022 05:27:23 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/99ed3b5a-840c-4b19-baf5-c69ca14dcf42?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/2043bcbe-07d3-4890-9c40-54adea1255c7?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -4972,10 +5098,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "32c26faa-429d-408e-a87a-dabf4404bed7", - "x-ms-correlation-request-id": "82c58ab1-9834-4dd9-b014-4ecfbdce44d4", - "x-ms-ratelimit-remaining-subscription-reads": "11938", - "x-ms-routing-request-id": "EASTUS2:20220425T060010Z:37195bd2-fb5b-45be-a524-4847eafb3790" + "x-ms-arm-service-request-id": "bda85604-50c9-45f6-93c6-95c249f99623", + "x-ms-correlation-request-id": "349aa064-5ecc-49e7-9e44-55a48fd9e3da", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052723Z:3a752baa-fde3-4916-bb16-066ba641e597" }, "ResponseBody": null }, @@ -4987,18 +5113,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/db4dc369-265e-4409-8bfb-ed2d3ee7560a?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c45494ad-6f1b-4431-af71-0ae3f3df07fc?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 06:00:10 GMT", + "Date": "Fri, 29 Apr 2022 05:27:24 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/db4dc369-265e-4409-8bfb-ed2d3ee7560a?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c45494ad-6f1b-4431-af71-0ae3f3df07fc?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -5007,21 +5133,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0e248b14-7c25-48d3-a066-85a134f4195a", - "x-ms-correlation-request-id": "69c0db2f-d70f-4069-867f-9d773de1f30e", - "x-ms-ratelimit-remaining-subscription-deletes": "14995", - "x-ms-routing-request-id": "EASTUS2:20220425T060011Z:69c0db2f-d70f-4069-867f-9d773de1f30e" + "x-ms-arm-service-request-id": "fe7fb812-1458-49c8-bcc8-d987c4f7910b", + "x-ms-correlation-request-id": "f5fb9a3e-baf2-4d63-83ea-47addeb0866e", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052724Z:f5fb9a3e-baf2-4d63-83ea-47addeb0866e" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/db4dc369-265e-4409-8bfb-ed2d3ee7560a?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c45494ad-6f1b-4431-af71-0ae3f3df07fc?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 200, @@ -5029,7 +5155,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:00:20 GMT", + "Date": "Fri, 29 Apr 2022 05:27:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -5040,34 +5166,34 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "bc097bd2-d816-4c33-b77b-fbdc12c65c75", - "x-ms-correlation-request-id": "bd876f5e-1b1e-4157-8578-0773e79cefb3", - "x-ms-ratelimit-remaining-subscription-reads": "11937", - "x-ms-routing-request-id": "EASTUS2:20220425T060021Z:bd876f5e-1b1e-4157-8578-0773e79cefb3" + "x-ms-arm-service-request-id": "06c575e6-b521-44de-8c2a-5d42ed2497dc", + "x-ms-correlation-request-id": "84f774a7-2864-4a6a-9b5b-0268ec01c538", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052734Z:84f774a7-2864-4a6a-9b5b-0268ec01c538" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/db4dc369-265e-4409-8bfb-ed2d3ee7560a?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c45494ad-6f1b-4431-af71-0ae3f3df07fc?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.6.8 (Windows-10-10.0.19041-SP0)" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/db4dc369-265e-4409-8bfb-ed2d3ee7560a?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c45494ad-6f1b-4431-af71-0ae3f3df07fc?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:00:20 GMT", + "Date": "Fri, 29 Apr 2022 05:27:34 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/db4dc369-265e-4409-8bfb-ed2d3ee7560a?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c45494ad-6f1b-4431-af71-0ae3f3df07fc?api-version=2021-08-01", "Pragma": "no-cache", "Server": [ "Microsoft-HTTPAPI/2.0", @@ -5075,10 +5201,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "0e248b14-7c25-48d3-a066-85a134f4195a", - "x-ms-correlation-request-id": "69c0db2f-d70f-4069-867f-9d773de1f30e", - "x-ms-ratelimit-remaining-subscription-reads": "11936", - "x-ms-routing-request-id": "EASTUS2:20220425T060021Z:8261e593-3db0-410d-9c78-22729f509eb2" + "x-ms-arm-service-request-id": "fe7fb812-1458-49c8-bcc8-d987c4f7910b", + "x-ms-correlation-request-id": "f5fb9a3e-baf2-4d63-83ea-47addeb0866e", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-routing-request-id": "SOUTHEASTASIA:20220429T052735Z:8a660008-d697-421a-ad24-e8f9984005d4" }, "ResponseBody": null } diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.pyTestMgmtNetworktest_network.json b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.pyTestMgmtNetworktest_network.json index afba7c49df3d..ed19d3db4063 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.pyTestMgmtNetworktest_network.json +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.pyTestMgmtNetworktest_network.json @@ -7,7 +7,7 @@ "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -17,12 +17,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "1753", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:55:28 GMT", + "Date": "Thu, 28 Apr 2022 11:11:01 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - EUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -101,7 +101,7 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -111,12 +111,12 @@ "Cache-Control": "max-age=86400, private", "Content-Length": "945", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:55:29 GMT", + "Date": "Thu, 28 Apr 2022 11:11:01 GMT", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Set-Cookie": "[set-cookie;]", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-ests-server": "2.1.12651.7 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - SCUS ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -172,12 +172,12 @@ "RequestHeaders": { "Accept": "application/json", "Accept-Encoding": "gzip, deflate", - "client-request-id": "aa7609ae-69a7-45c6-962c-f72a2eb096d1", + "client-request-id": "5f98aed9-4b5c-422f-8d05-db25040c83b6", "Connection": "keep-alive", "Content-Length": "286", "Content-Type": "application/x-www-form-urlencoded", "Cookie": "cookie;", - "User-Agent": "azsdk-python-identity/1.10.0b2 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", + "User-Agent": "azsdk-python-identity/1.10.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0", "x-client-cpu": "x64", "x-client-current-telemetry": "4|730,0|", "x-client-last-telemetry": "4|0|||", @@ -190,10 +190,10 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-store, no-cache", - "client-request-id": "aa7609ae-69a7-45c6-962c-f72a2eb096d1", + "client-request-id": "5f98aed9-4b5c-422f-8d05-db25040c83b6", "Content-Length": "93", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:55:29 GMT", + "Date": "Thu, 28 Apr 2022 11:11:01 GMT", "Expires": "-1", "P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022", "Pragma": "no-cache", @@ -201,7 +201,7 @@ "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", "x-ms-clitelem": "1,0,0,,", - "x-ms-ests-server": "2.1.12651.7 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.12651.9 - WUS2 ProdSlices", "X-XSS-Protection": "0" }, "ResponseBody": { @@ -220,7 +220,7 @@ "Connection": "keep-alive", "Content-Length": "147", "Content-Type": "application/json", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": { "location": "WestUs", @@ -239,11 +239,11 @@ "StatusCode": 201, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4a3881f-c9aa-432f-b565-61cbd796f0d1?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4436b746-5266-474a-9463-bd097f2a5ed9?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "863", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:55:29 GMT", + "Date": "Thu, 28 Apr 2022 11:11:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -252,15 +252,15 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "122f0a4e-d59b-4949-8b6c-e9fe44129808", - "x-ms-correlation-request-id": "6552b27e-89b5-43b8-b8ef-7ef2acd6d768", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-routing-request-id": "EASTUS2:20220425T065530Z:6552b27e-89b5-43b8-b8ef-7ef2acd6d768" + "x-ms-arm-service-request-id": "4b3d0c96-a5b7-4588-ad43-a16b5c3c7924", + "x-ms-correlation-request-id": "51e26825-f252-4a1d-857f-5f97b5456cca", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T111102Z:51e26825-f252-4a1d-857f-5f97b5456cca" }, "ResponseBody": { "name": "myPolicy", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy", - "etag": "W/\u0022f7da352e-dd5c-403c-9b05-32cec27a8850\u0022", + "etag": "W/\u002234a1a3e7-910b-43c7-92ee-9ee1f98d4783\u0022", "type": "Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", "location": "westus", "properties": { @@ -293,7 +293,7 @@ "Accept": "application/json", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -301,8 +301,8 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:55:29 GMT", - "ETag": "W/\u0022bb993057-703b-4184-8b25-05140add5dbb\u0022", + "Date": "Thu, 28 Apr 2022 11:11:02 GMT", + "ETag": "W/\u002228ba5807-e3eb-4224-b582-21335a9a37cd\u0022", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -313,15 +313,15 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "07e25700-41b7-480d-94c3-ef45b3dd2fc3", - "x-ms-correlation-request-id": "dc5a283b-f4d1-45e1-a927-7f7f8472d87a", - "x-ms-ratelimit-remaining-subscription-reads": "11912", - "x-ms-routing-request-id": "EASTUS2:20220425T065530Z:dc5a283b-f4d1-45e1-a927-7f7f8472d87a" + "x-ms-arm-service-request-id": "5b9a553f-adc7-4b5e-8fb1-d19c9a72ad08", + "x-ms-correlation-request-id": "577b17d6-bcbf-4ecc-b58b-e19ad5102978", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T111102Z:577b17d6-bcbf-4ecc-b58b-e19ad5102978" }, "ResponseBody": { "name": "myPolicy", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy", - "etag": "W/\u0022bb993057-703b-4184-8b25-05140add5dbb\u0022", + "etag": "W/\u002228ba5807-e3eb-4224-b582-21335a9a37cd\u0022", "type": "Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies", "location": "westus", "properties": { @@ -355,18 +355,18 @@ "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", "Content-Length": "0", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 202, "ResponseHeaders": { "Azure-AsyncNotification": "Enabled", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a8d14082-1f92-4b09-9207-491596353916?api-version=2021-08-01", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cc95fb1c-da90-41a4-a4bd-386966dad437?api-version=2021-08-01", "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Mon, 25 Apr 2022 06:55:29 GMT", + "Date": "Thu, 28 Apr 2022 11:11:02 GMT", "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/a8d14082-1f92-4b09-9207-491596353916?api-version=2021-08-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cc95fb1c-da90-41a4-a4bd-386966dad437?api-version=2021-08-01", "Pragma": "no-cache", "Retry-After": "10", "Server": [ @@ -375,21 +375,21 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "055a99af-73e2-41c0-b1b3-ffccf8075b84", - "x-ms-correlation-request-id": "d99179b2-175f-4826-a30e-2144f29bf9ea", + "x-ms-arm-service-request-id": "0c5780ad-bb57-435a-8949-96cdc83fadfa", + "x-ms-correlation-request-id": "14203ff9-06ff-464a-a94d-4aac21c7a0eb", "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-routing-request-id": "EASTUS2:20220425T065530Z:d99179b2-175f-4826-a30e-2144f29bf9ea" + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T111103Z:14203ff9-06ff-464a-a94d-4aac21c7a0eb" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a8d14082-1f92-4b09-9207-491596353916?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cc95fb1c-da90-41a4-a4bd-386966dad437?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 200, @@ -397,7 +397,7 @@ "Cache-Control": "no-cache", "Content-Encoding": "gzip", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:55:40 GMT", + "Date": "Thu, 28 Apr 2022 11:11:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -408,30 +408,30 @@ "Transfer-Encoding": "chunked", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "6f98a797-652a-4402-b840-342b43a38f7e", - "x-ms-correlation-request-id": "d1ea6e8f-2a22-4622-8892-aeb0bf8fa3f7", - "x-ms-ratelimit-remaining-subscription-reads": "11911", - "x-ms-routing-request-id": "EASTUS2:20220425T065540Z:d1ea6e8f-2a22-4622-8892-aeb0bf8fa3f7" + "x-ms-arm-service-request-id": "b26281d5-0296-4a5d-8dc4-be1b2bcde9a1", + "x-ms-correlation-request-id": "b11089dd-a46e-4a98-b8a0-6725ca2a21af", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T111113Z:b11089dd-a46e-4a98-b8a0-6725ca2a21af" }, "ResponseBody": { "status": "Succeeded" } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/a8d14082-1f92-4b09-9207-491596353916?api-version=2021-08-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/cc95fb1c-da90-41a4-a4bd-386966dad437?api-version=2021-08-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", - "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1021-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" + "User-Agent": "azsdk-python-azure-mgmt-network/20.0.0 Python/3.8.12 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.2.5) VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 25 Apr 2022 06:55:40 GMT", + "Date": "Thu, 28 Apr 2022 11:11:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -440,10 +440,10 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-arm-service-request-id": "055a99af-73e2-41c0-b1b3-ffccf8075b84", - "x-ms-correlation-request-id": "d99179b2-175f-4826-a30e-2144f29bf9ea", - "x-ms-ratelimit-remaining-subscription-reads": "11910", - "x-ms-routing-request-id": "EASTUS2:20220425T065540Z:bdfd5a47-9980-455f-b41c-dec1a27031da" + "x-ms-arm-service-request-id": "0c5780ad-bb57-435a-8949-96cdc83fadfa", + "x-ms-correlation-request-id": "14203ff9-06ff-464a-a94d-4aac21c7a0eb", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-routing-request-id": "NORTHCENTRALUS:20220428T111113Z:26fd0613-fd73-40d9-946a-09c4c94d9c9d" }, "ResponseBody": null } diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/CHANGELOG.md b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/CHANGELOG.md index ba5f6d80f222..a992eaede955 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/CHANGELOG.md +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/CHANGELOG.md @@ -1,5 +1,18 @@ # Release History +## 1.1.0 (2022-05-10) + +**Features** + + - Added operation OpenShiftClustersOperations.list_admin_credentials + - Model ClusterProfile has a new parameter fips_validated_modules + - Model MasterProfile has a new parameter disk_encryption_set_id + - Model MasterProfile has a new parameter encryption_at_host + - Model OpenShiftCluster has a new parameter system_data + - Model OpenShiftClusterUpdate has a new parameter system_data + - Model WorkerProfile has a new parameter disk_encryption_set_id + - Model WorkerProfile has a new parameter encryption_at_host + ## 1.0.0 (2021-05-20) - GA release diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/_meta.json b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/_meta.json index cd5964bbe160..c521420e8823 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/_meta.json +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/_meta.json @@ -1,11 +1,11 @@ { - "autorest": "3.4.2", + "autorest": "3.7.2", "use": [ - "@autorest/python@5.8.0", - "@autorest/modelerfour@4.19.1" + "@autorest/python@5.13.0", + "@autorest/modelerfour@4.19.3" ], - "commit": "790522f1d12ec3de2274bd65bd623e99399571b9", + "commit": "50ed15bd61ac79f2368d769df0c207a00b9e099f", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/redhatopenshift/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.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2", + "autorest_command": "autorest specification/redhatopenshift/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/redhatopenshift/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/__init__.py index d14390eec7a3..580098c41dd4 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/__init__.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/__init__.py @@ -6,8 +6,8 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._azure_red_hat_open_shift4_client import AzureRedHatOpenShift4Client -__all__ = ['AzureRedHatOpenShift4Client'] +from ._azure_red_hat_open_shift_client import AzureRedHatOpenShiftClient +__all__ = ['AzureRedHatOpenShiftClient'] try: from ._patch import patch_sdk # type: ignore diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_azure_red_hat_open_shift4_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_azure_red_hat_open_shift_client.py similarity index 72% rename from sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_azure_red_hat_open_shift4_client.py rename to sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_azure_red_hat_open_shift_client.py index aac283a34cb2..23b5f929e52b 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_azure_red_hat_open_shift4_client.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_azure_red_hat_open_shift_client.py @@ -11,19 +11,19 @@ from typing import TYPE_CHECKING +from msrest import Deserializer, Serializer + from azure.mgmt.core import ARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin -from msrest import Deserializer, Serializer -from ._configuration import AzureRedHatOpenShift4ClientConfiguration +from ._configuration import AzureRedHatOpenShiftClientConfiguration if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from typing import Any, Optional from azure.core.credentials import TokenCredential - from azure.core.pipeline.transport import HttpRequest, HttpResponse class _SDKClient(object): def __init__(self, *args, **kwargs): @@ -32,7 +32,7 @@ def __init__(self, *args, **kwargs): """ pass -class AzureRedHatOpenShift4Client(MultiApiClientMixin, _SDKClient): +class AzureRedHatOpenShiftClient(MultiApiClientMixin, _SDKClient): """Rest API for Azure Red Hat OpenShift 4. This ready contains multiple API versions, to help you deal with all of the Azure clouds @@ -56,8 +56,8 @@ class AzureRedHatOpenShift4Client(MultiApiClientMixin, _SDKClient): :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2020-04-30' - _PROFILE_TAG = "azure.mgmt.redhatopenshift.AzureRedHatOpenShift4Client" + DEFAULT_API_VERSION = '2022-04-01' + _PROFILE_TAG = "azure.mgmt.redhatopenshift.AzureRedHatOpenShiftClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { None: DEFAULT_API_VERSION, @@ -70,15 +70,13 @@ def __init__( credential, # type: "TokenCredential" subscription_id, # type: str api_version=None, # type: Optional[str] - base_url=None, # type: Optional[str] + base_url="https://management.azure.com", # type: str profile=KnownProfiles.default, # type: KnownProfiles **kwargs # type: Any ): - if not base_url: - base_url = 'https://management.azure.com' - self._config = AzureRedHatOpenShift4ClientConfiguration(credential, subscription_id, **kwargs) + self._config = AzureRedHatOpenShiftClientConfiguration(credential, subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - super(AzureRedHatOpenShift4Client, self).__init__( + super(AzureRedHatOpenShiftClient, self).__init__( api_version=api_version, profile=profile ) @@ -92,10 +90,18 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2020-04-30: :mod:`v2020_04_30.models` + * 2021-09-01-preview: :mod:`v2021_09_01_preview.models` + * 2022-04-01: :mod:`v2022_04_01.models` """ if api_version == '2020-04-30': from .v2020_04_30 import models return models + elif api_version == '2021-09-01-preview': + from .v2021_09_01_preview import models + return models + elif api_version == '2022-04-01': + from .v2022_04_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -103,10 +109,16 @@ def open_shift_clusters(self): """Instance depends on the API version: * 2020-04-30: :class:`OpenShiftClustersOperations` + * 2021-09-01-preview: :class:`OpenShiftClustersOperations` + * 2022-04-01: :class:`OpenShiftClustersOperations` """ api_version = self._get_api_version('open_shift_clusters') if api_version == '2020-04-30': from .v2020_04_30.operations import OpenShiftClustersOperations as OperationClass + elif api_version == '2021-09-01-preview': + from .v2021_09_01_preview.operations import OpenShiftClustersOperations as OperationClass + elif api_version == '2022-04-01': + from .v2022_04_01.operations import OpenShiftClustersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'open_shift_clusters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -116,10 +128,16 @@ def operations(self): """Instance depends on the API version: * 2020-04-30: :class:`Operations` + * 2021-09-01-preview: :class:`Operations` + * 2022-04-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2020-04-30': from .v2020_04_30.operations import Operations as OperationClass + elif api_version == '2021-09-01-preview': + from .v2021_09_01_preview.operations import Operations as OperationClass + elif api_version == '2022-04-01': + from .v2022_04_01.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_configuration.py index 64d076af141e..33bbccb96e67 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_configuration.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_configuration.py @@ -12,7 +12,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy from ._version import VERSION @@ -22,8 +22,8 @@ from azure.core.credentials import TokenCredential -class AzureRedHatOpenShift4ClientConfiguration(Configuration): - """Configuration for AzureRedHatOpenShift4Client. +class AzureRedHatOpenShiftClientConfiguration(Configuration): + """Configuration for AzureRedHatOpenShiftClient. Note that all parameters used to create this instance are saved as instance attributes. @@ -45,7 +45,7 @@ def __init__( raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - super(AzureRedHatOpenShift4ClientConfiguration, self).__init__(**kwargs) + super(AzureRedHatOpenShiftClientConfiguration, self).__init__(**kwargs) self.credential = credential self.subscription_id = subscription_id @@ -68,4 +68,4 @@ def _configure( self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_version.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_version.py index 6fbca6ef56c6..4ed38d239ed7 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_version.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/_version.py @@ -6,5 +6,5 @@ # 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/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/__init__.py index e9ab58f8e74d..f1c73a4bb9e1 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/__init__.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/__init__.py @@ -6,5 +6,5 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._azure_red_hat_open_shift4_client import AzureRedHatOpenShift4Client -__all__ = ['AzureRedHatOpenShift4Client'] +from ._azure_red_hat_open_shift_client import AzureRedHatOpenShiftClient +__all__ = ['AzureRedHatOpenShiftClient'] diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_azure_red_hat_open_shift4_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_azure_red_hat_open_shift_client.py similarity index 72% rename from sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_azure_red_hat_open_shift4_client.py rename to sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_azure_red_hat_open_shift_client.py index fa2f4f744697..11ba3a9e93ec 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_azure_red_hat_open_shift4_client.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_azure_red_hat_open_shift_client.py @@ -11,16 +11,17 @@ from typing import Any, Optional, TYPE_CHECKING -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from msrest import Deserializer, Serializer + from azure.mgmt.core import AsyncARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin -from msrest import Deserializer, Serializer -from ._configuration import AzureRedHatOpenShift4ClientConfiguration +from ._configuration import AzureRedHatOpenShiftClientConfiguration if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential from azure.core.credentials_async import AsyncTokenCredential class _SDKClient(object): @@ -30,7 +31,7 @@ def __init__(self, *args, **kwargs): """ pass -class AzureRedHatOpenShift4Client(MultiApiClientMixin, _SDKClient): +class AzureRedHatOpenShiftClient(MultiApiClientMixin, _SDKClient): """Rest API for Azure Red Hat OpenShift 4. This ready contains multiple API versions, to help you deal with all of the Azure clouds @@ -54,8 +55,8 @@ class AzureRedHatOpenShift4Client(MultiApiClientMixin, _SDKClient): :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2020-04-30' - _PROFILE_TAG = "azure.mgmt.redhatopenshift.AzureRedHatOpenShift4Client" + DEFAULT_API_VERSION = '2022-04-01' + _PROFILE_TAG = "azure.mgmt.redhatopenshift.AzureRedHatOpenShiftClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { None: DEFAULT_API_VERSION, @@ -68,15 +69,13 @@ def __init__( credential: "AsyncTokenCredential", subscription_id: str, api_version: Optional[str] = None, - base_url: Optional[str] = None, + base_url: str = "https://management.azure.com", profile: KnownProfiles = KnownProfiles.default, **kwargs # type: Any ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = AzureRedHatOpenShift4ClientConfiguration(credential, subscription_id, **kwargs) + self._config = AzureRedHatOpenShiftClientConfiguration(credential, subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) - super(AzureRedHatOpenShift4Client, self).__init__( + super(AzureRedHatOpenShiftClient, self).__init__( api_version=api_version, profile=profile ) @@ -90,10 +89,18 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * 2020-04-30: :mod:`v2020_04_30.models` + * 2021-09-01-preview: :mod:`v2021_09_01_preview.models` + * 2022-04-01: :mod:`v2022_04_01.models` """ if api_version == '2020-04-30': from ..v2020_04_30 import models return models + elif api_version == '2021-09-01-preview': + from ..v2021_09_01_preview import models + return models + elif api_version == '2022-04-01': + from ..v2022_04_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -101,10 +108,16 @@ def open_shift_clusters(self): """Instance depends on the API version: * 2020-04-30: :class:`OpenShiftClustersOperations` + * 2021-09-01-preview: :class:`OpenShiftClustersOperations` + * 2022-04-01: :class:`OpenShiftClustersOperations` """ api_version = self._get_api_version('open_shift_clusters') if api_version == '2020-04-30': from ..v2020_04_30.aio.operations import OpenShiftClustersOperations as OperationClass + elif api_version == '2021-09-01-preview': + from ..v2021_09_01_preview.aio.operations import OpenShiftClustersOperations as OperationClass + elif api_version == '2022-04-01': + from ..v2022_04_01.aio.operations import OpenShiftClustersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'open_shift_clusters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -114,10 +127,16 @@ def operations(self): """Instance depends on the API version: * 2020-04-30: :class:`Operations` + * 2021-09-01-preview: :class:`Operations` + * 2022-04-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2020-04-30': from ..v2020_04_30.aio.operations import Operations as OperationClass + elif api_version == '2021-09-01-preview': + from ..v2021_09_01_preview.aio.operations import Operations as OperationClass + elif api_version == '2022-04-01': + from ..v2022_04_01.aio.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_configuration.py index 2e592152d002..42e2e0d943f3 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_configuration.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/aio/_configuration.py @@ -12,7 +12,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy from .._version import VERSION @@ -20,8 +20,8 @@ # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -class AzureRedHatOpenShift4ClientConfiguration(Configuration): - """Configuration for AzureRedHatOpenShift4Client. +class AzureRedHatOpenShiftClientConfiguration(Configuration): + """Configuration for AzureRedHatOpenShiftClient. Note that all parameters used to create this instance are saved as instance attributes. @@ -42,7 +42,7 @@ def __init__( raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - super(AzureRedHatOpenShift4ClientConfiguration, self).__init__(**kwargs) + super(AzureRedHatOpenShiftClientConfiguration, self).__init__(**kwargs) self.credential = credential self.subscription_id = subscription_id @@ -64,4 +64,4 @@ def _configure( self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/models.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/models.py index a93a3fa97f8d..7d9f8183c1a9 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/models.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/models.py @@ -4,4 +4,4 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -from .v2020_04_30.models import * +from .v2022_04_01.models import * diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/__init__.py index 4881b1a062e9..a3faaf238d96 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/__init__.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/__init__.py @@ -12,8 +12,7 @@ __version__ = VERSION __all__ = ['AzureRedHatOpenShift4Client'] -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_azure_red_hat_open_shift4_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_azure_red_hat_open_shift4_client.py index d006295a72c0..8104e033c8fd 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_azure_red_hat_open_shift4_client.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_azure_red_hat_open_shift4_client.py @@ -6,79 +6,86 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING +from copy import deepcopy +from typing import Any, TYPE_CHECKING -from azure.mgmt.core import ARMPipelineClient from msrest import Deserializer, Serializer -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.rest import HttpRequest, HttpResponse +from azure.mgmt.core import ARMPipelineClient -from ._configuration import AzureRedHatOpenShift4ClientConfiguration -from .operations import Operations -from .operations import OpenShiftClustersOperations from . import models +from ._configuration import AzureRedHatOpenShift4ClientConfiguration +from .operations import OpenShiftClustersOperations, Operations +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential -class AzureRedHatOpenShift4Client(object): +class AzureRedHatOpenShift4Client: """Rest API for Azure Red Hat OpenShift 4. :ivar operations: Operations operations :vartype operations: azure.mgmt.redhatopenshift.v2020_04_30.operations.Operations :ivar open_shift_clusters: OpenShiftClustersOperations operations - :vartype open_shift_clusters: azure.mgmt.redhatopenshift.v2020_04_30.operations.OpenShiftClustersOperations + :vartype open_shift_clusters: + azure.mgmt.redhatopenshift.v2020_04_30.operations.OpenShiftClustersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2020-04-30". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. """ def __init__( self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = AzureRedHatOpenShift4ClientConfiguration(credential, subscription_id, **kwargs) + credential: "TokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = AzureRedHatOpenShift4ClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.open_shift_clusters = OpenShiftClustersOperations(self._client, self._config, self._serialize, self._deserialize) - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.open_shift_clusters = OpenShiftClustersOperations( - self._client, self._config, self._serialize, self._deserialize) - def _send_request(self, http_request, **kwargs): - # type: (HttpRequest, Any) -> HttpResponse + def _send_request( + self, + request: HttpRequest, + **kwargs: 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. + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. :return: The response of your network call. Does not do error handling on your response. - :rtype: ~azure.core.pipeline.transport.HttpResponse + :rtype: ~azure.core.rest.HttpResponse """ - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - http_request.url = self._client.format_url(http_request.url, **path_format_arguments) - stream = kwargs.pop("stream", True) - pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) - return pipeline_response.http_response + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) def close(self): # type: () -> None diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_configuration.py index 37a59f32d7cd..62f655748855 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_configuration.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_configuration.py @@ -6,22 +6,20 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING +from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy from ._version import VERSION if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any - from azure.core.credentials import TokenCredential -class AzureRedHatOpenShift4ClientConfiguration(Configuration): +class AzureRedHatOpenShift4ClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes """Configuration for AzureRedHatOpenShift4Client. Note that all parameters used to create this instance are saved as instance @@ -31,24 +29,28 @@ class AzureRedHatOpenShift4ClientConfiguration(Configuration): :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str + :keyword api_version: Api Version. Default value is "2020-04-30". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str """ def __init__( self, - credential, # type: "TokenCredential" - subscription_id, # type: str - **kwargs # type: Any - ): - # type: (...) -> None + credential: "TokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(AzureRedHatOpenShift4ClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + if credential is None: raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - super(AzureRedHatOpenShift4ClientConfiguration, self).__init__(**kwargs) self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-04-30" + self.api_version = api_version self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-redhatopenshift/{}'.format(VERSION)) self._configure(**kwargs) @@ -68,4 +70,4 @@ def _configure( self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_metadata.json b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_metadata.json index d1234382bc8b..c36c43a96eca 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_metadata.json +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_metadata.json @@ -5,13 +5,13 @@ "name": "AzureRedHatOpenShift4Client", "filename": "_azure_red_hat_open_shift4_client", "description": "Rest API for Azure Red Hat OpenShift 4.", - "base_url": "\u0027https://management.azure.com\u0027", - "custom_base_url": null, + "host_value": "\"https://management.azure.com\"", + "parameterized_host_template": 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\": [\"AzureRedHatOpenShift4ClientConfiguration\"]}}, \"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\": [\"AzureRedHatOpenShift4ClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureRedHatOpenShift4ClientConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"], \"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureRedHatOpenShift4ClientConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" }, "global_parameters": { "sync": { @@ -54,7 +54,7 @@ "required": false }, "base_url": { - "signature": "base_url=None, # type: Optional[str]", + "signature": "base_url=\"https://management.azure.com\", # type: str", "description": "Service URL", "docstring_type": "str", "required": false @@ -74,7 +74,7 @@ "required": false }, "base_url": { - "signature": "base_url: Optional[str] = None,", + "signature": "base_url: str = \"https://management.azure.com\",", "description": "Service URL", "docstring_type": "str", "required": false @@ -91,11 +91,10 @@ "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\"]}}}" + "credential_call_sync": "ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "credential_call_async": "AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMChallengeAuthenticationPolicy\", \"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\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "operations": "Operations", diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_patch.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_vendor.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_vendor.py new file mode 100644 index 000000000000..138f663c53a4 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_vendor.py @@ -0,0 +1,27 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest(method=request.method, url=request.url, headers=request.headers, data=data) + if files: + request.set_formdata_body(files) + return request + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c for c in formatted_components if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_version.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_version.py index dfa6ee022f15..59deb8c7263b 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_version.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b2" +VERSION = "1.1.0" diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/__init__.py index e9ab58f8e74d..eccb1597054c 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/__init__.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/__init__.py @@ -8,3 +8,8 @@ from ._azure_red_hat_open_shift4_client import AzureRedHatOpenShift4Client __all__ = ['AzureRedHatOpenShift4Client'] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_azure_red_hat_open_shift4_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_azure_red_hat_open_shift4_client.py index 98bba34694fe..faebbdd00c5b 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_azure_red_hat_open_shift4_client.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_azure_red_hat_open_shift4_client.py @@ -6,75 +6,86 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Optional, TYPE_CHECKING +from copy import deepcopy +from typing import Any, Awaitable, TYPE_CHECKING -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest -from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from azure.core.credentials_async import AsyncTokenCredential +from azure.core.rest import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient -from ._configuration import AzureRedHatOpenShift4ClientConfiguration -from .operations import Operations -from .operations import OpenShiftClustersOperations from .. import models +from ._configuration import AzureRedHatOpenShift4ClientConfiguration +from .operations import OpenShiftClustersOperations, Operations +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential -class AzureRedHatOpenShift4Client(object): +class AzureRedHatOpenShift4Client: """Rest API for Azure Red Hat OpenShift 4. :ivar operations: Operations operations :vartype operations: azure.mgmt.redhatopenshift.v2020_04_30.aio.operations.Operations :ivar open_shift_clusters: OpenShiftClustersOperations operations - :vartype open_shift_clusters: azure.mgmt.redhatopenshift.v2020_04_30.aio.operations.OpenShiftClustersOperations + :vartype open_shift_clusters: + azure.mgmt.redhatopenshift.v2020_04_30.aio.operations.OpenShiftClustersOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2020-04-30". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. """ def __init__( self, credential: "AsyncTokenCredential", subscription_id: str, - base_url: Optional[str] = None, + base_url: str = "https://management.azure.com", **kwargs: Any ) -> None: - if not base_url: - base_url = 'https://management.azure.com' - self._config = AzureRedHatOpenShift4ClientConfiguration(credential, subscription_id, **kwargs) + self._config = AzureRedHatOpenShift4ClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) - self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.open_shift_clusters = OpenShiftClustersOperations(self._client, self._config, self._serialize, self._deserialize) - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - self.open_shift_clusters = OpenShiftClustersOperations( - self._client, self._config, self._serialize, self._deserialize) - async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> Awaitable[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. + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. :return: The response of your network call. Does not do error handling on your response. - :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + :rtype: ~azure.core.rest.AsyncHttpResponse """ - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - http_request.url = self._client.format_url(http_request.url, **path_format_arguments) - stream = kwargs.pop("stream", True) - pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) - return pipeline_response.http_response + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) async def close(self) -> None: await self._client.close() diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_configuration.py index 82ea0cd50204..c40446cd2aca 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_configuration.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_configuration.py @@ -10,7 +10,7 @@ from azure.core.configuration import Configuration from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy from .._version import VERSION @@ -19,7 +19,7 @@ from azure.core.credentials_async import AsyncTokenCredential -class AzureRedHatOpenShift4ClientConfiguration(Configuration): +class AzureRedHatOpenShift4ClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes """Configuration for AzureRedHatOpenShift4Client. Note that all parameters used to create this instance are saved as instance @@ -29,6 +29,9 @@ class AzureRedHatOpenShift4ClientConfiguration(Configuration): :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str + :keyword api_version: Api Version. Default value is "2020-04-30". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str """ def __init__( @@ -37,15 +40,17 @@ def __init__( subscription_id: str, **kwargs: Any ) -> None: + super(AzureRedHatOpenShift4ClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + if credential is None: raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - super(AzureRedHatOpenShift4ClientConfiguration, self).__init__(**kwargs) self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-04-30" + self.api_version = api_version self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-redhatopenshift/{}'.format(VERSION)) self._configure(**kwargs) @@ -64,4 +69,4 @@ def _configure( self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') if self.credential and not self.authentication_policy: - self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_patch.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_open_shift_clusters_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_open_shift_clusters_operations.py index d9a7a8792d1e..27db914f96ca 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_open_shift_clusters_operations.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_open_shift_clusters_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,19 +6,22 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union -import warnings +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling from ... import models as _models - +from ..._vendor import _convert_request +from ...operations._open_shift_clusters_operations import build_create_or_update_request_initial, build_delete_request_initial, build_get_request, build_list_by_resource_group_request, build_list_credentials_request, build_list_request, build_update_request_initial T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -43,6 +47,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + @distributed_trace def list( self, **kwargs: Any @@ -52,43 +57,44 @@ def list( The operation returns properties of each OpenShift cluster. :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OpenShiftClusterList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('OpenShiftClusterList', pipeline_response) + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -97,7 +103,11 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -106,11 +116,13 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters'} # type: ignore + list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + @distributed_trace def list_by_resource_group( self, resource_group_name: str, @@ -123,44 +135,46 @@ def list_by_resource_group( :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OpenShiftClusterList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('OpenShiftClusterList', pipeline_response) + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -169,7 +183,11 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -178,11 +196,13 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters'} # type: ignore + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + @distributed_trace_async async def get( self, resource_group_name: str, @@ -207,28 +227,25 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-04-30") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -241,7 +258,9 @@ async def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + async def _create_or_update_initial( self, @@ -255,33 +274,29 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'OpenShiftCluster') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftCluster') + + request = build_create_or_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_or_update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 201]: @@ -298,8 +313,11 @@ async def _create_or_update_initial( return cls(pipeline_response, deserialized, {}) return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + _create_or_update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async async def begin_create_or_update( self, resource_group_name: str, @@ -307,7 +325,8 @@ async def begin_create_or_update( parameters: "_models.OpenShiftCluster", **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftCluster"]: - """Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name. + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. The operation returns properties of a OpenShift cluster. @@ -319,14 +338,20 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :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. + :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 OpenShiftCluster or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] - :raises ~azure.core.exceptions.HttpResponseError: + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] lro_delay = kwargs.pop( @@ -339,27 +364,22 @@ async def begin_create_or_update( resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters, + api_version=api_version, + content_type=content_type, cls=lambda x,y,z: x, **kwargs ) - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) def get_long_running_output(pipeline_response): + response = pipeline_response.http_response deserialized = self._deserialize('OpenShiftCluster', pipeline_response) - if cls: return cls(pipeline_response, deserialized, {}) return deserialized - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: @@ -369,11 +389,11 @@ def get_long_running_output(pipeline_response): client=self._client, deserialization_callback=get_long_running_output ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - async def _delete_initial( + begin_create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements self, resource_group_name: str, resource_name: str, @@ -384,28 +404,25 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-04-30") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self._delete_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 204]: @@ -415,9 +432,11 @@ async def _delete_initial( if cls: return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore - async def begin_delete( + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements self, resource_group_name: str, resource_name: str, @@ -433,14 +452,17 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :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. + :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. + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.AsyncLROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: + :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -452,24 +474,18 @@ async def begin_delete( raw_result = await self._delete_initial( resource_group_name=resource_group_name, resource_name=resource_name, + api_version=api_version, cls=lambda x,y,z: x, **kwargs ) - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: @@ -479,9 +495,9 @@ def get_long_running_output(pipeline_response): client=self._client, deserialization_callback=get_long_running_output ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore async def _update_initial( self, @@ -495,33 +511,29 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'OpenShiftClusterUpdate') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftClusterUpdate') + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 201]: @@ -538,8 +550,11 @@ async def _update_initial( return cls(pipeline_response, deserialized, {}) return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + _update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async async def begin_update( self, resource_group_name: str, @@ -547,7 +562,8 @@ async def begin_update( parameters: "_models.OpenShiftClusterUpdate", **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftCluster"]: - """Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name. + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. The operation returns properties of a OpenShift cluster. @@ -559,14 +575,20 @@ async def begin_update( :type parameters: ~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterUpdate :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :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. + :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 OpenShiftCluster or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] - :raises ~azure.core.exceptions.HttpResponseError: + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] lro_delay = kwargs.pop( @@ -579,27 +601,22 @@ async def begin_update( resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters, + api_version=api_version, + content_type=content_type, cls=lambda x,y,z: x, **kwargs ) - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) def get_long_running_output(pipeline_response): + response = pipeline_response.http_response deserialized = self._deserialize('OpenShiftCluster', pipeline_response) - if cls: return cls(pipeline_response, deserialized, {}) return deserialized - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: @@ -609,17 +626,19 @@ def get_long_running_output(pipeline_response): client=self._client, deserialization_callback=get_long_running_output ) - else: - return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + @distributed_trace_async async def list_credentials( self, resource_group_name: str, resource_name: str, **kwargs: Any ) -> "_models.OpenShiftClusterCredentials": - """Lists credentials of an OpenShift cluster with the specified subscription, resource group and resource name. + """Lists credentials of an OpenShift cluster with the specified subscription, resource group and + resource name. The operation returns the credentials. @@ -637,28 +656,25 @@ async def list_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - - # Construct URL - url = self.list_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-04-30") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_list_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -671,4 +687,6 @@ async def list_credentials( return cls(pipeline_response, deserialized, {}) return deserialized - list_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials'} # type: ignore + + list_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials"} # type: ignore + diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_operations.py index 1d60d99171b9..cbd2db4e6bf5 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_operations.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/aio/operations/_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,17 +6,19 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar -import warnings +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from ... import models as _models - +from ..._vendor import _convert_request +from ...operations._operations import build_list_request T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -41,6 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: self._deserialize = deserializer self._config = config + @distributed_trace def list( self, **kwargs: Any @@ -51,38 +55,40 @@ def list( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationList or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OperationList] + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OperationList] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request async def extract_data(pipeline_response): - deserialized = self._deserialize('OperationList', pipeline_response) + deserialized = self._deserialize("OperationList", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -91,7 +97,11 @@ async def extract_data(pipeline_response): async def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -100,7 +110,8 @@ async def get_next(next_link=None): return pipeline_response + return AsyncItemPaged( get_next, extract_data ) - list.metadata = {'url': '/providers/Microsoft.RedHatOpenShift/operations'} # type: ignore + list.metadata = {'url': "/providers/Microsoft.RedHatOpenShift/operations"} # type: ignore diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/__init__.py index f2512c342011..9a3b9a2f511e 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/__init__.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/__init__.py @@ -6,44 +6,25 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -try: - from ._models_py3 import APIServerProfile - from ._models_py3 import CloudErrorBody - from ._models_py3 import ClusterProfile - from ._models_py3 import ConsoleProfile - from ._models_py3 import Display - from ._models_py3 import IngressProfile - from ._models_py3 import MasterProfile - from ._models_py3 import NetworkProfile - from ._models_py3 import OpenShiftCluster - from ._models_py3 import OpenShiftClusterCredentials - from ._models_py3 import OpenShiftClusterList - from ._models_py3 import OpenShiftClusterUpdate - from ._models_py3 import Operation - from ._models_py3 import OperationList - from ._models_py3 import Resource - from ._models_py3 import ServicePrincipalProfile - from ._models_py3 import TrackedResource - from ._models_py3 import WorkerProfile -except (SyntaxError, ImportError): - from ._models import APIServerProfile # type: ignore - from ._models import CloudErrorBody # type: ignore - from ._models import ClusterProfile # type: ignore - from ._models import ConsoleProfile # type: ignore - from ._models import Display # type: ignore - from ._models import IngressProfile # type: ignore - from ._models import MasterProfile # type: ignore - from ._models import NetworkProfile # type: ignore - from ._models import OpenShiftCluster # type: ignore - from ._models import OpenShiftClusterCredentials # type: ignore - from ._models import OpenShiftClusterList # type: ignore - from ._models import OpenShiftClusterUpdate # type: ignore - from ._models import Operation # type: ignore - from ._models import OperationList # type: ignore - from ._models import Resource # type: ignore - from ._models import ServicePrincipalProfile # type: ignore - from ._models import TrackedResource # type: ignore - from ._models import WorkerProfile # type: ignore +from ._models_py3 import APIServerProfile +from ._models_py3 import CloudErrorBody +from ._models_py3 import ClusterProfile +from ._models_py3 import ConsoleProfile +from ._models_py3 import Display +from ._models_py3 import IngressProfile +from ._models_py3 import MasterProfile +from ._models_py3 import NetworkProfile +from ._models_py3 import OpenShiftCluster +from ._models_py3 import OpenShiftClusterCredentials +from ._models_py3 import OpenShiftClusterList +from ._models_py3 import OpenShiftClusterUpdate +from ._models_py3 import Operation +from ._models_py3 import OperationList +from ._models_py3 import Resource +from ._models_py3 import ServicePrincipalProfile +from ._models_py3 import TrackedResource +from ._models_py3 import WorkerProfile + from ._azure_red_hat_open_shift4_client_enums import ( ProvisioningState, diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_azure_red_hat_open_shift4_client_enums.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_azure_red_hat_open_shift4_client_enums.py index adee61661ff7..d88062dfc108 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_azure_red_hat_open_shift4_client_enums.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_azure_red_hat_open_shift4_client_enums.py @@ -6,27 +6,12 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum, EnumMeta +from enum import Enum from six import with_metaclass +from azure.core import CaseInsensitiveEnumMeta -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """ProvisioningState represents a provisioning state. """ @@ -37,14 +22,14 @@ class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SUCCEEDED = "Succeeded" UPDATING = "Updating" -class Visibility(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class Visibility(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Visibility represents visibility. """ PRIVATE = "Private" PUBLIC = "Public" -class VMSize(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class VMSize(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """VMSize represents a VM size. """ diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_models.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_models.py deleted file mode 100644 index 8d9bec6a3125..000000000000 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_models.py +++ /dev/null @@ -1,605 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -import msrest.serialization - - -class APIServerProfile(msrest.serialization.Model): - """APIServerProfile represents an API server profile. - - :param visibility: API server visibility (immutable). Possible values include: "Private", - "Public". - :type visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility - :param url: The URL to access the cluster API server (immutable). - :type url: str - :param ip: The IP of the cluster API server (immutable). - :type ip: str - """ - - _attribute_map = { - 'visibility': {'key': 'visibility', 'type': 'str'}, - 'url': {'key': 'url', 'type': 'str'}, - 'ip': {'key': 'ip', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(APIServerProfile, self).__init__(**kwargs) - self.visibility = kwargs.get('visibility', None) - self.url = kwargs.get('url', None) - self.ip = kwargs.get('ip', None) - - -class CloudErrorBody(msrest.serialization.Model): - """CloudErrorBody represents the body of a cloud error. - - :param code: An identifier for the error. Codes are invariant and are intended to be consumed - programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user - interface. - :type message: str - :param target: The target of the particular error. For example, the name of the property in - error. - :type target: str - :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.CloudErrorBody] - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, - } - - def __init__( - self, - **kwargs - ): - super(CloudErrorBody, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) - self.target = kwargs.get('target', None) - self.details = kwargs.get('details', None) - - -class ClusterProfile(msrest.serialization.Model): - """ClusterProfile represents a cluster profile. - - :param pull_secret: The pull secret for the cluster (immutable). - :type pull_secret: str - :param domain: The domain for the cluster (immutable). - :type domain: str - :param version: The version of the cluster (immutable). - :type version: str - :param resource_group_id: The ID of the cluster resource group (immutable). - :type resource_group_id: str - """ - - _attribute_map = { - 'pull_secret': {'key': 'pullSecret', 'type': 'str'}, - 'domain': {'key': 'domain', 'type': 'str'}, - 'version': {'key': 'version', 'type': 'str'}, - 'resource_group_id': {'key': 'resourceGroupId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ClusterProfile, self).__init__(**kwargs) - self.pull_secret = kwargs.get('pull_secret', None) - self.domain = kwargs.get('domain', None) - self.version = kwargs.get('version', None) - self.resource_group_id = kwargs.get('resource_group_id', None) - - -class ConsoleProfile(msrest.serialization.Model): - """ConsoleProfile represents a console profile. - - :param url: The URL to access the cluster console (immutable). - :type url: str - """ - - _attribute_map = { - 'url': {'key': 'url', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ConsoleProfile, self).__init__(**kwargs) - self.url = kwargs.get('url', None) - - -class Display(msrest.serialization.Model): - """Display represents the display details of an operation. - - :param provider: Friendly name of the resource provider. - :type provider: str - :param resource: Resource type on which the operation is performed. - :type resource: str - :param operation: Operation type: read, write, delete, listKeys/action, etc. - :type operation: str - :param description: Friendly name of the operation. - :type description: str - """ - - _attribute_map = { - 'provider': {'key': 'provider', 'type': 'str'}, - 'resource': {'key': 'resource', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'str'}, - 'description': {'key': 'description', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Display, self).__init__(**kwargs) - self.provider = kwargs.get('provider', None) - self.resource = kwargs.get('resource', None) - self.operation = kwargs.get('operation', None) - self.description = kwargs.get('description', None) - - -class IngressProfile(msrest.serialization.Model): - """IngressProfile represents an ingress profile. - - :param name: The ingress profile name. Must be "default" (immutable). - :type name: str - :param visibility: Ingress visibility (immutable). Possible values include: "Private", - "Public". - :type visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility - :param ip: The IP of the ingress (immutable). - :type ip: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'visibility': {'key': 'visibility', 'type': 'str'}, - 'ip': {'key': 'ip', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(IngressProfile, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.visibility = kwargs.get('visibility', None) - self.ip = kwargs.get('ip', None) - - -class MasterProfile(msrest.serialization.Model): - """MasterProfile represents a master profile. - - :param vm_size: The size of the master VMs (immutable). Possible values include: - "Standard_D2s_v3", "Standard_D4s_v3", "Standard_D8s_v3". - :type vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize - :param subnet_id: The Azure resource ID of the master subnet (immutable). - :type subnet_id: str - """ - - _attribute_map = { - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'subnet_id': {'key': 'subnetId', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(MasterProfile, self).__init__(**kwargs) - self.vm_size = kwargs.get('vm_size', None) - self.subnet_id = kwargs.get('subnet_id', None) - - -class NetworkProfile(msrest.serialization.Model): - """NetworkProfile represents a network profile. - - :param pod_cidr: The CIDR used for OpenShift/Kubernetes Pods (immutable). - :type pod_cidr: str - :param service_cidr: The CIDR used for OpenShift/Kubernetes Services (immutable). - :type service_cidr: str - """ - - _attribute_map = { - 'pod_cidr': {'key': 'podCidr', 'type': 'str'}, - 'service_cidr': {'key': 'serviceCidr', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(NetworkProfile, self).__init__(**kwargs) - self.pod_cidr = kwargs.get('pod_cidr', None) - self.service_cidr = kwargs.get('service_cidr', None) - - -class Resource(msrest.serialization.Model): - """Common fields that are returned in the response for all Azure Resource Manager resources. - - Variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - - -class TrackedResource(Resource): - """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TrackedResource, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.location = kwargs['location'] - - -class OpenShiftCluster(TrackedResource): - """OpenShiftCluster represents an Azure Red Hat OpenShift cluster. - - Variables are only populated by the server, and will be ignored when sending a request. - - All required parameters must be populated in order to send to Azure. - - :ivar id: Fully qualified resource ID for the resource. Ex - - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. - :vartype id: str - :ivar name: The name of the resource. - :vartype name: str - :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - "Microsoft.Storage/storageAccounts". - :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param provisioning_state: The cluster provisioning state (immutable). Possible values include: - "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". - :type provisioning_state: str or - ~azure.mgmt.redhatopenshift.v2020_04_30.models.ProvisioningState - :param cluster_profile: The cluster profile. - :type cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile - :param console_profile: The console profile. - :type console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile - :param service_principal_profile: The cluster service principal profile. - :type service_principal_profile: - ~azure.mgmt.redhatopenshift.v2020_04_30.models.ServicePrincipalProfile - :param network_profile: The cluster network profile. - :type network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile - :param master_profile: The cluster master profile. - :type master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile - :param worker_profiles: The cluster worker profiles. - :type worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] - :param apiserver_profile: The cluster API server profile. - :type apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile - :param ingress_profiles: The cluster ingress profiles. - :type ingress_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'location': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'location': {'key': 'location', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'cluster_profile': {'key': 'properties.clusterProfile', 'type': 'ClusterProfile'}, - 'console_profile': {'key': 'properties.consoleProfile', 'type': 'ConsoleProfile'}, - 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ServicePrincipalProfile'}, - 'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'}, - 'master_profile': {'key': 'properties.masterProfile', 'type': 'MasterProfile'}, - 'worker_profiles': {'key': 'properties.workerProfiles', 'type': '[WorkerProfile]'}, - 'apiserver_profile': {'key': 'properties.apiserverProfile', 'type': 'APIServerProfile'}, - 'ingress_profiles': {'key': 'properties.ingressProfiles', 'type': '[IngressProfile]'}, - } - - def __init__( - self, - **kwargs - ): - super(OpenShiftCluster, self).__init__(**kwargs) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.cluster_profile = kwargs.get('cluster_profile', None) - self.console_profile = kwargs.get('console_profile', None) - self.service_principal_profile = kwargs.get('service_principal_profile', None) - self.network_profile = kwargs.get('network_profile', None) - self.master_profile = kwargs.get('master_profile', None) - self.worker_profiles = kwargs.get('worker_profiles', None) - self.apiserver_profile = kwargs.get('apiserver_profile', None) - self.ingress_profiles = kwargs.get('ingress_profiles', None) - - -class OpenShiftClusterCredentials(msrest.serialization.Model): - """OpenShiftClusterCredentials represents an OpenShift cluster's credentials. - - :param kubeadmin_username: The username for the kubeadmin user. - :type kubeadmin_username: str - :param kubeadmin_password: The password for the kubeadmin user. - :type kubeadmin_password: str - """ - - _attribute_map = { - 'kubeadmin_username': {'key': 'kubeadminUsername', 'type': 'str'}, - 'kubeadmin_password': {'key': 'kubeadminPassword', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OpenShiftClusterCredentials, self).__init__(**kwargs) - self.kubeadmin_username = kwargs.get('kubeadmin_username', None) - self.kubeadmin_password = kwargs.get('kubeadmin_password', None) - - -class OpenShiftClusterList(msrest.serialization.Model): - """OpenShiftClusterList represents a list of OpenShift clusters. - - :param value: The list of OpenShift clusters. - :type value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] - :param next_link: The link used to get the next page of operations. - :type next_link: str - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[OpenShiftCluster]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OpenShiftClusterList, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = kwargs.get('next_link', None) - - -class OpenShiftClusterUpdate(msrest.serialization.Model): - """OpenShiftCluster represents an Azure Red Hat OpenShift cluster. - - :param tags: A set of tags. The resource tags. - :type tags: dict[str, str] - :param provisioning_state: The cluster provisioning state (immutable). Possible values include: - "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". - :type provisioning_state: str or - ~azure.mgmt.redhatopenshift.v2020_04_30.models.ProvisioningState - :param cluster_profile: The cluster profile. - :type cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile - :param console_profile: The console profile. - :type console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile - :param service_principal_profile: The cluster service principal profile. - :type service_principal_profile: - ~azure.mgmt.redhatopenshift.v2020_04_30.models.ServicePrincipalProfile - :param network_profile: The cluster network profile. - :type network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile - :param master_profile: The cluster master profile. - :type master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile - :param worker_profiles: The cluster worker profiles. - :type worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] - :param apiserver_profile: The cluster API server profile. - :type apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile - :param ingress_profiles: The cluster ingress profiles. - :type ingress_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] - """ - - _attribute_map = { - 'tags': {'key': 'tags', 'type': '{str}'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'cluster_profile': {'key': 'properties.clusterProfile', 'type': 'ClusterProfile'}, - 'console_profile': {'key': 'properties.consoleProfile', 'type': 'ConsoleProfile'}, - 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ServicePrincipalProfile'}, - 'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'}, - 'master_profile': {'key': 'properties.masterProfile', 'type': 'MasterProfile'}, - 'worker_profiles': {'key': 'properties.workerProfiles', 'type': '[WorkerProfile]'}, - 'apiserver_profile': {'key': 'properties.apiserverProfile', 'type': 'APIServerProfile'}, - 'ingress_profiles': {'key': 'properties.ingressProfiles', 'type': '[IngressProfile]'}, - } - - def __init__( - self, - **kwargs - ): - super(OpenShiftClusterUpdate, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.cluster_profile = kwargs.get('cluster_profile', None) - self.console_profile = kwargs.get('console_profile', None) - self.service_principal_profile = kwargs.get('service_principal_profile', None) - self.network_profile = kwargs.get('network_profile', None) - self.master_profile = kwargs.get('master_profile', None) - self.worker_profiles = kwargs.get('worker_profiles', None) - self.apiserver_profile = kwargs.get('apiserver_profile', None) - self.ingress_profiles = kwargs.get('ingress_profiles', None) - - -class Operation(msrest.serialization.Model): - """Operation represents an RP operation. - - :param name: Operation name: {provider}/{resource}/{operation}. - :type name: str - :param display: The object that describes the operation. - :type display: ~azure.mgmt.redhatopenshift.v2020_04_30.models.Display - :param origin: Sources of requests to this operation. Comma separated list with valid values - user or system, e.g. "user,system". - :type origin: str - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'display': {'key': 'display', 'type': 'Display'}, - 'origin': {'key': 'origin', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(Operation, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.display = kwargs.get('display', None) - self.origin = kwargs.get('origin', None) - - -class OperationList(msrest.serialization.Model): - """OperationList represents an RP operation list. - - :param value: List of operations supported by the resource provider. - :type value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.Operation] - :param next_link: The link used to get the next page of operations. - :type next_link: str - """ - - _attribute_map = { - 'value': {'key': 'value', 'type': '[Operation]'}, - 'next_link': {'key': 'nextLink', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(OperationList, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = kwargs.get('next_link', None) - - -class ServicePrincipalProfile(msrest.serialization.Model): - """ServicePrincipalProfile represents a service principal profile. - - :param client_id: The client ID used for the cluster (immutable). - :type client_id: str - :param client_secret: The client secret used for the cluster (immutable). - :type client_secret: str - """ - - _attribute_map = { - 'client_id': {'key': 'clientId', 'type': 'str'}, - 'client_secret': {'key': 'clientSecret', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ServicePrincipalProfile, self).__init__(**kwargs) - self.client_id = kwargs.get('client_id', None) - self.client_secret = kwargs.get('client_secret', None) - - -class WorkerProfile(msrest.serialization.Model): - """WorkerProfile represents a worker profile. - - :param name: The worker profile name. Must be "worker" (immutable). - :type name: str - :param vm_size: The size of the worker VMs (immutable). Possible values include: - "Standard_D2s_v3", "Standard_D4s_v3", "Standard_D8s_v3". - :type vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize - :param disk_size_gb: The disk size of the worker VMs. Must be 128 or greater (immutable). - :type disk_size_gb: int - :param subnet_id: The Azure resource ID of the worker subnet (immutable). - :type subnet_id: str - :param count: The number of worker VMs. Must be between 3 and 20 (immutable). - :type count: int - """ - - _attribute_map = { - 'name': {'key': 'name', 'type': 'str'}, - 'vm_size': {'key': 'vmSize', 'type': 'str'}, - 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, - 'subnet_id': {'key': 'subnetId', 'type': 'str'}, - 'count': {'key': 'count', 'type': 'int'}, - } - - def __init__( - self, - **kwargs - ): - super(WorkerProfile, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.vm_size = kwargs.get('vm_size', None) - self.disk_size_gb = kwargs.get('disk_size_gb', None) - self.subnet_id = kwargs.get('subnet_id', None) - self.count = kwargs.get('count', None) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_models_py3.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_models_py3.py index 3011cb69fc63..372d1a7b4e5d 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_models_py3.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/models/_models_py3.py @@ -16,13 +16,13 @@ class APIServerProfile(msrest.serialization.Model): """APIServerProfile represents an API server profile. - :param visibility: API server visibility (immutable). Possible values include: "Private", + :ivar visibility: API server visibility (immutable). Possible values include: "Private", "Public". - :type visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility - :param url: The URL to access the cluster API server (immutable). - :type url: str - :param ip: The IP of the cluster API server (immutable). - :type ip: str + :vartype visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility + :ivar url: The URL to access the cluster API server (immutable). + :vartype url: str + :ivar ip: The IP of the cluster API server (immutable). + :vartype ip: str """ _attribute_map = { @@ -39,6 +39,15 @@ def __init__( ip: Optional[str] = None, **kwargs ): + """ + :keyword visibility: API server visibility (immutable). Possible values include: "Private", + "Public". + :paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility + :keyword url: The URL to access the cluster API server (immutable). + :paramtype url: str + :keyword ip: The IP of the cluster API server (immutable). + :paramtype ip: str + """ super(APIServerProfile, self).__init__(**kwargs) self.visibility = visibility self.url = url @@ -48,17 +57,17 @@ def __init__( class CloudErrorBody(msrest.serialization.Model): """CloudErrorBody represents the body of a cloud error. - :param code: An identifier for the error. Codes are invariant and are intended to be consumed + :ivar code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - :type code: str - :param message: A message describing the error, intended to be suitable for display in a user + :vartype code: str + :ivar message: A message describing the error, intended to be suitable for display in a user interface. - :type message: str - :param target: The target of the particular error. For example, the name of the property in + :vartype message: str + :ivar target: The target of the particular error. For example, the name of the property in error. - :type target: str - :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.CloudErrorBody] + :vartype target: str + :ivar details: A list of additional details about the error. + :vartype details: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.CloudErrorBody] """ _attribute_map = { @@ -77,6 +86,19 @@ def __init__( details: Optional[List["CloudErrorBody"]] = None, **kwargs ): + """ + :keyword code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :paramtype code: str + :keyword message: A message describing the error, intended to be suitable for display in a user + interface. + :paramtype message: str + :keyword target: The target of the particular error. For example, the name of the property in + error. + :paramtype target: str + :keyword details: A list of additional details about the error. + :paramtype details: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.CloudErrorBody] + """ super(CloudErrorBody, self).__init__(**kwargs) self.code = code self.message = message @@ -87,14 +109,14 @@ def __init__( class ClusterProfile(msrest.serialization.Model): """ClusterProfile represents a cluster profile. - :param pull_secret: The pull secret for the cluster (immutable). - :type pull_secret: str - :param domain: The domain for the cluster (immutable). - :type domain: str - :param version: The version of the cluster (immutable). - :type version: str - :param resource_group_id: The ID of the cluster resource group (immutable). - :type resource_group_id: str + :ivar pull_secret: The pull secret for the cluster (immutable). + :vartype pull_secret: str + :ivar domain: The domain for the cluster (immutable). + :vartype domain: str + :ivar version: The version of the cluster (immutable). + :vartype version: str + :ivar resource_group_id: The ID of the cluster resource group (immutable). + :vartype resource_group_id: str """ _attribute_map = { @@ -113,6 +135,16 @@ def __init__( resource_group_id: Optional[str] = None, **kwargs ): + """ + :keyword pull_secret: The pull secret for the cluster (immutable). + :paramtype pull_secret: str + :keyword domain: The domain for the cluster (immutable). + :paramtype domain: str + :keyword version: The version of the cluster (immutable). + :paramtype version: str + :keyword resource_group_id: The ID of the cluster resource group (immutable). + :paramtype resource_group_id: str + """ super(ClusterProfile, self).__init__(**kwargs) self.pull_secret = pull_secret self.domain = domain @@ -123,8 +155,8 @@ def __init__( class ConsoleProfile(msrest.serialization.Model): """ConsoleProfile represents a console profile. - :param url: The URL to access the cluster console (immutable). - :type url: str + :ivar url: The URL to access the cluster console (immutable). + :vartype url: str """ _attribute_map = { @@ -137,6 +169,10 @@ def __init__( url: Optional[str] = None, **kwargs ): + """ + :keyword url: The URL to access the cluster console (immutable). + :paramtype url: str + """ super(ConsoleProfile, self).__init__(**kwargs) self.url = url @@ -144,14 +180,14 @@ def __init__( class Display(msrest.serialization.Model): """Display represents the display details of an operation. - :param provider: Friendly name of the resource provider. - :type provider: str - :param resource: Resource type on which the operation is performed. - :type resource: str - :param operation: Operation type: read, write, delete, listKeys/action, etc. - :type operation: str - :param description: Friendly name of the operation. - :type description: str + :ivar provider: Friendly name of the resource provider. + :vartype provider: str + :ivar resource: Resource type on which the operation is performed. + :vartype resource: str + :ivar operation: Operation type: read, write, delete, listKeys/action, etc. + :vartype operation: str + :ivar description: Friendly name of the operation. + :vartype description: str """ _attribute_map = { @@ -170,6 +206,16 @@ def __init__( description: Optional[str] = None, **kwargs ): + """ + :keyword provider: Friendly name of the resource provider. + :paramtype provider: str + :keyword resource: Resource type on which the operation is performed. + :paramtype resource: str + :keyword operation: Operation type: read, write, delete, listKeys/action, etc. + :paramtype operation: str + :keyword description: Friendly name of the operation. + :paramtype description: str + """ super(Display, self).__init__(**kwargs) self.provider = provider self.resource = resource @@ -180,13 +226,12 @@ def __init__( class IngressProfile(msrest.serialization.Model): """IngressProfile represents an ingress profile. - :param name: The ingress profile name. Must be "default" (immutable). - :type name: str - :param visibility: Ingress visibility (immutable). Possible values include: "Private", - "Public". - :type visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility - :param ip: The IP of the ingress (immutable). - :type ip: str + :ivar name: The ingress profile name. Must be "default" (immutable). + :vartype name: str + :ivar visibility: Ingress visibility (immutable). Possible values include: "Private", "Public". + :vartype visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility + :ivar ip: The IP of the ingress (immutable). + :vartype ip: str """ _attribute_map = { @@ -203,6 +248,15 @@ def __init__( ip: Optional[str] = None, **kwargs ): + """ + :keyword name: The ingress profile name. Must be "default" (immutable). + :paramtype name: str + :keyword visibility: Ingress visibility (immutable). Possible values include: "Private", + "Public". + :paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.Visibility + :keyword ip: The IP of the ingress (immutable). + :paramtype ip: str + """ super(IngressProfile, self).__init__(**kwargs) self.name = name self.visibility = visibility @@ -212,11 +266,11 @@ def __init__( class MasterProfile(msrest.serialization.Model): """MasterProfile represents a master profile. - :param vm_size: The size of the master VMs (immutable). Possible values include: + :ivar vm_size: The size of the master VMs (immutable). Possible values include: "Standard_D2s_v3", "Standard_D4s_v3", "Standard_D8s_v3". - :type vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize - :param subnet_id: The Azure resource ID of the master subnet (immutable). - :type subnet_id: str + :vartype vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize + :ivar subnet_id: The Azure resource ID of the master subnet (immutable). + :vartype subnet_id: str """ _attribute_map = { @@ -231,6 +285,13 @@ def __init__( subnet_id: Optional[str] = None, **kwargs ): + """ + :keyword vm_size: The size of the master VMs (immutable). Possible values include: + "Standard_D2s_v3", "Standard_D4s_v3", "Standard_D8s_v3". + :paramtype vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize + :keyword subnet_id: The Azure resource ID of the master subnet (immutable). + :paramtype subnet_id: str + """ super(MasterProfile, self).__init__(**kwargs) self.vm_size = vm_size self.subnet_id = subnet_id @@ -239,10 +300,10 @@ def __init__( class NetworkProfile(msrest.serialization.Model): """NetworkProfile represents a network profile. - :param pod_cidr: The CIDR used for OpenShift/Kubernetes Pods (immutable). - :type pod_cidr: str - :param service_cidr: The CIDR used for OpenShift/Kubernetes Services (immutable). - :type service_cidr: str + :ivar pod_cidr: The CIDR used for OpenShift/Kubernetes Pods (immutable). + :vartype pod_cidr: str + :ivar service_cidr: The CIDR used for OpenShift/Kubernetes Services (immutable). + :vartype service_cidr: str """ _attribute_map = { @@ -257,6 +318,12 @@ def __init__( service_cidr: Optional[str] = None, **kwargs ): + """ + :keyword pod_cidr: The CIDR used for OpenShift/Kubernetes Pods (immutable). + :paramtype pod_cidr: str + :keyword service_cidr: The CIDR used for OpenShift/Kubernetes Services (immutable). + :paramtype service_cidr: str + """ super(NetworkProfile, self).__init__(**kwargs) self.pod_cidr = pod_cidr self.service_cidr = service_cidr @@ -293,6 +360,8 @@ def __init__( self, **kwargs ): + """ + """ super(Resource, self).__init__(**kwargs) self.id = None self.name = None @@ -314,10 +383,10 @@ class TrackedResource(Resource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str """ _validation = { @@ -342,6 +411,12 @@ def __init__( tags: Optional[Dict[str, str]] = None, **kwargs ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ super(TrackedResource, self).__init__(**kwargs) self.tags = tags self.location = location @@ -362,31 +437,31 @@ class OpenShiftCluster(TrackedResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param provisioning_state: The cluster provisioning state (immutable). Possible values include: + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar provisioning_state: The cluster provisioning state (immutable). Possible values include: "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". - :type provisioning_state: str or + :vartype provisioning_state: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.ProvisioningState - :param cluster_profile: The cluster profile. - :type cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile - :param console_profile: The console profile. - :type console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile - :param service_principal_profile: The cluster service principal profile. - :type service_principal_profile: + :ivar cluster_profile: The cluster profile. + :vartype cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile + :ivar console_profile: The console profile. + :vartype console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile + :ivar service_principal_profile: The cluster service principal profile. + :vartype service_principal_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ServicePrincipalProfile - :param network_profile: The cluster network profile. - :type network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile - :param master_profile: The cluster master profile. - :type master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile - :param worker_profiles: The cluster worker profiles. - :type worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] - :param apiserver_profile: The cluster API server profile. - :type apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile - :param ingress_profiles: The cluster ingress profiles. - :type ingress_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] + :ivar network_profile: The cluster network profile. + :vartype network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile + :ivar master_profile: The cluster master profile. + :vartype master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile + :ivar worker_profiles: The cluster worker profiles. + :vartype worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] + :ivar apiserver_profile: The cluster API server profile. + :vartype apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile + :ivar ingress_profiles: The cluster ingress profiles. + :vartype ingress_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] """ _validation = { @@ -429,6 +504,34 @@ def __init__( ingress_profiles: Optional[List["IngressProfile"]] = None, **kwargs ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword provisioning_state: The cluster provisioning state (immutable). Possible values + include: "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :paramtype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2020_04_30.models.ProvisioningState + :keyword cluster_profile: The cluster profile. + :paramtype cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile + :keyword console_profile: The console profile. + :paramtype console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile + :keyword service_principal_profile: The cluster service principal profile. + :paramtype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2020_04_30.models.ServicePrincipalProfile + :keyword network_profile: The cluster network profile. + :paramtype network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile + :keyword master_profile: The cluster master profile. + :paramtype master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile + :keyword worker_profiles: The cluster worker profiles. + :paramtype worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] + :keyword apiserver_profile: The cluster API server profile. + :paramtype apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile + :keyword ingress_profiles: The cluster ingress profiles. + :paramtype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] + """ super(OpenShiftCluster, self).__init__(tags=tags, location=location, **kwargs) self.provisioning_state = provisioning_state self.cluster_profile = cluster_profile @@ -444,10 +547,10 @@ def __init__( class OpenShiftClusterCredentials(msrest.serialization.Model): """OpenShiftClusterCredentials represents an OpenShift cluster's credentials. - :param kubeadmin_username: The username for the kubeadmin user. - :type kubeadmin_username: str - :param kubeadmin_password: The password for the kubeadmin user. - :type kubeadmin_password: str + :ivar kubeadmin_username: The username for the kubeadmin user. + :vartype kubeadmin_username: str + :ivar kubeadmin_password: The password for the kubeadmin user. + :vartype kubeadmin_password: str """ _attribute_map = { @@ -462,6 +565,12 @@ def __init__( kubeadmin_password: Optional[str] = None, **kwargs ): + """ + :keyword kubeadmin_username: The username for the kubeadmin user. + :paramtype kubeadmin_username: str + :keyword kubeadmin_password: The password for the kubeadmin user. + :paramtype kubeadmin_password: str + """ super(OpenShiftClusterCredentials, self).__init__(**kwargs) self.kubeadmin_username = kubeadmin_username self.kubeadmin_password = kubeadmin_password @@ -470,10 +579,10 @@ def __init__( class OpenShiftClusterList(msrest.serialization.Model): """OpenShiftClusterList represents a list of OpenShift clusters. - :param value: The list of OpenShift clusters. - :type value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] - :param next_link: The link used to get the next page of operations. - :type next_link: str + :ivar value: The list of OpenShift clusters. + :vartype value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] + :ivar next_link: The link used to get the next page of operations. + :vartype next_link: str """ _attribute_map = { @@ -488,6 +597,12 @@ def __init__( next_link: Optional[str] = None, **kwargs ): + """ + :keyword value: The list of OpenShift clusters. + :paramtype value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] + :keyword next_link: The link used to get the next page of operations. + :paramtype next_link: str + """ super(OpenShiftClusterList, self).__init__(**kwargs) self.value = value self.next_link = next_link @@ -496,29 +611,29 @@ def __init__( class OpenShiftClusterUpdate(msrest.serialization.Model): """OpenShiftCluster represents an Azure Red Hat OpenShift cluster. - :param tags: A set of tags. The resource tags. - :type tags: dict[str, str] - :param provisioning_state: The cluster provisioning state (immutable). Possible values include: + :ivar tags: A set of tags. The resource tags. + :vartype tags: dict[str, str] + :ivar provisioning_state: The cluster provisioning state (immutable). Possible values include: "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". - :type provisioning_state: str or + :vartype provisioning_state: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.ProvisioningState - :param cluster_profile: The cluster profile. - :type cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile - :param console_profile: The console profile. - :type console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile - :param service_principal_profile: The cluster service principal profile. - :type service_principal_profile: + :ivar cluster_profile: The cluster profile. + :vartype cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile + :ivar console_profile: The console profile. + :vartype console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile + :ivar service_principal_profile: The cluster service principal profile. + :vartype service_principal_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ServicePrincipalProfile - :param network_profile: The cluster network profile. - :type network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile - :param master_profile: The cluster master profile. - :type master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile - :param worker_profiles: The cluster worker profiles. - :type worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] - :param apiserver_profile: The cluster API server profile. - :type apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile - :param ingress_profiles: The cluster ingress profiles. - :type ingress_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] + :ivar network_profile: The cluster network profile. + :vartype network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile + :ivar master_profile: The cluster master profile. + :vartype master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile + :ivar worker_profiles: The cluster worker profiles. + :vartype worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] + :ivar apiserver_profile: The cluster API server profile. + :vartype apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile + :ivar ingress_profiles: The cluster ingress profiles. + :vartype ingress_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] """ _attribute_map = { @@ -549,6 +664,32 @@ def __init__( ingress_profiles: Optional[List["IngressProfile"]] = None, **kwargs ): + """ + :keyword tags: A set of tags. The resource tags. + :paramtype tags: dict[str, str] + :keyword provisioning_state: The cluster provisioning state (immutable). Possible values + include: "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :paramtype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2020_04_30.models.ProvisioningState + :keyword cluster_profile: The cluster profile. + :paramtype cluster_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ClusterProfile + :keyword console_profile: The console profile. + :paramtype console_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.ConsoleProfile + :keyword service_principal_profile: The cluster service principal profile. + :paramtype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2020_04_30.models.ServicePrincipalProfile + :keyword network_profile: The cluster network profile. + :paramtype network_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.NetworkProfile + :keyword master_profile: The cluster master profile. + :paramtype master_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.MasterProfile + :keyword worker_profiles: The cluster worker profiles. + :paramtype worker_profiles: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.WorkerProfile] + :keyword apiserver_profile: The cluster API server profile. + :paramtype apiserver_profile: ~azure.mgmt.redhatopenshift.v2020_04_30.models.APIServerProfile + :keyword ingress_profiles: The cluster ingress profiles. + :paramtype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2020_04_30.models.IngressProfile] + """ super(OpenShiftClusterUpdate, self).__init__(**kwargs) self.tags = tags self.provisioning_state = provisioning_state @@ -565,13 +706,13 @@ def __init__( class Operation(msrest.serialization.Model): """Operation represents an RP operation. - :param name: Operation name: {provider}/{resource}/{operation}. - :type name: str - :param display: The object that describes the operation. - :type display: ~azure.mgmt.redhatopenshift.v2020_04_30.models.Display - :param origin: Sources of requests to this operation. Comma separated list with valid values + :ivar name: Operation name: {provider}/{resource}/{operation}. + :vartype name: str + :ivar display: The object that describes the operation. + :vartype display: ~azure.mgmt.redhatopenshift.v2020_04_30.models.Display + :ivar origin: Sources of requests to this operation. Comma separated list with valid values user or system, e.g. "user,system". - :type origin: str + :vartype origin: str """ _attribute_map = { @@ -588,6 +729,15 @@ def __init__( origin: Optional[str] = None, **kwargs ): + """ + :keyword name: Operation name: {provider}/{resource}/{operation}. + :paramtype name: str + :keyword display: The object that describes the operation. + :paramtype display: ~azure.mgmt.redhatopenshift.v2020_04_30.models.Display + :keyword origin: Sources of requests to this operation. Comma separated list with valid values + user or system, e.g. "user,system". + :paramtype origin: str + """ super(Operation, self).__init__(**kwargs) self.name = name self.display = display @@ -597,10 +747,10 @@ def __init__( class OperationList(msrest.serialization.Model): """OperationList represents an RP operation list. - :param value: List of operations supported by the resource provider. - :type value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.Operation] - :param next_link: The link used to get the next page of operations. - :type next_link: str + :ivar value: List of operations supported by the resource provider. + :vartype value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.Operation] + :ivar next_link: The link used to get the next page of operations. + :vartype next_link: str """ _attribute_map = { @@ -615,6 +765,12 @@ def __init__( next_link: Optional[str] = None, **kwargs ): + """ + :keyword value: List of operations supported by the resource provider. + :paramtype value: list[~azure.mgmt.redhatopenshift.v2020_04_30.models.Operation] + :keyword next_link: The link used to get the next page of operations. + :paramtype next_link: str + """ super(OperationList, self).__init__(**kwargs) self.value = value self.next_link = next_link @@ -623,10 +779,10 @@ def __init__( class ServicePrincipalProfile(msrest.serialization.Model): """ServicePrincipalProfile represents a service principal profile. - :param client_id: The client ID used for the cluster (immutable). - :type client_id: str - :param client_secret: The client secret used for the cluster (immutable). - :type client_secret: str + :ivar client_id: The client ID used for the cluster (immutable). + :vartype client_id: str + :ivar client_secret: The client secret used for the cluster (immutable). + :vartype client_secret: str """ _attribute_map = { @@ -641,6 +797,12 @@ def __init__( client_secret: Optional[str] = None, **kwargs ): + """ + :keyword client_id: The client ID used for the cluster (immutable). + :paramtype client_id: str + :keyword client_secret: The client secret used for the cluster (immutable). + :paramtype client_secret: str + """ super(ServicePrincipalProfile, self).__init__(**kwargs) self.client_id = client_id self.client_secret = client_secret @@ -649,17 +811,17 @@ def __init__( class WorkerProfile(msrest.serialization.Model): """WorkerProfile represents a worker profile. - :param name: The worker profile name. Must be "worker" (immutable). - :type name: str - :param vm_size: The size of the worker VMs (immutable). Possible values include: + :ivar name: The worker profile name. Must be "worker" (immutable). + :vartype name: str + :ivar vm_size: The size of the worker VMs (immutable). Possible values include: "Standard_D2s_v3", "Standard_D4s_v3", "Standard_D8s_v3". - :type vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize - :param disk_size_gb: The disk size of the worker VMs. Must be 128 or greater (immutable). - :type disk_size_gb: int - :param subnet_id: The Azure resource ID of the worker subnet (immutable). - :type subnet_id: str - :param count: The number of worker VMs. Must be between 3 and 20 (immutable). - :type count: int + :vartype vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize + :ivar disk_size_gb: The disk size of the worker VMs. Must be 128 or greater (immutable). + :vartype disk_size_gb: int + :ivar subnet_id: The Azure resource ID of the worker subnet (immutable). + :vartype subnet_id: str + :ivar count: The number of worker VMs. Must be between 3 and 20 (immutable). + :vartype count: int """ _attribute_map = { @@ -680,6 +842,19 @@ def __init__( count: Optional[int] = None, **kwargs ): + """ + :keyword name: The worker profile name. Must be "worker" (immutable). + :paramtype name: str + :keyword vm_size: The size of the worker VMs (immutable). Possible values include: + "Standard_D2s_v3", "Standard_D4s_v3", "Standard_D8s_v3". + :paramtype vm_size: str or ~azure.mgmt.redhatopenshift.v2020_04_30.models.VMSize + :keyword disk_size_gb: The disk size of the worker VMs. Must be 128 or greater (immutable). + :paramtype disk_size_gb: int + :keyword subnet_id: The Azure resource ID of the worker subnet (immutable). + :paramtype subnet_id: str + :keyword count: The number of worker VMs. Must be between 3 and 20 (immutable). + :paramtype count: int + """ super(WorkerProfile, self).__init__(**kwargs) self.name = name self.vm_size = vm_size diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_open_shift_clusters_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_open_shift_clusters_operations.py index c09e28883850..2cbc68dd1caa 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_open_shift_clusters_operations.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_open_shift_clusters_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,25 +6,289 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.arm_polling import ARMPolling from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +JSONType = Any +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id: str, + resource_group_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_or_update_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_list_credentials_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) class OpenShiftClustersOperations(object): """OpenShiftClustersOperations operations. @@ -47,53 +312,54 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def list( self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.OpenShiftClusterList"] + **kwargs: Any + ) -> Iterable["_models.OpenShiftClusterList"]: """Lists OpenShift clusters in the specified subscription. The operation returns properties of each OpenShift cluster. :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OpenShiftClusterList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('OpenShiftClusterList', pipeline_response) + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -102,7 +368,11 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -111,17 +381,18 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged( get_next, extract_data ) - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters'} # type: ignore + list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + @distributed_trace def list_by_resource_group( self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.OpenShiftClusterList"] + resource_group_name: str, + **kwargs: Any + ) -> Iterable["_models.OpenShiftClusterList"]: """Lists OpenShift clusters in the specified subscription and resource group. The operation returns properties of each OpenShift cluster. @@ -129,44 +400,46 @@ def list_by_resource_group( :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either OpenShiftClusterList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterList] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('OpenShiftClusterList', pipeline_response) + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -175,7 +448,11 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -184,18 +461,19 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged( get_next, extract_data ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters'} # type: ignore + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + @distributed_trace def get( self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.OpenShiftCluster" + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftCluster": """Gets a OpenShift cluster with the specified subscription, resource group and resource name. The operation returns properties of a OpenShift cluster. @@ -214,28 +492,25 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-04-30") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -248,48 +523,45 @@ def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + def _create_or_update_initial( self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.OpenShiftCluster" - **kwargs # type: Any - ): - # type: (...) -> "_models.OpenShiftCluster" + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> "_models.OpenShiftCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_or_update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'OpenShiftCluster') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftCluster') + + request = build_create_or_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_or_update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 201]: @@ -306,17 +578,20 @@ def _create_or_update_initial( return cls(pipeline_response, deserialized, {}) return deserialized - _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + _create_or_update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace def begin_create_or_update( self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.OpenShiftCluster" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.OpenShiftCluster"] - """Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name. + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> LROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. The operation returns properties of a OpenShift cluster. @@ -328,14 +603,20 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :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. + :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 OpenShiftCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] - :raises ~azure.core.exceptions.HttpResponseError: + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] lro_delay = kwargs.pop( @@ -348,27 +629,22 @@ def begin_create_or_update( resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters, + api_version=api_version, + content_type=content_type, cls=lambda x,y,z: x, **kwargs ) - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) def get_long_running_output(pipeline_response): + response = pipeline_response.http_response deserialized = self._deserialize('OpenShiftCluster', pipeline_response) - if cls: return cls(pipeline_response, deserialized, {}) return deserialized - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: @@ -378,44 +654,40 @@ def get_long_running_output(pipeline_response): client=self._client, deserialization_callback=get_long_running_output ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore - def _delete_initial( + def _delete_initial( # pylint: disable=inconsistent-return-statements self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-04-30") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self._delete_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [202, 204]: @@ -425,15 +697,16 @@ def _delete_initial( if cls: return cls(pipeline_response, None, {}) - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + - def begin_delete( + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> LROPoller[None]: """Deletes a OpenShift cluster with the specified subscription, resource group and resource name. The operation returns nothing. @@ -444,14 +717,17 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :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. + :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. + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: + :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType[None] lro_delay = kwargs.pop( @@ -463,24 +739,18 @@ def begin_delete( raw_result = self._delete_initial( resource_group_name=resource_group_name, resource_name=resource_name, + api_version=api_version, cls=lambda x,y,z: x, **kwargs ) - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: @@ -490,50 +760,45 @@ def get_long_running_output(pipeline_response): client=self._client, deserialization_callback=get_long_running_output ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore def _update_initial( self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.OpenShiftClusterUpdate" - **kwargs # type: Any - ): - # type: (...) -> "_models.OpenShiftCluster" + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> "_models.OpenShiftCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(parameters, 'OpenShiftClusterUpdate') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftClusterUpdate') + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200, 201]: @@ -550,17 +815,20 @@ def _update_initial( return cls(pipeline_response, deserialized, {}) return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + _update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace def begin_update( self, - resource_group_name, # type: str - resource_name, # type: str - parameters, # type: "_models.OpenShiftClusterUpdate" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.OpenShiftCluster"] - """Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name. + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> LROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. The operation returns properties of a OpenShift cluster. @@ -572,14 +840,20 @@ def begin_update( :type parameters: ~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftClusterUpdate :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :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. + :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 OpenShiftCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] - :raises ~azure.core.exceptions.HttpResponseError: + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2020_04_30.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] lro_delay = kwargs.pop( @@ -592,27 +866,22 @@ def begin_update( resource_group_name=resource_group_name, resource_name=resource_name, parameters=parameters, + api_version=api_version, + content_type=content_type, cls=lambda x,y,z: x, **kwargs ) - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) def get_long_running_output(pipeline_response): + response = pipeline_response.http_response deserialized = self._deserialize('OpenShiftCluster', pipeline_response) - if cls: return cls(pipeline_response, deserialized, {}) return deserialized - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: @@ -622,18 +891,19 @@ def get_long_running_output(pipeline_response): client=self._client, deserialization_callback=get_long_running_output ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}'} # type: ignore + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + @distributed_trace def list_credentials( self, - resource_group_name, # type: str - resource_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.OpenShiftClusterCredentials" - """Lists credentials of an OpenShift cluster with the specified subscription, resource group and resource name. + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterCredentials": + """Lists credentials of an OpenShift cluster with the specified subscription, resource group and + resource name. The operation returns the credentials. @@ -651,28 +921,25 @@ def list_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - - # Construct URL - url = self.list_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'resourceName': self._serialize.url("resource_name", resource_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + api_version = kwargs.pop('api_version', "2020-04-30") # type: str - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = build_list_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.post(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -685,4 +952,6 @@ def list_credentials( return cls(pipeline_response, deserialized, {}) return deserialized - list_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials'} # type: ignore + + list_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials"} # type: ignore + diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_operations.py index ab66926ecaa8..ace078e37d1b 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_operations.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30/operations/_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,23 +6,50 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + +from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.paging import ItemPaged from azure.core.pipeline import PipelineResponse -from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +from .._vendor import _convert_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.RedHatOpenShift/operations") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) class Operations(object): """Operations operations. @@ -45,49 +73,51 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def list( self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.OperationList"] + **kwargs: Any + ) -> Iterable["_models.OperationList"]: """Lists all of the available RP operations. The operation returns the RP operations. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OperationList] + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2020_04_30.models.OperationList] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2020-04-30") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-04-30" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.list.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('OperationList', pipeline_response) + deserialized = self._deserialize("OperationList", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -96,7 +126,11 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) response = pipeline_response.http_response if response.status_code not in [200]: @@ -105,7 +139,8 @@ def get_next(next_link=None): return pipeline_response + return ItemPaged( get_next, extract_data ) - list.metadata = {'url': '/providers/Microsoft.RedHatOpenShift/operations'} # type: ignore + list.metadata = {'url': "/providers/Microsoft.RedHatOpenShift/operations"} # type: ignore diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/__init__.py new file mode 100644 index 000000000000..a81e4a399ecf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_red_hat_open_shift_client import AzureRedHatOpenShiftClient +from ._version import VERSION + +__version__ = VERSION +__all__ = ['AzureRedHatOpenShiftClient'] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_azure_red_hat_open_shift_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_azure_red_hat_open_shift_client.py new file mode 100644 index 000000000000..f1773f04fb8a --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_azure_red_hat_open_shift_client.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core.rest import HttpRequest, HttpResponse +from azure.mgmt.core import ARMPipelineClient + +from . import models +from ._configuration import AzureRedHatOpenShiftClientConfiguration +from .operations import OpenShiftClustersOperations, Operations + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential + +class AzureRedHatOpenShiftClient: + """Rest API for Azure Red Hat OpenShift 4. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.redhatopenshift.v2021_09_01_preview.operations.Operations + :ivar open_shift_clusters: OpenShiftClustersOperations operations + :vartype open_shift_clusters: + azure.mgmt.redhatopenshift.v2021_09_01_preview.operations.OpenShiftClustersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2021-09-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + credential: "TokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = AzureRedHatOpenShiftClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.open_shift_clusters = OpenShiftClustersOperations(self._client, self._config, self._serialize, self._deserialize) + + + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> HttpResponse: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.HttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> AzureRedHatOpenShiftClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_configuration.py new file mode 100644 index 000000000000..6f67bc712663 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_configuration.py @@ -0,0 +1,73 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential + + +class AzureRedHatOpenShiftClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes + """Configuration for AzureRedHatOpenShiftClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2021-09-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential: "TokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(AzureRedHatOpenShiftClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-redhatopenshift/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_metadata.json b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_metadata.json new file mode 100644 index 000000000000..ecb242286926 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_metadata.json @@ -0,0 +1,103 @@ +{ + "chosen_version": "2021-09-01-preview", + "total_api_version_list": ["2021-09-01-preview"], + "client": { + "name": "AzureRedHatOpenShiftClient", + "filename": "_azure_red_hat_open_shift_client", + "description": "Rest API for Azure Red Hat OpenShift 4.", + "host_value": "\"https://management.azure.com\"", + "parameterized_host_template": 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\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureRedHatOpenShiftClientConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"], \"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureRedHatOpenShiftClientConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=\"https://management.azure.com\", # type: 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: str = \"https://management.azure.com\",", + "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_call_sync": "ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "credential_call_async": "AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMChallengeAuthenticationPolicy\", \"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\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" + }, + "operation_groups": { + "operations": "Operations", + "open_shift_clusters": "OpenShiftClustersOperations" + } +} \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_patch.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_vendor.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_vendor.py new file mode 100644 index 000000000000..138f663c53a4 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_vendor.py @@ -0,0 +1,27 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest(method=request.method, url=request.url, headers=request.headers, data=data) + if files: + request.set_formdata_body(files) + return request + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c for c in formatted_components if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_version.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_version.py new file mode 100644 index 000000000000..59deb8c7263b --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.1.0" diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/__init__.py new file mode 100644 index 000000000000..6be616fa9ec0 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_red_hat_open_shift_client import AzureRedHatOpenShiftClient +__all__ = ['AzureRedHatOpenShiftClient'] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_azure_red_hat_open_shift_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_azure_red_hat_open_shift_client.py new file mode 100644 index 000000000000..9561a6edd8d2 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_azure_red_hat_open_shift_client.py @@ -0,0 +1,98 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, Awaitable, TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core.rest import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient + +from .. import models +from ._configuration import AzureRedHatOpenShiftClientConfiguration +from .operations import OpenShiftClustersOperations, Operations + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +class AzureRedHatOpenShiftClient: + """Rest API for Azure Red Hat OpenShift 4. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.redhatopenshift.v2021_09_01_preview.aio.operations.Operations + :ivar open_shift_clusters: OpenShiftClustersOperations operations + :vartype open_shift_clusters: + azure.mgmt.redhatopenshift.v2021_09_01_preview.aio.operations.OpenShiftClustersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2021-09-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = AzureRedHatOpenShiftClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.open_shift_clusters = OpenShiftClustersOperations(self._client, self._config, self._serialize, self._deserialize) + + + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> Awaitable[AsyncHttpResponse]: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.AsyncHttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "AzureRedHatOpenShiftClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_configuration.py new file mode 100644 index 000000000000..e1c023593a79 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_configuration.py @@ -0,0 +1,72 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class AzureRedHatOpenShiftClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes + """Configuration for AzureRedHatOpenShiftClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2021-09-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(AzureRedHatOpenShiftClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-redhatopenshift/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_patch.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/__init__.py new file mode 100644 index 000000000000..7ffcf7895ee8 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._open_shift_clusters_operations import OpenShiftClustersOperations + +__all__ = [ + 'Operations', + 'OpenShiftClustersOperations', +] diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/_open_shift_clusters_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/_open_shift_clusters_operations.py new file mode 100644 index 000000000000..352e8b995039 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/_open_shift_clusters_operations.py @@ -0,0 +1,753 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._open_shift_clusters_operations import build_create_or_update_request_initial, build_delete_request_initial, build_get_request, build_list_admin_credentials_request, build_list_by_resource_group_request, build_list_credentials_request, build_list_request, build_update_request_initial +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OpenShiftClustersOperations: + """OpenShiftClustersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription. + + The operation returns properties of each OpenShift cluster. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription and resource group. + + The operation returns properties of each OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftCluster": + """Gets a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftCluster, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + async def _create_or_update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftCluster') + + request = build_create_or_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_or_update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_or_update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async + async def begin_create_or_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> AsyncLROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self._delete_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns nothing. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftClusterUpdate') + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async + async def begin_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> AsyncLROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + @distributed_trace_async + async def list_admin_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterAdminKubeconfig": + """Lists admin kubeconfig of an OpenShift cluster with the specified subscription, resource group + and resource name. + + The operation returns the admin kubeconfig. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterAdminKubeconfig, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterAdminKubeconfig + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterAdminKubeconfig"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_list_admin_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_admin_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterAdminKubeconfig', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_admin_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials"} # type: ignore + + + @distributed_trace_async + async def list_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterCredentials": + """Lists credentials of an OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns the credentials. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterCredentials, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterCredentials + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterCredentials"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_list_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterCredentials', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials"} # type: ignore + diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/_operations.py new file mode 100644 index 000000000000..9bc864770ab9 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/aio/operations/_operations.py @@ -0,0 +1,117 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._operations import build_list_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.OperationList"]: + """Lists all of the available RP operations. + + The operation returns the RP operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationList or the result of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OperationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("OperationList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/providers/Microsoft.RedHatOpenShift/operations"} # type: ignore diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/__init__.py new file mode 100644 index 000000000000..0b20a2573c35 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/__init__.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._models_py3 import APIServerProfile +from ._models_py3 import CloudErrorBody +from ._models_py3 import ClusterProfile +from ._models_py3 import ConsoleProfile +from ._models_py3 import Display +from ._models_py3 import IngressProfile +from ._models_py3 import MasterProfile +from ._models_py3 import NetworkProfile +from ._models_py3 import OpenShiftCluster +from ._models_py3 import OpenShiftClusterAdminKubeconfig +from ._models_py3 import OpenShiftClusterCredentials +from ._models_py3 import OpenShiftClusterList +from ._models_py3 import OpenShiftClusterUpdate +from ._models_py3 import Operation +from ._models_py3 import OperationList +from ._models_py3 import Resource +from ._models_py3 import ServicePrincipalProfile +from ._models_py3 import SystemData +from ._models_py3 import TrackedResource +from ._models_py3 import WorkerProfile + + +from ._azure_red_hat_open_shift_client_enums import ( + CreatedByType, + EncryptionAtHost, + ProvisioningState, + SoftwareDefinedNetwork, + VMSize, + Visibility, +) + +__all__ = [ + 'APIServerProfile', + 'CloudErrorBody', + 'ClusterProfile', + 'ConsoleProfile', + 'Display', + 'IngressProfile', + 'MasterProfile', + 'NetworkProfile', + 'OpenShiftCluster', + 'OpenShiftClusterAdminKubeconfig', + 'OpenShiftClusterCredentials', + 'OpenShiftClusterList', + 'OpenShiftClusterUpdate', + 'Operation', + 'OperationList', + 'Resource', + 'ServicePrincipalProfile', + 'SystemData', + 'TrackedResource', + 'WorkerProfile', + 'CreatedByType', + 'EncryptionAtHost', + 'ProvisioningState', + 'SoftwareDefinedNetwork', + 'VMSize', + 'Visibility', +] diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/_azure_red_hat_open_shift_client_enums.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/_azure_red_hat_open_shift_client_enums.py new file mode 100644 index 000000000000..884fe7bbed1c --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/_azure_red_hat_open_shift_client_enums.py @@ -0,0 +1,81 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum +from six import with_metaclass +from azure.core import CaseInsensitiveEnumMeta + + +class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class EncryptionAtHost(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """EncryptionAtHost represents encryption at host state + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """ProvisioningState represents a provisioning state. + """ + + ADMIN_UPDATING = "AdminUpdating" + CREATING = "Creating" + DELETING = "Deleting" + FAILED = "Failed" + SUCCEEDED = "Succeeded" + UPDATING = "Updating" + +class SoftwareDefinedNetwork(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """SoftwareDefinedNetwork constants. + """ + + OVN_KUBERNETES = "OVNKubernetes" + OPEN_SHIFT_SDN = "OpenShiftSDN" + +class Visibility(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Visibility represents visibility. + """ + + PRIVATE = "Private" + PUBLIC = "Public" + +class VMSize(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """VMSize represents a VM size. + """ + + STANDARD_D16_AS_V4 = "Standard_D16as_v4" + STANDARD_D16_S_V3 = "Standard_D16s_v3" + STANDARD_D2_S_V3 = "Standard_D2s_v3" + STANDARD_D32_AS_V4 = "Standard_D32as_v4" + STANDARD_D32_S_V3 = "Standard_D32s_v3" + STANDARD_D4_AS_V4 = "Standard_D4as_v4" + STANDARD_D4_S_V3 = "Standard_D4s_v3" + STANDARD_D8_AS_V4 = "Standard_D8as_v4" + STANDARD_D8_S_V3 = "Standard_D8s_v3" + STANDARD_E16_S_V3 = "Standard_E16s_v3" + STANDARD_E32_S_V3 = "Standard_E32s_v3" + STANDARD_E4_S_V3 = "Standard_E4s_v3" + STANDARD_E64_I_V3 = "Standard_E64i_v3" + STANDARD_E64_IS_V3 = "Standard_E64is_v3" + STANDARD_E8_S_V3 = "Standard_E8s_v3" + STANDARD_F16_S_V2 = "Standard_F16s_v2" + STANDARD_F32_S_V2 = "Standard_F32s_v2" + STANDARD_F4_S_V2 = "Standard_F4s_v2" + STANDARD_F72_S_V2 = "Standard_F72s_v2" + STANDARD_F8_S_V2 = "Standard_F8s_v2" + STANDARD_G5 = "Standard_G5" + STANDARD_GS5 = "Standard_GS5" + STANDARD_M128_MS = "Standard_M128ms" diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/_models_py3.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/_models_py3.py new file mode 100644 index 000000000000..b483971cd4bd --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/models/_models_py3.py @@ -0,0 +1,1056 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +import msrest.serialization + +from ._azure_red_hat_open_shift_client_enums import * + + +class APIServerProfile(msrest.serialization.Model): + """APIServerProfile represents an API server profile. + + :ivar visibility: API server visibility. Possible values include: "Private", "Public". + :vartype visibility: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Visibility + :ivar url: The URL to access the cluster API server. + :vartype url: str + :ivar ip: The IP of the cluster API server. + :vartype ip: str + """ + + _attribute_map = { + 'visibility': {'key': 'visibility', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + 'ip': {'key': 'ip', 'type': 'str'}, + } + + def __init__( + self, + *, + visibility: Optional[Union[str, "Visibility"]] = None, + url: Optional[str] = None, + ip: Optional[str] = None, + **kwargs + ): + """ + :keyword visibility: API server visibility. Possible values include: "Private", "Public". + :paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Visibility + :keyword url: The URL to access the cluster API server. + :paramtype url: str + :keyword ip: The IP of the cluster API server. + :paramtype ip: str + """ + super(APIServerProfile, self).__init__(**kwargs) + self.visibility = visibility + self.url = url + self.ip = ip + + +class CloudErrorBody(msrest.serialization.Model): + """CloudErrorBody represents the body of a cloud error. + + :ivar code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :vartype code: str + :ivar message: A message describing the error, intended to be suitable for display in a user + interface. + :vartype message: str + :ivar target: The target of the particular error. For example, the name of the property in + error. + :vartype target: str + :ivar details: A list of additional details about the error. + :vartype details: list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + """ + :keyword code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :paramtype code: str + :keyword message: A message describing the error, intended to be suitable for display in a user + interface. + :paramtype message: str + :keyword target: The target of the particular error. For example, the name of the property in + error. + :paramtype target: str + :keyword details: A list of additional details about the error. + :paramtype details: list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.CloudErrorBody] + """ + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class ClusterProfile(msrest.serialization.Model): + """ClusterProfile represents a cluster profile. + + :ivar pull_secret: The pull secret for the cluster. + :vartype pull_secret: str + :ivar domain: The domain for the cluster. + :vartype domain: str + :ivar version: The version of the cluster. + :vartype version: str + :ivar resource_group_id: The ID of the cluster resource group. + :vartype resource_group_id: str + """ + + _attribute_map = { + 'pull_secret': {'key': 'pullSecret', 'type': 'str'}, + 'domain': {'key': 'domain', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'resource_group_id': {'key': 'resourceGroupId', 'type': 'str'}, + } + + def __init__( + self, + *, + pull_secret: Optional[str] = None, + domain: Optional[str] = None, + version: Optional[str] = None, + resource_group_id: Optional[str] = None, + **kwargs + ): + """ + :keyword pull_secret: The pull secret for the cluster. + :paramtype pull_secret: str + :keyword domain: The domain for the cluster. + :paramtype domain: str + :keyword version: The version of the cluster. + :paramtype version: str + :keyword resource_group_id: The ID of the cluster resource group. + :paramtype resource_group_id: str + """ + super(ClusterProfile, self).__init__(**kwargs) + self.pull_secret = pull_secret + self.domain = domain + self.version = version + self.resource_group_id = resource_group_id + + +class ConsoleProfile(msrest.serialization.Model): + """ConsoleProfile represents a console profile. + + :ivar url: The URL to access the cluster console. + :vartype url: str + """ + + _attribute_map = { + 'url': {'key': 'url', 'type': 'str'}, + } + + def __init__( + self, + *, + url: Optional[str] = None, + **kwargs + ): + """ + :keyword url: The URL to access the cluster console. + :paramtype url: str + """ + super(ConsoleProfile, self).__init__(**kwargs) + self.url = url + + +class Display(msrest.serialization.Model): + """Display represents the display details of an operation. + + :ivar provider: Friendly name of the resource provider. + :vartype provider: str + :ivar resource: Resource type on which the operation is performed. + :vartype resource: str + :ivar operation: Operation type: read, write, delete, listKeys/action, etc. + :vartype operation: str + :ivar description: Friendly name of the operation. + :vartype description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + """ + :keyword provider: Friendly name of the resource provider. + :paramtype provider: str + :keyword resource: Resource type on which the operation is performed. + :paramtype resource: str + :keyword operation: Operation type: read, write, delete, listKeys/action, etc. + :paramtype operation: str + :keyword description: Friendly name of the operation. + :paramtype description: str + """ + super(Display, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class IngressProfile(msrest.serialization.Model): + """IngressProfile represents an ingress profile. + + :ivar name: The ingress profile name. + :vartype name: str + :ivar visibility: Ingress visibility. Possible values include: "Private", "Public". + :vartype visibility: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Visibility + :ivar ip: The IP of the ingress. + :vartype ip: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'visibility': {'key': 'visibility', 'type': 'str'}, + 'ip': {'key': 'ip', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + visibility: Optional[Union[str, "Visibility"]] = None, + ip: Optional[str] = None, + **kwargs + ): + """ + :keyword name: The ingress profile name. + :paramtype name: str + :keyword visibility: Ingress visibility. Possible values include: "Private", "Public". + :paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Visibility + :keyword ip: The IP of the ingress. + :paramtype ip: str + """ + super(IngressProfile, self).__init__(**kwargs) + self.name = name + self.visibility = visibility + self.ip = ip + + +class MasterProfile(msrest.serialization.Model): + """MasterProfile represents a master profile. + + :ivar vm_size: The size of the master VMs. Possible values include: "Standard_D16as_v4", + "Standard_D16s_v3", "Standard_D2s_v3", "Standard_D32as_v4", "Standard_D32s_v3", + "Standard_D4as_v4", "Standard_D4s_v3", "Standard_D8as_v4", "Standard_D8s_v3", + "Standard_E16s_v3", "Standard_E32s_v3", "Standard_E4s_v3", "Standard_E64i_v3", + "Standard_E64is_v3", "Standard_E8s_v3", "Standard_F16s_v2", "Standard_F32s_v2", + "Standard_F4s_v2", "Standard_F72s_v2", "Standard_F8s_v2", "Standard_G5", "Standard_GS5", + "Standard_M128ms". + :vartype vm_size: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.VMSize + :ivar subnet_id: The Azure resource ID of the master subnet. + :vartype subnet_id: str + :ivar encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :vartype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.EncryptionAtHost + :ivar disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :vartype disk_encryption_set_id: str + """ + + _attribute_map = { + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, + 'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'str'}, + 'disk_encryption_set_id': {'key': 'diskEncryptionSetId', 'type': 'str'}, + } + + def __init__( + self, + *, + vm_size: Optional[Union[str, "VMSize"]] = None, + subnet_id: Optional[str] = None, + encryption_at_host: Optional[Union[str, "EncryptionAtHost"]] = None, + disk_encryption_set_id: Optional[str] = None, + **kwargs + ): + """ + :keyword vm_size: The size of the master VMs. Possible values include: "Standard_D16as_v4", + "Standard_D16s_v3", "Standard_D2s_v3", "Standard_D32as_v4", "Standard_D32s_v3", + "Standard_D4as_v4", "Standard_D4s_v3", "Standard_D8as_v4", "Standard_D8s_v3", + "Standard_E16s_v3", "Standard_E32s_v3", "Standard_E4s_v3", "Standard_E64i_v3", + "Standard_E64is_v3", "Standard_E8s_v3", "Standard_F16s_v2", "Standard_F32s_v2", + "Standard_F4s_v2", "Standard_F72s_v2", "Standard_F8s_v2", "Standard_G5", "Standard_GS5", + "Standard_M128ms". + :paramtype vm_size: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.VMSize + :keyword subnet_id: The Azure resource ID of the master subnet. + :paramtype subnet_id: str + :keyword encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :paramtype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.EncryptionAtHost + :keyword disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :paramtype disk_encryption_set_id: str + """ + super(MasterProfile, self).__init__(**kwargs) + self.vm_size = vm_size + self.subnet_id = subnet_id + self.encryption_at_host = encryption_at_host + self.disk_encryption_set_id = disk_encryption_set_id + + +class NetworkProfile(msrest.serialization.Model): + """NetworkProfile represents a network profile. + + :ivar software_defined_network: The software defined network (SDN) to use when installing the + cluster. Possible values include: "OVNKubernetes", "OpenShiftSDN". + :vartype software_defined_network: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.SoftwareDefinedNetwork + :ivar pod_cidr: The CIDR used for OpenShift/Kubernetes Pods. + :vartype pod_cidr: str + :ivar service_cidr: The CIDR used for OpenShift/Kubernetes Services. + :vartype service_cidr: str + """ + + _attribute_map = { + 'software_defined_network': {'key': 'softwareDefinedNetwork', 'type': 'str'}, + 'pod_cidr': {'key': 'podCidr', 'type': 'str'}, + 'service_cidr': {'key': 'serviceCidr', 'type': 'str'}, + } + + def __init__( + self, + *, + software_defined_network: Optional[Union[str, "SoftwareDefinedNetwork"]] = None, + pod_cidr: Optional[str] = None, + service_cidr: Optional[str] = None, + **kwargs + ): + """ + :keyword software_defined_network: The software defined network (SDN) to use when installing + the cluster. Possible values include: "OVNKubernetes", "OpenShiftSDN". + :paramtype software_defined_network: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.SoftwareDefinedNetwork + :keyword pod_cidr: The CIDR used for OpenShift/Kubernetes Pods. + :paramtype pod_cidr: str + :keyword service_cidr: The CIDR used for OpenShift/Kubernetes Services. + :paramtype service_cidr: str + """ + super(NetworkProfile, self).__init__(**kwargs) + self.software_defined_network = software_defined_network + self.pod_cidr = pod_cidr + self.service_cidr = service_cidr + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class OpenShiftCluster(TrackedResource): + """OpenShiftCluster represents an Azure Red Hat OpenShift cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.SystemData + :ivar provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :vartype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ProvisioningState + :ivar cluster_profile: The cluster profile. + :vartype cluster_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ClusterProfile + :ivar console_profile: The console profile. + :vartype console_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ConsoleProfile + :ivar service_principal_profile: The cluster service principal profile. + :vartype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ServicePrincipalProfile + :ivar network_profile: The cluster network profile. + :vartype network_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.NetworkProfile + :ivar master_profile: The cluster master profile. + :vartype master_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.MasterProfile + :ivar worker_profiles: The cluster worker profiles. + :vartype worker_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.WorkerProfile] + :ivar apiserver_profile: The cluster API server profile. + :vartype apiserver_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.APIServerProfile + :ivar ingress_profiles: The cluster ingress profiles. + :vartype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.IngressProfile] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'cluster_profile': {'key': 'properties.clusterProfile', 'type': 'ClusterProfile'}, + 'console_profile': {'key': 'properties.consoleProfile', 'type': 'ConsoleProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ServicePrincipalProfile'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'}, + 'master_profile': {'key': 'properties.masterProfile', 'type': 'MasterProfile'}, + 'worker_profiles': {'key': 'properties.workerProfiles', 'type': '[WorkerProfile]'}, + 'apiserver_profile': {'key': 'properties.apiserverProfile', 'type': 'APIServerProfile'}, + 'ingress_profiles': {'key': 'properties.ingressProfiles', 'type': '[IngressProfile]'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + provisioning_state: Optional[Union[str, "ProvisioningState"]] = None, + cluster_profile: Optional["ClusterProfile"] = None, + console_profile: Optional["ConsoleProfile"] = None, + service_principal_profile: Optional["ServicePrincipalProfile"] = None, + network_profile: Optional["NetworkProfile"] = None, + master_profile: Optional["MasterProfile"] = None, + worker_profiles: Optional[List["WorkerProfile"]] = None, + apiserver_profile: Optional["APIServerProfile"] = None, + ingress_profiles: Optional[List["IngressProfile"]] = None, + **kwargs + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :paramtype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ProvisioningState + :keyword cluster_profile: The cluster profile. + :paramtype cluster_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ClusterProfile + :keyword console_profile: The console profile. + :paramtype console_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ConsoleProfile + :keyword service_principal_profile: The cluster service principal profile. + :paramtype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ServicePrincipalProfile + :keyword network_profile: The cluster network profile. + :paramtype network_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.NetworkProfile + :keyword master_profile: The cluster master profile. + :paramtype master_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.MasterProfile + :keyword worker_profiles: The cluster worker profiles. + :paramtype worker_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.WorkerProfile] + :keyword apiserver_profile: The cluster API server profile. + :paramtype apiserver_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.APIServerProfile + :keyword ingress_profiles: The cluster ingress profiles. + :paramtype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.IngressProfile] + """ + super(OpenShiftCluster, self).__init__(tags=tags, location=location, **kwargs) + self.system_data = None + self.provisioning_state = provisioning_state + self.cluster_profile = cluster_profile + self.console_profile = console_profile + self.service_principal_profile = service_principal_profile + self.network_profile = network_profile + self.master_profile = master_profile + self.worker_profiles = worker_profiles + self.apiserver_profile = apiserver_profile + self.ingress_profiles = ingress_profiles + + +class OpenShiftClusterAdminKubeconfig(msrest.serialization.Model): + """OpenShiftClusterAdminKubeconfig represents an OpenShift cluster's admin kubeconfig. + + :ivar kubeconfig: The base64-encoded kubeconfig file. + :vartype kubeconfig: str + """ + + _attribute_map = { + 'kubeconfig': {'key': 'kubeconfig', 'type': 'str'}, + } + + def __init__( + self, + *, + kubeconfig: Optional[str] = None, + **kwargs + ): + """ + :keyword kubeconfig: The base64-encoded kubeconfig file. + :paramtype kubeconfig: str + """ + super(OpenShiftClusterAdminKubeconfig, self).__init__(**kwargs) + self.kubeconfig = kubeconfig + + +class OpenShiftClusterCredentials(msrest.serialization.Model): + """OpenShiftClusterCredentials represents an OpenShift cluster's credentials. + + :ivar kubeadmin_username: The username for the kubeadmin user. + :vartype kubeadmin_username: str + :ivar kubeadmin_password: The password for the kubeadmin user. + :vartype kubeadmin_password: str + """ + + _attribute_map = { + 'kubeadmin_username': {'key': 'kubeadminUsername', 'type': 'str'}, + 'kubeadmin_password': {'key': 'kubeadminPassword', 'type': 'str'}, + } + + def __init__( + self, + *, + kubeadmin_username: Optional[str] = None, + kubeadmin_password: Optional[str] = None, + **kwargs + ): + """ + :keyword kubeadmin_username: The username for the kubeadmin user. + :paramtype kubeadmin_username: str + :keyword kubeadmin_password: The password for the kubeadmin user. + :paramtype kubeadmin_password: str + """ + super(OpenShiftClusterCredentials, self).__init__(**kwargs) + self.kubeadmin_username = kubeadmin_username + self.kubeadmin_password = kubeadmin_password + + +class OpenShiftClusterList(msrest.serialization.Model): + """OpenShiftClusterList represents a list of OpenShift clusters. + + :ivar value: The list of OpenShift clusters. + :vartype value: list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster] + :ivar next_link: The link used to get the next page of operations. + :vartype next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OpenShiftCluster]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["OpenShiftCluster"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + """ + :keyword value: The list of OpenShift clusters. + :paramtype value: list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster] + :keyword next_link: The link used to get the next page of operations. + :paramtype next_link: str + """ + super(OpenShiftClusterList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class OpenShiftClusterUpdate(msrest.serialization.Model): + """OpenShiftCluster represents an Azure Red Hat OpenShift cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar tags: A set of tags. The resource tags. + :vartype tags: dict[str, str] + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.SystemData + :ivar provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :vartype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ProvisioningState + :ivar cluster_profile: The cluster profile. + :vartype cluster_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ClusterProfile + :ivar console_profile: The console profile. + :vartype console_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ConsoleProfile + :ivar service_principal_profile: The cluster service principal profile. + :vartype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ServicePrincipalProfile + :ivar network_profile: The cluster network profile. + :vartype network_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.NetworkProfile + :ivar master_profile: The cluster master profile. + :vartype master_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.MasterProfile + :ivar worker_profiles: The cluster worker profiles. + :vartype worker_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.WorkerProfile] + :ivar apiserver_profile: The cluster API server profile. + :vartype apiserver_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.APIServerProfile + :ivar ingress_profiles: The cluster ingress profiles. + :vartype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.IngressProfile] + """ + + _validation = { + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'cluster_profile': {'key': 'properties.clusterProfile', 'type': 'ClusterProfile'}, + 'console_profile': {'key': 'properties.consoleProfile', 'type': 'ConsoleProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ServicePrincipalProfile'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'}, + 'master_profile': {'key': 'properties.masterProfile', 'type': 'MasterProfile'}, + 'worker_profiles': {'key': 'properties.workerProfiles', 'type': '[WorkerProfile]'}, + 'apiserver_profile': {'key': 'properties.apiserverProfile', 'type': 'APIServerProfile'}, + 'ingress_profiles': {'key': 'properties.ingressProfiles', 'type': '[IngressProfile]'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + provisioning_state: Optional[Union[str, "ProvisioningState"]] = None, + cluster_profile: Optional["ClusterProfile"] = None, + console_profile: Optional["ConsoleProfile"] = None, + service_principal_profile: Optional["ServicePrincipalProfile"] = None, + network_profile: Optional["NetworkProfile"] = None, + master_profile: Optional["MasterProfile"] = None, + worker_profiles: Optional[List["WorkerProfile"]] = None, + apiserver_profile: Optional["APIServerProfile"] = None, + ingress_profiles: Optional[List["IngressProfile"]] = None, + **kwargs + ): + """ + :keyword tags: A set of tags. The resource tags. + :paramtype tags: dict[str, str] + :keyword provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :paramtype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ProvisioningState + :keyword cluster_profile: The cluster profile. + :paramtype cluster_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ClusterProfile + :keyword console_profile: The console profile. + :paramtype console_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ConsoleProfile + :keyword service_principal_profile: The cluster service principal profile. + :paramtype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.ServicePrincipalProfile + :keyword network_profile: The cluster network profile. + :paramtype network_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.NetworkProfile + :keyword master_profile: The cluster master profile. + :paramtype master_profile: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.MasterProfile + :keyword worker_profiles: The cluster worker profiles. + :paramtype worker_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.WorkerProfile] + :keyword apiserver_profile: The cluster API server profile. + :paramtype apiserver_profile: + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.APIServerProfile + :keyword ingress_profiles: The cluster ingress profiles. + :paramtype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.IngressProfile] + """ + super(OpenShiftClusterUpdate, self).__init__(**kwargs) + self.tags = tags + self.system_data = None + self.provisioning_state = provisioning_state + self.cluster_profile = cluster_profile + self.console_profile = console_profile + self.service_principal_profile = service_principal_profile + self.network_profile = network_profile + self.master_profile = master_profile + self.worker_profiles = worker_profiles + self.apiserver_profile = apiserver_profile + self.ingress_profiles = ingress_profiles + + +class Operation(msrest.serialization.Model): + """Operation represents an RP operation. + + :ivar name: Operation name: {provider}/{resource}/{operation}. + :vartype name: str + :ivar display: The object that describes the operation. + :vartype display: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Display + :ivar origin: Sources of requests to this operation. Comma separated list with valid values + user or system, e.g. "user,system". + :vartype origin: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'Display'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["Display"] = None, + origin: Optional[str] = None, + **kwargs + ): + """ + :keyword name: Operation name: {provider}/{resource}/{operation}. + :paramtype name: str + :keyword display: The object that describes the operation. + :paramtype display: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Display + :keyword origin: Sources of requests to this operation. Comma separated list with valid values + user or system, e.g. "user,system". + :paramtype origin: str + """ + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + + +class OperationList(msrest.serialization.Model): + """OperationList represents an RP operation list. + + :ivar value: List of operations supported by the resource provider. + :vartype value: list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Operation] + :ivar next_link: The link used to get the next page of operations. + :vartype next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Operation"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + """ + :keyword value: List of operations supported by the resource provider. + :paramtype value: list[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.Operation] + :keyword next_link: The link used to get the next page of operations. + :paramtype next_link: str + """ + super(OperationList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ServicePrincipalProfile(msrest.serialization.Model): + """ServicePrincipalProfile represents a service principal profile. + + :ivar client_id: The client ID used for the cluster. + :vartype client_id: str + :ivar client_secret: The client secret used for the cluster. + :vartype client_secret: str + """ + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'client_secret': {'key': 'clientSecret', 'type': 'str'}, + } + + def __init__( + self, + *, + client_id: Optional[str] = None, + client_secret: Optional[str] = None, + **kwargs + ): + """ + :keyword client_id: The client ID used for the cluster. + :paramtype client_id: str + :keyword client_secret: The client secret used for the cluster. + :paramtype client_secret: str + """ + super(ServicePrincipalProfile, self).__init__(**kwargs) + self.client_id = client_id + self.client_secret = client_secret + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class WorkerProfile(msrest.serialization.Model): + """WorkerProfile represents a worker profile. + + :ivar name: The worker profile name. + :vartype name: str + :ivar vm_size: The size of the worker VMs. Possible values include: "Standard_D16as_v4", + "Standard_D16s_v3", "Standard_D2s_v3", "Standard_D32as_v4", "Standard_D32s_v3", + "Standard_D4as_v4", "Standard_D4s_v3", "Standard_D8as_v4", "Standard_D8s_v3", + "Standard_E16s_v3", "Standard_E32s_v3", "Standard_E4s_v3", "Standard_E64i_v3", + "Standard_E64is_v3", "Standard_E8s_v3", "Standard_F16s_v2", "Standard_F32s_v2", + "Standard_F4s_v2", "Standard_F72s_v2", "Standard_F8s_v2", "Standard_G5", "Standard_GS5", + "Standard_M128ms". + :vartype vm_size: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.VMSize + :ivar disk_size_gb: The disk size of the worker VMs. + :vartype disk_size_gb: int + :ivar subnet_id: The Azure resource ID of the worker subnet. + :vartype subnet_id: str + :ivar count: The number of worker VMs. + :vartype count: int + :ivar encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :vartype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.EncryptionAtHost + :ivar disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :vartype disk_encryption_set_id: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, + 'count': {'key': 'count', 'type': 'int'}, + 'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'str'}, + 'disk_encryption_set_id': {'key': 'diskEncryptionSetId', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + vm_size: Optional[Union[str, "VMSize"]] = None, + disk_size_gb: Optional[int] = None, + subnet_id: Optional[str] = None, + count: Optional[int] = None, + encryption_at_host: Optional[Union[str, "EncryptionAtHost"]] = None, + disk_encryption_set_id: Optional[str] = None, + **kwargs + ): + """ + :keyword name: The worker profile name. + :paramtype name: str + :keyword vm_size: The size of the worker VMs. Possible values include: "Standard_D16as_v4", + "Standard_D16s_v3", "Standard_D2s_v3", "Standard_D32as_v4", "Standard_D32s_v3", + "Standard_D4as_v4", "Standard_D4s_v3", "Standard_D8as_v4", "Standard_D8s_v3", + "Standard_E16s_v3", "Standard_E32s_v3", "Standard_E4s_v3", "Standard_E64i_v3", + "Standard_E64is_v3", "Standard_E8s_v3", "Standard_F16s_v2", "Standard_F32s_v2", + "Standard_F4s_v2", "Standard_F72s_v2", "Standard_F8s_v2", "Standard_G5", "Standard_GS5", + "Standard_M128ms". + :paramtype vm_size: str or ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.VMSize + :keyword disk_size_gb: The disk size of the worker VMs. + :paramtype disk_size_gb: int + :keyword subnet_id: The Azure resource ID of the worker subnet. + :paramtype subnet_id: str + :keyword count: The number of worker VMs. + :paramtype count: int + :keyword encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :paramtype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.EncryptionAtHost + :keyword disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :paramtype disk_encryption_set_id: str + """ + super(WorkerProfile, self).__init__(**kwargs) + self.name = name + self.vm_size = vm_size + self.disk_size_gb = disk_size_gb + self.subnet_id = subnet_id + self.count = count + self.encryption_at_host = encryption_at_host + self.disk_encryption_set_id = disk_encryption_set_id diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/__init__.py new file mode 100644 index 000000000000..7ffcf7895ee8 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._open_shift_clusters_operations import OpenShiftClustersOperations + +__all__ = [ + 'Operations', + 'OpenShiftClustersOperations', +] diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/_open_shift_clusters_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/_open_shift_clusters_operations.py new file mode 100644 index 000000000000..4b5885701094 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/_open_shift_clusters_operations.py @@ -0,0 +1,1054 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + +from msrest import Serializer + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +JSONType = Any +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id: str, + resource_group_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_or_update_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_list_admin_credentials_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_credentials_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + +class OpenShiftClustersOperations(object): + """OpenShiftClustersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> Iterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription. + + The operation returns properties of each OpenShift cluster. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> Iterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription and resource group. + + The operation returns properties of each OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftCluster": + """Gets a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftCluster, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + def _create_or_update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftCluster') + + request = build_create_or_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_or_update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_or_update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace + def begin_create_or_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> LROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self._delete_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> LROPoller[None]: + """Deletes a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns nothing. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + def _update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftClusterUpdate') + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace + def begin_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> LROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + @distributed_trace + def list_admin_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterAdminKubeconfig": + """Lists admin kubeconfig of an OpenShift cluster with the specified subscription, resource group + and resource name. + + The operation returns the admin kubeconfig. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterAdminKubeconfig, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterAdminKubeconfig + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterAdminKubeconfig"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_list_admin_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_admin_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterAdminKubeconfig', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_admin_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials"} # type: ignore + + + @distributed_trace + def list_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterCredentials": + """Lists credentials of an OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns the credentials. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterCredentials, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OpenShiftClusterCredentials + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterCredentials"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + + request = build_list_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterCredentials', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials"} # type: ignore + diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/_operations.py new file mode 100644 index 000000000000..1d40f0678698 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/operations/_operations.py @@ -0,0 +1,146 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + +from msrest import Serializer + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models +from .._vendor import _convert_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.RedHatOpenShift/operations") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2021_09_01_preview.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> Iterable["_models.OperationList"]: + """Lists all of the available RP operations. + + The operation returns the RP operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationList or the result of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2021_09_01_preview.models.OperationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2021-09-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("OperationList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/providers/Microsoft.RedHatOpenShift/operations"} # type: ignore diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/py.typed b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/__init__.py new file mode 100644 index 000000000000..a81e4a399ecf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_red_hat_open_shift_client import AzureRedHatOpenShiftClient +from ._version import VERSION + +__version__ = VERSION +__all__ = ['AzureRedHatOpenShiftClient'] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_azure_red_hat_open_shift_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_azure_red_hat_open_shift_client.py new file mode 100644 index 000000000000..72e55920ca73 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_azure_red_hat_open_shift_client.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core.rest import HttpRequest, HttpResponse +from azure.mgmt.core import ARMPipelineClient + +from . import models +from ._configuration import AzureRedHatOpenShiftClientConfiguration +from .operations import OpenShiftClustersOperations, Operations + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential + +class AzureRedHatOpenShiftClient: + """Rest API for Azure Red Hat OpenShift 4. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.redhatopenshift.v2022_04_01.operations.Operations + :ivar open_shift_clusters: OpenShiftClustersOperations operations + :vartype open_shift_clusters: + azure.mgmt.redhatopenshift.v2022_04_01.operations.OpenShiftClustersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2022-04-01". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + credential: "TokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = AzureRedHatOpenShiftClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.open_shift_clusters = OpenShiftClustersOperations(self._client, self._config, self._serialize, self._deserialize) + + + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> HttpResponse: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.HttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> AzureRedHatOpenShiftClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_configuration.py new file mode 100644 index 000000000000..cee01fb8b267 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_configuration.py @@ -0,0 +1,73 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential + + +class AzureRedHatOpenShiftClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes + """Configuration for AzureRedHatOpenShiftClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2022-04-01". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential: "TokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(AzureRedHatOpenShiftClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-redhatopenshift/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_metadata.json b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_metadata.json new file mode 100644 index 000000000000..a9507d3224c0 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_metadata.json @@ -0,0 +1,103 @@ +{ + "chosen_version": "2022-04-01", + "total_api_version_list": ["2022-04-01"], + "client": { + "name": "AzureRedHatOpenShiftClient", + "filename": "_azure_red_hat_open_shift_client", + "description": "Rest API for Azure Red Hat OpenShift 4.", + "host_value": "\"https://management.azure.com\"", + "parameterized_host_template": 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\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureRedHatOpenShiftClientConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"], \"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AzureRedHatOpenShiftClientConfiguration\"]}, \"thirdparty\": {\"msrest\": [\"Deserializer\", \"Serializer\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The ID of the target subscription.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=\"https://management.azure.com\", # type: 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: str = \"https://management.azure.com\",", + "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_call_sync": "ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "credential_call_async": "AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs)", + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMChallengeAuthenticationPolicy\", \"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\", \"AsyncARMChallengeAuthenticationPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" + }, + "operation_groups": { + "operations": "Operations", + "open_shift_clusters": "OpenShiftClustersOperations" + } +} \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_patch.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_vendor.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_vendor.py new file mode 100644 index 000000000000..138f663c53a4 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_vendor.py @@ -0,0 +1,27 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest(method=request.method, url=request.url, headers=request.headers, data=data) + if files: + request.set_formdata_body(files) + return request + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c for c in formatted_components if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_version.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_version.py new file mode 100644 index 000000000000..59deb8c7263b --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.1.0" diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/__init__.py new file mode 100644 index 000000000000..6be616fa9ec0 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._azure_red_hat_open_shift_client import AzureRedHatOpenShiftClient +__all__ = ['AzureRedHatOpenShiftClient'] + +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_azure_red_hat_open_shift_client.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_azure_red_hat_open_shift_client.py new file mode 100644 index 000000000000..20d25618b9aa --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_azure_red_hat_open_shift_client.py @@ -0,0 +1,98 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, Awaitable, TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core.rest import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient + +from .. import models +from ._configuration import AzureRedHatOpenShiftClientConfiguration +from .operations import OpenShiftClustersOperations, Operations + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +class AzureRedHatOpenShiftClient: + """Rest API for Azure Red Hat OpenShift 4. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.redhatopenshift.v2022_04_01.aio.operations.Operations + :ivar open_shift_clusters: OpenShiftClustersOperations operations + :vartype open_shift_clusters: + azure.mgmt.redhatopenshift.v2022_04_01.aio.operations.OpenShiftClustersOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2022-04-01". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = AzureRedHatOpenShiftClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) + self.open_shift_clusters = OpenShiftClustersOperations(self._client, self._config, self._serialize, self._deserialize) + + + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> Awaitable[AsyncHttpResponse]: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.AsyncHttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "AzureRedHatOpenShiftClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_configuration.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_configuration.py new file mode 100644 index 000000000000..3fdb4fa67534 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_configuration.py @@ -0,0 +1,72 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class AzureRedHatOpenShiftClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes + """Configuration for AzureRedHatOpenShiftClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2022-04-01". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(AzureRedHatOpenShiftClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-redhatopenshift/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = AsyncARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_patch.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_patch.py new file mode 100644 index 000000000000..74e48ecd07cf --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/__init__.py new file mode 100644 index 000000000000..7ffcf7895ee8 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._open_shift_clusters_operations import OpenShiftClustersOperations + +__all__ = [ + 'Operations', + 'OpenShiftClustersOperations', +] diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/_open_shift_clusters_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/_open_shift_clusters_operations.py new file mode 100644 index 000000000000..4a0f64e03a18 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/_open_shift_clusters_operations.py @@ -0,0 +1,753 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._open_shift_clusters_operations import build_create_or_update_request_initial, build_delete_request_initial, build_get_request, build_list_admin_credentials_request, build_list_by_resource_group_request, build_list_credentials_request, build_list_request, build_update_request_initial +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OpenShiftClustersOperations: + """OpenShiftClustersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2022_04_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription. + + The operation returns properties of each OpenShift cluster. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription and resource group. + + The operation returns properties of each OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftCluster": + """Gets a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftCluster, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + async def _create_or_update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftCluster') + + request = build_create_or_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_or_update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_or_update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async + async def begin_create_or_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> AsyncLROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + async def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self._delete_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async + async def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns nothing. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftClusterUpdate') + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace_async + async def begin_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> AsyncLROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + @distributed_trace_async + async def list_admin_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterAdminKubeconfig": + """Lists admin kubeconfig of an OpenShift cluster with the specified subscription, resource group + and resource name. + + The operation returns the admin kubeconfig. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterAdminKubeconfig, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterAdminKubeconfig + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterAdminKubeconfig"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_list_admin_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_admin_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterAdminKubeconfig', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_admin_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials"} # type: ignore + + + @distributed_trace_async + async def list_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterCredentials": + """Lists credentials of an OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns the credentials. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterCredentials, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterCredentials + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterCredentials"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_list_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterCredentials', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials"} # type: ignore + diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/_operations.py new file mode 100644 index 000000000000..ceed1f41bf40 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/aio/operations/_operations.py @@ -0,0 +1,117 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._operations import build_list_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2022_04_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.OperationList"]: + """Lists all of the available RP operations. + + The operation returns the RP operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationList or the result of cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redhatopenshift.v2022_04_01.models.OperationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("OperationList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/providers/Microsoft.RedHatOpenShift/operations"} # type: ignore diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/__init__.py new file mode 100644 index 000000000000..e8fae19c6e76 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/__init__.py @@ -0,0 +1,65 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._models_py3 import APIServerProfile +from ._models_py3 import CloudErrorBody +from ._models_py3 import ClusterProfile +from ._models_py3 import ConsoleProfile +from ._models_py3 import Display +from ._models_py3 import IngressProfile +from ._models_py3 import MasterProfile +from ._models_py3 import NetworkProfile +from ._models_py3 import OpenShiftCluster +from ._models_py3 import OpenShiftClusterAdminKubeconfig +from ._models_py3 import OpenShiftClusterCredentials +from ._models_py3 import OpenShiftClusterList +from ._models_py3 import OpenShiftClusterUpdate +from ._models_py3 import Operation +from ._models_py3 import OperationList +from ._models_py3 import Resource +from ._models_py3 import ServicePrincipalProfile +from ._models_py3 import SystemData +from ._models_py3 import TrackedResource +from ._models_py3 import WorkerProfile + + +from ._azure_red_hat_open_shift_client_enums import ( + CreatedByType, + EncryptionAtHost, + FipsValidatedModules, + ProvisioningState, + Visibility, +) + +__all__ = [ + 'APIServerProfile', + 'CloudErrorBody', + 'ClusterProfile', + 'ConsoleProfile', + 'Display', + 'IngressProfile', + 'MasterProfile', + 'NetworkProfile', + 'OpenShiftCluster', + 'OpenShiftClusterAdminKubeconfig', + 'OpenShiftClusterCredentials', + 'OpenShiftClusterList', + 'OpenShiftClusterUpdate', + 'Operation', + 'OperationList', + 'Resource', + 'ServicePrincipalProfile', + 'SystemData', + 'TrackedResource', + 'WorkerProfile', + 'CreatedByType', + 'EncryptionAtHost', + 'FipsValidatedModules', + 'ProvisioningState', + 'Visibility', +] diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/_azure_red_hat_open_shift_client_enums.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/_azure_red_hat_open_shift_client_enums.py new file mode 100644 index 000000000000..aaffb9c2c7b5 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/_azure_red_hat_open_shift_client_enums.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum +from six import with_metaclass +from azure.core import CaseInsensitiveEnumMeta + + +class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class EncryptionAtHost(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """EncryptionAtHost represents encryption at host state + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class FipsValidatedModules(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """FipsValidatedModules determines if FIPS is used. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """ProvisioningState represents a provisioning state. + """ + + ADMIN_UPDATING = "AdminUpdating" + CREATING = "Creating" + DELETING = "Deleting" + FAILED = "Failed" + SUCCEEDED = "Succeeded" + UPDATING = "Updating" + +class Visibility(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): + """Visibility represents visibility. + """ + + PRIVATE = "Private" + PUBLIC = "Public" diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/_models_py3.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/_models_py3.py new file mode 100644 index 000000000000..321b7756128e --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/models/_models_py3.py @@ -0,0 +1,1014 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +import msrest.serialization + +from ._azure_red_hat_open_shift_client_enums import * + + +class APIServerProfile(msrest.serialization.Model): + """APIServerProfile represents an API server profile. + + :ivar visibility: API server visibility. Possible values include: "Private", "Public". + :vartype visibility: str or ~azure.mgmt.redhatopenshift.v2022_04_01.models.Visibility + :ivar url: The URL to access the cluster API server. + :vartype url: str + :ivar ip: The IP of the cluster API server. + :vartype ip: str + """ + + _attribute_map = { + 'visibility': {'key': 'visibility', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + 'ip': {'key': 'ip', 'type': 'str'}, + } + + def __init__( + self, + *, + visibility: Optional[Union[str, "Visibility"]] = None, + url: Optional[str] = None, + ip: Optional[str] = None, + **kwargs + ): + """ + :keyword visibility: API server visibility. Possible values include: "Private", "Public". + :paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2022_04_01.models.Visibility + :keyword url: The URL to access the cluster API server. + :paramtype url: str + :keyword ip: The IP of the cluster API server. + :paramtype ip: str + """ + super(APIServerProfile, self).__init__(**kwargs) + self.visibility = visibility + self.url = url + self.ip = ip + + +class CloudErrorBody(msrest.serialization.Model): + """CloudErrorBody represents the body of a cloud error. + + :ivar code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :vartype code: str + :ivar message: A message describing the error, intended to be suitable for display in a user + interface. + :vartype message: str + :ivar target: The target of the particular error. For example, the name of the property in + error. + :vartype target: str + :ivar details: A list of additional details about the error. + :vartype details: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + """ + :keyword code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :paramtype code: str + :keyword message: A message describing the error, intended to be suitable for display in a user + interface. + :paramtype message: str + :keyword target: The target of the particular error. For example, the name of the property in + error. + :paramtype target: str + :keyword details: A list of additional details about the error. + :paramtype details: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.CloudErrorBody] + """ + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class ClusterProfile(msrest.serialization.Model): + """ClusterProfile represents a cluster profile. + + :ivar pull_secret: The pull secret for the cluster. + :vartype pull_secret: str + :ivar domain: The domain for the cluster. + :vartype domain: str + :ivar version: The version of the cluster. + :vartype version: str + :ivar resource_group_id: The ID of the cluster resource group. + :vartype resource_group_id: str + :ivar fips_validated_modules: If FIPS validated crypto modules are used. Possible values + include: "Disabled", "Enabled". + :vartype fips_validated_modules: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.FipsValidatedModules + """ + + _attribute_map = { + 'pull_secret': {'key': 'pullSecret', 'type': 'str'}, + 'domain': {'key': 'domain', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'resource_group_id': {'key': 'resourceGroupId', 'type': 'str'}, + 'fips_validated_modules': {'key': 'fipsValidatedModules', 'type': 'str'}, + } + + def __init__( + self, + *, + pull_secret: Optional[str] = None, + domain: Optional[str] = None, + version: Optional[str] = None, + resource_group_id: Optional[str] = None, + fips_validated_modules: Optional[Union[str, "FipsValidatedModules"]] = None, + **kwargs + ): + """ + :keyword pull_secret: The pull secret for the cluster. + :paramtype pull_secret: str + :keyword domain: The domain for the cluster. + :paramtype domain: str + :keyword version: The version of the cluster. + :paramtype version: str + :keyword resource_group_id: The ID of the cluster resource group. + :paramtype resource_group_id: str + :keyword fips_validated_modules: If FIPS validated crypto modules are used. Possible values + include: "Disabled", "Enabled". + :paramtype fips_validated_modules: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.FipsValidatedModules + """ + super(ClusterProfile, self).__init__(**kwargs) + self.pull_secret = pull_secret + self.domain = domain + self.version = version + self.resource_group_id = resource_group_id + self.fips_validated_modules = fips_validated_modules + + +class ConsoleProfile(msrest.serialization.Model): + """ConsoleProfile represents a console profile. + + :ivar url: The URL to access the cluster console. + :vartype url: str + """ + + _attribute_map = { + 'url': {'key': 'url', 'type': 'str'}, + } + + def __init__( + self, + *, + url: Optional[str] = None, + **kwargs + ): + """ + :keyword url: The URL to access the cluster console. + :paramtype url: str + """ + super(ConsoleProfile, self).__init__(**kwargs) + self.url = url + + +class Display(msrest.serialization.Model): + """Display represents the display details of an operation. + + :ivar provider: Friendly name of the resource provider. + :vartype provider: str + :ivar resource: Resource type on which the operation is performed. + :vartype resource: str + :ivar operation: Operation type: read, write, delete, listKeys/action, etc. + :vartype operation: str + :ivar description: Friendly name of the operation. + :vartype description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + """ + :keyword provider: Friendly name of the resource provider. + :paramtype provider: str + :keyword resource: Resource type on which the operation is performed. + :paramtype resource: str + :keyword operation: Operation type: read, write, delete, listKeys/action, etc. + :paramtype operation: str + :keyword description: Friendly name of the operation. + :paramtype description: str + """ + super(Display, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class IngressProfile(msrest.serialization.Model): + """IngressProfile represents an ingress profile. + + :ivar name: The ingress profile name. + :vartype name: str + :ivar visibility: Ingress visibility. Possible values include: "Private", "Public". + :vartype visibility: str or ~azure.mgmt.redhatopenshift.v2022_04_01.models.Visibility + :ivar ip: The IP of the ingress. + :vartype ip: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'visibility': {'key': 'visibility', 'type': 'str'}, + 'ip': {'key': 'ip', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + visibility: Optional[Union[str, "Visibility"]] = None, + ip: Optional[str] = None, + **kwargs + ): + """ + :keyword name: The ingress profile name. + :paramtype name: str + :keyword visibility: Ingress visibility. Possible values include: "Private", "Public". + :paramtype visibility: str or ~azure.mgmt.redhatopenshift.v2022_04_01.models.Visibility + :keyword ip: The IP of the ingress. + :paramtype ip: str + """ + super(IngressProfile, self).__init__(**kwargs) + self.name = name + self.visibility = visibility + self.ip = ip + + +class MasterProfile(msrest.serialization.Model): + """MasterProfile represents a master profile. + + :ivar vm_size: The size of the master VMs. + :vartype vm_size: str + :ivar subnet_id: The Azure resource ID of the master subnet. + :vartype subnet_id: str + :ivar encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :vartype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.EncryptionAtHost + :ivar disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :vartype disk_encryption_set_id: str + """ + + _attribute_map = { + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, + 'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'str'}, + 'disk_encryption_set_id': {'key': 'diskEncryptionSetId', 'type': 'str'}, + } + + def __init__( + self, + *, + vm_size: Optional[str] = None, + subnet_id: Optional[str] = None, + encryption_at_host: Optional[Union[str, "EncryptionAtHost"]] = None, + disk_encryption_set_id: Optional[str] = None, + **kwargs + ): + """ + :keyword vm_size: The size of the master VMs. + :paramtype vm_size: str + :keyword subnet_id: The Azure resource ID of the master subnet. + :paramtype subnet_id: str + :keyword encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :paramtype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.EncryptionAtHost + :keyword disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :paramtype disk_encryption_set_id: str + """ + super(MasterProfile, self).__init__(**kwargs) + self.vm_size = vm_size + self.subnet_id = subnet_id + self.encryption_at_host = encryption_at_host + self.disk_encryption_set_id = disk_encryption_set_id + + +class NetworkProfile(msrest.serialization.Model): + """NetworkProfile represents a network profile. + + :ivar pod_cidr: The CIDR used for OpenShift/Kubernetes Pods. + :vartype pod_cidr: str + :ivar service_cidr: The CIDR used for OpenShift/Kubernetes Services. + :vartype service_cidr: str + """ + + _attribute_map = { + 'pod_cidr': {'key': 'podCidr', 'type': 'str'}, + 'service_cidr': {'key': 'serviceCidr', 'type': 'str'}, + } + + def __init__( + self, + *, + pod_cidr: Optional[str] = None, + service_cidr: Optional[str] = None, + **kwargs + ): + """ + :keyword pod_cidr: The CIDR used for OpenShift/Kubernetes Pods. + :paramtype pod_cidr: str + :keyword service_cidr: The CIDR used for OpenShift/Kubernetes Services. + :paramtype service_cidr: str + """ + super(NetworkProfile, self).__init__(**kwargs) + self.pod_cidr = pod_cidr + self.service_cidr = service_cidr + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + + +class OpenShiftCluster(TrackedResource): + """OpenShiftCluster represents an Azure Red Hat OpenShift cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.redhatopenshift.v2022_04_01.models.SystemData + :ivar provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :vartype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ProvisioningState + :ivar cluster_profile: The cluster profile. + :vartype cluster_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ClusterProfile + :ivar console_profile: The console profile. + :vartype console_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ConsoleProfile + :ivar service_principal_profile: The cluster service principal profile. + :vartype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ServicePrincipalProfile + :ivar network_profile: The cluster network profile. + :vartype network_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.NetworkProfile + :ivar master_profile: The cluster master profile. + :vartype master_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.MasterProfile + :ivar worker_profiles: The cluster worker profiles. + :vartype worker_profiles: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.WorkerProfile] + :ivar apiserver_profile: The cluster API server profile. + :vartype apiserver_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.APIServerProfile + :ivar ingress_profiles: The cluster ingress profiles. + :vartype ingress_profiles: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.IngressProfile] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'cluster_profile': {'key': 'properties.clusterProfile', 'type': 'ClusterProfile'}, + 'console_profile': {'key': 'properties.consoleProfile', 'type': 'ConsoleProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ServicePrincipalProfile'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'}, + 'master_profile': {'key': 'properties.masterProfile', 'type': 'MasterProfile'}, + 'worker_profiles': {'key': 'properties.workerProfiles', 'type': '[WorkerProfile]'}, + 'apiserver_profile': {'key': 'properties.apiserverProfile', 'type': 'APIServerProfile'}, + 'ingress_profiles': {'key': 'properties.ingressProfiles', 'type': '[IngressProfile]'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + provisioning_state: Optional[Union[str, "ProvisioningState"]] = None, + cluster_profile: Optional["ClusterProfile"] = None, + console_profile: Optional["ConsoleProfile"] = None, + service_principal_profile: Optional["ServicePrincipalProfile"] = None, + network_profile: Optional["NetworkProfile"] = None, + master_profile: Optional["MasterProfile"] = None, + worker_profiles: Optional[List["WorkerProfile"]] = None, + apiserver_profile: Optional["APIServerProfile"] = None, + ingress_profiles: Optional[List["IngressProfile"]] = None, + **kwargs + ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :paramtype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ProvisioningState + :keyword cluster_profile: The cluster profile. + :paramtype cluster_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ClusterProfile + :keyword console_profile: The console profile. + :paramtype console_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ConsoleProfile + :keyword service_principal_profile: The cluster service principal profile. + :paramtype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ServicePrincipalProfile + :keyword network_profile: The cluster network profile. + :paramtype network_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.NetworkProfile + :keyword master_profile: The cluster master profile. + :paramtype master_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.MasterProfile + :keyword worker_profiles: The cluster worker profiles. + :paramtype worker_profiles: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.WorkerProfile] + :keyword apiserver_profile: The cluster API server profile. + :paramtype apiserver_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.APIServerProfile + :keyword ingress_profiles: The cluster ingress profiles. + :paramtype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2022_04_01.models.IngressProfile] + """ + super(OpenShiftCluster, self).__init__(tags=tags, location=location, **kwargs) + self.system_data = None + self.provisioning_state = provisioning_state + self.cluster_profile = cluster_profile + self.console_profile = console_profile + self.service_principal_profile = service_principal_profile + self.network_profile = network_profile + self.master_profile = master_profile + self.worker_profiles = worker_profiles + self.apiserver_profile = apiserver_profile + self.ingress_profiles = ingress_profiles + + +class OpenShiftClusterAdminKubeconfig(msrest.serialization.Model): + """OpenShiftClusterAdminKubeconfig represents an OpenShift cluster's admin kubeconfig. + + :ivar kubeconfig: The base64-encoded kubeconfig file. + :vartype kubeconfig: str + """ + + _attribute_map = { + 'kubeconfig': {'key': 'kubeconfig', 'type': 'str'}, + } + + def __init__( + self, + *, + kubeconfig: Optional[str] = None, + **kwargs + ): + """ + :keyword kubeconfig: The base64-encoded kubeconfig file. + :paramtype kubeconfig: str + """ + super(OpenShiftClusterAdminKubeconfig, self).__init__(**kwargs) + self.kubeconfig = kubeconfig + + +class OpenShiftClusterCredentials(msrest.serialization.Model): + """OpenShiftClusterCredentials represents an OpenShift cluster's credentials. + + :ivar kubeadmin_username: The username for the kubeadmin user. + :vartype kubeadmin_username: str + :ivar kubeadmin_password: The password for the kubeadmin user. + :vartype kubeadmin_password: str + """ + + _attribute_map = { + 'kubeadmin_username': {'key': 'kubeadminUsername', 'type': 'str'}, + 'kubeadmin_password': {'key': 'kubeadminPassword', 'type': 'str'}, + } + + def __init__( + self, + *, + kubeadmin_username: Optional[str] = None, + kubeadmin_password: Optional[str] = None, + **kwargs + ): + """ + :keyword kubeadmin_username: The username for the kubeadmin user. + :paramtype kubeadmin_username: str + :keyword kubeadmin_password: The password for the kubeadmin user. + :paramtype kubeadmin_password: str + """ + super(OpenShiftClusterCredentials, self).__init__(**kwargs) + self.kubeadmin_username = kubeadmin_username + self.kubeadmin_password = kubeadmin_password + + +class OpenShiftClusterList(msrest.serialization.Model): + """OpenShiftClusterList represents a list of OpenShift clusters. + + :ivar value: The list of OpenShift clusters. + :vartype value: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster] + :ivar next_link: The link used to get the next page of operations. + :vartype next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OpenShiftCluster]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["OpenShiftCluster"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + """ + :keyword value: The list of OpenShift clusters. + :paramtype value: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster] + :keyword next_link: The link used to get the next page of operations. + :paramtype next_link: str + """ + super(OpenShiftClusterList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class OpenShiftClusterUpdate(msrest.serialization.Model): + """OpenShiftCluster represents an Azure Red Hat OpenShift cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar tags: A set of tags. The resource tags. + :vartype tags: dict[str, str] + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.redhatopenshift.v2022_04_01.models.SystemData + :ivar provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :vartype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ProvisioningState + :ivar cluster_profile: The cluster profile. + :vartype cluster_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ClusterProfile + :ivar console_profile: The console profile. + :vartype console_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ConsoleProfile + :ivar service_principal_profile: The cluster service principal profile. + :vartype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ServicePrincipalProfile + :ivar network_profile: The cluster network profile. + :vartype network_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.NetworkProfile + :ivar master_profile: The cluster master profile. + :vartype master_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.MasterProfile + :ivar worker_profiles: The cluster worker profiles. + :vartype worker_profiles: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.WorkerProfile] + :ivar apiserver_profile: The cluster API server profile. + :vartype apiserver_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.APIServerProfile + :ivar ingress_profiles: The cluster ingress profiles. + :vartype ingress_profiles: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.IngressProfile] + """ + + _validation = { + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'cluster_profile': {'key': 'properties.clusterProfile', 'type': 'ClusterProfile'}, + 'console_profile': {'key': 'properties.consoleProfile', 'type': 'ConsoleProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ServicePrincipalProfile'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'}, + 'master_profile': {'key': 'properties.masterProfile', 'type': 'MasterProfile'}, + 'worker_profiles': {'key': 'properties.workerProfiles', 'type': '[WorkerProfile]'}, + 'apiserver_profile': {'key': 'properties.apiserverProfile', 'type': 'APIServerProfile'}, + 'ingress_profiles': {'key': 'properties.ingressProfiles', 'type': '[IngressProfile]'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + provisioning_state: Optional[Union[str, "ProvisioningState"]] = None, + cluster_profile: Optional["ClusterProfile"] = None, + console_profile: Optional["ConsoleProfile"] = None, + service_principal_profile: Optional["ServicePrincipalProfile"] = None, + network_profile: Optional["NetworkProfile"] = None, + master_profile: Optional["MasterProfile"] = None, + worker_profiles: Optional[List["WorkerProfile"]] = None, + apiserver_profile: Optional["APIServerProfile"] = None, + ingress_profiles: Optional[List["IngressProfile"]] = None, + **kwargs + ): + """ + :keyword tags: A set of tags. The resource tags. + :paramtype tags: dict[str, str] + :keyword provisioning_state: The cluster provisioning state. Possible values include: + "AdminUpdating", "Creating", "Deleting", "Failed", "Succeeded", "Updating". + :paramtype provisioning_state: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ProvisioningState + :keyword cluster_profile: The cluster profile. + :paramtype cluster_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ClusterProfile + :keyword console_profile: The console profile. + :paramtype console_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.ConsoleProfile + :keyword service_principal_profile: The cluster service principal profile. + :paramtype service_principal_profile: + ~azure.mgmt.redhatopenshift.v2022_04_01.models.ServicePrincipalProfile + :keyword network_profile: The cluster network profile. + :paramtype network_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.NetworkProfile + :keyword master_profile: The cluster master profile. + :paramtype master_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.MasterProfile + :keyword worker_profiles: The cluster worker profiles. + :paramtype worker_profiles: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.WorkerProfile] + :keyword apiserver_profile: The cluster API server profile. + :paramtype apiserver_profile: ~azure.mgmt.redhatopenshift.v2022_04_01.models.APIServerProfile + :keyword ingress_profiles: The cluster ingress profiles. + :paramtype ingress_profiles: + list[~azure.mgmt.redhatopenshift.v2022_04_01.models.IngressProfile] + """ + super(OpenShiftClusterUpdate, self).__init__(**kwargs) + self.tags = tags + self.system_data = None + self.provisioning_state = provisioning_state + self.cluster_profile = cluster_profile + self.console_profile = console_profile + self.service_principal_profile = service_principal_profile + self.network_profile = network_profile + self.master_profile = master_profile + self.worker_profiles = worker_profiles + self.apiserver_profile = apiserver_profile + self.ingress_profiles = ingress_profiles + + +class Operation(msrest.serialization.Model): + """Operation represents an RP operation. + + :ivar name: Operation name: {provider}/{resource}/{operation}. + :vartype name: str + :ivar display: The object that describes the operation. + :vartype display: ~azure.mgmt.redhatopenshift.v2022_04_01.models.Display + :ivar origin: Sources of requests to this operation. Comma separated list with valid values + user or system, e.g. "user,system". + :vartype origin: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'Display'}, + 'origin': {'key': 'origin', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["Display"] = None, + origin: Optional[str] = None, + **kwargs + ): + """ + :keyword name: Operation name: {provider}/{resource}/{operation}. + :paramtype name: str + :keyword display: The object that describes the operation. + :paramtype display: ~azure.mgmt.redhatopenshift.v2022_04_01.models.Display + :keyword origin: Sources of requests to this operation. Comma separated list with valid values + user or system, e.g. "user,system". + :paramtype origin: str + """ + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + + +class OperationList(msrest.serialization.Model): + """OperationList represents an RP operation list. + + :ivar value: List of operations supported by the resource provider. + :vartype value: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.Operation] + :ivar next_link: The link used to get the next page of operations. + :vartype next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Operation"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + """ + :keyword value: List of operations supported by the resource provider. + :paramtype value: list[~azure.mgmt.redhatopenshift.v2022_04_01.models.Operation] + :keyword next_link: The link used to get the next page of operations. + :paramtype next_link: str + """ + super(OperationList, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ServicePrincipalProfile(msrest.serialization.Model): + """ServicePrincipalProfile represents a service principal profile. + + :ivar client_id: The client ID used for the cluster. + :vartype client_id: str + :ivar client_secret: The client secret used for the cluster. + :vartype client_secret: str + """ + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'client_secret': {'key': 'clientSecret', 'type': 'str'}, + } + + def __init__( + self, + *, + client_id: Optional[str] = None, + client_secret: Optional[str] = None, + **kwargs + ): + """ + :keyword client_id: The client ID used for the cluster. + :paramtype client_id: str + :keyword client_secret: The client secret used for the cluster. + :paramtype client_secret: str + """ + super(ServicePrincipalProfile, self).__init__(**kwargs) + self.client_id = client_id + self.client_secret = client_secret + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure.mgmt.redhatopenshift.v2022_04_01.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure.mgmt.redhatopenshift.v2022_04_01.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class WorkerProfile(msrest.serialization.Model): + """WorkerProfile represents a worker profile. + + :ivar name: The worker profile name. + :vartype name: str + :ivar vm_size: The size of the worker VMs. + :vartype vm_size: str + :ivar disk_size_gb: The disk size of the worker VMs. + :vartype disk_size_gb: int + :ivar subnet_id: The Azure resource ID of the worker subnet. + :vartype subnet_id: str + :ivar count: The number of worker VMs. + :vartype count: int + :ivar encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :vartype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.EncryptionAtHost + :ivar disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :vartype disk_encryption_set_id: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, + 'count': {'key': 'count', 'type': 'int'}, + 'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'str'}, + 'disk_encryption_set_id': {'key': 'diskEncryptionSetId', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + vm_size: Optional[str] = None, + disk_size_gb: Optional[int] = None, + subnet_id: Optional[str] = None, + count: Optional[int] = None, + encryption_at_host: Optional[Union[str, "EncryptionAtHost"]] = None, + disk_encryption_set_id: Optional[str] = None, + **kwargs + ): + """ + :keyword name: The worker profile name. + :paramtype name: str + :keyword vm_size: The size of the worker VMs. + :paramtype vm_size: str + :keyword disk_size_gb: The disk size of the worker VMs. + :paramtype disk_size_gb: int + :keyword subnet_id: The Azure resource ID of the worker subnet. + :paramtype subnet_id: str + :keyword count: The number of worker VMs. + :paramtype count: int + :keyword encryption_at_host: Whether master virtual machines are encrypted at host. Possible + values include: "Disabled", "Enabled". + :paramtype encryption_at_host: str or + ~azure.mgmt.redhatopenshift.v2022_04_01.models.EncryptionAtHost + :keyword disk_encryption_set_id: The resource ID of an associated DiskEncryptionSet, if + applicable. + :paramtype disk_encryption_set_id: str + """ + super(WorkerProfile, self).__init__(**kwargs) + self.name = name + self.vm_size = vm_size + self.disk_size_gb = disk_size_gb + self.subnet_id = subnet_id + self.count = count + self.encryption_at_host = encryption_at_host + self.disk_encryption_set_id = disk_encryption_set_id diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/__init__.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/__init__.py new file mode 100644 index 000000000000..7ffcf7895ee8 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._open_shift_clusters_operations import OpenShiftClustersOperations + +__all__ = [ + 'Operations', + 'OpenShiftClustersOperations', +] diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/_open_shift_clusters_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/_open_shift_clusters_operations.py new file mode 100644 index 000000000000..21e084a8d424 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/_open_shift_clusters_operations.py @@ -0,0 +1,1054 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + +from msrest import Serializer + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +JSONType = Any +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id: str, + resource_group_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_get_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_create_or_update_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_update_request_initial( + subscription_id: str, + resource_group_name: str, + resource_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_list_admin_credentials_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_credentials_request( + subscription_id: str, + resource_group_name: str, + resource_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + +class OpenShiftClustersOperations(object): + """OpenShiftClustersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2022_04_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> Iterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription. + + The operation returns properties of each OpenShift cluster. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> Iterable["_models.OpenShiftClusterList"]: + """Lists OpenShift clusters in the specified subscription and resource group. + + The operation returns properties of each OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OpenShiftClusterList or the result of + cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("OpenShiftClusterList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters"} # type: ignore + + @distributed_trace + def get( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftCluster": + """Gets a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftCluster, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + def _create_or_update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftCluster') + + request = build_create_or_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_or_update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_or_update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace + def begin_create_or_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftCluster", + **kwargs: Any + ) -> LROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_create_or_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self._delete_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> LROPoller[None]: + """Deletes a OpenShift cluster with the specified subscription, resource group and resource name. + + The operation returns nothing. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + def _update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> "_models.OpenShiftCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(parameters, 'OpenShiftClusterUpdate') + + request = build_update_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._update_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _update_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + + @distributed_trace + def begin_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.OpenShiftClusterUpdate", + **kwargs: Any + ) -> LROPoller["_models.OpenShiftCluster"]: + """Creates or updates a OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns properties of a OpenShift cluster. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :param parameters: The OpenShift cluster resource. + :type parameters: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterUpdate + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :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 OpenShiftCluster or the result of + cls(response) + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('OpenShiftCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_update.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}"} # type: ignore + + @distributed_trace + def list_admin_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterAdminKubeconfig": + """Lists admin kubeconfig of an OpenShift cluster with the specified subscription, resource group + and resource name. + + The operation returns the admin kubeconfig. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterAdminKubeconfig, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterAdminKubeconfig + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterAdminKubeconfig"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_list_admin_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_admin_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterAdminKubeconfig', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_admin_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials"} # type: ignore + + + @distributed_trace + def list_credentials( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.OpenShiftClusterCredentials": + """Lists credentials of an OpenShift cluster with the specified subscription, resource group and + resource name. + + The operation returns the credentials. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param resource_name: The name of the OpenShift cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OpenShiftClusterCredentials, or the result of cls(response) + :rtype: ~azure.mgmt.redhatopenshift.v2022_04_01.models.OpenShiftClusterCredentials + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftClusterCredentials"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + + request = build_list_credentials_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + resource_name=resource_name, + api_version=api_version, + template_url=self.list_credentials.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OpenShiftClusterCredentials', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_credentials.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials"} # type: ignore + diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/_operations.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/_operations.py new file mode 100644 index 000000000000..1bb6e4bd3055 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/operations/_operations.py @@ -0,0 +1,146 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + +from msrest import Serializer + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models +from .._vendor import _convert_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_list_request( + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.RedHatOpenShift/operations") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.redhatopenshift.v2022_04_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> Iterable["_models.OperationList"]: + """Lists all of the available RP operations. + + The operation returns the RP operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationList or the result of cls(response) + :rtype: + ~azure.core.paging.ItemPaged[~azure.mgmt.redhatopenshift.v2022_04_01.models.OperationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-04-01") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("OperationList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/providers/Microsoft.RedHatOpenShift/operations"} # type: ignore diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/py.typed b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2022_04_01/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_exceptions.py b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_exceptions.py index 4d3321b8464d..16892ce06f71 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_exceptions.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_exceptions.py @@ -27,6 +27,7 @@ class InvalidSchemaError(ValueError): """Error during schema validation. + :param str message: The message object stringified as 'message' attribute :keyword error: The original exception, if any. @@ -43,6 +44,7 @@ def __init__(self, message, *args, **kwargs): class InvalidContentError(ValueError): """Error during encoding or decoding content with a schema. + :param str message: The message object stringified as 'message' attribute :keyword error: The original exception, if any. diff --git a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_message_protocol.py b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_message_protocol.py index 77848c84cd4d..2b5d62f99134 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_message_protocol.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_message_protocol.py @@ -24,8 +24,7 @@ class MessageType(Protocol): def from_message_content( cls, content: bytes, content_type: str, **kwargs: Any ) -> "MessageType": - """ - Creates an object that is a subtype of MessageType, given content type and + """Creates an object that is a subtype of MessageType, given content type and a content value to be set on the object. :param bytes content: The content value to be set as the body of the message. @@ -35,8 +34,7 @@ def from_message_content( ... def __message_content__(self) -> MessageContent: - """ - A MessageContent object, with `content` and `content_type` set to + """A MessageContent object, with `content` and `content_type` set to the values of their respective properties on the MessageType object. :rtype: ~azure.schemaregistry.encoder.avroencoder.MessageContent diff --git a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_schema_registry_avro_encoder.py b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_schema_registry_avro_encoder.py index 88bae91ed979..7b0fc38ba202 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_schema_registry_avro_encoder.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/_schema_registry_avro_encoder.py @@ -59,14 +59,14 @@ class AvroEncoder(object): """ AvroEncoder provides the ability to encode and decode content according - to the given avro schema. It would automatically register, get and cache the schema. + to the given Avro schema. It would automatically register, get, and cache the schema. :keyword client: Required. The schema registry client which is used to register schema and retrieve schema from the service. :paramtype client: ~azure.schemaregistry.SchemaRegistryClient - :keyword Optional[str] group_name: Required for encoding. Not used for decoding. + :keyword Optional[str] group_name: Required for encoding. Not used when decoding. Schema group under which schema should be registered. - :keyword bool auto_register: When true, register new schemas passed to encode. + :keyword bool auto_register: When true, registers new schemas passed to encode. Otherwise, and by default, encode will fail if the schema has not been pre-registered in the registry. """ @@ -171,8 +171,7 @@ def encode( request_options: Optional[Dict[str, Any]] = None, **kwargs: Any, ) -> Union[MessageType, MessageContent]: - """ - Encode content with the given schema. Create content type value, which consists of the Avro Mime Type string + """Encode content with the given schema. Create content type value, which consists of the Avro Mime Type string and the schema ID corresponding to given schema. If provided with a MessageType subtype, encoded content and content type will be passed to create message object. If not provided, the following dict will be returned: {"content": Avro encoded value, "content_type": Avro mime type string + schema ID}. @@ -240,8 +239,7 @@ def decode( request_options: Dict[str, Any] = None, **kwargs: Any, ) -> Dict[str, Any]: - """ - Decode bytes content using schema ID in the content type field. `message` must be one of the following: + """Decode bytes content using schema ID in the content type field. `message` must be one of the following: 1) An object of subtype of the MessageType protocol. 2) A dict {"content": ..., "content_type": ...}, where "content" is bytes and "content_type" is string. Content must follow format of associated Avro RecordSchema: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/aio/_schema_registry_avro_encoder_async.py b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/aio/_schema_registry_avro_encoder_async.py index dbc4f98656a4..25abee7477f8 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/aio/_schema_registry_avro_encoder_async.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroencoder/azure/schemaregistry/encoder/avroencoder/aio/_schema_registry_avro_encoder_async.py @@ -49,14 +49,14 @@ class AvroEncoder(object): """ AvroEncoder provides the ability to encode and decode content according - to the given avro schema. It would automatically register, get and cache the schema. + to the given avro schema. It would automatically register, get, and cache the schema. :keyword client: Required. The schema registry client which is used to register schema and retrieve schema from the service. :paramtype client: ~azure.schemaregistry.aio.SchemaRegistryClient - :keyword Optional[str] group_name: Required for encoding. Not used for decoding. + :keyword Optional[str] group_name: Required for encoding. Not used when decoding. Schema group under which schema should be registered. - :keyword bool auto_register: When true, register new schemas passed to encode. + :keyword bool auto_register: When true, registers new schemas passed to encode. Otherwise, and by default, encode will fail if the schema has not been pre-registered in the registry. """ @@ -159,8 +159,7 @@ async def encode( **kwargs: Any, ) -> Union[MessageType, MessageContent]: - """ - Encode content with the given schema. Create content type value, which consists of the Avro Mime Type string + """Encode content with the given schema. Create content type value, which consists of the Avro Mime Type string and the schema ID corresponding to given schema. If provided with a MessageType subtype, encoded content and content type will be passed to create message object. If not provided, the following dict will be returned: {"content": Avro encoded value, "content_type": Avro mime type string + schema ID}. @@ -227,8 +226,7 @@ async def decode( request_options: Dict[str, Any] = None, **kwargs: Any, ) -> Dict[str, Any]: - """ - Decode bytes content using schema ID in the content type field. `message` must be one of the following: + """Decode bytes content using schema ID in the content type field. `message` must be one of the following: 1) A object of subtype of the MessageType protocol. 2) A dict {"content": ..., "content_type": ...}, where "content" is bytes and "content_type" is string. Content must follow format of associated Avro RecordSchema: diff --git a/shared_requirements.txt b/shared_requirements.txt index 5fb01466b6e4..4a33c8965dff 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -133,7 +133,7 @@ chardet<5,>=3.0.2 #override azure-search-documents typing-extensions>=3.7.4.3 #override azure azure-keyvault~=1.0 #override azure-mgmt-core azure-core<2.0.0,>=1.15.0 -#override azure-containerregistry azure-core>=1.20.0,<2.0.0 +#override azure-containerregistry azure-core>=1.23.0,<2.0.0 #override azure-core-tracing-opencensus azure-core<2.0.0,>=1.13.0 #override azure-core-tracing-opentelemetry azure-core<2.0.0,>=1.13.0 #override azure-cosmos azure-core<2.0.0,>=1.0.0 @@ -340,6 +340,8 @@ opentelemetry-sdk<2.0.0,>=1.5.0,!=1.10a0 #override azure-mgmt-chaos azure-mgmt-core>=1.3.0,<2.0.0 #override azure-mgmt-network msrest>=0.6.21 #override azure-mgmt-network azure-mgmt-core>=1.3.0,<2.0.0 +#override azure-mgmt-redhatopenshift msrest>=0.6.21 +#override azure-mgmt-redhatopenshift azure-mgmt-core>=1.3.0,<2.0.0 #override azure-mgmt-appcontainers msrest>=0.6.21 #override azure-mgmt-appcontainers azure-mgmt-core>=1.3.0,<2.0.0 #override azure-mgmt-recoveryservicesbackup azure-mgmt-core>=1.3.0,<2.0.0 diff --git a/swagger_to_sdk_config_dpg.json b/swagger_to_sdk_config_dpg.json new file mode 100644 index 000000000000..4900e744c9e8 --- /dev/null +++ b/swagger_to_sdk_config_dpg.json @@ -0,0 +1,17 @@ +{ + "meta": { + "autorest_options": { + "version": "3.7.2", + "use": ["@autorest/python@5.16.0", "@autorest/modelerfour@4.19.3"], + "python": "", + "sdkrel:python-sdks-folder": "./sdk/.", + "version-tolerant": "" + }, + "advanced_options": { + "create_sdk_pull_requests": true, + "sdk_generation_pull_request_base": "integration_branch" + }, + "repotag": "azure-sdk-for-python", + "version": "0.2.0" + } +} diff --git a/tools/azure-sdk-tools/packaging_tools/auto_codegen.py b/tools/azure-sdk-tools/packaging_tools/auto_codegen.py index 384ea05f2df2..1adcca2750b6 100644 --- a/tools/azure-sdk-tools/packaging_tools/auto_codegen.py +++ b/tools/azure-sdk-tools/packaging_tools/auto_codegen.py @@ -4,7 +4,7 @@ from pathlib import Path from subprocess import check_call -from .swaggertosdk.SwaggerToSdkCore import (CONFIG_FILE,) +from .swaggertosdk.SwaggerToSdkCore import CONFIG_FILE, CONFIG_FILE_DPG from .generate_sdk import generate from .generate_utils import get_package_names, init_new_service, update_servicemetadata @@ -20,12 +20,10 @@ def main(generate_input, generate_output): result = {} package_total = set() for input_readme in data["relatedReadmeMdFiles"]: - # skip codegen for data-plane temporarily since it is useless now and may block PR - if 'resource-manager' not in input_readme: - continue relative_path_readme = str(Path(spec_folder, input_readme)) _LOGGER.info(f"[CODEGEN]({input_readme})codegen begin") - config = generate(CONFIG_FILE, sdk_folder, [], relative_path_readme, spec_folder, force_generation=True) + config_file = CONFIG_FILE if 'resource-manager' in input_readme else CONFIG_FILE_DPG + config = generate(config_file, sdk_folder, [], relative_path_readme, spec_folder, force_generation=True) package_names = get_package_names(sdk_folder) _LOGGER.info(f"[CODEGEN]({input_readme})codegen end. [(packages:{str(package_names)})]") diff --git a/tools/azure-sdk-tools/packaging_tools/auto_package.py b/tools/azure-sdk-tools/packaging_tools/auto_package.py index b359879331b5..bda9eb6f14a6 100644 --- a/tools/azure-sdk-tools/packaging_tools/auto_package.py +++ b/tools/azure-sdk-tools/packaging_tools/auto_package.py @@ -43,7 +43,8 @@ def main(generate_input, generate_output): "lite": f"pip install {package_name}", } # to distinguish with track1 - package["packageName"] = "track2_" + package["packageName"] + if 'azure-mgmt-' in package_name: + package["packageName"] = "track2_" + package["packageName"] result["packages"].append(package) with open(generate_output, "w") as writer: diff --git a/tools/azure-sdk-tools/packaging_tools/sdk_generator.py b/tools/azure-sdk-tools/packaging_tools/sdk_generator.py index 3397a4c6ddbe..37989986e33c 100644 --- a/tools/azure-sdk-tools/packaging_tools/sdk_generator.py +++ b/tools/azure-sdk-tools/packaging_tools/sdk_generator.py @@ -4,7 +4,7 @@ from pathlib import Path from subprocess import check_call -from .swaggertosdk.SwaggerToSdkCore import (CONFIG_FILE) +from .swaggertosdk.SwaggerToSdkCore import CONFIG_FILE, CONFIG_FILE_DPG from .generate_sdk import generate from .generate_utils import get_package_names, init_new_service, update_servicemetadata @@ -21,14 +21,10 @@ def main(generate_input, generate_output): package_total = set() input_readme = data["relatedReadmeMdFile"] - # skip codegen for data-plane temporarily since it is useless now and may block PR - if 'resource-manager' not in input_readme: - #continue - _LOGGER.error(f"[CODEGEN]({input_readme}) 'resource-manager' not in [relatedReadmeMdFile]") - return relative_path_readme = str(Path(spec_folder, input_readme)) _LOGGER.info(f"[CODEGEN]({input_readme})codegen begin") - config = generate(CONFIG_FILE, sdk_folder, [], relative_path_readme, spec_folder, force_generation=True) + config_file = CONFIG_FILE if 'resource-manager' in input_readme else CONFIG_FILE_DPG + config = generate(config_file, sdk_folder, [], relative_path_readme, spec_folder, force_generation=True) package_names = get_package_names(sdk_folder) _LOGGER.info(f"[CODEGEN]({input_readme})codegen end. [(packages:{str(package_names)})]") diff --git a/tools/azure-sdk-tools/packaging_tools/sdk_package.py b/tools/azure-sdk-tools/packaging_tools/sdk_package.py index 3b2bb63e104b..f3f8ca5cbb4b 100644 --- a/tools/azure-sdk-tools/packaging_tools/sdk_package.py +++ b/tools/azure-sdk-tools/packaging_tools/sdk_package.py @@ -39,7 +39,8 @@ def main(generate_input, generate_output): package["artifacts"] = [str(dist_path / package_file) for package_file in os.listdir(dist_path)] package["result"] = "succeeded" # to distinguish with track1 - package["packageName"] = "track2_" + package["packageName"] + if 'azure-mgmt-' in package_name: + package["packageName"] = "track2_" + package["packageName"] package["packageFolder"] = package["path"][0] result["packages"].append(package) diff --git a/tools/azure-sdk-tools/packaging_tools/swaggertosdk/SwaggerToSdkCore.py b/tools/azure-sdk-tools/packaging_tools/swaggertosdk/SwaggerToSdkCore.py index 802d10013b2d..f700bd3e668d 100644 --- a/tools/azure-sdk-tools/packaging_tools/swaggertosdk/SwaggerToSdkCore.py +++ b/tools/azure-sdk-tools/packaging_tools/swaggertosdk/SwaggerToSdkCore.py @@ -22,6 +22,7 @@ _LOGGER = logging.getLogger(__name__) CONFIG_FILE = "swagger_to_sdk_config_autorest.json" +CONFIG_FILE_DPG = "swagger_to_sdk_config_dpg.json" DEFAULT_COMMIT_MESSAGE = "Generated from {hexsha}"