diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/_meta.json b/sdk/hdinsight/azure-mgmt-hdinsight/_meta.json index b3161ca4c669..4e6f983edf85 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/_meta.json +++ b/sdk/hdinsight/azure-mgmt-hdinsight/_meta.json @@ -1,11 +1,11 @@ { - "commit": "237afa17929313c909f72f2fea59f4437e305c99", + "commit": "5a8691151d01e935ec6595bfbe69fd777886b67f", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest": "3.9.2", + "autorest": "3.9.7", "use": [ - "@autorest/python@6.6.0", - "@autorest/modelerfour@4.24.3" + "@autorest/python@6.7.1", + "@autorest/modelerfour@4.26.2" ], - "autorest_command": "autorest specification/hdinsight/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.6.0 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False", + "autorest_command": "autorest specification/hdinsight/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False", "readme": "specification/hdinsight/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_configuration.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_configuration.py index abe1a0640006..d50747d55a8c 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_configuration.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_configuration.py @@ -30,14 +30,14 @@ class HDInsightManagementClientConfiguration(Configuration): # pylint: disable= :param subscription_id: The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2023-04-15-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-08-15-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(HDInsightManagementClientConfiguration, self).__init__(**kwargs) - api_version: str = kwargs.pop("api_version", "2023-04-15-preview") + api_version: str = kwargs.pop("api_version", "2023-08-15-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_hd_insight_management_client.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_hd_insight_management_client.py index 760b58de23f2..08ea973a2707 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_hd_insight_management_client.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_hd_insight_management_client.py @@ -68,7 +68,7 @@ class HDInsightManagementClient: # pylint: disable=client-accepts-api-version-k :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 "2023-04-15-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-08-15-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 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_serialization.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_serialization.py index 842ae727fbbc..4bae2292227b 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_serialization.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_serialization.py @@ -662,8 +662,9 @@ def _serialize(self, target_obj, data_type=None, **kwargs): _serialized.update(_new_attr) # type: ignore _new_attr = _new_attr[k] # type: ignore _serialized = _serialized[k] - except ValueError: - continue + except ValueError as err: + if isinstance(err, SerializationError): + raise except (AttributeError, KeyError, TypeError) as err: msg = "Attribute {} in object {} cannot be serialized.\n{}".format(attr_name, class_name, str(target_obj)) @@ -741,6 +742,8 @@ def query(self, name, data, data_type, **kwargs): :param data: The data to be serialized. :param str data_type: The type to be serialized from. + :keyword bool skip_quote: Whether to skip quote the serialized result. + Defaults to False. :rtype: str :raises: TypeError if serialization fails. :raises: ValueError if data is None @@ -749,10 +752,8 @@ def query(self, name, data, data_type, **kwargs): # Treat the list aside, since we don't want to encode the div separator if data_type.startswith("["): internal_data_type = data_type[1:-1] - data = [self.serialize_data(d, internal_data_type, **kwargs) if d is not None else "" for d in data] - if not kwargs.get("skip_quote", False): - data = [quote(str(d), safe="") for d in data] - return str(self.serialize_iter(data, internal_data_type, **kwargs)) + do_quote = not kwargs.get("skip_quote", False) + return str(self.serialize_iter(data, internal_data_type, do_quote=do_quote, **kwargs)) # Not a list, regular serialization output = self.serialize_data(data, data_type, **kwargs) @@ -891,6 +892,8 @@ def serialize_iter(self, data, iter_type, div=None, **kwargs): not be None or empty. :param str div: If set, this str will be used to combine the elements in the iterable into a combined string. Default is 'None'. + :keyword bool do_quote: Whether to quote the serialized result of each iterable element. + Defaults to False. :rtype: list, str """ if isinstance(data, str): @@ -903,9 +906,14 @@ def serialize_iter(self, data, iter_type, div=None, **kwargs): for d in data: try: serialized.append(self.serialize_data(d, iter_type, **kwargs)) - except ValueError: + except ValueError as err: + if isinstance(err, SerializationError): + raise serialized.append(None) + if kwargs.get("do_quote", False): + serialized = ["" if s is None else quote(str(s), safe="") for s in serialized] + if div: serialized = ["" if s is None else str(s) for s in serialized] serialized = div.join(serialized) @@ -950,7 +958,9 @@ def serialize_dict(self, attr, dict_type, **kwargs): for key, value in attr.items(): try: serialized[self.serialize_unicode(key)] = self.serialize_data(value, dict_type, **kwargs) - except ValueError: + except ValueError as err: + if isinstance(err, SerializationError): + raise serialized[self.serialize_unicode(key)] = None if "xml" in serialization_ctxt: diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_vendor.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_vendor.py index bd0df84f5319..0dafe0e287ff 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_vendor.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_vendor.py @@ -5,8 +5,6 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import List, cast - from azure.core.pipeline.transport import HttpRequest @@ -16,15 +14,3 @@ def _convert_request(request, files=None): 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: - # Need the cast, as for some reasons "split" is typed as list[str | Any] - formatted_components = cast(List[str], template.split("/")) - components = [c for c in formatted_components if "{}".format(key.args[0]) not in c] - template = "/".join(components) diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_version.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_version.py index e25f4fc7373b..e5754a47ce68 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_version.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "9.0.0b2" +VERSION = "1.0.0b1" diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_configuration.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_configuration.py index c4be1c6560c1..13266edacf7d 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_configuration.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_configuration.py @@ -30,14 +30,14 @@ class HDInsightManagementClientConfiguration(Configuration): # pylint: disable= :param subscription_id: The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required. :type subscription_id: str - :keyword api_version: Api Version. Default value is "2023-04-15-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-08-15-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(HDInsightManagementClientConfiguration, self).__init__(**kwargs) - api_version: str = kwargs.pop("api_version", "2023-04-15-preview") + api_version: str = kwargs.pop("api_version", "2023-08-15-preview") if credential is None: raise ValueError("Parameter 'credential' must not be None.") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_hd_insight_management_client.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_hd_insight_management_client.py index f50238aed6b1..46778fe0c666 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_hd_insight_management_client.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_hd_insight_management_client.py @@ -69,7 +69,7 @@ class HDInsightManagementClient: # pylint: disable=client-accepts-api-version-k :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 "2023-04-15-preview". Note that overriding + :keyword api_version: Api Version. Default value is "2023-08-15-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 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/__init__.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/__init__.py index e7d0640d390d..15d6fd23046c 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/__init__.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/__init__.py @@ -124,6 +124,7 @@ from ._hd_insight_management_client_enums import HDInsightClusterProvisioningState from ._hd_insight_management_client_enums import JsonWebKeyEncryptionAlgorithm from ._hd_insight_management_client_enums import OSType +from ._hd_insight_management_client_enums import OutboundDependenciesManagedType from ._hd_insight_management_client_enums import PrivateEndpointConnectionProvisioningState from ._hd_insight_management_client_enums import PrivateIPAllocationMethod from ._hd_insight_management_client_enums import PrivateLink @@ -255,6 +256,7 @@ "HDInsightClusterProvisioningState", "JsonWebKeyEncryptionAlgorithm", "OSType", + "OutboundDependenciesManagedType", "PrivateEndpointConnectionProvisioningState", "PrivateIPAllocationMethod", "PrivateLink", diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_hd_insight_management_client_enums.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_hd_insight_management_client_enums.py index 15a659d438f2..c4ecadf1c41b 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_hd_insight_management_client_enums.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_hd_insight_management_client_enums.py @@ -81,6 +81,16 @@ class OSType(str, Enum, metaclass=CaseInsensitiveEnumMeta): LINUX = "Linux" +class OutboundDependenciesManagedType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """A value to describe how the outbound dependencies of a HDInsight cluster are managed. 'Managed' + means that the outbound dependencies are managed by the HDInsight service. 'External' means + that the outbound dependencies are managed by a customer specific solution. + """ + + MANAGED = "Managed" + EXTERNAL = "External" + + class PrivateEndpointConnectionProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The provisioning state, which only appears in the response.""" diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py index 718cd6152ef2..b2a2c04ade71 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py @@ -2975,6 +2975,12 @@ def __init__(self, *, name_available: Optional[bool] = None, **kwargs: Any) -> N class NetworkProperties(_serialization.Model): """The network properties. + :ivar outbound_dependencies_managed_type: A value to describe how the outbound dependencies of + a HDInsight cluster are managed. 'Managed' means that the outbound dependencies are managed by + the HDInsight service. 'External' means that the outbound dependencies are managed by a + customer specific solution. Known values are: "Managed" and "External". + :vartype outbound_dependencies_managed_type: str or + ~azure.mgmt.hdinsight.models.OutboundDependenciesManagedType :ivar resource_provider_connection: The direction for the resource provider connection. Known values are: "Inbound" and "Outbound". :vartype resource_provider_connection: str or @@ -2985,6 +2991,7 @@ class NetworkProperties(_serialization.Model): """ _attribute_map = { + "outbound_dependencies_managed_type": {"key": "outboundDependenciesManagedType", "type": "str"}, "resource_provider_connection": {"key": "resourceProviderConnection", "type": "str"}, "private_link": {"key": "privateLink", "type": "str"}, } @@ -2992,11 +2999,18 @@ class NetworkProperties(_serialization.Model): def __init__( self, *, + outbound_dependencies_managed_type: Optional[Union[str, "_models.OutboundDependenciesManagedType"]] = None, resource_provider_connection: Optional[Union[str, "_models.ResourceProviderConnection"]] = None, private_link: Optional[Union[str, "_models.PrivateLink"]] = None, **kwargs: Any ) -> None: """ + :keyword outbound_dependencies_managed_type: A value to describe how the outbound dependencies + of a HDInsight cluster are managed. 'Managed' means that the outbound dependencies are managed + by the HDInsight service. 'External' means that the outbound dependencies are managed by a + customer specific solution. Known values are: "Managed" and "External". + :paramtype outbound_dependencies_managed_type: str or + ~azure.mgmt.hdinsight.models.OutboundDependenciesManagedType :keyword resource_provider_connection: The direction for the resource provider connection. Known values are: "Inbound" and "Outbound". :paramtype resource_provider_connection: str or @@ -3006,6 +3020,7 @@ def __init__( :paramtype private_link: str or ~azure.mgmt.hdinsight.models.PrivateLink """ super().__init__(**kwargs) + self.outbound_dependencies_managed_type = outbound_dependencies_managed_type self.resource_provider_connection = resource_provider_connection self.private_link = private_link diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_applications_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_applications_operations.py index 4c08428ef1ac..3eb843e3d2ea 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_applications_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_applications_operations.py @@ -30,7 +30,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -45,7 +45,7 @@ def build_list_by_cluster_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -59,7 +59,7 @@ def build_list_by_cluster_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -76,7 +76,7 @@ def build_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -91,7 +91,7 @@ def build_get_request( "applicationName": _SERIALIZER.url("application_name", application_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -108,7 +108,7 @@ def build_create_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -124,7 +124,7 @@ def build_create_request( "applicationName": _SERIALIZER.url("application_name", application_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -143,7 +143,7 @@ def build_delete_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -158,7 +158,7 @@ def build_delete_request( "applicationName": _SERIALIZER.url("application_name", application_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -180,7 +180,7 @@ def build_get_azure_async_operation_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -196,7 +196,7 @@ def build_get_azure_async_operation_status_request( "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_clusters_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_clusters_operations.py index d984fd0ac0df..4ee35477d8a4 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_clusters_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_clusters_operations.py @@ -30,7 +30,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -45,7 +45,7 @@ def build_create_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -60,7 +60,7 @@ def build_create_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -79,7 +79,7 @@ def build_update_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -94,7 +94,7 @@ def build_update_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -113,7 +113,7 @@ def build_delete_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -127,7 +127,7 @@ def build_delete_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -142,7 +142,7 @@ def build_get_request(resource_group_name: str, cluster_name: str, subscription_ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -156,7 +156,7 @@ def build_get_request(resource_group_name: str, cluster_name: str, subscription_ "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -171,7 +171,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -184,7 +184,7 @@ def build_list_by_resource_group_request(resource_group_name: str, subscription_ "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -205,7 +205,7 @@ def build_resize_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -221,7 +221,7 @@ def build_resize_request( "roleName": _SERIALIZER.url("role_name", role_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -244,7 +244,7 @@ def build_update_auto_scale_configuration_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -260,7 +260,7 @@ def build_update_auto_scale_configuration_request( "roleName": _SERIALIZER.url("role_name", role_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -277,7 +277,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -286,7 +286,7 @@ def build_list_request(subscription_id: str, **kwargs: Any) -> HttpRequest: "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -303,7 +303,7 @@ def build_rotate_disk_encryption_key_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -318,7 +318,7 @@ def build_rotate_disk_encryption_key_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -337,7 +337,7 @@ def build_get_gateway_settings_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -351,7 +351,7 @@ def build_get_gateway_settings_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -368,7 +368,7 @@ def build_update_gateway_settings_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -383,7 +383,7 @@ def build_update_gateway_settings_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -402,7 +402,7 @@ def build_get_azure_async_operation_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -417,7 +417,7 @@ def build_get_azure_async_operation_status_request( "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -434,7 +434,7 @@ def build_update_identity_certificate_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -449,7 +449,7 @@ def build_update_identity_certificate_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -468,7 +468,7 @@ def build_execute_script_actions_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -483,7 +483,7 @@ def build_execute_script_actions_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_configurations_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_configurations_operations.py index 07bc063e0ab9..899e80c9bfa8 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_configurations_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_configurations_operations.py @@ -28,7 +28,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -41,7 +41,7 @@ def build_list_request(resource_group_name: str, cluster_name: str, subscription _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -55,7 +55,7 @@ def build_list_request(resource_group_name: str, cluster_name: str, subscription "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -72,7 +72,7 @@ def build_update_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -88,7 +88,7 @@ def build_update_request( "configurationName": _SERIALIZER.url("configuration_name", configuration_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -107,7 +107,7 @@ def build_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -122,7 +122,7 @@ def build_get_request( "configurationName": _SERIALIZER.url("configuration_name", configuration_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_extensions_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_extensions_operations.py index 14ede121e6e5..881e09a34c57 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_extensions_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_extensions_operations.py @@ -28,7 +28,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -43,7 +43,7 @@ def build_enable_monitoring_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -58,7 +58,7 @@ def build_enable_monitoring_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -77,7 +77,7 @@ def build_get_monitoring_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -91,7 +91,7 @@ def build_get_monitoring_status_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -108,7 +108,7 @@ def build_disable_monitoring_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -122,7 +122,7 @@ def build_disable_monitoring_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -139,7 +139,7 @@ def build_enable_azure_monitor_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -154,7 +154,7 @@ def build_enable_azure_monitor_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -173,7 +173,7 @@ def build_get_azure_monitor_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -187,7 +187,7 @@ def build_get_azure_monitor_status_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -204,7 +204,7 @@ def build_disable_azure_monitor_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -218,7 +218,7 @@ def build_disable_azure_monitor_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -235,7 +235,7 @@ def build_create_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -251,7 +251,7 @@ def build_create_request( "extensionName": _SERIALIZER.url("extension_name", extension_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -270,7 +270,7 @@ def build_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -285,7 +285,7 @@ def build_get_request( "extensionName": _SERIALIZER.url("extension_name", extension_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -302,7 +302,7 @@ def build_delete_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -317,7 +317,7 @@ def build_delete_request( "extensionName": _SERIALIZER.url("extension_name", extension_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -339,7 +339,7 @@ def build_get_azure_async_operation_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -355,7 +355,7 @@ def build_get_azure_async_operation_status_request( "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_locations_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_locations_operations.py index df02fb8b0d95..fd8a3e6c8195 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_locations_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_locations_operations.py @@ -26,7 +26,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -39,7 +39,7 @@ def build_get_capabilities_request(location: str, subscription_id: str, **kwargs _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -52,7 +52,7 @@ def build_get_capabilities_request(location: str, subscription_id: str, **kwargs "location": _SERIALIZER.url("location", location, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -67,7 +67,7 @@ def build_list_usages_request(location: str, subscription_id: str, **kwargs: Any _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -79,7 +79,7 @@ def build_list_usages_request(location: str, subscription_id: str, **kwargs: Any "location": _SERIALIZER.url("location", location, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -94,7 +94,7 @@ def build_list_billing_specs_request(location: str, subscription_id: str, **kwar _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -107,7 +107,7 @@ def build_list_billing_specs_request(location: str, subscription_id: str, **kwar "location": _SERIALIZER.url("location", location, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -124,7 +124,7 @@ def build_get_azure_async_operation_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -138,7 +138,7 @@ def build_get_azure_async_operation_status_request( "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -153,7 +153,7 @@ def build_check_name_availability_request(location: str, subscription_id: str, * _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -167,7 +167,7 @@ def build_check_name_availability_request(location: str, subscription_id: str, * "location": _SERIALIZER.url("location", location, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -184,7 +184,7 @@ def build_validate_cluster_create_request_request(location: str, subscription_id _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -198,7 +198,7 @@ def build_validate_cluster_create_request_request(location: str, subscription_id "location": _SERIALIZER.url("location", location, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_operations.py index 233944e34b96..fd7383fa989f 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_operations.py @@ -40,7 +40,7 @@ def build_list_request(**kwargs: Any) -> HttpRequest: _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_endpoint_connections_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_endpoint_connections_operations.py index 00c02d6b8d7d..416049558dcd 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_endpoint_connections_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_endpoint_connections_operations.py @@ -30,7 +30,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -45,7 +45,7 @@ def build_list_by_cluster_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -59,7 +59,7 @@ def build_list_by_cluster_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -80,7 +80,7 @@ def build_create_or_update_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -98,7 +98,7 @@ def build_create_or_update_request( ), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -121,7 +121,7 @@ def build_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -138,7 +138,7 @@ def build_get_request( ), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -159,7 +159,7 @@ def build_delete_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -176,7 +176,7 @@ def build_delete_request( ), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_link_resources_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_link_resources_operations.py index ef1f9906bc50..7e5bf33015cb 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_link_resources_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_private_link_resources_operations.py @@ -25,7 +25,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -40,7 +40,7 @@ def build_list_by_cluster_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -54,7 +54,7 @@ def build_list_by_cluster_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -71,7 +71,7 @@ def build_get_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -86,7 +86,7 @@ def build_get_request( "privateLinkResourceName": _SERIALIZER.url("private_link_resource_name", private_link_resource_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_actions_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_actions_operations.py index 57e693bcd87d..2b6a894792ce 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_actions_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_actions_operations.py @@ -27,7 +27,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -42,7 +42,7 @@ def build_delete_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -57,7 +57,7 @@ def build_delete_request( "scriptName": _SERIALIZER.url("script_name", script_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -74,7 +74,7 @@ def build_list_by_cluster_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -88,7 +88,7 @@ def build_list_by_cluster_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -105,7 +105,7 @@ def build_get_execution_detail_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -120,7 +120,7 @@ def build_get_execution_detail_request( "scriptExecutionId": _SERIALIZER.url("script_execution_id", script_execution_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -137,7 +137,7 @@ def build_get_execution_async_operation_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -152,7 +152,7 @@ def build_get_execution_async_operation_status_request( "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_execution_history_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_execution_history_operations.py index 7e76a1f0d12a..9f3f5ab28daa 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_execution_history_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_script_execution_history_operations.py @@ -27,7 +27,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -42,7 +42,7 @@ def build_list_by_cluster_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -56,7 +56,7 @@ def build_list_by_cluster_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -73,7 +73,7 @@ def build_promote_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -88,7 +88,7 @@ def build_promote_request( "scriptExecutionId": _SERIALIZER.url("script_execution_id", script_execution_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_virtual_machines_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_virtual_machines_operations.py index e930d779ae2f..26fba19cf821 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_virtual_machines_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_virtual_machines_operations.py @@ -28,7 +28,7 @@ from .. import models as _models from .._serialization import Serializer -from .._vendor import _convert_request, _format_url_section +from .._vendor import _convert_request T = TypeVar("T") ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] @@ -43,7 +43,7 @@ def build_list_hosts_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -57,7 +57,7 @@ def build_list_hosts_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -74,7 +74,7 @@ def build_restart_hosts_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None)) accept = _headers.pop("Accept", "application/json") @@ -89,7 +89,7 @@ def build_restart_hosts_request( "clusterName": _SERIALIZER.url("cluster_name", cluster_name, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") @@ -108,7 +108,7 @@ def build_get_async_operation_status_request( _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) - api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-04-15-preview")) + api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-08-15-preview")) accept = _headers.pop("Accept", "application/json") # Construct URL @@ -123,7 +123,7 @@ def build_get_async_operation_status_request( "operationId": _SERIALIZER.url("operation_id", operation_id, "str"), } - _url: str = _format_url_section(_url, **path_format_arguments) # type: ignore + _url: str = _url.format(**path_format_arguments) # type: ignore # Construct parameters _params["api-version"] = _SERIALIZER.query("api_version", api_version, "str") diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/approve_private_endpoint_connection.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/approve_private_endpoint_connection.py index e053be438857..db979083e35d 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/approve_private_endpoint_connection.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/approve_private_endpoint_connection.py @@ -46,6 +46,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ApprovePrivateEndpointConnection.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/ApprovePrivateEndpointConnection.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_disable.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_disable.py index a952430894bb..e4310f3e34d8 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_disable.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_disable.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityDisable.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/ChangeHttpConnectivityDisable.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_enable.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_enable.py index ad1c914c5d00..c787e0274d53 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_enable.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/change_http_connectivity_enable.py @@ -41,6 +41,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ChangeHttpConnectivityEnable.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/ChangeHttpConnectivityEnable.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_application.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_application.py index 3ea68203b5bb..2343da9307c9 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_application.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_application.py @@ -58,6 +58,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateApplication.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateApplication.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_extension.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_extension.py index df58150c19a6..a11d8b82921b 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_extension.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_extension.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateExtension.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateExtension.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_autoscale_config.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_autoscale_config.py index 9dd8cdf752e2..af169640faf5 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_autoscale_config.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_autoscale_config.py @@ -120,6 +120,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_availability_zones.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_availability_zones.py index 8beea4938732..5ae965a83fae 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_availability_zones.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_availability_zones.py @@ -135,6 +135,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithAvailabilityZones.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateHDInsightClusterWithAvailabilityZones.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_compute_isolation_properties.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_compute_isolation_properties.py index dc367b2ee5df..5a4b962acc91 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_compute_isolation_properties.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_compute_isolation_properties.py @@ -92,6 +92,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_custom_network_properties.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_custom_network_properties.py index 0b6af2c85a65..afc2f1f5a0ad 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_custom_network_properties.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_custom_network_properties.py @@ -100,6 +100,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithCustomNetworkProperties.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateHDInsightClusterWithCustomNetworkProperties.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_at_host.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_at_host.py index e5bea5d0f45b..b36e72c3efe9 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_at_host.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_at_host.py @@ -93,6 +93,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithEncryptionAtHost.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateHDInsightClusterWithEncryptionAtHost.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_in_transit.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_in_transit.py index 1e7e9ca58b98..94b4513c466b 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_in_transit.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_encryption_in_transit.py @@ -93,6 +93,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithEncryptionInTransit.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateHDInsightClusterWithEncryptionInTransit.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_tls12.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_tls12.py index 091a270a1f14..c9b9762f7bfe 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_tls12.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_hd_insight_cluster_with_tls12.py @@ -93,6 +93,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateHDInsightClusterWithTLS12.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateHDInsightClusterWithTLS12.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_kafka_cluster_with_kafka_rest_proxy.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_kafka_cluster_with_kafka_rest_proxy.py index 05751be2eac9..9a037aae9318 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_kafka_cluster_with_kafka_rest_proxy.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_kafka_cluster_with_kafka_rest_proxy.py @@ -108,6 +108,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateKafkaClusterWithKafkaRestProxy.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_adls_gen2.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_adls_gen2.py index d04e5a6d315d..afa0017f04b8 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_adls_gen2.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_adls_gen2.py @@ -96,6 +96,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopAdlsGen2.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateLinuxHadoopAdlsGen2.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_secure_hadoop.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_secure_hadoop.py index 29ec96b38652..24f0289a86c0 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_secure_hadoop.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_secure_hadoop.py @@ -132,6 +132,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSecureHadoop.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateLinuxHadoopSecureHadoop.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_password.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_password.py index 877687e424e6..43d3033158b5 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_password.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_password.py @@ -96,6 +96,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSshPassword.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateLinuxHadoopSshPassword.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_public_key.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_public_key.py index 9dd724490d11..9e3b9e2e9645 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_public_key.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_hadoop_ssh_public_key.py @@ -99,6 +99,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxHadoopSshPublicKey.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateLinuxHadoopSshPublicKey.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_spark_ssh_password.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_spark_ssh_password.py index bc9a4c799837..a07bf8a290ef 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_spark_ssh_password.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/create_linux_spark_ssh_password.py @@ -88,6 +88,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/CreateLinuxSparkSshPassword.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/CreateLinuxSparkSshPassword.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_application.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_application.py index a62a8352b40e..55f585f69c63 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_application.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_application.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteApplication.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/DeleteApplication.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_extension.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_extension.py index 6b4db919d654..910681300489 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_extension.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_extension.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteExtension.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/DeleteExtension.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_linux_hadoop_cluster.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_linux_hadoop_cluster.py index 66a08f7b11c6..414ffeae2988 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_linux_hadoop_cluster.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_linux_hadoop_cluster.py @@ -35,6 +35,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteLinuxHadoopCluster.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/DeleteLinuxHadoopCluster.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_private_endpoint_connection.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_private_endpoint_connection.py index f6deabce7ffc..ac739a388302 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_private_endpoint_connection.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_private_endpoint_connection.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeletePrivateEndpointConnection.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/DeletePrivateEndpointConnection.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_script_action.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_script_action.py index 448987b5b94e..d9ef35e3021d 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_script_action.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/delete_script_action.py @@ -36,6 +36,6 @@ def main(): ) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DeleteScriptAction.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/DeleteScriptAction.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_azure_monitor.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_azure_monitor.py index 917a1fe68e64..353f8261d18e 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_azure_monitor.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_azure_monitor.py @@ -35,6 +35,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterAzureMonitor.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/DisableLinuxClusterAzureMonitor.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_monitoring.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_monitoring.py index 4c92352d3ecd..a2a3ffd5544d 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_monitoring.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/disable_linux_cluster_monitoring.py @@ -35,6 +35,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/DisableLinuxClusterMonitoring.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/DisableLinuxClusterMonitoring.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_azure_monitor.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_azure_monitor.py index 6dda91e1cf45..ac13e261baaf 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_azure_monitor.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_azure_monitor.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterAzureMonitor.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/EnableLinuxClusterAzureMonitor.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_monitoring.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_monitoring.py index 111d73b688d5..45ab5fcc4190 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_monitoring.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_linux_cluster_monitoring.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableLinuxClusterMonitoring.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/EnableLinuxClusterMonitoring.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_load_based_configuration.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_load_based_configuration.py index 7489e77d397a..63909895acf0 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_load_based_configuration.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_load_based_configuration.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/EnableOrUpdateAutoScaleWithLoadBasedConfiguration.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_schedule_based_configuration.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_schedule_based_configuration.py index 8ec0cb2c39f3..18e0d4fb3310 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_schedule_based_configuration.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/enable_or_update_auto_scale_with_schedule_based_configuration.py @@ -49,6 +49,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/EnableOrUpdateAutoScaleWithScheduleBasedConfiguration.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_applications.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_applications.py index 70c94754a21a..482e06990354 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_applications.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_applications.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllApplications.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetAllApplications.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_endpoint_connections_in_cluster.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_endpoint_connections_in_cluster.py index 27805f5509ef..404b7345a66c 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_endpoint_connections_in_cluster.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_endpoint_connections_in_cluster.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllPrivateEndpointConnectionsInCluster.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetAllPrivateEndpointConnectionsInCluster.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_link_resources_in_cluster.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_link_resources_in_cluster.py index ce65c9f85eb6..ae84bbd3e60b 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_link_resources_in_cluster.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_all_private_link_resources_in_cluster.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetAllPrivateLinkResourcesInCluster.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetAllPrivateLinkResourcesInCluster.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_created.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_created.py index 6939b0e4ac47..1adc71754248 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_created.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_created.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationCreated.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetApplicationCreated.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_creation_async_operation_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_creation_async_operation_status.py index 75087f8f0aab..48a02d7673d2 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_creation_async_operation_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_creation_async_operation_status.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationCreationAsyncOperationStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetApplicationCreationAsyncOperationStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_in_progress.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_in_progress.py index 882718425b0b..6f21bc21dbd7 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_in_progress.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_application_in_progress.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetApplicationInProgress.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetApplicationInProgress.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_creating_async_operation_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_creating_async_operation_status.py index fb9d75e1949c..ba3826058d15 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_creating_async_operation_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_creating_async_operation_status.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetClusterCreatingAsyncOperationStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetClusterCreatingAsyncOperationStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_virtual_machines.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_virtual_machines.py index ede765c8dcde..91584dec0e4a 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_virtual_machines.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_cluster_virtual_machines.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetClusterVirtualMachines.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetClusterVirtualMachines.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension.py index fe85a1afa49d..afbb298f3f5e 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtension.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetExtension.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension_creation_async_operation_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension_creation_async_operation_status.py index cf2f87066d11..8538fbe0d722 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension_creation_async_operation_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_extension_creation_async_operation_status.py @@ -38,6 +38,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetExtensionCreationAsyncOperationStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetExtensionCreationAsyncOperationStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_capabilities.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_capabilities.py index e5656a28881f..aa34187782c7 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_capabilities.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_capabilities.py @@ -35,6 +35,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightCapabilities.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetHDInsightCapabilities.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_usages.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_usages.py index fbbed06933a3..e489af1dba0b 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_usages.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_hd_insight_usages.py @@ -35,6 +35,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetHDInsightUsages.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetHDInsightUsages.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_azure_monitor_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_azure_monitor_status.py index c08cb7ede7bd..5f3a7f332eaa 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_azure_monitor_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_azure_monitor_status.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterAzureMonitorStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetLinuxClusterAzureMonitorStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_monitoring_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_monitoring_status.py index e9c0b842c13f..fb718afe941e 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_monitoring_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_cluster_monitoring_status.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxClusterMonitoringStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetLinuxClusterMonitoringStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters.py index 8fd9fb448ff8..023d865c0430 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters.py @@ -34,6 +34,6 @@ def main(): print(item) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClusters.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetLinuxHadoopAllClusters.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters_in_resource_group.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters_in_resource_group.py index 213652722d9b..bccbab1e1f7d 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters_in_resource_group.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_all_clusters_in_resource_group.py @@ -36,6 +36,6 @@ def main(): print(item) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetLinuxHadoopAllClustersInResourceGroup.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_cluster.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_cluster.py index aa2ebcdd15fb..4d05993a52dc 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_cluster.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_cluster.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopCluster.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetLinuxHadoopCluster.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_script_action.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_script_action.py index 38b659b04355..fad0b82cb411 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_script_action.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_hadoop_script_action.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxHadoopScriptAction.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetLinuxHadoopScriptAction.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_spark_cluster.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_spark_cluster.py index 2c25bdcb54af..c3c4d38370c3 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_spark_cluster.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_linux_spark_cluster.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetLinuxSparkCluster.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetLinuxSparkCluster.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_endpoint_connection.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_endpoint_connection.py index 2439a0075396..248b159f3a88 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_endpoint_connection.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_endpoint_connection.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetPrivateEndpointConnection.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetPrivateEndpointConnection.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_link_resource.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_link_resource.py index 0a51dbf3d76e..03c9a600d342 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_link_resource.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_private_link_resource.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetPrivateLinkResource.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetPrivateLinkResource.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_restart_hosts_async_operation_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_restart_hosts_async_operation_status.py index 48ffb6e9a66c..8e56ab71777d 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_restart_hosts_async_operation_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_restart_hosts_async_operation_status.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetRestartHostsAsyncOperationStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetRestartHostsAsyncOperationStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_action_by_id.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_action_by_id.py index 5a544d3bd40c..d4744432be62 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_action_by_id.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_action_by_id.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptActionById.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetScriptActionById.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_async_operation_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_async_operation_status.py index 7d76168d48fe..503defe2824f 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_async_operation_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_async_operation_status.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptExecutionAsyncOperationStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetScriptExecutionAsyncOperationStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_history.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_history.py index b3cd7fcb40a8..370b410ef23c 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_history.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/get_script_execution_history.py @@ -37,6 +37,6 @@ def main(): print(item) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/GetScriptExecutionHistory.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/GetScriptExecutionHistory.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_get_gateway_settings.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_get_gateway_settings.py index 1d3dc36593da..982454af64d4 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_get_gateway_settings.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_get_gateway_settings.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_GetGatewaySettings.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Clusters_GetGatewaySettings.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_cluster_identity_certificate.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_cluster_identity_certificate.py index 01eea546cf1d..9b23eeb3a065 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_cluster_identity_certificate.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_cluster_identity_certificate.py @@ -40,6 +40,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Clusters_UpdateClusterIdentityCertificate.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_gateway_settings_enable.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_gateway_settings_enable.py index 281d02bf5d6c..4d0a0e00887c 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_gateway_settings_enable.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_clusters_update_gateway_settings_enable.py @@ -40,6 +40,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_get.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_get.py index 4ba5a77191f0..0681d95fa83c 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_get.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_get.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_Get.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Configurations_Get.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_list.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_list.py index ad1e87d7a6ca..410686f47d3a 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_list.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_configurations_list.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Configurations_List.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Configurations_List.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_check_cluster_name_availability.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_check_cluster_name_availability.py index b885e70d2d54..924944378c71 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_check_cluster_name_availability.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_check_cluster_name_availability.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_CheckClusterNameAvailability.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Locations_CheckClusterNameAvailability.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_get_async_operation_status.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_get_async_operation_status.py index eadac13e158f..e28f25236767 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_get_async_operation_status.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_get_async_operation_status.py @@ -36,6 +36,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_GetAsyncOperationStatus.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Locations_GetAsyncOperationStatus.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_list_billing_specs.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_list_billing_specs.py index 877b2be52e05..ddf0232ceeb8 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_list_billing_specs.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_list_billing_specs.py @@ -35,6 +35,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ListBillingSpecs.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Locations_ListBillingSpecs.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_validate_cluster_create_request.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_validate_cluster_create_request.py index 554891c3bbba..53a5d590855e 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_validate_cluster_create_request.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/hdi_locations_validate_cluster_create_request.py @@ -114,6 +114,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/HDI_Locations_ValidateClusterCreateRequest.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/list_hd_insight_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/list_hd_insight_operations.py index 1ada2b806f7e..db9ee6b601bb 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/list_hd_insight_operations.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/list_hd_insight_operations.py @@ -34,6 +34,6 @@ def main(): print(item) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ListHDInsightOperations.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/ListHDInsightOperations.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/patch_linux_hadoop_cluster.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/patch_linux_hadoop_cluster.py index 96a40d4ad666..d858446955d1 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/patch_linux_hadoop_cluster.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/patch_linux_hadoop_cluster.py @@ -37,6 +37,6 @@ def main(): print(response) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PatchLinuxHadoopCluster.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/PatchLinuxHadoopCluster.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/post_execute_script_action.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/post_execute_script_action.py index de63760b2c51..c084024b89bc 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/post_execute_script_action.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/post_execute_script_action.py @@ -46,6 +46,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PostExecuteScriptAction.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/PostExecuteScriptAction.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/promote_linux_hadoop_script_action.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/promote_linux_hadoop_script_action.py index 3d4ecab6a9e2..135fb7918191 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/promote_linux_hadoop_script_action.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/promote_linux_hadoop_script_action.py @@ -36,6 +36,6 @@ def main(): ) -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/PromoteLinuxHadoopScriptAction.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/PromoteLinuxHadoopScriptAction.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/resize_linux_hadoop_cluster.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/resize_linux_hadoop_cluster.py index a38a57c2cf0e..a2296dc9fe88 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/resize_linux_hadoop_cluster.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/resize_linux_hadoop_cluster.py @@ -37,6 +37,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/ResizeLinuxHadoopCluster.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/ResizeLinuxHadoopCluster.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/restart_virtual_machines_operation.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/restart_virtual_machines_operation.py index 8be081fbdb85..f9116deb7adb 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/restart_virtual_machines_operation.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/restart_virtual_machines_operation.py @@ -36,6 +36,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/RestartVirtualMachinesOperation.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/RestartVirtualMachinesOperation.json if __name__ == "__main__": main() diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/rotate_linux_hadoop_cluster_disk_encryption_key.py b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/rotate_linux_hadoop_cluster_disk_encryption_key.py index 5dd32bd06616..f271078a405a 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/rotate_linux_hadoop_cluster_disk_encryption_key.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/generated_samples/rotate_linux_hadoop_cluster_disk_encryption_key.py @@ -40,6 +40,6 @@ def main(): ).result() -# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-04-15-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json +# x-ms-original-file: specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/examples/RotateLinuxHadoopClusterDiskEncryptionKey.json if __name__ == "__main__": main()