diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md b/sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md index 0cbc6217d0e6..49062276438a 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md +++ b/sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md @@ -1,5 +1,73 @@ # Release History +## 7.0.0b1 (2020-10-31) + +This is beta preview version. +For detailed changelog please refer to equivalent stable version 2.0.0(https://pypi.org/project/azure-mgmt-hdinsight/2.0.0/) + +This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming). + +**General breaking changes** + +- Credential system has been completly revamped: + + - `azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/ + - `credentials` parameter has been renamed `credential` + +- The `config` attribute no longer exists on a client, configuration should be passed as kwarg. Example: `MyClient(credential, subscription_id, enable_logging=True)`. For a complete set of + supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies) +- You can't import a `version` module anymore, use `__version__` instead +- Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`. +- Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed). +- Most of the operation kwarg have changed. Some of the most noticeable: + + - `raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user + - For a complete set of supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies) + +**General new features** + +- Type annotations support using `typing`. SDKs are mypy ready. +- This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client. +- This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core-tracing-opentelemetry) for an overview. + + +## 2.0.0 (2020-10-20) + +**Features** + + - Model ClusterGetProperties has a new parameter network_properties + - Model ClusterGetProperties has a new parameter cluster_id + - Model ClusterCreateProperties has a new parameter network_properties + +**Breaking changes** + + - Model ClusterGetProperties no longer has parameter network_settings + - Model ClusterCreateProperties no longer has parameter network_settings + +## 1.7.0 (2020-08-13) + +**Features** + + - Model DiskEncryptionProperties has a new parameter encryption_at_host + +## 1.6.0 (2020-07-17) + +**Features** + + - Added operation group VirtualMachinesOperations + +## 1.5.1 (2020-06-11) + +**Bugfixes** + + - Fix the List Response + +## 1.5.0 (2020-05-29) + +**Features** + + - Added operation group VirtualMachinesOperations + ## 1.4.0 (2020-01-16) **Features** @@ -87,4 +155,4 @@ Stable versionning of the 0.3.0 (no changes) ## 0.1.0 (2018-08-08) - - Initial Release + - Initial Release \ No newline at end of file diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/README.md b/sdk/hdinsight/azure-mgmt-hdinsight/README.md index 283884e0c3a8..ce5d46a0e51f 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/README.md +++ b/sdk/hdinsight/azure-mgmt-hdinsight/README.md @@ -7,9 +7,14 @@ For a more complete view of Azure libraries, see the [azure sdk python release]( # Usage -For code examples, see [HDInsight Management](https://docs.microsoft.com/python/api/overview/azure/hdinsight) -on docs.microsoft.com. +To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) + + + +For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) +Code samples for this package can be found at [HDInsight Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. +Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) # Provide Feedback diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/__init__.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/__init__.py index 60686859f311..14ab46d45b32 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/__init__.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/__init__.py @@ -1,19 +1,19 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from ._configuration import HDInsightManagementClientConfiguration from ._hd_insight_management_client import HDInsightManagementClient -__all__ = ['HDInsightManagementClient', 'HDInsightManagementClientConfiguration'] - -from .version import VERSION +from ._version import VERSION __version__ = VERSION +__all__ = ['HDInsightManagementClient'] +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass 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 706f62d05a15..e9344a70c161 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_configuration.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_configuration.py @@ -1,50 +1,71 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrestazure import AzureConfiguration -from .version import VERSION +from typing import TYPE_CHECKING +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + + +class HDInsightManagementClientConfiguration(Configuration): + """Configuration for HDInsightManagementClient. -class HDInsightManagementClientConfiguration(AzureConfiguration): - """Configuration for HDInsightManagementClient Note that all parameters used to create this instance are saved as instance attributes. - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: The subscription credentials which uniquely - identify Microsoft Azure subscription. The subscription ID forms part of - the URI for every service call. + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. :type subscription_id: str - :param str base_url: Service URL """ def __init__( - self, credentials, subscription_id, base_url=None): - - if credentials is None: - raise ValueError("Parameter 'credentials' must not be None.") + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") if subscription_id is None: raise ValueError("Parameter 'subscription_id' must not be None.") - if not base_url: - base_url = 'https://management.azure.com' - - super(HDInsightManagementClientConfiguration, self).__init__(base_url) - - # Starting Autorest.Python 4.0.64, make connection pool activated by default - self.keep_alive = True + super(HDInsightManagementClientConfiguration, self).__init__(**kwargs) - self.add_user_agent('azure-mgmt-hdinsight/{}'.format(VERSION)) - self.add_user_agent('Azure-SDK-For-Python') - - self.credentials = credentials + self.credential = credential self.subscription_id = subscription_id + self.api_version = "2018-06-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-hdinsight/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/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 e88400187f14..0932437c3d84 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 @@ -1,16 +1,21 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrest.service_client import SDKClient -from msrest import Serializer, Deserializer +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential from ._configuration import HDInsightManagementClientConfiguration from .operations import ClustersOperations @@ -21,66 +26,85 @@ from .operations import ScriptActionsOperations from .operations import ScriptExecutionHistoryOperations from .operations import Operations +from .operations import VirtualMachinesOperations from . import models -class HDInsightManagementClient(SDKClient): - """HDInsight Management Client +class HDInsightManagementClient(object): + """HDInsight Management Client. - :ivar config: Configuration for client. - :vartype config: HDInsightManagementClientConfiguration - - :ivar clusters: Clusters operations + :ivar clusters: ClustersOperations operations :vartype clusters: azure.mgmt.hdinsight.operations.ClustersOperations - :ivar applications: Applications operations + :ivar applications: ApplicationsOperations operations :vartype applications: azure.mgmt.hdinsight.operations.ApplicationsOperations - :ivar locations: Locations operations + :ivar locations: LocationsOperations operations :vartype locations: azure.mgmt.hdinsight.operations.LocationsOperations - :ivar configurations: Configurations operations + :ivar configurations: ConfigurationsOperations operations :vartype configurations: azure.mgmt.hdinsight.operations.ConfigurationsOperations - :ivar extensions: Extensions operations + :ivar extensions: ExtensionsOperations operations :vartype extensions: azure.mgmt.hdinsight.operations.ExtensionsOperations - :ivar script_actions: ScriptActions operations + :ivar script_actions: ScriptActionsOperations operations :vartype script_actions: azure.mgmt.hdinsight.operations.ScriptActionsOperations - :ivar script_execution_history: ScriptExecutionHistory operations + :ivar script_execution_history: ScriptExecutionHistoryOperations operations :vartype script_execution_history: azure.mgmt.hdinsight.operations.ScriptExecutionHistoryOperations :ivar operations: Operations operations :vartype operations: azure.mgmt.hdinsight.operations.Operations - - :param credentials: Credentials needed for the client to connect to Azure. - :type credentials: :mod:`A msrestazure Credentials - object` - :param subscription_id: The subscription credentials which uniquely - identify Microsoft Azure subscription. The subscription ID forms part of - the URI for every service call. + :ivar virtual_machines: VirtualMachinesOperations operations + :vartype virtual_machines: azure.mgmt.hdinsight.operations.VirtualMachinesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. :type subscription_id: str :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( - self, credentials, subscription_id, base_url=None): - - self.config = HDInsightManagementClientConfiguration(credentials, subscription_id, base_url) - super(HDInsightManagementClient, self).__init__(self.config.credentials, self.config) + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = HDInsightManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2018-06-01-preview' self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.clusters = ClustersOperations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) self.applications = ApplicationsOperations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) self.locations = LocationsOperations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) self.configurations = ConfigurationsOperations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) self.extensions = ExtensionsOperations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) self.script_actions = ScriptActionsOperations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) self.script_execution_history = ScriptExecutionHistoryOperations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) self.operations = Operations( - self._client, self.config, self._serialize, self._deserialize) + self._client, self._config, self._serialize, self._deserialize) + self.virtual_machines = VirtualMachinesOperations( + self._client, self._config, self._serialize, self._deserialize) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> HDInsightManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_version.py similarity index 84% rename from sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py rename to sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_version.py index 7315f571b24e..efe7276fe05f 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_version.py @@ -1,13 +1,9 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.4.0" - +VERSION = "7.0.0b1" diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/__init__.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/__init__.py new file mode 100644 index 000000000000..b412b0650456 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._hd_insight_management_client import HDInsightManagementClient +__all__ = ['HDInsightManagementClient'] 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 new file mode 100644 index 000000000000..3e8519b293a5 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_configuration.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class HDInsightManagementClientConfiguration(Configuration): + """Configuration for HDInsightManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(HDInsightManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2018-06-01-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-hdinsight/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/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 new file mode 100644 index 000000000000..b7498fb27bf7 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/_hd_insight_management_client.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import HDInsightManagementClientConfiguration +from .operations import ClustersOperations +from .operations import ApplicationsOperations +from .operations import LocationsOperations +from .operations import ConfigurationsOperations +from .operations import ExtensionsOperations +from .operations import ScriptActionsOperations +from .operations import ScriptExecutionHistoryOperations +from .operations import Operations +from .operations import VirtualMachinesOperations +from .. import models + + +class HDInsightManagementClient(object): + """HDInsight Management Client. + + :ivar clusters: ClustersOperations operations + :vartype clusters: azure.mgmt.hdinsight.aio.operations.ClustersOperations + :ivar applications: ApplicationsOperations operations + :vartype applications: azure.mgmt.hdinsight.aio.operations.ApplicationsOperations + :ivar locations: LocationsOperations operations + :vartype locations: azure.mgmt.hdinsight.aio.operations.LocationsOperations + :ivar configurations: ConfigurationsOperations operations + :vartype configurations: azure.mgmt.hdinsight.aio.operations.ConfigurationsOperations + :ivar extensions: ExtensionsOperations operations + :vartype extensions: azure.mgmt.hdinsight.aio.operations.ExtensionsOperations + :ivar script_actions: ScriptActionsOperations operations + :vartype script_actions: azure.mgmt.hdinsight.aio.operations.ScriptActionsOperations + :ivar script_execution_history: ScriptExecutionHistoryOperations operations + :vartype script_execution_history: azure.mgmt.hdinsight.aio.operations.ScriptExecutionHistoryOperations + :ivar operations: Operations operations + :vartype operations: azure.mgmt.hdinsight.aio.operations.Operations + :ivar virtual_machines: VirtualMachinesOperations operations + :vartype virtual_machines: azure.mgmt.hdinsight.aio.operations.VirtualMachinesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = HDInsightManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.clusters = ClustersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.applications = ApplicationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.locations = LocationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.configurations = ConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.extensions = ExtensionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.script_actions = ScriptActionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.script_execution_history = ScriptExecutionHistoryOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_machines = VirtualMachinesOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "HDInsightManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/__init__.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/__init__.py new file mode 100644 index 000000000000..2df109900cd2 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/__init__.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._clusters_operations import ClustersOperations +from ._applications_operations import ApplicationsOperations +from ._locations_operations import LocationsOperations +from ._configurations_operations import ConfigurationsOperations +from ._extensions_operations import ExtensionsOperations +from ._script_actions_operations import ScriptActionsOperations +from ._script_execution_history_operations import ScriptExecutionHistoryOperations +from ._operations import Operations +from ._virtual_machines_operations import VirtualMachinesOperations + +__all__ = [ + 'ClustersOperations', + 'ApplicationsOperations', + 'LocationsOperations', + 'ConfigurationsOperations', + 'ExtensionsOperations', + 'ScriptActionsOperations', + 'ScriptExecutionHistoryOperations', + 'Operations', + 'VirtualMachinesOperations', +] diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_applications_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_applications_operations.py new file mode 100644 index 000000000000..18eccdb7050d --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_applications_operations.py @@ -0,0 +1,416 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationsOperations: + """ApplicationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_cluster( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> AsyncIterable["models.ApplicationListResult"]: + """Lists all of the applications for the HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.hdinsight.models.ApplicationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_cluster.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications'} # type: ignore + + async def get( + self, + resource_group_name: str, + cluster_name: str, + application_name: str, + **kwargs + ) -> "models.Application": + """Gets properties of the specified application. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param application_name: The constant value for the application name. + :type application_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Application, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Application + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.Application"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'applicationName': self._serialize.url("application_name", application_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Application', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + cluster_name: str, + application_name: str, + parameters: "models.Application", + **kwargs + ) -> "models.Application": + cls = kwargs.pop('cls', None) # type: ClsType["models.Application"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'applicationName': self._serialize.url("application_name", application_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Application') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Application', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + cluster_name: str, + application_name: str, + parameters: "models.Application", + **kwargs + ) -> AsyncLROPoller["models.Application"]: + """Creates applications for the HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param application_name: The constant value for the application name. + :type application_name: str + :param parameters: The application create request. + :type parameters: ~azure.mgmt.hdinsight.models.Application + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Application or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hdinsight.models.Application] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.Application"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + application_name=application_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Application', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + cluster_name: str, + application_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'applicationName': self._serialize.url("application_name", application_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + cluster_name: str, + application_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified application on the HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param application_name: The constant value for the application name. + :type application_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + application_name=application_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_clusters_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_clusters_operations.py new file mode 100644 index 000000000000..e6acd731756d --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_clusters_operations.py @@ -0,0 +1,1179 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ClustersOperations: + """ClustersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_initial( + self, + resource_group_name: str, + cluster_name: str, + parameters: "models.ClusterCreateParametersExtended", + **kwargs + ) -> "models.Cluster": + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ClusterCreateParametersExtended') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Cluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + cluster_name: str, + parameters: "models.ClusterCreateParametersExtended", + **kwargs + ) -> AsyncLROPoller["models.Cluster"]: + """Creates a new HDInsight cluster with the specified parameters. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param parameters: The cluster create request. + :type parameters: ~azure.mgmt.hdinsight.models.ClusterCreateParametersExtended + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.hdinsight.models.Cluster] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Cluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + cluster_name: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ) -> "models.Cluster": + """Patch HDInsight cluster with the specified parameters. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param tags: The resource tags. + :type tags: dict[str, str] + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Cluster, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Cluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ClusterPatchParameters(tags=tags) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ClusterPatchParameters') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Cluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> "models.Cluster": + """Gets the specified cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Cluster, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Cluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Cluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["models.ClusterListResult"]: + """Lists the HDInsight clusters in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ClusterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.hdinsight.models.ClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters'} # type: ignore + + async def _resize_initial( + self, + resource_group_name: str, + cluster_name: str, + role_name: Union[str, "models.RoleName"], + target_instance_count: Optional[int] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ClusterResizeParameters(target_instance_count=target_instance_count) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._resize_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ClusterResizeParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _resize_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize'} # type: ignore + + async def begin_resize( + self, + resource_group_name: str, + cluster_name: str, + role_name: Union[str, "models.RoleName"], + target_instance_count: Optional[int] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Resizes the specified HDInsight cluster to the specified size. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param role_name: The constant value for the roleName. + :type role_name: str or ~azure.mgmt.hdinsight.models.RoleName + :param target_instance_count: The target instance count for the operation. + :type target_instance_count: int + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._resize_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + role_name=role_name, + target_instance_count=target_instance_count, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_resize.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize'} # type: ignore + + async def _update_auto_scale_configuration_initial( + self, + resource_group_name: str, + cluster_name: str, + role_name: Union[str, "models.RoleName"], + autoscale: Optional["models.Autoscale"] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.AutoscaleConfigurationUpdateParameter(autoscale=autoscale) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_auto_scale_configuration_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'AutoscaleConfigurationUpdateParameter') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _update_auto_scale_configuration_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/autoscale'} # type: ignore + + async def begin_update_auto_scale_configuration( + self, + resource_group_name: str, + cluster_name: str, + role_name: Union[str, "models.RoleName"], + autoscale: Optional["models.Autoscale"] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Updates the Autoscale Configuration for HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param role_name: The constant value for the roleName. + :type role_name: str or ~azure.mgmt.hdinsight.models.RoleName + :param autoscale: The autoscale configuration. + :type autoscale: ~azure.mgmt.hdinsight.models.Autoscale + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_auto_scale_configuration_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + role_name=role_name, + autoscale=autoscale, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_auto_scale_configuration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/autoscale'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["models.ClusterListResult"]: + """Lists all the HDInsight clusters under the subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ClusterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.hdinsight.models.ClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters'} # type: ignore + + async def _rotate_disk_encryption_key_initial( + self, + resource_group_name: str, + cluster_name: str, + parameters: "models.ClusterDiskEncryptionParameters", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._rotate_disk_encryption_key_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ClusterDiskEncryptionParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _rotate_disk_encryption_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey'} # type: ignore + + async def begin_rotate_disk_encryption_key( + self, + resource_group_name: str, + cluster_name: str, + parameters: "models.ClusterDiskEncryptionParameters", + **kwargs + ) -> AsyncLROPoller[None]: + """Rotate disk encryption key of the specified HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param parameters: The parameters for the disk encryption operation. + :type parameters: ~azure.mgmt.hdinsight.models.ClusterDiskEncryptionParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._rotate_disk_encryption_key_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_rotate_disk_encryption_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey'} # type: ignore + + async def get_gateway_settings( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> "models.GatewaySettings": + """Gets the gateway settings for the specified cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GatewaySettings, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.GatewaySettings + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.GatewaySettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_gateway_settings.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GatewaySettings', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_gateway_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings'} # type: ignore + + async def _update_gateway_settings_initial( + self, + resource_group_name: str, + cluster_name: str, + parameters: "models.UpdateGatewaySettingsParameters", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_gateway_settings_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UpdateGatewaySettingsParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _update_gateway_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings'} # type: ignore + + async def begin_update_gateway_settings( + self, + resource_group_name: str, + cluster_name: str, + parameters: "models.UpdateGatewaySettingsParameters", + **kwargs + ) -> AsyncLROPoller[None]: + """Configures the gateway settings on the specified cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param parameters: The cluster configurations. + :type parameters: ~azure.mgmt.hdinsight.models.UpdateGatewaySettingsParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_gateway_settings_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_gateway_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings'} # type: ignore + + async def _execute_script_actions_initial( + self, + resource_group_name: str, + cluster_name: str, + persist_on_success: bool, + script_actions: Optional[List["models.RuntimeScriptAction"]] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ExecuteScriptActionParameters(script_actions=script_actions, persist_on_success=persist_on_success) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._execute_script_actions_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ExecuteScriptActionParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _execute_script_actions_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions'} # type: ignore + + async def begin_execute_script_actions( + self, + resource_group_name: str, + cluster_name: str, + persist_on_success: bool, + script_actions: Optional[List["models.RuntimeScriptAction"]] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Executes script actions on the specified HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param persist_on_success: Gets or sets if the scripts needs to be persisted. + :type persist_on_success: bool + :param script_actions: The list of run time script actions. + :type script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._execute_script_actions_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + persist_on_success=persist_on_success, + script_actions=script_actions, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_execute_script_actions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_configurations_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_configurations_operations.py new file mode 100644 index 000000000000..6f64c08fb1b5 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_configurations_operations.py @@ -0,0 +1,286 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ConfigurationsOperations: + """ConfigurationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> "models.ClusterConfigurations": + """Gets all configuration information for an HDI cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ClusterConfigurations, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.ClusterConfigurations + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterConfigurations"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ClusterConfigurations', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations'} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + cluster_name: str, + configuration_name: str, + parameters: Dict[str, str], + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, '{str}') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + cluster_name: str, + configuration_name: str, + parameters: Dict[str, str], + **kwargs + ) -> AsyncLROPoller[None]: + """Configures the HTTP settings on the specified cluster. This API is deprecated, please use + UpdateGatewaySettings in cluster endpoint instead. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param configuration_name: The name of the cluster configuration. + :type configuration_name: str + :param parameters: The cluster configurations. + :type parameters: dict[str, str] + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + configuration_name=configuration_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + cluster_name: str, + configuration_name: str, + **kwargs + ) -> Dict[str, str]: + """The configuration object for the specified cluster. This API is not recommended and might be + removed in the future. Please consider using List configurations API instead. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param configuration_name: The name of the cluster configuration. + :type configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: dict mapping str to str, or the result of cls(response) + :rtype: dict[str, str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[Dict[str, str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('{str}', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_extensions_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_extensions_operations.py new file mode 100644 index 000000000000..ad813cc39f2e --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_extensions_operations.py @@ -0,0 +1,623 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExtensionsOperations: + """ExtensionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _enable_monitoring_initial( + self, + resource_group_name: str, + cluster_name: str, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ClusterMonitoringRequest(workspace_id=workspace_id, primary_key=primary_key) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._enable_monitoring_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ClusterMonitoringRequest') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _enable_monitoring_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore + + async def begin_enable_monitoring( + self, + resource_group_name: str, + cluster_name: str, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Enables the Operations Management Suite (OMS) on the HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param workspace_id: The Operations Management Suite (OMS) workspace ID. + :type workspace_id: str + :param primary_key: The Operations Management Suite (OMS) workspace key. + :type primary_key: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._enable_monitoring_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + workspace_id=workspace_id, + primary_key=primary_key, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_enable_monitoring.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore + + async def get_monitoring_status( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> "models.ClusterMonitoringResponse": + """Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ClusterMonitoringResponse, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.ClusterMonitoringResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterMonitoringResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_monitoring_status.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ClusterMonitoringResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_monitoring_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore + + async def _disable_monitoring_initial( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self._disable_monitoring_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _disable_monitoring_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore + + async def begin_disable_monitoring( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Disables the Operations Management Suite (OMS) on the HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._disable_monitoring_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_disable_monitoring.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + cluster_name: str, + extension_name: str, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.Extension(workspace_id=workspace_id, primary_key=primary_key) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'extensionName': self._serialize.url("extension_name", extension_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'Extension') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + cluster_name: str, + extension_name: str, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Creates an HDInsight cluster extension. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param extension_name: The name of the cluster extension. + :type extension_name: str + :param workspace_id: The workspace ID for the cluster monitoring extension. + :type workspace_id: str + :param primary_key: The certificate for the cluster monitoring extensions. + :type primary_key: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + extension_name=extension_name, + workspace_id=workspace_id, + primary_key=primary_key, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + cluster_name: str, + extension_name: str, + **kwargs + ) -> "models.Extension": + """Gets the extension properties for the specified HDInsight cluster extension. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param extension_name: The name of the cluster extension. + :type extension_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Extension, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Extension + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.Extension"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'extensionName': self._serialize.url("extension_name", extension_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Extension', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + cluster_name: str, + extension_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'extensionName': self._serialize.url("extension_name", extension_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + cluster_name: str, + extension_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified extension for HDInsight cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param extension_name: The name of the cluster extension. + :type extension_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + extension_name=extension_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_locations_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_locations_operations.py new file mode 100644 index 000000000000..35115b4e5b8f --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_locations_operations.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LocationsOperations: + """LocationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get_capabilities( + self, + location: str, + **kwargs + ) -> "models.CapabilitiesResult": + """Gets the capabilities for the specified location. + + :param location: The Azure location (region) for which to make the request. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CapabilitiesResult, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.CapabilitiesResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.CapabilitiesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_capabilities.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CapabilitiesResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_capabilities.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities'} # type: ignore + + async def list_usages( + self, + location: str, + **kwargs + ) -> "models.UsagesListResult": + """Lists the usages for the specified location. + + :param location: The Azure location (region) for which to make the request. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UsagesListResult, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.UsagesListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UsagesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_usages.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('UsagesListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_usages.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages'} # type: ignore + + async def list_billing_specs( + self, + location: str, + **kwargs + ) -> "models.BillingResponseListResult": + """Lists the billingSpecs for the specified subscription and location. + + :param location: The Azure location (region) for which to make the request. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BillingResponseListResult, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.BillingResponseListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.BillingResponseListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_billing_specs.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BillingResponseListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_billing_specs.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_operations.py new file mode 100644 index 000000000000..fc85bfa1d916 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["models.OperationListResult"]: + """Lists all of the available HDInsight REST API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.hdinsight.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.HDInsight/operations'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_script_actions_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_script_actions_operations.py new file mode 100644 index 000000000000..8fe8c7297ecb --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_script_actions_operations.py @@ -0,0 +1,240 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ScriptActionsOperations: + """ScriptActionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def delete( + self, + resource_group_name: str, + cluster_name: str, + script_name: str, + **kwargs + ) -> None: + """Deletes a specified persisted script action of the cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param script_name: The name of the script. + :type script_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'scriptName': self._serialize.url("script_name", script_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions/{scriptName}'} # type: ignore + + def list_by_cluster( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> AsyncIterable["models.ScriptActionsList"]: + """Lists all the persisted script actions for the specified cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScriptActionsList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.hdinsight.models.ScriptActionsList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ScriptActionsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_cluster.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ScriptActionsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions'} # type: ignore + + async def get_execution_detail( + self, + resource_group_name: str, + cluster_name: str, + script_execution_id: str, + **kwargs + ) -> "models.RuntimeScriptActionDetail": + """Gets the script execution detail for the given script execution ID. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param script_execution_id: The script execution Id. + :type script_execution_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RuntimeScriptActionDetail, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.RuntimeScriptActionDetail"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.get_execution_detail.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'scriptExecutionId': self._serialize.url("script_execution_id", script_execution_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RuntimeScriptActionDetail', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_execution_detail.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_script_execution_history_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_script_execution_history_operations.py new file mode 100644 index 000000000000..28f72794e843 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_script_execution_history_operations.py @@ -0,0 +1,177 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ScriptExecutionHistoryOperations: + """ScriptExecutionHistoryOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_cluster( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> AsyncIterable["models.ScriptActionExecutionHistoryList"]: + """Lists all scripts' execution history for the specified cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScriptActionExecutionHistoryList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.hdinsight.models.ScriptActionExecutionHistoryList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ScriptActionExecutionHistoryList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_cluster.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ScriptActionExecutionHistoryList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory'} # type: ignore + + async def promote( + self, + resource_group_name: str, + cluster_name: str, + script_execution_id: str, + **kwargs + ) -> None: + """Promotes the specified ad-hoc script execution to a persisted script. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param script_execution_id: The script execution Id. + :type script_execution_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.promote.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'scriptExecutionId': self._serialize.url("script_execution_id", script_execution_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + promote.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}/promote'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_virtual_machines_operations.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_virtual_machines_operations.py new file mode 100644 index 000000000000..02c0c0032b49 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/aio/operations/_virtual_machines_operations.py @@ -0,0 +1,215 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualMachinesOperations: + """VirtualMachinesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list_hosts( + self, + resource_group_name: str, + cluster_name: str, + **kwargs + ) -> List["models.HostInfo"]: + """Lists the HDInsight clusters hosts. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of HostInfo, or the result of cls(response) + :rtype: list[~azure.mgmt.hdinsight.models.HostInfo] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List["models.HostInfo"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_hosts.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[HostInfo]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_hosts.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/listHosts'} # type: ignore + + async def _restart_hosts_initial( + self, + resource_group_name: str, + cluster_name: str, + hosts: List[str], + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._restart_hosts_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(hosts, '[str]') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _restart_hosts_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts'} # type: ignore + + async def begin_restart_hosts( + self, + resource_group_name: str, + cluster_name: str, + hosts: List[str], + **kwargs + ) -> AsyncLROPoller[None]: + """Restarts the specified HDInsight cluster hosts. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param hosts: The list of hosts to restart. + :type hosts: list[str] + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._restart_hosts_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + hosts=hosts, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_restart_hosts.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts'} # type: ignore 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 974b9705748f..6b8b373102c0 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 @@ -1,21 +1,20 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- try: from ._models_py3 import Application from ._models_py3 import ApplicationGetEndpoint from ._models_py3 import ApplicationGetHttpsEndpoint + from ._models_py3 import ApplicationListResult from ._models_py3 import ApplicationProperties from ._models_py3 import Autoscale from ._models_py3 import AutoscaleCapacity + from ._models_py3 import AutoscaleConfigurationUpdateParameter from ._models_py3 import AutoscaleRecurrence from ._models_py3 import AutoscaleSchedule from ._models_py3 import AutoscaleTimeAndCapacity @@ -32,29 +31,35 @@ from ._models_py3 import ClusterDiskEncryptionParameters from ._models_py3 import ClusterGetProperties from ._models_py3 import ClusterIdentity - from ._models_py3 import ClusterIdentityUserAssignedIdentitiesValue from ._models_py3 import ClusterListPersistedScriptActionsResult + from ._models_py3 import ClusterListResult from ._models_py3 import ClusterListRuntimeScriptActionDetailResult + from ._models_py3 import ClusterListRuntimeScriptActionDetailResultAutoGenerated from ._models_py3 import ClusterMonitoringRequest from ._models_py3 import ClusterMonitoringResponse from ._models_py3 import ClusterPatchParameters from ._models_py3 import ClusterResizeParameters + from ._models_py3 import ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties from ._models_py3 import ComputeProfile from ._models_py3 import ConnectivityEndpoint from ._models_py3 import DataDisksGroups from ._models_py3 import DiskBillingMeters from ._models_py3 import DiskEncryptionProperties - from ._models_py3 import ErrorResponse, ErrorResponseException + from ._models_py3 import EncryptionInTransitProperties + from ._models_py3 import ErrorResponse from ._models_py3 import Errors from ._models_py3 import ExecuteScriptActionParameters from ._models_py3 import Extension from ._models_py3 import GatewaySettings from ._models_py3 import HardwareProfile + from ._models_py3 import HostInfo from ._models_py3 import KafkaRestProperties from ._models_py3 import LinuxOperatingSystemProfile from ._models_py3 import LocalizedName + from ._models_py3 import NetworkProperties from ._models_py3 import Operation from ._models_py3 import OperationDisplay + from ._models_py3 import OperationListResult from ._models_py3 import OperationResource from ._models_py3 import OsProfile from ._models_py3 import ProxyResource @@ -67,8 +72,10 @@ from ._models_py3 import RuntimeScriptAction from ._models_py3 import RuntimeScriptActionDetail from ._models_py3 import ScriptAction + from ._models_py3 import ScriptActionExecutionHistoryList from ._models_py3 import ScriptActionExecutionSummary from ._models_py3 import ScriptActionPersistedGetResponseSpec + from ._models_py3 import ScriptActionsList from ._models_py3 import SecurityProfile from ._models_py3 import SshProfile from ._models_py3 import SshPublicKey @@ -78,110 +85,121 @@ from ._models_py3 import UpdateGatewaySettingsParameters from ._models_py3 import Usage from ._models_py3 import UsagesListResult - from ._models_py3 import VersionsCapability from ._models_py3 import VersionSpec + from ._models_py3 import VersionsCapability from ._models_py3 import VirtualNetworkProfile from ._models_py3 import VmSizeCompatibilityFilter from ._models_py3 import VmSizeCompatibilityFilterV2 from ._models_py3 import VmSizesCapability except (SyntaxError, ImportError): - from ._models import Application - from ._models import ApplicationGetEndpoint - from ._models import ApplicationGetHttpsEndpoint - from ._models import ApplicationProperties - from ._models import Autoscale - from ._models import AutoscaleCapacity - from ._models import AutoscaleRecurrence - from ._models import AutoscaleSchedule - from ._models import AutoscaleTimeAndCapacity - from ._models import BillingMeters - from ._models import BillingResources - from ._models import BillingResponseListResult - from ._models import CapabilitiesResult - from ._models import ClientGroupInfo - from ._models import Cluster - from ._models import ClusterConfigurations - from ._models import ClusterCreateParametersExtended - from ._models import ClusterCreateProperties - from ._models import ClusterDefinition - from ._models import ClusterDiskEncryptionParameters - from ._models import ClusterGetProperties - from ._models import ClusterIdentity - from ._models import ClusterIdentityUserAssignedIdentitiesValue - from ._models import ClusterListPersistedScriptActionsResult - from ._models import ClusterListRuntimeScriptActionDetailResult - from ._models import ClusterMonitoringRequest - from ._models import ClusterMonitoringResponse - from ._models import ClusterPatchParameters - from ._models import ClusterResizeParameters - from ._models import ComputeProfile - from ._models import ConnectivityEndpoint - from ._models import DataDisksGroups - from ._models import DiskBillingMeters - from ._models import DiskEncryptionProperties - from ._models import ErrorResponse, ErrorResponseException - from ._models import Errors - from ._models import ExecuteScriptActionParameters - from ._models import Extension - from ._models import GatewaySettings - from ._models import HardwareProfile - from ._models import KafkaRestProperties - from ._models import LinuxOperatingSystemProfile - from ._models import LocalizedName - from ._models import Operation - from ._models import OperationDisplay - from ._models import OperationResource - from ._models import OsProfile - from ._models import ProxyResource - from ._models import QuotaCapability - from ._models import QuotaInfo - from ._models import RegionalQuotaCapability - from ._models import RegionsCapability - from ._models import Resource - from ._models import Role - from ._models import RuntimeScriptAction - from ._models import RuntimeScriptActionDetail - from ._models import ScriptAction - from ._models import ScriptActionExecutionSummary - from ._models import ScriptActionPersistedGetResponseSpec - from ._models import SecurityProfile - from ._models import SshProfile - from ._models import SshPublicKey - from ._models import StorageAccount - from ._models import StorageProfile - from ._models import TrackedResource - from ._models import UpdateGatewaySettingsParameters - from ._models import Usage - from ._models import UsagesListResult - from ._models import VersionsCapability - from ._models import VersionSpec - from ._models import VirtualNetworkProfile - from ._models import VmSizeCompatibilityFilter - from ._models import VmSizeCompatibilityFilterV2 - from ._models import VmSizesCapability -from ._paged_models import ApplicationPaged -from ._paged_models import ClusterPaged -from ._paged_models import OperationPaged -from ._paged_models import RuntimeScriptActionDetailPaged + from ._models import Application # type: ignore + from ._models import ApplicationGetEndpoint # type: ignore + from ._models import ApplicationGetHttpsEndpoint # type: ignore + from ._models import ApplicationListResult # type: ignore + from ._models import ApplicationProperties # type: ignore + from ._models import Autoscale # type: ignore + from ._models import AutoscaleCapacity # type: ignore + from ._models import AutoscaleConfigurationUpdateParameter # type: ignore + from ._models import AutoscaleRecurrence # type: ignore + from ._models import AutoscaleSchedule # type: ignore + from ._models import AutoscaleTimeAndCapacity # type: ignore + from ._models import BillingMeters # type: ignore + from ._models import BillingResources # type: ignore + from ._models import BillingResponseListResult # type: ignore + from ._models import CapabilitiesResult # type: ignore + from ._models import ClientGroupInfo # type: ignore + from ._models import Cluster # type: ignore + from ._models import ClusterConfigurations # type: ignore + from ._models import ClusterCreateParametersExtended # type: ignore + from ._models import ClusterCreateProperties # type: ignore + from ._models import ClusterDefinition # type: ignore + from ._models import ClusterDiskEncryptionParameters # type: ignore + from ._models import ClusterGetProperties # type: ignore + from ._models import ClusterIdentity # type: ignore + from ._models import ClusterListPersistedScriptActionsResult # type: ignore + from ._models import ClusterListResult # type: ignore + from ._models import ClusterListRuntimeScriptActionDetailResult # type: ignore + from ._models import ClusterListRuntimeScriptActionDetailResultAutoGenerated # type: ignore + from ._models import ClusterMonitoringRequest # type: ignore + from ._models import ClusterMonitoringResponse # type: ignore + from ._models import ClusterPatchParameters # type: ignore + from ._models import ClusterResizeParameters # type: ignore + from ._models import ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties # type: ignore + from ._models import ComputeProfile # type: ignore + from ._models import ConnectivityEndpoint # type: ignore + from ._models import DataDisksGroups # type: ignore + from ._models import DiskBillingMeters # type: ignore + from ._models import DiskEncryptionProperties # type: ignore + from ._models import EncryptionInTransitProperties # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import Errors # type: ignore + from ._models import ExecuteScriptActionParameters # type: ignore + from ._models import Extension # type: ignore + from ._models import GatewaySettings # type: ignore + from ._models import HardwareProfile # type: ignore + from ._models import HostInfo # type: ignore + from ._models import KafkaRestProperties # type: ignore + from ._models import LinuxOperatingSystemProfile # type: ignore + from ._models import LocalizedName # type: ignore + from ._models import NetworkProperties # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import OperationResource # type: ignore + from ._models import OsProfile # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import QuotaCapability # type: ignore + from ._models import QuotaInfo # type: ignore + from ._models import RegionalQuotaCapability # type: ignore + from ._models import RegionsCapability # type: ignore + from ._models import Resource # type: ignore + from ._models import Role # type: ignore + from ._models import RuntimeScriptAction # type: ignore + from ._models import RuntimeScriptActionDetail # type: ignore + from ._models import ScriptAction # type: ignore + from ._models import ScriptActionExecutionHistoryList # type: ignore + from ._models import ScriptActionExecutionSummary # type: ignore + from ._models import ScriptActionPersistedGetResponseSpec # type: ignore + from ._models import ScriptActionsList # type: ignore + from ._models import SecurityProfile # type: ignore + from ._models import SshProfile # type: ignore + from ._models import SshPublicKey # type: ignore + from ._models import StorageAccount # type: ignore + from ._models import StorageProfile # type: ignore + from ._models import TrackedResource # type: ignore + from ._models import UpdateGatewaySettingsParameters # type: ignore + from ._models import Usage # type: ignore + from ._models import UsagesListResult # type: ignore + from ._models import VersionSpec # type: ignore + from ._models import VersionsCapability # type: ignore + from ._models import VirtualNetworkProfile # type: ignore + from ._models import VmSizeCompatibilityFilter # type: ignore + from ._models import VmSizeCompatibilityFilterV2 # type: ignore + from ._models import VmSizesCapability # type: ignore + from ._hd_insight_management_client_enums import ( - DirectoryType, + AsyncOperationState, DaysOfWeek, - OSType, - Tier, + FilterMode, + HDInsightClusterProvisioningState, JsonWebKeyEncryptionAlgorithm, + OSType, + PrivateLink, ResourceIdentityType, - HDInsightClusterProvisioningState, - AsyncOperationState, - FilterMode, + ResourceProviderConnection, + RoleName, + Tier, ) __all__ = [ 'Application', 'ApplicationGetEndpoint', 'ApplicationGetHttpsEndpoint', + 'ApplicationListResult', 'ApplicationProperties', 'Autoscale', 'AutoscaleCapacity', + 'AutoscaleConfigurationUpdateParameter', 'AutoscaleRecurrence', 'AutoscaleSchedule', 'AutoscaleTimeAndCapacity', @@ -198,29 +216,35 @@ 'ClusterDiskEncryptionParameters', 'ClusterGetProperties', 'ClusterIdentity', - 'ClusterIdentityUserAssignedIdentitiesValue', 'ClusterListPersistedScriptActionsResult', + 'ClusterListResult', 'ClusterListRuntimeScriptActionDetailResult', + 'ClusterListRuntimeScriptActionDetailResultAutoGenerated', 'ClusterMonitoringRequest', 'ClusterMonitoringResponse', 'ClusterPatchParameters', 'ClusterResizeParameters', + 'ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties', 'ComputeProfile', 'ConnectivityEndpoint', 'DataDisksGroups', 'DiskBillingMeters', 'DiskEncryptionProperties', - 'ErrorResponse', 'ErrorResponseException', + 'EncryptionInTransitProperties', + 'ErrorResponse', 'Errors', 'ExecuteScriptActionParameters', 'Extension', 'GatewaySettings', 'HardwareProfile', + 'HostInfo', 'KafkaRestProperties', 'LinuxOperatingSystemProfile', 'LocalizedName', + 'NetworkProperties', 'Operation', 'OperationDisplay', + 'OperationListResult', 'OperationResource', 'OsProfile', 'ProxyResource', @@ -233,8 +257,10 @@ 'RuntimeScriptAction', 'RuntimeScriptActionDetail', 'ScriptAction', + 'ScriptActionExecutionHistoryList', 'ScriptActionExecutionSummary', 'ScriptActionPersistedGetResponseSpec', + 'ScriptActionsList', 'SecurityProfile', 'SshProfile', 'SshPublicKey', @@ -244,23 +270,21 @@ 'UpdateGatewaySettingsParameters', 'Usage', 'UsagesListResult', - 'VersionsCapability', 'VersionSpec', + 'VersionsCapability', 'VirtualNetworkProfile', 'VmSizeCompatibilityFilter', 'VmSizeCompatibilityFilterV2', 'VmSizesCapability', - 'ClusterPaged', - 'ApplicationPaged', - 'RuntimeScriptActionDetailPaged', - 'OperationPaged', - 'DirectoryType', + 'AsyncOperationState', 'DaysOfWeek', - 'OSType', - 'Tier', + 'FilterMode', + 'HDInsightClusterProvisioningState', 'JsonWebKeyEncryptionAlgorithm', + 'OSType', + 'PrivateLink', 'ResourceIdentityType', - 'HDInsightClusterProvisioningState', - 'AsyncOperationState', - 'FilterMode', + 'ResourceProviderConnection', + 'RoleName', + 'Tier', ] 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 94a5c11f6993..125a8e1ae3ca 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 @@ -1,77 +1,113 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum +from enum import Enum, EnumMeta +from six import with_metaclass +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) -class DirectoryType(str, Enum): + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) - active_directory = "ActiveDirectory" +class AsyncOperationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The async operation state. + """ -class DaysOfWeek(str, Enum): + IN_PROGRESS = "InProgress" + SUCCEEDED = "Succeeded" + FAILED = "Failed" - monday = "Monday" - tuesday = "Tuesday" - wednesday = "Wednesday" - thursday = "Thursday" - friday = "Friday" - saturday = "Saturday" - sunday = "Sunday" +class DaysOfWeek(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" + SUNDAY = "Sunday" -class OSType(str, Enum): +class FilterMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular + set. + """ - windows = "Windows" - linux = "Linux" + EXCLUDE = "Exclude" + INCLUDE = "Include" +class HDInsightClusterProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The provisioning state, which only appears in the response. + """ -class Tier(str, Enum): + IN_PROGRESS = "InProgress" + FAILED = "Failed" + SUCCEEDED = "Succeeded" + CANCELED = "Canceled" + DELETING = "Deleting" - standard = "Standard" - premium = "Premium" +class JsonWebKeyEncryptionAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Algorithm identifier for encryption, default RSA-OAEP. + """ + RSA_OAEP = "RSA-OAEP" + RSA_OAEP256 = "RSA-OAEP-256" + RSA1_5 = "RSA1_5" -class JsonWebKeyEncryptionAlgorithm(str, Enum): +class OSType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of operating system. + """ - rsa_oaep = "RSA-OAEP" - rsa_oaep_256 = "RSA-OAEP-256" - rsa1_5 = "RSA1_5" + WINDOWS = "Windows" + LINUX = "Linux" +class PrivateLink(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Indicates whether or not private link is enabled. + """ -class ResourceIdentityType(str, Enum): + DISABLED = "Disabled" + ENABLED = "Enabled" - system_assigned = "SystemAssigned" - user_assigned = "UserAssigned" - system_assigned_user_assigned = "SystemAssigned, UserAssigned" - none = "None" +class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes + both an implicitly created identity and a set of user assigned identities. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + NONE = "None" -class HDInsightClusterProvisioningState(str, Enum): +class ResourceProviderConnection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The direction for the resource provider connection. + """ - in_progress = "InProgress" - failed = "Failed" - succeeded = "Succeeded" - canceled = "Canceled" - deleting = "Deleting" + INBOUND = "Inbound" + OUTBOUND = "Outbound" +class RoleName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): -class AsyncOperationState(str, Enum): + WORKERNODE = "workernode" - in_progress = "InProgress" - succeeded = "Succeeded" - failed = "Failed" +class Tier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The cluster tier. + """ - -class FilterMode(str, Enum): - - exclude = "Exclude" - include = "Include" + STANDARD = "Standard" + PREMIUM = "Premium" diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models.py index 604e38303588..a0e9370ef742 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models.py @@ -1,27 +1,23 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError +from azure.core.exceptions import HttpResponseError +import msrest.serialization -class Resource(Model): +class Resource(msrest.serialization.Model): """The core properties of ARM resources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str @@ -39,59 +35,30 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Resource, self).__init__(**kwargs) self.id = None self.name = None self.type = None -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have - everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource Id for the resource. - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(ProxyResource, self).__init__(**kwargs) - - -class Application(ProxyResource): +class Application(Resource): """The HDInsight cluster application. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param etag: The ETag for the application + :param etag: The ETag for the application. :type etag: str - :param tags: The tags for the application. + :param tags: A set of tags. The tags for the application. :type tags: dict[str, str] :param properties: The properties of the application. :type properties: ~azure.mgmt.hdinsight.models.ApplicationProperties @@ -112,14 +79,17 @@ class Application(ProxyResource): 'properties': {'key': 'properties', 'type': 'ApplicationProperties'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Application, self).__init__(**kwargs) self.etag = kwargs.get('etag', None) self.tags = kwargs.get('tags', None) self.properties = kwargs.get('properties', None) -class ApplicationGetEndpoint(Model): +class ApplicationGetEndpoint(msrest.serialization.Model): """Gets the application SSH endpoint. :param location: The location of the endpoint. @@ -136,14 +106,17 @@ class ApplicationGetEndpoint(Model): 'public_port': {'key': 'publicPort', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ApplicationGetEndpoint, self).__init__(**kwargs) self.location = kwargs.get('location', None) self.destination_port = kwargs.get('destination_port', None) self.public_port = kwargs.get('public_port', None) -class ApplicationGetHttpsEndpoint(Model): +class ApplicationGetHttpsEndpoint(msrest.serialization.Model): """Gets the application HTTP endpoints. :param access_modes: The list of access modes for the application. @@ -156,8 +129,7 @@ class ApplicationGetHttpsEndpoint(Model): :type public_port: int :param sub_domain_suffix: The subdomain suffix of the application. :type sub_domain_suffix: str - :param disable_gateway_auth: The value indicates whether to disable - GatewayAuth. + :param disable_gateway_auth: The value indicates whether to disable GatewayAuth. :type disable_gateway_auth: bool """ @@ -170,7 +142,10 @@ class ApplicationGetHttpsEndpoint(Model): 'disable_gateway_auth': {'key': 'disableGatewayAuth', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ApplicationGetHttpsEndpoint, self).__init__(**kwargs) self.access_modes = kwargs.get('access_modes', None) self.location = kwargs.get('location', None) @@ -180,26 +155,50 @@ def __init__(self, **kwargs): self.disable_gateway_auth = kwargs.get('disable_gateway_auth', None) -class ApplicationProperties(Model): +class ApplicationListResult(msrest.serialization.Model): + """Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of HDInsight applications installed on HDInsight cluster. + :type value: list[~azure.mgmt.hdinsight.models.Application] + :ivar next_link: The URL to get the next set of operation list results if there are any. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Application]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ApplicationProperties(msrest.serialization.Model): """The HDInsight cluster application GET response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :param compute_profile: The list of roles in the cluster. :type compute_profile: ~azure.mgmt.hdinsight.models.ComputeProfile :param install_script_actions: The list of install script actions. - :type install_script_actions: - list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :type install_script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] :param uninstall_script_actions: The list of uninstall script actions. - :type uninstall_script_actions: - list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :type uninstall_script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] :param https_endpoints: The list of application HTTPS endpoints. - :type https_endpoints: - list[~azure.mgmt.hdinsight.models.ApplicationGetHttpsEndpoint] + :type https_endpoints: list[~azure.mgmt.hdinsight.models.ApplicationGetHttpsEndpoint] :param ssh_endpoints: The list of application SSH endpoints. - :type ssh_endpoints: - list[~azure.mgmt.hdinsight.models.ApplicationGetEndpoint] + :type ssh_endpoints: list[~azure.mgmt.hdinsight.models.ApplicationGetEndpoint] :ivar provisioning_state: The provisioning state of the application. :vartype provisioning_state: str :param application_type: The application type. @@ -235,7 +234,10 @@ class ApplicationProperties(Model): 'marketplace_identifier': {'key': 'marketplaceIdentifier', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ApplicationProperties, self).__init__(**kwargs) self.compute_profile = kwargs.get('compute_profile', None) self.install_script_actions = kwargs.get('install_script_actions', None) @@ -250,12 +252,12 @@ def __init__(self, **kwargs): self.marketplace_identifier = None -class Autoscale(Model): +class Autoscale(msrest.serialization.Model): """The autoscale request parameters. - :param capacity: Parameters for load-based autoscale + :param capacity: Parameters for load-based autoscale. :type capacity: ~azure.mgmt.hdinsight.models.AutoscaleCapacity - :param recurrence: Parameters for schedule-based autoscale + :param recurrence: Parameters for schedule-based autoscale. :type recurrence: ~azure.mgmt.hdinsight.models.AutoscaleRecurrence """ @@ -264,18 +266,21 @@ class Autoscale(Model): 'recurrence': {'key': 'recurrence', 'type': 'AutoscaleRecurrence'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Autoscale, self).__init__(**kwargs) self.capacity = kwargs.get('capacity', None) self.recurrence = kwargs.get('recurrence', None) -class AutoscaleCapacity(Model): +class AutoscaleCapacity(msrest.serialization.Model): """The load-based autoscale request parameters. - :param min_instance_count: The minimum instance count of the cluster + :param min_instance_count: The minimum instance count of the cluster. :type min_instance_count: int - :param max_instance_count: The maximum instance count of the cluster + :param max_instance_count: The maximum instance count of the cluster. :type max_instance_count: int """ @@ -284,18 +289,40 @@ class AutoscaleCapacity(Model): 'max_instance_count': {'key': 'maxInstanceCount', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AutoscaleCapacity, self).__init__(**kwargs) self.min_instance_count = kwargs.get('min_instance_count', None) self.max_instance_count = kwargs.get('max_instance_count', None) -class AutoscaleRecurrence(Model): +class AutoscaleConfigurationUpdateParameter(msrest.serialization.Model): + """The autoscale configuration update parameter. + + :param autoscale: The autoscale configuration. + :type autoscale: ~azure.mgmt.hdinsight.models.Autoscale + """ + + _attribute_map = { + 'autoscale': {'key': 'autoscale', 'type': 'Autoscale'}, + } + + def __init__( + self, + **kwargs + ): + super(AutoscaleConfigurationUpdateParameter, self).__init__(**kwargs) + self.autoscale = kwargs.get('autoscale', None) + + +class AutoscaleRecurrence(msrest.serialization.Model): """Schedule-based autoscale request parameters. - :param time_zone: The time zone for the autoscale schedule times + :param time_zone: The time zone for the autoscale schedule times. :type time_zone: str - :param schedule: Array of schedule-based autoscale rules + :param schedule: Array of schedule-based autoscale rules. :type schedule: list[~azure.mgmt.hdinsight.models.AutoscaleSchedule] """ @@ -304,43 +331,46 @@ class AutoscaleRecurrence(Model): 'schedule': {'key': 'schedule', 'type': '[AutoscaleSchedule]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AutoscaleRecurrence, self).__init__(**kwargs) self.time_zone = kwargs.get('time_zone', None) self.schedule = kwargs.get('schedule', None) -class AutoscaleSchedule(Model): - """Parameters for a schedule-based autoscale rule, consisting of an array of - days + a time and capacity. +class AutoscaleSchedule(msrest.serialization.Model): + """Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity. - :param days: Days of the week for a schedule-based autoscale rule + :param days: Days of the week for a schedule-based autoscale rule. :type days: list[str or ~azure.mgmt.hdinsight.models.DaysOfWeek] - :param time_and_capacity: Time and capacity for a schedule-based autoscale - rule - :type time_and_capacity: - ~azure.mgmt.hdinsight.models.AutoscaleTimeAndCapacity + :param time_and_capacity: Time and capacity for a schedule-based autoscale rule. + :type time_and_capacity: ~azure.mgmt.hdinsight.models.AutoscaleTimeAndCapacity """ _attribute_map = { - 'days': {'key': 'days', 'type': '[DaysOfWeek]'}, + 'days': {'key': 'days', 'type': '[str]'}, 'time_and_capacity': {'key': 'timeAndCapacity', 'type': 'AutoscaleTimeAndCapacity'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AutoscaleSchedule, self).__init__(**kwargs) self.days = kwargs.get('days', None) self.time_and_capacity = kwargs.get('time_and_capacity', None) -class AutoscaleTimeAndCapacity(Model): +class AutoscaleTimeAndCapacity(msrest.serialization.Model): """Time and capacity request parameters. - :param time: 24-hour time in the form xx:xx + :param time: 24-hour time in the form xx:xx. :type time: str - :param min_instance_count: The minimum instance count of the cluster + :param min_instance_count: The minimum instance count of the cluster. :type min_instance_count: int - :param max_instance_count: The maximum instance count of the cluster + :param max_instance_count: The maximum instance count of the cluster. :type max_instance_count: int """ @@ -350,14 +380,17 @@ class AutoscaleTimeAndCapacity(Model): 'max_instance_count': {'key': 'maxInstanceCount', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(AutoscaleTimeAndCapacity, self).__init__(**kwargs) self.time = kwargs.get('time', None) self.min_instance_count = kwargs.get('min_instance_count', None) self.max_instance_count = kwargs.get('max_instance_count', None) -class BillingMeters(Model): +class BillingMeters(msrest.serialization.Model): """The billing meters. :param meter_parameter: The virtual machine sizes. @@ -374,14 +407,17 @@ class BillingMeters(Model): 'unit': {'key': 'unit', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(BillingMeters, self).__init__(**kwargs) self.meter_parameter = kwargs.get('meter_parameter', None) self.meter = kwargs.get('meter', None) self.unit = kwargs.get('unit', None) -class BillingResources(Model): +class BillingResources(msrest.serialization.Model): """The billing resources. :param region: The region or location. @@ -389,8 +425,7 @@ class BillingResources(Model): :param billing_meters: The billing meter information. :type billing_meters: list[~azure.mgmt.hdinsight.models.BillingMeters] :param disk_billing_meters: The managed disk billing information. - :type disk_billing_meters: - list[~azure.mgmt.hdinsight.models.DiskBillingMeters] + :type disk_billing_meters: list[~azure.mgmt.hdinsight.models.DiskBillingMeters] """ _attribute_map = { @@ -399,28 +434,26 @@ class BillingResources(Model): 'disk_billing_meters': {'key': 'diskBillingMeters', 'type': '[DiskBillingMeters]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(BillingResources, self).__init__(**kwargs) self.region = kwargs.get('region', None) self.billing_meters = kwargs.get('billing_meters', None) self.disk_billing_meters = kwargs.get('disk_billing_meters', None) -class BillingResponseListResult(Model): - """The response for the operation to get regional billingSpecs for a - subscription. +class BillingResponseListResult(msrest.serialization.Model): + """The response for the operation to get regional billingSpecs for a subscription. :param vm_sizes: The virtual machine sizes to include or exclude. :type vm_sizes: list[str] - :param vm_size_filters: The virtual machine filtering mode. Effectively - this can enabling or disabling the virtual machine sizes in a particular - set. - :type vm_size_filters: - list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilterV2] - :param billing_resources: The billing and managed disk billing resources - for a region. - :type billing_resources: - list[~azure.mgmt.hdinsight.models.BillingResources] + :param vm_size_filters: The virtual machine filtering mode. Effectively this can enabling or + disabling the virtual machine sizes in a particular set. + :type vm_size_filters: list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilterV2] + :param billing_resources: The billing and managed disk billing resources for a region. + :type billing_resources: list[~azure.mgmt.hdinsight.models.BillingResources] """ _attribute_map = { @@ -429,16 +462,21 @@ class BillingResponseListResult(Model): 'billing_resources': {'key': 'billingResources', 'type': '[BillingResources]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(BillingResponseListResult, self).__init__(**kwargs) self.vm_sizes = kwargs.get('vm_sizes', None) self.vm_size_filters = kwargs.get('vm_size_filters', None) self.billing_resources = kwargs.get('billing_resources', None) -class CapabilitiesResult(Model): +class CapabilitiesResult(msrest.serialization.Model): """The Get Capabilities operation response. + Variables are only populated by the server, and will be ignored when sending a request. + :param versions: The version capability. :type versions: dict[str, ~azure.mgmt.hdinsight.models.VersionsCapability] :param regions: The virtual machine size compatibility features. @@ -446,14 +484,17 @@ class CapabilitiesResult(Model): :param vm_sizes: The virtual machine sizes. :type vm_sizes: dict[str, ~azure.mgmt.hdinsight.models.VmSizesCapability] :param vm_size_filters: The virtual machine size compatibility filters. - :type vm_size_filters: - list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilter] + :type vm_size_filters: list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilter] :param features: The capability features. :type features: list[str] - :param quota: The quota capability. - :type quota: ~azure.mgmt.hdinsight.models.QuotaCapability + :ivar quota: The quota capability. + :vartype quota: ~azure.mgmt.hdinsight.models.QuotaCapability """ + _validation = { + 'quota': {'readonly': True}, + } + _attribute_map = { 'versions': {'key': 'versions', 'type': '{VersionsCapability}'}, 'regions': {'key': 'regions', 'type': '{RegionsCapability}'}, @@ -463,17 +504,20 @@ class CapabilitiesResult(Model): 'quota': {'key': 'quota', 'type': 'QuotaCapability'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(CapabilitiesResult, self).__init__(**kwargs) self.versions = kwargs.get('versions', None) self.regions = kwargs.get('regions', None) self.vm_sizes = kwargs.get('vm_sizes', None) self.vm_size_filters = kwargs.get('vm_size_filters', None) self.features = kwargs.get('features', None) - self.quota = kwargs.get('quota', None) + self.quota = None -class ClientGroupInfo(Model): +class ClientGroupInfo(msrest.serialization.Model): """The information of AAD security group. :param group_name: The AAD security group name. @@ -487,35 +531,29 @@ class ClientGroupInfo(Model): 'group_id': {'key': 'groupId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClientGroupInfo, self).__init__(**kwargs) self.group_name = kwargs.get('group_name', None) self.group_id = kwargs.get('group_id', None) -class CloudError(Model): - """CloudError. - """ - - _attribute_map = { - } - - class TrackedResource(Resource): """The resource model definition for a ARM tracked top level resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: The Azure Region where the resource lives + :param location: The Azure Region where the resource lives. :type location: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] """ @@ -533,7 +571,10 @@ class TrackedResource(Resource): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(TrackedResource, self).__init__(**kwargs) self.location = kwargs.get('location', None) self.tags = kwargs.get('tags', None) @@ -542,20 +583,19 @@ def __init__(self, **kwargs): class Cluster(TrackedResource): """The HDInsight cluster. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: The Azure Region where the resource lives + :param location: The Azure Region where the resource lives. :type location: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] - :param etag: The ETag for the resource + :param etag: The ETag for the resource. :type etag: str :param properties: The properties of the cluster. :type properties: ~azure.mgmt.hdinsight.models.ClusterGetProperties @@ -580,36 +620,42 @@ class Cluster(TrackedResource): 'identity': {'key': 'identity', 'type': 'ClusterIdentity'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Cluster, self).__init__(**kwargs) self.etag = kwargs.get('etag', None) self.properties = kwargs.get('properties', None) self.identity = kwargs.get('identity', None) -class ClusterConfigurations(Model): +class ClusterConfigurations(msrest.serialization.Model): """The configuration object for the specified cluster. - :param configurations: The configuration object for the specified - configuration for the specified cluster. - :type configurations: dict[str, dict[str, str]] + :param configurations: The configuration object for the specified configuration for the + specified cluster. + :type configurations: dict[str, object] """ _attribute_map = { - 'configurations': {'key': 'configurations', 'type': '{{str}}'}, + 'configurations': {'key': 'configurations', 'type': '{object}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterConfigurations, self).__init__(**kwargs) self.configurations = kwargs.get('configurations', None) -class ClusterCreateParametersExtended(Model): +class ClusterCreateParametersExtended(msrest.serialization.Model): """The CreateCluster request parameters. :param location: The location of the cluster. :type location: str - :param tags: The resource tags. + :param tags: A set of tags. The resource tags. :type tags: dict[str, str] :param properties: The cluster create parameters. :type properties: ~azure.mgmt.hdinsight.models.ClusterCreateProperties @@ -624,7 +670,10 @@ class ClusterCreateParametersExtended(Model): 'identity': {'key': 'identity', 'type': 'ClusterIdentity'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterCreateParametersExtended, self).__init__(**kwargs) self.location = kwargs.get('location', None) self.tags = kwargs.get('tags', None) @@ -632,22 +681,19 @@ def __init__(self, **kwargs): self.identity = kwargs.get('identity', None) -class ClusterCreateProperties(Model): +class ClusterCreateProperties(msrest.serialization.Model): """The cluster create parameters. :param cluster_version: The version of the cluster. :type cluster_version: str - :param os_type: The type of operating system. Possible values include: - 'Windows', 'Linux' + :param os_type: The type of operating system. Possible values include: "Windows", "Linux". :type os_type: str or ~azure.mgmt.hdinsight.models.OSType - :param tier: The cluster tier. Possible values include: 'Standard', - 'Premium' + :param tier: The cluster tier. Possible values include: "Standard", "Premium". :type tier: str or ~azure.mgmt.hdinsight.models.Tier :param cluster_definition: The cluster definition. :type cluster_definition: ~azure.mgmt.hdinsight.models.ClusterDefinition :param kafka_rest_properties: The cluster kafka rest proxy configuration. - :type kafka_rest_properties: - ~azure.mgmt.hdinsight.models.KafkaRestProperties + :type kafka_rest_properties: ~azure.mgmt.hdinsight.models.KafkaRestProperties :param security_profile: The security profile. :type security_profile: ~azure.mgmt.hdinsight.models.SecurityProfile :param compute_profile: The compute profile. @@ -655,26 +701,35 @@ class ClusterCreateProperties(Model): :param storage_profile: The storage profile. :type storage_profile: ~azure.mgmt.hdinsight.models.StorageProfile :param disk_encryption_properties: The disk encryption properties. - :type disk_encryption_properties: - ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :type disk_encryption_properties: ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :param encryption_in_transit_properties: The encryption-in-transit properties. + :type encryption_in_transit_properties: + ~azure.mgmt.hdinsight.models.EncryptionInTransitProperties :param min_supported_tls_version: The minimal supported tls version. :type min_supported_tls_version: str + :param network_properties: The network properties. + :type network_properties: ~azure.mgmt.hdinsight.models.NetworkProperties """ _attribute_map = { 'cluster_version': {'key': 'clusterVersion', 'type': 'str'}, - 'os_type': {'key': 'osType', 'type': 'OSType'}, - 'tier': {'key': 'tier', 'type': 'Tier'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, 'cluster_definition': {'key': 'clusterDefinition', 'type': 'ClusterDefinition'}, 'kafka_rest_properties': {'key': 'kafkaRestProperties', 'type': 'KafkaRestProperties'}, 'security_profile': {'key': 'securityProfile', 'type': 'SecurityProfile'}, 'compute_profile': {'key': 'computeProfile', 'type': 'ComputeProfile'}, 'storage_profile': {'key': 'storageProfile', 'type': 'StorageProfile'}, 'disk_encryption_properties': {'key': 'diskEncryptionProperties', 'type': 'DiskEncryptionProperties'}, + 'encryption_in_transit_properties': {'key': 'encryptionInTransitProperties', 'type': 'EncryptionInTransitProperties'}, 'min_supported_tls_version': {'key': 'minSupportedTlsVersion', 'type': 'str'}, + 'network_properties': {'key': 'networkProperties', 'type': 'NetworkProperties'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterCreateProperties, self).__init__(**kwargs) self.cluster_version = kwargs.get('cluster_version', None) self.os_type = kwargs.get('os_type', None) @@ -685,18 +740,19 @@ def __init__(self, **kwargs): self.compute_profile = kwargs.get('compute_profile', None) self.storage_profile = kwargs.get('storage_profile', None) self.disk_encryption_properties = kwargs.get('disk_encryption_properties', None) + self.encryption_in_transit_properties = kwargs.get('encryption_in_transit_properties', None) self.min_supported_tls_version = kwargs.get('min_supported_tls_version', None) + self.network_properties = kwargs.get('network_properties', None) -class ClusterDefinition(Model): +class ClusterDefinition(msrest.serialization.Model): """The cluster definition. :param blueprint: The link to the blueprint. :type blueprint: str :param kind: The type of cluster. :type kind: str - :param component_version: The versions of different services in the - cluster. + :param component_version: The versions of different services in the cluster. :type component_version: dict[str, str] :param configurations: The cluster configurations. :type configurations: object @@ -709,7 +765,10 @@ class ClusterDefinition(Model): 'configurations': {'key': 'configurations', 'type': 'object'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterDefinition, self).__init__(**kwargs) self.blueprint = kwargs.get('blueprint', None) self.kind = kwargs.get('kind', None) @@ -717,16 +776,15 @@ def __init__(self, **kwargs): self.configurations = kwargs.get('configurations', None) -class ClusterDiskEncryptionParameters(Model): +class ClusterDiskEncryptionParameters(msrest.serialization.Model): """The Disk Encryption Cluster request parameters. - :param vault_uri: Base key vault URI where the customers key is located - eg. https://myvault.vault.azure.net + :param vault_uri: Base key vault URI where the customers key is located eg. + https://myvault.vault.azure.net. :type vault_uri: str :param key_name: Key name that is used for enabling disk encryption. :type key_name: str - :param key_version: Specific key version that is used for enabling disk - encryption. + :param key_version: Specific key version that is used for enabling disk encryption. :type key_version: str """ @@ -736,40 +794,40 @@ class ClusterDiskEncryptionParameters(Model): 'key_version': {'key': 'keyVersion', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterDiskEncryptionParameters, self).__init__(**kwargs) self.vault_uri = kwargs.get('vault_uri', None) self.key_name = kwargs.get('key_name', None) self.key_version = kwargs.get('key_version', None) -class ClusterGetProperties(Model): +class ClusterGetProperties(msrest.serialization.Model): """The properties of cluster. All required parameters must be populated in order to send to Azure. :param cluster_version: The version of the cluster. :type cluster_version: str - :param os_type: The type of operating system. Possible values include: - 'Windows', 'Linux' + :param os_type: The type of operating system. Possible values include: "Windows", "Linux". :type os_type: str or ~azure.mgmt.hdinsight.models.OSType - :param tier: The cluster tier. Possible values include: 'Standard', - 'Premium' + :param tier: The cluster tier. Possible values include: "Standard", "Premium". :type tier: str or ~azure.mgmt.hdinsight.models.Tier + :param cluster_id: The cluster id. + :type cluster_id: str :param cluster_definition: Required. The cluster definition. :type cluster_definition: ~azure.mgmt.hdinsight.models.ClusterDefinition :param kafka_rest_properties: The cluster kafka rest proxy configuration. - :type kafka_rest_properties: - ~azure.mgmt.hdinsight.models.KafkaRestProperties + :type kafka_rest_properties: ~azure.mgmt.hdinsight.models.KafkaRestProperties :param security_profile: The security profile. :type security_profile: ~azure.mgmt.hdinsight.models.SecurityProfile :param compute_profile: The compute profile. :type compute_profile: ~azure.mgmt.hdinsight.models.ComputeProfile - :param provisioning_state: The provisioning state, which only appears in - the response. Possible values include: 'InProgress', 'Failed', - 'Succeeded', 'Canceled', 'Deleting' - :type provisioning_state: str or - ~azure.mgmt.hdinsight.models.HDInsightClusterProvisioningState + :param provisioning_state: The provisioning state, which only appears in the response. Possible + values include: "InProgress", "Failed", "Succeeded", "Canceled", "Deleting". + :type provisioning_state: str or ~azure.mgmt.hdinsight.models.HDInsightClusterProvisioningState :param created_date: The date on which the cluster was created. :type created_date: str :param cluster_state: The state of the cluster. @@ -779,13 +837,16 @@ class ClusterGetProperties(Model): :param errors: The list of errors. :type errors: list[~azure.mgmt.hdinsight.models.Errors] :param connectivity_endpoints: The list of connectivity endpoints. - :type connectivity_endpoints: - list[~azure.mgmt.hdinsight.models.ConnectivityEndpoint] + :type connectivity_endpoints: list[~azure.mgmt.hdinsight.models.ConnectivityEndpoint] :param disk_encryption_properties: The disk encryption properties. - :type disk_encryption_properties: - ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :type disk_encryption_properties: ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :param encryption_in_transit_properties: The encryption-in-transit properties. + :type encryption_in_transit_properties: + ~azure.mgmt.hdinsight.models.EncryptionInTransitProperties :param min_supported_tls_version: The minimal supported tls version. :type min_supported_tls_version: str + :param network_properties: The network properties. + :type network_properties: ~azure.mgmt.hdinsight.models.NetworkProperties """ _validation = { @@ -794,28 +855,35 @@ class ClusterGetProperties(Model): _attribute_map = { 'cluster_version': {'key': 'clusterVersion', 'type': 'str'}, - 'os_type': {'key': 'osType', 'type': 'OSType'}, - 'tier': {'key': 'tier', 'type': 'Tier'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'cluster_id': {'key': 'clusterId', 'type': 'str'}, 'cluster_definition': {'key': 'clusterDefinition', 'type': 'ClusterDefinition'}, 'kafka_rest_properties': {'key': 'kafkaRestProperties', 'type': 'KafkaRestProperties'}, 'security_profile': {'key': 'securityProfile', 'type': 'SecurityProfile'}, 'compute_profile': {'key': 'computeProfile', 'type': 'ComputeProfile'}, - 'provisioning_state': {'key': 'provisioningState', 'type': 'HDInsightClusterProvisioningState'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'created_date': {'key': 'createdDate', 'type': 'str'}, 'cluster_state': {'key': 'clusterState', 'type': 'str'}, 'quota_info': {'key': 'quotaInfo', 'type': 'QuotaInfo'}, 'errors': {'key': 'errors', 'type': '[Errors]'}, 'connectivity_endpoints': {'key': 'connectivityEndpoints', 'type': '[ConnectivityEndpoint]'}, 'disk_encryption_properties': {'key': 'diskEncryptionProperties', 'type': 'DiskEncryptionProperties'}, + 'encryption_in_transit_properties': {'key': 'encryptionInTransitProperties', 'type': 'EncryptionInTransitProperties'}, 'min_supported_tls_version': {'key': 'minSupportedTlsVersion', 'type': 'str'}, + 'network_properties': {'key': 'networkProperties', 'type': 'NetworkProperties'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterGetProperties, self).__init__(**kwargs) self.cluster_version = kwargs.get('cluster_version', None) self.os_type = kwargs.get('os_type', None) self.tier = kwargs.get('tier', None) - self.cluster_definition = kwargs.get('cluster_definition', None) + self.cluster_id = kwargs.get('cluster_id', None) + self.cluster_definition = kwargs['cluster_definition'] self.kafka_rest_properties = kwargs.get('kafka_rest_properties', None) self.security_profile = kwargs.get('security_profile', None) self.compute_profile = kwargs.get('compute_profile', None) @@ -826,32 +894,31 @@ def __init__(self, **kwargs): self.errors = kwargs.get('errors', None) self.connectivity_endpoints = kwargs.get('connectivity_endpoints', None) self.disk_encryption_properties = kwargs.get('disk_encryption_properties', None) + self.encryption_in_transit_properties = kwargs.get('encryption_in_transit_properties', None) self.min_supported_tls_version = kwargs.get('min_supported_tls_version', None) + self.network_properties = kwargs.get('network_properties', None) -class ClusterIdentity(Model): +class ClusterIdentity(msrest.serialization.Model): """Identity for the cluster. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar principal_id: The principal id of cluster identity. This property - will only be provided for a system assigned identity. + :ivar principal_id: The principal id of cluster identity. This property will only be provided + for a system assigned identity. :vartype principal_id: str - :ivar tenant_id: The tenant id associated with the cluster. This property - will only be provided for a system assigned identity. + :ivar tenant_id: The tenant id associated with the cluster. This property will only be provided + for a system assigned identity. :vartype tenant_id: str - :param type: The type of identity used for the cluster. The type - 'SystemAssigned, UserAssigned' includes both an implicitly created - identity and a set of user assigned identities. Possible values include: - 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None' + :param type: The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' + includes both an implicitly created identity and a set of user assigned identities. Possible + values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None". :type type: str or ~azure.mgmt.hdinsight.models.ResourceIdentityType - :param user_assigned_identities: The list of user identities associated - with the cluster. The user identity dictionary key references will be ARM - resource ids in the form: + :param user_assigned_identities: The list of user identities associated with the cluster. The + user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. :type user_assigned_identities: dict[str, - ~azure.mgmt.hdinsight.models.ClusterIdentityUserAssignedIdentitiesValue] + ~azure.mgmt.hdinsight.models.ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties] """ _validation = { @@ -862,11 +929,14 @@ class ClusterIdentity(Model): _attribute_map = { 'principal_id': {'key': 'principalId', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'ResourceIdentityType'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ClusterIdentityUserAssignedIdentitiesValue}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterIdentity, self).__init__(**kwargs) self.principal_id = None self.tenant_id = None @@ -874,42 +944,42 @@ def __init__(self, **kwargs): self.user_assigned_identities = kwargs.get('user_assigned_identities', None) -class ClusterIdentityUserAssignedIdentitiesValue(Model): - """ClusterIdentityUserAssignedIdentitiesValue. +class ClusterListPersistedScriptActionsResult(msrest.serialization.Model): + """The ListPersistedScriptActions operation response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar principal_id: The principal id of user assigned identity. - :vartype principal_id: str - :ivar client_id: The client id of user assigned identity. - :vartype client_id: str + :param value: The list of Persisted Script Actions. + :type value: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str """ _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, + 'next_link': {'readonly': True}, } _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[RuntimeScriptAction]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, **kwargs): - super(ClusterIdentityUserAssignedIdentitiesValue, self).__init__(**kwargs) - self.principal_id = None - self.client_id = None + def __init__( + self, + **kwargs + ): + super(ClusterListPersistedScriptActionsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None -class ClusterListPersistedScriptActionsResult(Model): - """The ListPersistedScriptActions operation response. +class ClusterListResult(msrest.serialization.Model): + """The List Cluster operation response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :param value: The list of Persisted Script Actions. - :type value: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :param value: The list of Clusters. + :type value: list[~azure.mgmt.hdinsight.models.Cluster] :ivar next_link: The link (url) to the next page of results. :vartype next_link: str """ @@ -919,25 +989,26 @@ class ClusterListPersistedScriptActionsResult(Model): } _attribute_map = { - 'value': {'key': 'value', 'type': '[RuntimeScriptAction]'}, + 'value': {'key': 'value', 'type': '[Cluster]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, **kwargs): - super(ClusterListPersistedScriptActionsResult, self).__init__(**kwargs) + def __init__( + self, + **kwargs + ): + super(ClusterListResult, self).__init__(**kwargs) self.value = kwargs.get('value', None) self.next_link = None -class ClusterListRuntimeScriptActionDetailResult(Model): +class ClusterListRuntimeScriptActionDetailResult(msrest.serialization.Model): """The list runtime script action detail response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar value: The list of persisted script action details for the cluster. - :vartype value: - list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar value: + :vartype value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] :ivar next_link: The link (url) to the next page of results. :vartype next_link: str """ @@ -952,13 +1023,46 @@ class ClusterListRuntimeScriptActionDetailResult(Model): 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterListRuntimeScriptActionDetailResult, self).__init__(**kwargs) self.value = None self.next_link = None -class ClusterMonitoringRequest(Model): +class ClusterListRuntimeScriptActionDetailResultAutoGenerated(msrest.serialization.Model): + """The list runtime script action detail response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of persisted script action details for the cluster. + :vartype value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RuntimeScriptActionDetail]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ClusterListRuntimeScriptActionDetailResultAutoGenerated, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClusterMonitoringRequest(msrest.serialization.Model): """The Operations Management Suite (OMS) parameters. :param workspace_id: The Operations Management Suite (OMS) workspace ID. @@ -972,20 +1076,23 @@ class ClusterMonitoringRequest(Model): 'primary_key': {'key': 'primaryKey', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterMonitoringRequest, self).__init__(**kwargs) self.workspace_id = kwargs.get('workspace_id', None) self.primary_key = kwargs.get('primary_key', None) -class ClusterMonitoringResponse(Model): +class ClusterMonitoringResponse(msrest.serialization.Model): """The Operations Management Suite (OMS) status response. - :param cluster_monitoring_enabled: The status of the Operations Management - Suite (OMS) on the HDInsight cluster. + :param cluster_monitoring_enabled: The status of the Operations Management Suite (OMS) on the + HDInsight cluster. :type cluster_monitoring_enabled: bool - :param workspace_id: The workspace ID of the Operations Management Suite - (OMS) on the HDInsight cluster. + :param workspace_id: The workspace ID of the Operations Management Suite (OMS) on the HDInsight + cluster. :type workspace_id: str """ @@ -994,16 +1101,19 @@ class ClusterMonitoringResponse(Model): 'workspace_id': {'key': 'workspaceId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterMonitoringResponse, self).__init__(**kwargs) self.cluster_monitoring_enabled = kwargs.get('cluster_monitoring_enabled', None) self.workspace_id = kwargs.get('workspace_id', None) -class ClusterPatchParameters(Model): +class ClusterPatchParameters(msrest.serialization.Model): """The PatchCluster request parameters. - :param tags: The resource tags. + :param tags: A set of tags. The resource tags. :type tags: dict[str, str] """ @@ -1011,12 +1121,15 @@ class ClusterPatchParameters(Model): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterPatchParameters, self).__init__(**kwargs) self.tags = kwargs.get('tags', None) -class ClusterResizeParameters(Model): +class ClusterResizeParameters(msrest.serialization.Model): """The Resize Cluster request parameters. :param target_instance_count: The target instance count for the operation. @@ -1027,12 +1140,45 @@ class ClusterResizeParameters(Model): 'target_instance_count': {'key': 'targetInstanceCount', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ClusterResizeParameters, self).__init__(**kwargs) self.target_instance_count = kwargs.get('target_instance_count', None) -class ComputeProfile(Model): +class ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): + """ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + +class ComputeProfile(msrest.serialization.Model): """Describes the compute profile. :param roles: The list of roles in the cluster. @@ -1043,12 +1189,15 @@ class ComputeProfile(Model): 'roles': {'key': 'roles', 'type': '[Role]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ComputeProfile, self).__init__(**kwargs) self.roles = kwargs.get('roles', None) -class ConnectivityEndpoint(Model): +class ConnectivityEndpoint(msrest.serialization.Model): """The connectivity properties. :param name: The name of the endpoint. @@ -1068,7 +1217,10 @@ class ConnectivityEndpoint(Model): 'port': {'key': 'port', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ConnectivityEndpoint, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.protocol = kwargs.get('protocol', None) @@ -1076,16 +1228,14 @@ def __init__(self, **kwargs): self.port = kwargs.get('port', None) -class DataDisksGroups(Model): +class DataDisksGroups(msrest.serialization.Model): """The data disks groups for the role. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :param disks_per_node: The number of disks per node. :type disks_per_node: int - :ivar storage_account_type: ReadOnly. The storage account type. Do not set - this value. + :ivar storage_account_type: ReadOnly. The storage account type. Do not set this value. :vartype storage_account_type: str :ivar disk_size_gb: ReadOnly. The DiskSize in GB. Do not set this value. :vartype disk_size_gb: int @@ -1102,56 +1252,61 @@ class DataDisksGroups(Model): 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DataDisksGroups, self).__init__(**kwargs) self.disks_per_node = kwargs.get('disks_per_node', None) self.storage_account_type = None self.disk_size_gb = None -class DiskBillingMeters(Model): +class DiskBillingMeters(msrest.serialization.Model): """The disk billing meters. :param disk_rp_meter: The managed disk meter guid. :type disk_rp_meter: str :param sku: The managed disk billing sku, P30 or S30. :type sku: str - :param tier: The managed disk billing tier, Standard or Premium. Possible - values include: 'Standard', 'Premium' + :param tier: The managed disk billing tier, Standard or Premium. Possible values include: + "Standard", "Premium". :type tier: str or ~azure.mgmt.hdinsight.models.Tier """ _attribute_map = { 'disk_rp_meter': {'key': 'diskRpMeter', 'type': 'str'}, 'sku': {'key': 'sku', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'Tier'}, + 'tier': {'key': 'tier', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DiskBillingMeters, self).__init__(**kwargs) self.disk_rp_meter = kwargs.get('disk_rp_meter', None) self.sku = kwargs.get('sku', None) self.tier = kwargs.get('tier', None) -class DiskEncryptionProperties(Model): +class DiskEncryptionProperties(msrest.serialization.Model): """The disk encryption properties. - :param vault_uri: Base key vault URI where the customers key is located - eg. https://myvault.vault.azure.net + :param vault_uri: Base key vault URI where the customers key is located eg. + https://myvault.vault.azure.net. :type vault_uri: str :param key_name: Key name that is used for enabling disk encryption. :type key_name: str - :param key_version: Specific key version that is used for enabling disk - encryption. + :param key_version: Specific key version that is used for enabling disk encryption. :type key_version: str - :param encryption_algorithm: Algorithm identifier for encryption, default - RSA-OAEP. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - :type encryption_algorithm: str or - ~azure.mgmt.hdinsight.models.JsonWebKeyEncryptionAlgorithm - :param msi_resource_id: Resource ID of Managed Identity that is used to - access the key vault. + :param encryption_algorithm: Algorithm identifier for encryption, default RSA-OAEP. Possible + values include: "RSA-OAEP", "RSA-OAEP-256", "RSA1_5". + :type encryption_algorithm: str or ~azure.mgmt.hdinsight.models.JsonWebKeyEncryptionAlgorithm + :param msi_resource_id: Resource ID of Managed Identity that is used to access the key vault. :type msi_resource_id: str + :param encryption_at_host: Indicates whether or not resource disk encryption is enabled. + :type encryption_at_host: bool """ _attribute_map = { @@ -1160,21 +1315,46 @@ class DiskEncryptionProperties(Model): 'key_version': {'key': 'keyVersion', 'type': 'str'}, 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, + 'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(DiskEncryptionProperties, self).__init__(**kwargs) self.vault_uri = kwargs.get('vault_uri', None) self.key_name = kwargs.get('key_name', None) self.key_version = kwargs.get('key_version', None) self.encryption_algorithm = kwargs.get('encryption_algorithm', None) self.msi_resource_id = kwargs.get('msi_resource_id', None) + self.encryption_at_host = kwargs.get('encryption_at_host', False) + +class EncryptionInTransitProperties(msrest.serialization.Model): + """The encryption-in-transit properties. -class ErrorResponse(Model): + :param is_encryption_in_transit_enabled: Indicates whether or not inter cluster node + communication is encrypted in transit. + :type is_encryption_in_transit_enabled: bool + """ + + _attribute_map = { + 'is_encryption_in_transit_enabled': {'key': 'isEncryptionInTransitEnabled', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(EncryptionInTransitProperties, self).__init__(**kwargs) + self.is_encryption_in_transit_enabled = kwargs.get('is_encryption_in_transit_enabled', False) + + +class ErrorResponse(msrest.serialization.Model): """Describes the format of Error response. - :param code: Error code + :param code: Error code. :type code: str :param message: Error message indicating why the operation failed. :type message: str @@ -1185,25 +1365,16 @@ class ErrorResponse(Model): 'message': {'key': 'message', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ErrorResponse, self).__init__(**kwargs) self.code = kwargs.get('code', None) self.message = kwargs.get('message', None) -class ErrorResponseException(HttpOperationError): - """Server responsed with exception of type: 'ErrorResponse'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) - - -class Errors(Model): +class Errors(msrest.serialization.Model): """The error message associated with the cluster creation. :param code: The error code. @@ -1217,22 +1388,23 @@ class Errors(Model): 'message': {'key': 'message', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Errors, self).__init__(**kwargs) self.code = kwargs.get('code', None) self.message = kwargs.get('message', None) -class ExecuteScriptActionParameters(Model): +class ExecuteScriptActionParameters(msrest.serialization.Model): """The parameters for the script actions to execute on a running cluster. All required parameters must be populated in order to send to Azure. :param script_actions: The list of run time script actions. - :type script_actions: - list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] - :param persist_on_success: Required. Gets or sets if the scripts needs to - be persisted. + :type script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :param persist_on_success: Required. Gets or sets if the scripts needs to be persisted. :type persist_on_success: bool """ @@ -1245,17 +1417,19 @@ class ExecuteScriptActionParameters(Model): 'persist_on_success': {'key': 'persistOnSuccess', 'type': 'bool'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ExecuteScriptActionParameters, self).__init__(**kwargs) self.script_actions = kwargs.get('script_actions', None) - self.persist_on_success = kwargs.get('persist_on_success', None) + self.persist_on_success = kwargs['persist_on_success'] -class Extension(Model): +class Extension(msrest.serialization.Model): """Cluster monitoring extensions. - :param workspace_id: The workspace ID for the cluster monitoring - extension. + :param workspace_id: The workspace ID for the cluster monitoring extension. :type workspace_id: str :param primary_key: The certificate for the cluster monitoring extensions. :type primary_key: str @@ -1266,20 +1440,22 @@ class Extension(Model): 'primary_key': {'key': 'primaryKey', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Extension, self).__init__(**kwargs) self.workspace_id = kwargs.get('workspace_id', None) self.primary_key = kwargs.get('primary_key', None) -class GatewaySettings(Model): +class GatewaySettings(msrest.serialization.Model): """Gateway settings. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar is_credential_enabled: Indicates whether or not the gateway settings - based authorization is enabled. + :ivar is_credential_enabled: Indicates whether or not the gateway settings based authorization + is enabled. :vartype is_credential_enabled: str :ivar user_name: The gateway settings user name. :vartype user_name: str @@ -1299,17 +1475,20 @@ class GatewaySettings(Model): 'password': {'key': 'restAuthCredential\\.password', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(GatewaySettings, self).__init__(**kwargs) self.is_credential_enabled = None self.user_name = None self.password = None -class HardwareProfile(Model): +class HardwareProfile(msrest.serialization.Model): """The hardware profile. - :param vm_size: The size of the VM + :param vm_size: The size of the VM. :type vm_size: str """ @@ -1317,14 +1496,35 @@ class HardwareProfile(Model): 'vm_size': {'key': 'vmSize', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(HardwareProfile, self).__init__(**kwargs) self.vm_size = kwargs.get('vm_size', None) -class KafkaRestProperties(Model): - """The kafka rest proxy configuration which contains AAD security group - information. +class HostInfo(msrest.serialization.Model): + """The cluster host information. + + :param name: The host name. + :type name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HostInfo, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + + +class KafkaRestProperties(msrest.serialization.Model): + """The kafka rest proxy configuration which contains AAD security group information. :param client_group_info: The information of AAD security group. :type client_group_info: ~azure.mgmt.hdinsight.models.ClientGroupInfo @@ -1334,12 +1534,15 @@ class KafkaRestProperties(Model): 'client_group_info': {'key': 'clientGroupInfo', 'type': 'ClientGroupInfo'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(KafkaRestProperties, self).__init__(**kwargs) self.client_group_info = kwargs.get('client_group_info', None) -class LinuxOperatingSystemProfile(Model): +class LinuxOperatingSystemProfile(msrest.serialization.Model): """The ssh username, password, and ssh public key. :param username: The username. @@ -1356,14 +1559,17 @@ class LinuxOperatingSystemProfile(Model): 'ssh_profile': {'key': 'sshProfile', 'type': 'SshProfile'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(LinuxOperatingSystemProfile, self).__init__(**kwargs) self.username = kwargs.get('username', None) self.password = kwargs.get('password', None) self.ssh_profile = kwargs.get('ssh_profile', None) -class LocalizedName(Model): +class LocalizedName(msrest.serialization.Model): """The details about the localizable name of a type of usage. :param value: The name of the used resource. @@ -1377,16 +1583,45 @@ class LocalizedName(Model): 'localized_value': {'key': 'localizedValue', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(LocalizedName, self).__init__(**kwargs) self.value = kwargs.get('value', None) self.localized_value = kwargs.get('localized_value', None) -class Operation(Model): +class NetworkProperties(msrest.serialization.Model): + """The network properties. + + :param resource_provider_connection: The direction for the resource provider connection. + Possible values include: "Inbound", "Outbound". + :type resource_provider_connection: str or + ~azure.mgmt.hdinsight.models.ResourceProviderConnection + :param private_link: Indicates whether or not private link is enabled. Possible values include: + "Disabled", "Enabled". + :type private_link: str or ~azure.mgmt.hdinsight.models.PrivateLink + """ + + _attribute_map = { + 'resource_provider_connection': {'key': 'resourceProviderConnection', 'type': 'str'}, + 'private_link': {'key': 'privateLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkProperties, self).__init__(**kwargs) + self.resource_provider_connection = kwargs.get('resource_provider_connection', None) + self.private_link = kwargs.get('private_link', None) + + +class Operation(msrest.serialization.Model): """The HDInsight REST API operation. - :param name: The operation name: {provider}/{resource}/{operation} + :param name: The operation name: {provider}/{resource}/{operation}. :type name: str :param display: The object that represents the operation. :type display: ~azure.mgmt.hdinsight.models.OperationDisplay @@ -1397,19 +1632,21 @@ class Operation(Model): 'display': {'key': 'display', 'type': 'OperationDisplay'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Operation, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.display = kwargs.get('display', None) -class OperationDisplay(Model): +class OperationDisplay(msrest.serialization.Model): """The object that represents the operation. - :param provider: The service provider: Microsoft.HDInsight + :param provider: The service provider: Microsoft.HDInsight. :type provider: str - :param resource: The resource on which the operation is performed: - Cluster, Applications, etc. + :param resource: The resource on which the operation is performed: Cluster, Applications, etc. :type resource: str :param operation: The operation type: read, write, delete, etc. :type operation: str @@ -1421,62 +1658,123 @@ class OperationDisplay(Model): 'operation': {'key': 'operation', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(OperationDisplay, self).__init__(**kwargs) self.provider = kwargs.get('provider', None) self.resource = kwargs.get('resource', None) self.operation = kwargs.get('operation', None) -class OperationResource(Model): +class OperationListResult(msrest.serialization.Model): + """Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results. + + :param value: The list of HDInsight operations supported by the HDInsight resource provider. + :type value: list[~azure.mgmt.hdinsight.models.Operation] + :param next_link: The URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class OperationResource(msrest.serialization.Model): """The azure async operation response. - :param status: The async operation state. Possible values include: - 'InProgress', 'Succeeded', 'Failed' + :param status: The async operation state. Possible values include: "InProgress", "Succeeded", + "Failed". :type status: str or ~azure.mgmt.hdinsight.models.AsyncOperationState :param error: The operation error information. :type error: ~azure.mgmt.hdinsight.models.Errors """ _attribute_map = { - 'status': {'key': 'status', 'type': 'AsyncOperationState'}, + 'status': {'key': 'status', 'type': 'str'}, 'error': {'key': 'error', 'type': 'Errors'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(OperationResource, self).__init__(**kwargs) self.status = kwargs.get('status', None) self.error = kwargs.get('error', None) -class OsProfile(Model): +class OsProfile(msrest.serialization.Model): """The Linux operation systems profile. :param linux_operating_system_profile: The Linux OS profile. - :type linux_operating_system_profile: - ~azure.mgmt.hdinsight.models.LinuxOperatingSystemProfile + :type linux_operating_system_profile: ~azure.mgmt.hdinsight.models.LinuxOperatingSystemProfile """ _attribute_map = { 'linux_operating_system_profile': {'key': 'linuxOperatingSystemProfile', 'type': 'LinuxOperatingSystemProfile'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(OsProfile, self).__init__(**kwargs) self.linux_operating_system_profile = kwargs.get('linux_operating_system_profile', None) -class QuotaCapability(Model): +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class QuotaCapability(msrest.serialization.Model): """The regional quota capability. :param cores_used: The number of cores used in the subscription. :type cores_used: long - :param max_cores_allowed: The number of cores that the subscription - allowed. + :param max_cores_allowed: The number of cores that the subscription allowed. :type max_cores_allowed: long :param regional_quotas: The list of region quota capabilities. - :type regional_quotas: - list[~azure.mgmt.hdinsight.models.RegionalQuotaCapability] + :type regional_quotas: list[~azure.mgmt.hdinsight.models.RegionalQuotaCapability] """ _attribute_map = { @@ -1485,14 +1783,17 @@ class QuotaCapability(Model): 'regional_quotas': {'key': 'regionalQuotas', 'type': '[RegionalQuotaCapability]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(QuotaCapability, self).__init__(**kwargs) self.cores_used = kwargs.get('cores_used', None) self.max_cores_allowed = kwargs.get('max_cores_allowed', None) self.regional_quotas = kwargs.get('regional_quotas', None) -class QuotaInfo(Model): +class QuotaInfo(msrest.serialization.Model): """The quota properties for the cluster. :param cores_used: The cores used by the cluster. @@ -1503,12 +1804,15 @@ class QuotaInfo(Model): 'cores_used': {'key': 'coresUsed', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(QuotaInfo, self).__init__(**kwargs) self.cores_used = kwargs.get('cores_used', None) -class RegionalQuotaCapability(Model): +class RegionalQuotaCapability(msrest.serialization.Model): """The regional quota capacity. :param region_name: The region name. @@ -1525,14 +1829,17 @@ class RegionalQuotaCapability(Model): 'cores_available': {'key': 'cores_available', 'type': 'long'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(RegionalQuotaCapability, self).__init__(**kwargs) self.region_name = kwargs.get('region_name', None) self.cores_used = kwargs.get('cores_used', None) self.cores_available = kwargs.get('cores_available', None) -class RegionsCapability(Model): +class RegionsCapability(msrest.serialization.Model): """The regions capability. :param available: The list of region capabilities. @@ -1543,12 +1850,15 @@ class RegionsCapability(Model): 'available': {'key': 'available', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(RegionsCapability, self).__init__(**kwargs) self.available = kwargs.get('available', None) -class Role(Model): +class Role(msrest.serialization.Model): """Describes a role on the cluster. :param name: The name of the role. @@ -1564,11 +1874,9 @@ class Role(Model): :param os_profile: The operating system profile. :type os_profile: ~azure.mgmt.hdinsight.models.OsProfile :param virtual_network_profile: The virtual network profile. - :type virtual_network_profile: - ~azure.mgmt.hdinsight.models.VirtualNetworkProfile + :type virtual_network_profile: ~azure.mgmt.hdinsight.models.VirtualNetworkProfile :param data_disks_groups: The data disks groups for the role. - :type data_disks_groups: - list[~azure.mgmt.hdinsight.models.DataDisksGroups] + :type data_disks_groups: list[~azure.mgmt.hdinsight.models.DataDisksGroups] :param script_actions: The list of script actions on the role. :type script_actions: list[~azure.mgmt.hdinsight.models.ScriptAction] """ @@ -1585,7 +1893,10 @@ class Role(Model): 'script_actions': {'key': 'scriptActions', 'type': '[ScriptAction]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Role, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.min_instance_count = kwargs.get('min_instance_count', None) @@ -1598,11 +1909,10 @@ def __init__(self, **kwargs): self.script_actions = kwargs.get('script_actions', None) -class RuntimeScriptAction(Model): +class RuntimeScriptAction(msrest.serialization.Model): """Describes a script action on a running cluster. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -1610,7 +1920,7 @@ class RuntimeScriptAction(Model): :type name: str :param uri: Required. The URI to the script. :type uri: str - :param parameters: The parameters for the script + :param parameters: The parameters for the script. :type parameters: str :param roles: Required. The list of roles where script will be executed. :type roles: list[str] @@ -1633,20 +1943,22 @@ class RuntimeScriptAction(Model): 'application_name': {'key': 'applicationName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(RuntimeScriptAction, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.uri = kwargs.get('uri', None) + self.name = kwargs['name'] + self.uri = kwargs['uri'] self.parameters = kwargs.get('parameters', None) - self.roles = kwargs.get('roles', None) + self.roles = kwargs['roles'] self.application_name = None class RuntimeScriptActionDetail(RuntimeScriptAction): """The execution details of a script action. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -1654,7 +1966,7 @@ class RuntimeScriptActionDetail(RuntimeScriptAction): :type name: str :param uri: Required. The URI to the script. :type uri: str - :param parameters: The parameters for the script + :param parameters: The parameters for the script. :type parameters: str :param roles: Required. The list of roles where script will be executed. :type roles: list[str] @@ -1671,8 +1983,7 @@ class RuntimeScriptActionDetail(RuntimeScriptAction): :ivar operation: The reason why the script action was executed. :vartype operation: str :ivar execution_summary: The summary of script action execution result. - :vartype execution_summary: - list[~azure.mgmt.hdinsight.models.ScriptActionExecutionSummary] + :vartype execution_summary: list[~azure.mgmt.hdinsight.models.ScriptActionExecutionSummary] :ivar debug_information: The script action execution debug information. :vartype debug_information: str """ @@ -1706,7 +2017,10 @@ class RuntimeScriptActionDetail(RuntimeScriptAction): 'debug_information': {'key': 'debugInformation', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(RuntimeScriptActionDetail, self).__init__(**kwargs) self.script_execution_id = None self.start_time = None @@ -1717,7 +2031,7 @@ def __init__(self, **kwargs): self.debug_information = None -class ScriptAction(Model): +class ScriptAction(msrest.serialization.Model): """Describes a script action on role on the cluster. All required parameters must be populated in order to send to Azure. @@ -1742,23 +2056,54 @@ class ScriptAction(Model): 'parameters': {'key': 'parameters', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ScriptAction, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.uri = kwargs.get('uri', None) - self.parameters = kwargs.get('parameters', None) + self.name = kwargs['name'] + self.uri = kwargs['uri'] + self.parameters = kwargs['parameters'] + + +class ScriptActionExecutionHistoryList(msrest.serialization.Model): + """The list script execution history response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of persisted script action details for the cluster. + :vartype value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RuntimeScriptActionDetail]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ScriptActionExecutionHistoryList, self).__init__(**kwargs) + self.value = None + self.next_link = None -class ScriptActionExecutionSummary(Model): +class ScriptActionExecutionSummary(msrest.serialization.Model): """The execution summary of a script action. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar status: The status of script action execution. :vartype status: str - :ivar instance_count: The instance count for a given script action - execution status. + :ivar instance_count: The instance count for a given script action execution status. :vartype instance_count: int """ @@ -1772,13 +2117,16 @@ class ScriptActionExecutionSummary(Model): 'instance_count': {'key': 'instanceCount', 'type': 'int'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ScriptActionExecutionSummary, self).__init__(**kwargs) self.status = None self.instance_count = None -class ScriptActionPersistedGetResponseSpec(Model): +class ScriptActionPersistedGetResponseSpec(msrest.serialization.Model): """The persisted script action for cluster. :param name: The name of script action. @@ -1801,7 +2149,10 @@ class ScriptActionPersistedGetResponseSpec(Model): 'application_name': {'key': 'applicationName', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(ScriptActionPersistedGetResponseSpec, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.uri = kwargs.get('uri', None) @@ -1810,63 +2161,96 @@ def __init__(self, **kwargs): self.application_name = kwargs.get('application_name', None) -class SecurityProfile(Model): - """The security profile which contains Ssh public key for the HDInsight - cluster. +class ScriptActionsList(msrest.serialization.Model): + """The persisted script action for the cluster. - :param directory_type: The directory type. Possible values include: - 'ActiveDirectory' - :type directory_type: str or ~azure.mgmt.hdinsight.models.DirectoryType + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of persisted script action details for the cluster. + :type value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RuntimeScriptActionDetail]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ScriptActionsList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class SecurityProfile(msrest.serialization.Model): + """The security profile which contains Ssh public key for the HDInsight cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar directory_type: The directory type. Default value: "ActiveDirectory". + :vartype directory_type: str :param domain: The organization's active directory domain. :type domain: str - :param organizational_unit_dn: The organizational unit within the Active - Directory to place the cluster and service accounts. + :param organizational_unit_dn: The organizational unit within the Active Directory to place the + cluster and service accounts. :type organizational_unit_dn: str - :param ldaps_urls: The LDAPS protocol URLs to communicate with the Active - Directory. + :param ldaps_urls: The LDAPS protocol URLs to communicate with the Active Directory. :type ldaps_urls: list[str] - :param domain_username: The domain user account that will have admin - privileges on the cluster. + :param domain_username: The domain user account that will have admin privileges on the cluster. :type domain_username: str :param domain_user_password: The domain admin password. :type domain_user_password: str - :param cluster_users_group_dns: Optional. The Distinguished Names for - cluster user groups - :type cluster_users_group_dns: list[str] - :param aadds_resource_id: The resource ID of the user's Azure Active - Directory Domain Service. + :param cluster_users_group_d_ns: Optional. The Distinguished Names for cluster user groups. + :type cluster_users_group_d_ns: list[str] + :param aadds_resource_id: The resource ID of the user's Azure Active Directory Domain Service. :type aadds_resource_id: str - :param msi_resource_id: User assigned identity that has permissions to - read and create cluster-related artifacts in the user's AADDS. + :param msi_resource_id: User assigned identity that has permissions to read and create cluster- + related artifacts in the user's AADDS. :type msi_resource_id: str """ + _validation = { + 'directory_type': {'constant': True}, + } + _attribute_map = { - 'directory_type': {'key': 'directoryType', 'type': 'DirectoryType'}, + 'directory_type': {'key': 'directoryType', 'type': 'str'}, 'domain': {'key': 'domain', 'type': 'str'}, 'organizational_unit_dn': {'key': 'organizationalUnitDN', 'type': 'str'}, 'ldaps_urls': {'key': 'ldapsUrls', 'type': '[str]'}, 'domain_username': {'key': 'domainUsername', 'type': 'str'}, 'domain_user_password': {'key': 'domainUserPassword', 'type': 'str'}, - 'cluster_users_group_dns': {'key': 'clusterUsersGroupDNs', 'type': '[str]'}, + 'cluster_users_group_d_ns': {'key': 'clusterUsersGroupDNs', 'type': '[str]'}, 'aadds_resource_id': {'key': 'aaddsResourceId', 'type': 'str'}, 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, } - def __init__(self, **kwargs): + directory_type = "ActiveDirectory" + + def __init__( + self, + **kwargs + ): super(SecurityProfile, self).__init__(**kwargs) - self.directory_type = kwargs.get('directory_type', None) self.domain = kwargs.get('domain', None) self.organizational_unit_dn = kwargs.get('organizational_unit_dn', None) self.ldaps_urls = kwargs.get('ldaps_urls', None) self.domain_username = kwargs.get('domain_username', None) self.domain_user_password = kwargs.get('domain_user_password', None) - self.cluster_users_group_dns = kwargs.get('cluster_users_group_dns', None) + self.cluster_users_group_d_ns = kwargs.get('cluster_users_group_d_ns', None) self.aadds_resource_id = kwargs.get('aadds_resource_id', None) self.msi_resource_id = kwargs.get('msi_resource_id', None) -class SshProfile(Model): +class SshProfile(msrest.serialization.Model): """The list of SSH public keys. :param public_keys: The list of SSH public keys. @@ -1877,12 +2261,15 @@ class SshProfile(Model): 'public_keys': {'key': 'publicKeys', 'type': '[SshPublicKey]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SshProfile, self).__init__(**kwargs) self.public_keys = kwargs.get('public_keys', None) -class SshPublicKey(Model): +class SshPublicKey(msrest.serialization.Model): """The SSH public key for the cluster nodes. :param certificate_data: The certificate for SSH. @@ -1893,33 +2280,33 @@ class SshPublicKey(Model): 'certificate_data': {'key': 'certificateData', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(SshPublicKey, self).__init__(**kwargs) self.certificate_data = kwargs.get('certificate_data', None) -class StorageAccount(Model): +class StorageAccount(msrest.serialization.Model): """The storage Account. :param name: The name of the storage account. :type name: str - :param is_default: Whether or not the storage account is the default - storage account. + :param is_default: Whether or not the storage account is the default storage account. :type is_default: bool - :param container: The container in the storage account, only to be - specified for WASB storage accounts. + :param container: The container in the storage account, only to be specified for WASB storage + accounts. :type container: str - :param file_system: The filesystem, only to be specified for Azure Data - Lake Storage Gen 2. + :param file_system: The filesystem, only to be specified for Azure Data Lake Storage Gen 2. :type file_system: str :param key: The storage account access key. :type key: str - :param resource_id: The resource ID of storage account, only to be - specified for Azure Data Lake Storage Gen 2. + :param resource_id: The resource ID of storage account, only to be specified for Azure Data + Lake Storage Gen 2. :type resource_id: str - :param msi_resource_id: The managed identity (MSI) that is allowed to - access the storage account, only to be specified for Azure Data Lake - Storage Gen 2. + :param msi_resource_id: The managed identity (MSI) that is allowed to access the storage + account, only to be specified for Azure Data Lake Storage Gen 2. :type msi_resource_id: str """ @@ -1933,7 +2320,10 @@ class StorageAccount(Model): 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(StorageAccount, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.is_default = kwargs.get('is_default', None) @@ -1944,7 +2334,7 @@ def __init__(self, **kwargs): self.msi_resource_id = kwargs.get('msi_resource_id', None) -class StorageProfile(Model): +class StorageProfile(msrest.serialization.Model): """The storage profile. :param storageaccounts: The list of storage accounts in the cluster. @@ -1955,16 +2345,19 @@ class StorageProfile(Model): 'storageaccounts': {'key': 'storageaccounts', 'type': '[StorageAccount]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(StorageProfile, self).__init__(**kwargs) self.storageaccounts = kwargs.get('storageaccounts', None) -class UpdateGatewaySettingsParameters(Model): +class UpdateGatewaySettingsParameters(msrest.serialization.Model): """The update gateway settings request parameters. - :param is_credential_enabled: Indicates whether or not the gateway - settings based authorization is enabled. Default value: True . + :param is_credential_enabled: Indicates whether or not the gateway settings based authorization + is enabled. :type is_credential_enabled: bool :param user_name: The gateway settings user name. :type user_name: str @@ -1978,26 +2371,35 @@ class UpdateGatewaySettingsParameters(Model): 'password': {'key': 'restAuthCredential\\.password', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(UpdateGatewaySettingsParameters, self).__init__(**kwargs) self.is_credential_enabled = kwargs.get('is_credential_enabled', True) self.user_name = kwargs.get('user_name', None) self.password = kwargs.get('password', None) -class Usage(Model): +class Usage(msrest.serialization.Model): """The details about the usage of a particular limited resource. + Variables are only populated by the server, and will be ignored when sending a request. + :param unit: The type of measurement for usage. :type unit: str :param current_value: The current usage. :type current_value: int :param limit: The maximum allowed usage. :type limit: int - :param name: The details about the localizable name of the used resource. - :type name: ~azure.mgmt.hdinsight.models.LocalizedName + :ivar name: The details about the localizable name of the used resource. + :vartype name: ~azure.mgmt.hdinsight.models.LocalizedName """ + _validation = { + 'name': {'readonly': True}, + } + _attribute_map = { 'unit': {'key': 'unit', 'type': 'str'}, 'current_value': {'key': 'currentValue', 'type': 'int'}, @@ -2005,15 +2407,18 @@ class Usage(Model): 'name': {'key': 'name', 'type': 'LocalizedName'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(Usage, self).__init__(**kwargs) self.unit = kwargs.get('unit', None) self.current_value = kwargs.get('current_value', None) self.limit = kwargs.get('limit', None) - self.name = kwargs.get('name', None) + self.name = None -class UsagesListResult(Model): +class UsagesListResult(msrest.serialization.Model): """The response for the operation to get regional usages for a subscription. :param value: The list of usages. @@ -2024,12 +2429,15 @@ class UsagesListResult(Model): 'value': {'key': 'value', 'type': '[Usage]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(UsagesListResult, self).__init__(**kwargs) self.value = kwargs.get('value', None) -class VersionsCapability(Model): +class VersionsCapability(msrest.serialization.Model): """The version capability. :param available: The list of version capabilities. @@ -2040,17 +2448,20 @@ class VersionsCapability(Model): 'available': {'key': 'available', 'type': '[VersionSpec]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(VersionsCapability, self).__init__(**kwargs) self.available = kwargs.get('available', None) -class VersionSpec(Model): +class VersionSpec(msrest.serialization.Model): """The version properties. - :param friendly_name: The friendly name + :param friendly_name: The friendly name. :type friendly_name: str - :param display_name: The display name + :param display_name: The display name. :type display_name: str :param is_default: Whether or not the version is the default version. :type is_default: str @@ -2065,7 +2476,10 @@ class VersionSpec(Model): 'component_versions': {'key': 'componentVersions', 'type': '{str}'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(VersionSpec, self).__init__(**kwargs) self.friendly_name = kwargs.get('friendly_name', None) self.display_name = kwargs.get('display_name', None) @@ -2073,7 +2487,7 @@ def __init__(self, **kwargs): self.component_versions = kwargs.get('component_versions', None) -class VirtualNetworkProfile(Model): +class VirtualNetworkProfile(msrest.serialization.Model): """The virtual network properties. :param id: The ID of the virtual network. @@ -2087,13 +2501,16 @@ class VirtualNetworkProfile(Model): 'subnet': {'key': 'subnet', 'type': 'str'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(VirtualNetworkProfile, self).__init__(**kwargs) self.id = kwargs.get('id', None) self.subnet = kwargs.get('subnet', None) -class VmSizeCompatibilityFilter(Model): +class VmSizeCompatibilityFilter(msrest.serialization.Model): """The virtual machine type compatibility filter. :param filter_mode: The mode for the filter. @@ -2119,7 +2536,10 @@ class VmSizeCompatibilityFilter(Model): 'vmsizes': {'key': 'vmsizes', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(VmSizeCompatibilityFilter, self).__init__(**kwargs) self.filter_mode = kwargs.get('filter_mode', None) self.regions = kwargs.get('regions', None) @@ -2129,27 +2549,19 @@ def __init__(self, **kwargs): self.vmsizes = kwargs.get('vmsizes', None) -class VmSizeCompatibilityFilterV2(Model): - """This class represent a single filter object that defines a multidimensional - set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and - ClusterVersions. The constraint should be defined based on the following: - FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of - exclusion/inclusion) and the ordering of the Filters. Later filters - override previous settings if conflicted. +class VmSizeCompatibilityFilterV2(msrest.serialization.Model): + """This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted. - :param filter_mode: The filtering mode. Effectively this can enabling or - disabling the VM sizes in a particular set. Possible values include: - 'Exclude', 'Include' + :param filter_mode: The filtering mode. Effectively this can enabling or disabling the VM sizes + in a particular set. Possible values include: "Exclude", "Include". :type filter_mode: str or ~azure.mgmt.hdinsight.models.FilterMode :param regions: The list of regions under the effect of the filter. :type regions: list[str] - :param cluster_flavors: The list of cluster flavors under the effect of - the filter. + :param cluster_flavors: The list of cluster flavors under the effect of the filter. :type cluster_flavors: list[str] :param node_types: The list of node types affected by the filter. :type node_types: list[str] - :param cluster_versions: The list of cluster versions affected in - Major.Minor format. + :param cluster_versions: The list of cluster versions affected in Major.Minor format. :type cluster_versions: list[str] :param os_type: The OSType affected, Windows or Linux. :type os_type: list[str or ~azure.mgmt.hdinsight.models.OSType] @@ -2163,11 +2575,14 @@ class VmSizeCompatibilityFilterV2(Model): 'cluster_flavors': {'key': 'clusterFlavors', 'type': '[str]'}, 'node_types': {'key': 'nodeTypes', 'type': '[str]'}, 'cluster_versions': {'key': 'clusterVersions', 'type': '[str]'}, - 'os_type': {'key': 'osType', 'type': '[OSType]'}, + 'os_type': {'key': 'osType', 'type': '[str]'}, 'vm_sizes': {'key': 'vmSizes', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(VmSizeCompatibilityFilterV2, self).__init__(**kwargs) self.filter_mode = kwargs.get('filter_mode', None) self.regions = kwargs.get('regions', None) @@ -2178,7 +2593,7 @@ def __init__(self, **kwargs): self.vm_sizes = kwargs.get('vm_sizes', None) -class VmSizesCapability(Model): +class VmSizesCapability(msrest.serialization.Model): """The virtual machine sizes capability. :param available: The list of virtual machine size capabilities. @@ -2189,6 +2604,9 @@ class VmSizesCapability(Model): 'available': {'key': 'available', 'type': '[str]'}, } - def __init__(self, **kwargs): + def __init__( + self, + **kwargs + ): super(VmSizesCapability, self).__init__(**kwargs) self.available = kwargs.get('available', None) 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 a2e6ab815870..174ab612528f 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 @@ -1,27 +1,27 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from msrest.serialization import Model -from msrest.exceptions import HttpOperationError +from typing import Dict, List, Optional, Union +from azure.core.exceptions import HttpResponseError +import msrest.serialization -class Resource(Model): +from ._hd_insight_management_client_enums import * + + +class Resource(msrest.serialization.Model): """The core properties of ARM resources. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str @@ -39,59 +39,30 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(Resource, self).__init__(**kwargs) self.id = None self.name = None self.type = None -class ProxyResource(Resource): - """The resource model definition for a ARM proxy resource. It will have - everything other than required location and tags. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar id: Fully qualified resource Id for the resource. - :vartype id: str - :ivar name: The name of the resource - :vartype name: str - :ivar type: The type of the resource. - :vartype type: str - """ - - _validation = { - 'id': {'readonly': True}, - 'name': {'readonly': True}, - 'type': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'str'}, - } - - def __init__(self, **kwargs) -> None: - super(ProxyResource, self).__init__(**kwargs) - - -class Application(ProxyResource): +class Application(Resource): """The HDInsight cluster application. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param etag: The ETag for the application + :param etag: The ETag for the application. :type etag: str - :param tags: The tags for the application. + :param tags: A set of tags. The tags for the application. :type tags: dict[str, str] :param properties: The properties of the application. :type properties: ~azure.mgmt.hdinsight.models.ApplicationProperties @@ -112,14 +83,21 @@ class Application(ProxyResource): 'properties': {'key': 'properties', 'type': 'ApplicationProperties'}, } - def __init__(self, *, etag: str=None, tags=None, properties=None, **kwargs) -> None: + def __init__( + self, + *, + etag: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + properties: Optional["ApplicationProperties"] = None, + **kwargs + ): super(Application, self).__init__(**kwargs) self.etag = etag self.tags = tags self.properties = properties -class ApplicationGetEndpoint(Model): +class ApplicationGetEndpoint(msrest.serialization.Model): """Gets the application SSH endpoint. :param location: The location of the endpoint. @@ -136,14 +114,21 @@ class ApplicationGetEndpoint(Model): 'public_port': {'key': 'publicPort', 'type': 'int'}, } - def __init__(self, *, location: str=None, destination_port: int=None, public_port: int=None, **kwargs) -> None: + def __init__( + self, + *, + location: Optional[str] = None, + destination_port: Optional[int] = None, + public_port: Optional[int] = None, + **kwargs + ): super(ApplicationGetEndpoint, self).__init__(**kwargs) self.location = location self.destination_port = destination_port self.public_port = public_port -class ApplicationGetHttpsEndpoint(Model): +class ApplicationGetHttpsEndpoint(msrest.serialization.Model): """Gets the application HTTP endpoints. :param access_modes: The list of access modes for the application. @@ -156,8 +141,7 @@ class ApplicationGetHttpsEndpoint(Model): :type public_port: int :param sub_domain_suffix: The subdomain suffix of the application. :type sub_domain_suffix: str - :param disable_gateway_auth: The value indicates whether to disable - GatewayAuth. + :param disable_gateway_auth: The value indicates whether to disable GatewayAuth. :type disable_gateway_auth: bool """ @@ -170,7 +154,17 @@ class ApplicationGetHttpsEndpoint(Model): 'disable_gateway_auth': {'key': 'disableGatewayAuth', 'type': 'bool'}, } - def __init__(self, *, access_modes=None, location: str=None, destination_port: int=None, public_port: int=None, sub_domain_suffix: str=None, disable_gateway_auth: bool=None, **kwargs) -> None: + def __init__( + self, + *, + access_modes: Optional[List[str]] = None, + location: Optional[str] = None, + destination_port: Optional[int] = None, + public_port: Optional[int] = None, + sub_domain_suffix: Optional[str] = None, + disable_gateway_auth: Optional[bool] = None, + **kwargs + ): super(ApplicationGetHttpsEndpoint, self).__init__(**kwargs) self.access_modes = access_modes self.location = location @@ -180,26 +174,52 @@ def __init__(self, *, access_modes=None, location: str=None, destination_port: i self.disable_gateway_auth = disable_gateway_auth -class ApplicationProperties(Model): +class ApplicationListResult(msrest.serialization.Model): + """Result of the request to list cluster Applications. It contains a list of operations and a URL link to get the next set of results. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of HDInsight applications installed on HDInsight cluster. + :type value: list[~azure.mgmt.hdinsight.models.Application] + :ivar next_link: The URL to get the next set of operation list results if there are any. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Application]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Application"]] = None, + **kwargs + ): + super(ApplicationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ApplicationProperties(msrest.serialization.Model): """The HDInsight cluster application GET response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :param compute_profile: The list of roles in the cluster. :type compute_profile: ~azure.mgmt.hdinsight.models.ComputeProfile :param install_script_actions: The list of install script actions. - :type install_script_actions: - list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :type install_script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] :param uninstall_script_actions: The list of uninstall script actions. - :type uninstall_script_actions: - list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :type uninstall_script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] :param https_endpoints: The list of application HTTPS endpoints. - :type https_endpoints: - list[~azure.mgmt.hdinsight.models.ApplicationGetHttpsEndpoint] + :type https_endpoints: list[~azure.mgmt.hdinsight.models.ApplicationGetHttpsEndpoint] :param ssh_endpoints: The list of application SSH endpoints. - :type ssh_endpoints: - list[~azure.mgmt.hdinsight.models.ApplicationGetEndpoint] + :type ssh_endpoints: list[~azure.mgmt.hdinsight.models.ApplicationGetEndpoint] :ivar provisioning_state: The provisioning state of the application. :vartype provisioning_state: str :param application_type: The application type. @@ -235,7 +255,18 @@ class ApplicationProperties(Model): 'marketplace_identifier': {'key': 'marketplaceIdentifier', 'type': 'str'}, } - def __init__(self, *, compute_profile=None, install_script_actions=None, uninstall_script_actions=None, https_endpoints=None, ssh_endpoints=None, application_type: str=None, errors=None, **kwargs) -> None: + def __init__( + self, + *, + compute_profile: Optional["ComputeProfile"] = None, + install_script_actions: Optional[List["RuntimeScriptAction"]] = None, + uninstall_script_actions: Optional[List["RuntimeScriptAction"]] = None, + https_endpoints: Optional[List["ApplicationGetHttpsEndpoint"]] = None, + ssh_endpoints: Optional[List["ApplicationGetEndpoint"]] = None, + application_type: Optional[str] = None, + errors: Optional[List["Errors"]] = None, + **kwargs + ): super(ApplicationProperties, self).__init__(**kwargs) self.compute_profile = compute_profile self.install_script_actions = install_script_actions @@ -250,12 +281,12 @@ def __init__(self, *, compute_profile=None, install_script_actions=None, uninsta self.marketplace_identifier = None -class Autoscale(Model): +class Autoscale(msrest.serialization.Model): """The autoscale request parameters. - :param capacity: Parameters for load-based autoscale + :param capacity: Parameters for load-based autoscale. :type capacity: ~azure.mgmt.hdinsight.models.AutoscaleCapacity - :param recurrence: Parameters for schedule-based autoscale + :param recurrence: Parameters for schedule-based autoscale. :type recurrence: ~azure.mgmt.hdinsight.models.AutoscaleRecurrence """ @@ -264,18 +295,24 @@ class Autoscale(Model): 'recurrence': {'key': 'recurrence', 'type': 'AutoscaleRecurrence'}, } - def __init__(self, *, capacity=None, recurrence=None, **kwargs) -> None: + def __init__( + self, + *, + capacity: Optional["AutoscaleCapacity"] = None, + recurrence: Optional["AutoscaleRecurrence"] = None, + **kwargs + ): super(Autoscale, self).__init__(**kwargs) self.capacity = capacity self.recurrence = recurrence -class AutoscaleCapacity(Model): +class AutoscaleCapacity(msrest.serialization.Model): """The load-based autoscale request parameters. - :param min_instance_count: The minimum instance count of the cluster + :param min_instance_count: The minimum instance count of the cluster. :type min_instance_count: int - :param max_instance_count: The maximum instance count of the cluster + :param max_instance_count: The maximum instance count of the cluster. :type max_instance_count: int """ @@ -284,18 +321,45 @@ class AutoscaleCapacity(Model): 'max_instance_count': {'key': 'maxInstanceCount', 'type': 'int'}, } - def __init__(self, *, min_instance_count: int=None, max_instance_count: int=None, **kwargs) -> None: + def __init__( + self, + *, + min_instance_count: Optional[int] = None, + max_instance_count: Optional[int] = None, + **kwargs + ): super(AutoscaleCapacity, self).__init__(**kwargs) self.min_instance_count = min_instance_count self.max_instance_count = max_instance_count -class AutoscaleRecurrence(Model): +class AutoscaleConfigurationUpdateParameter(msrest.serialization.Model): + """The autoscale configuration update parameter. + + :param autoscale: The autoscale configuration. + :type autoscale: ~azure.mgmt.hdinsight.models.Autoscale + """ + + _attribute_map = { + 'autoscale': {'key': 'autoscale', 'type': 'Autoscale'}, + } + + def __init__( + self, + *, + autoscale: Optional["Autoscale"] = None, + **kwargs + ): + super(AutoscaleConfigurationUpdateParameter, self).__init__(**kwargs) + self.autoscale = autoscale + + +class AutoscaleRecurrence(msrest.serialization.Model): """Schedule-based autoscale request parameters. - :param time_zone: The time zone for the autoscale schedule times + :param time_zone: The time zone for the autoscale schedule times. :type time_zone: str - :param schedule: Array of schedule-based autoscale rules + :param schedule: Array of schedule-based autoscale rules. :type schedule: list[~azure.mgmt.hdinsight.models.AutoscaleSchedule] """ @@ -304,43 +368,52 @@ class AutoscaleRecurrence(Model): 'schedule': {'key': 'schedule', 'type': '[AutoscaleSchedule]'}, } - def __init__(self, *, time_zone: str=None, schedule=None, **kwargs) -> None: + def __init__( + self, + *, + time_zone: Optional[str] = None, + schedule: Optional[List["AutoscaleSchedule"]] = None, + **kwargs + ): super(AutoscaleRecurrence, self).__init__(**kwargs) self.time_zone = time_zone self.schedule = schedule -class AutoscaleSchedule(Model): - """Parameters for a schedule-based autoscale rule, consisting of an array of - days + a time and capacity. +class AutoscaleSchedule(msrest.serialization.Model): + """Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity. - :param days: Days of the week for a schedule-based autoscale rule + :param days: Days of the week for a schedule-based autoscale rule. :type days: list[str or ~azure.mgmt.hdinsight.models.DaysOfWeek] - :param time_and_capacity: Time and capacity for a schedule-based autoscale - rule - :type time_and_capacity: - ~azure.mgmt.hdinsight.models.AutoscaleTimeAndCapacity + :param time_and_capacity: Time and capacity for a schedule-based autoscale rule. + :type time_and_capacity: ~azure.mgmt.hdinsight.models.AutoscaleTimeAndCapacity """ _attribute_map = { - 'days': {'key': 'days', 'type': '[DaysOfWeek]'}, + 'days': {'key': 'days', 'type': '[str]'}, 'time_and_capacity': {'key': 'timeAndCapacity', 'type': 'AutoscaleTimeAndCapacity'}, } - def __init__(self, *, days=None, time_and_capacity=None, **kwargs) -> None: + def __init__( + self, + *, + days: Optional[List[Union[str, "DaysOfWeek"]]] = None, + time_and_capacity: Optional["AutoscaleTimeAndCapacity"] = None, + **kwargs + ): super(AutoscaleSchedule, self).__init__(**kwargs) self.days = days self.time_and_capacity = time_and_capacity -class AutoscaleTimeAndCapacity(Model): +class AutoscaleTimeAndCapacity(msrest.serialization.Model): """Time and capacity request parameters. - :param time: 24-hour time in the form xx:xx + :param time: 24-hour time in the form xx:xx. :type time: str - :param min_instance_count: The minimum instance count of the cluster + :param min_instance_count: The minimum instance count of the cluster. :type min_instance_count: int - :param max_instance_count: The maximum instance count of the cluster + :param max_instance_count: The maximum instance count of the cluster. :type max_instance_count: int """ @@ -350,14 +423,21 @@ class AutoscaleTimeAndCapacity(Model): 'max_instance_count': {'key': 'maxInstanceCount', 'type': 'int'}, } - def __init__(self, *, time: str=None, min_instance_count: int=None, max_instance_count: int=None, **kwargs) -> None: + def __init__( + self, + *, + time: Optional[str] = None, + min_instance_count: Optional[int] = None, + max_instance_count: Optional[int] = None, + **kwargs + ): super(AutoscaleTimeAndCapacity, self).__init__(**kwargs) self.time = time self.min_instance_count = min_instance_count self.max_instance_count = max_instance_count -class BillingMeters(Model): +class BillingMeters(msrest.serialization.Model): """The billing meters. :param meter_parameter: The virtual machine sizes. @@ -374,14 +454,21 @@ class BillingMeters(Model): 'unit': {'key': 'unit', 'type': 'str'}, } - def __init__(self, *, meter_parameter: str=None, meter: str=None, unit: str=None, **kwargs) -> None: + def __init__( + self, + *, + meter_parameter: Optional[str] = None, + meter: Optional[str] = None, + unit: Optional[str] = None, + **kwargs + ): super(BillingMeters, self).__init__(**kwargs) self.meter_parameter = meter_parameter self.meter = meter self.unit = unit -class BillingResources(Model): +class BillingResources(msrest.serialization.Model): """The billing resources. :param region: The region or location. @@ -389,8 +476,7 @@ class BillingResources(Model): :param billing_meters: The billing meter information. :type billing_meters: list[~azure.mgmt.hdinsight.models.BillingMeters] :param disk_billing_meters: The managed disk billing information. - :type disk_billing_meters: - list[~azure.mgmt.hdinsight.models.DiskBillingMeters] + :type disk_billing_meters: list[~azure.mgmt.hdinsight.models.DiskBillingMeters] """ _attribute_map = { @@ -399,28 +485,30 @@ class BillingResources(Model): 'disk_billing_meters': {'key': 'diskBillingMeters', 'type': '[DiskBillingMeters]'}, } - def __init__(self, *, region: str=None, billing_meters=None, disk_billing_meters=None, **kwargs) -> None: + def __init__( + self, + *, + region: Optional[str] = None, + billing_meters: Optional[List["BillingMeters"]] = None, + disk_billing_meters: Optional[List["DiskBillingMeters"]] = None, + **kwargs + ): super(BillingResources, self).__init__(**kwargs) self.region = region self.billing_meters = billing_meters self.disk_billing_meters = disk_billing_meters -class BillingResponseListResult(Model): - """The response for the operation to get regional billingSpecs for a - subscription. +class BillingResponseListResult(msrest.serialization.Model): + """The response for the operation to get regional billingSpecs for a subscription. :param vm_sizes: The virtual machine sizes to include or exclude. :type vm_sizes: list[str] - :param vm_size_filters: The virtual machine filtering mode. Effectively - this can enabling or disabling the virtual machine sizes in a particular - set. - :type vm_size_filters: - list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilterV2] - :param billing_resources: The billing and managed disk billing resources - for a region. - :type billing_resources: - list[~azure.mgmt.hdinsight.models.BillingResources] + :param vm_size_filters: The virtual machine filtering mode. Effectively this can enabling or + disabling the virtual machine sizes in a particular set. + :type vm_size_filters: list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilterV2] + :param billing_resources: The billing and managed disk billing resources for a region. + :type billing_resources: list[~azure.mgmt.hdinsight.models.BillingResources] """ _attribute_map = { @@ -429,16 +517,25 @@ class BillingResponseListResult(Model): 'billing_resources': {'key': 'billingResources', 'type': '[BillingResources]'}, } - def __init__(self, *, vm_sizes=None, vm_size_filters=None, billing_resources=None, **kwargs) -> None: + def __init__( + self, + *, + vm_sizes: Optional[List[str]] = None, + vm_size_filters: Optional[List["VmSizeCompatibilityFilterV2"]] = None, + billing_resources: Optional[List["BillingResources"]] = None, + **kwargs + ): super(BillingResponseListResult, self).__init__(**kwargs) self.vm_sizes = vm_sizes self.vm_size_filters = vm_size_filters self.billing_resources = billing_resources -class CapabilitiesResult(Model): +class CapabilitiesResult(msrest.serialization.Model): """The Get Capabilities operation response. + Variables are only populated by the server, and will be ignored when sending a request. + :param versions: The version capability. :type versions: dict[str, ~azure.mgmt.hdinsight.models.VersionsCapability] :param regions: The virtual machine size compatibility features. @@ -446,14 +543,17 @@ class CapabilitiesResult(Model): :param vm_sizes: The virtual machine sizes. :type vm_sizes: dict[str, ~azure.mgmt.hdinsight.models.VmSizesCapability] :param vm_size_filters: The virtual machine size compatibility filters. - :type vm_size_filters: - list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilter] + :type vm_size_filters: list[~azure.mgmt.hdinsight.models.VmSizeCompatibilityFilter] :param features: The capability features. :type features: list[str] - :param quota: The quota capability. - :type quota: ~azure.mgmt.hdinsight.models.QuotaCapability + :ivar quota: The quota capability. + :vartype quota: ~azure.mgmt.hdinsight.models.QuotaCapability """ + _validation = { + 'quota': {'readonly': True}, + } + _attribute_map = { 'versions': {'key': 'versions', 'type': '{VersionsCapability}'}, 'regions': {'key': 'regions', 'type': '{RegionsCapability}'}, @@ -463,17 +563,26 @@ class CapabilitiesResult(Model): 'quota': {'key': 'quota', 'type': 'QuotaCapability'}, } - def __init__(self, *, versions=None, regions=None, vm_sizes=None, vm_size_filters=None, features=None, quota=None, **kwargs) -> None: + def __init__( + self, + *, + versions: Optional[Dict[str, "VersionsCapability"]] = None, + regions: Optional[Dict[str, "RegionsCapability"]] = None, + vm_sizes: Optional[Dict[str, "VmSizesCapability"]] = None, + vm_size_filters: Optional[List["VmSizeCompatibilityFilter"]] = None, + features: Optional[List[str]] = None, + **kwargs + ): super(CapabilitiesResult, self).__init__(**kwargs) self.versions = versions self.regions = regions self.vm_sizes = vm_sizes self.vm_size_filters = vm_size_filters self.features = features - self.quota = quota + self.quota = None -class ClientGroupInfo(Model): +class ClientGroupInfo(msrest.serialization.Model): """The information of AAD security group. :param group_name: The AAD security group name. @@ -487,35 +596,32 @@ class ClientGroupInfo(Model): 'group_id': {'key': 'groupId', 'type': 'str'}, } - def __init__(self, *, group_name: str=None, group_id: str=None, **kwargs) -> None: + def __init__( + self, + *, + group_name: Optional[str] = None, + group_id: Optional[str] = None, + **kwargs + ): super(ClientGroupInfo, self).__init__(**kwargs) self.group_name = group_name self.group_id = group_id -class CloudError(Model): - """CloudError. - """ - - _attribute_map = { - } - - class TrackedResource(Resource): """The resource model definition for a ARM tracked top level resource. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: The Azure Region where the resource lives + :param location: The Azure Region where the resource lives. :type location: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] """ @@ -533,7 +639,13 @@ class TrackedResource(Resource): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, location: str=None, tags=None, **kwargs) -> None: + def __init__( + self, + *, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): super(TrackedResource, self).__init__(**kwargs) self.location = location self.tags = tags @@ -542,20 +654,19 @@ def __init__(self, *, location: str=None, tags=None, **kwargs) -> None: class Cluster(TrackedResource): """The HDInsight cluster. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Fully qualified resource Id for the resource. :vartype id: str - :ivar name: The name of the resource + :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: The Azure Region where the resource lives + :param location: The Azure Region where the resource lives. :type location: str - :param tags: Resource tags. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] - :param etag: The ETag for the resource + :param etag: The ETag for the resource. :type etag: str :param properties: The properties of the cluster. :type properties: ~azure.mgmt.hdinsight.models.ClusterGetProperties @@ -580,36 +691,50 @@ class Cluster(TrackedResource): 'identity': {'key': 'identity', 'type': 'ClusterIdentity'}, } - def __init__(self, *, location: str=None, tags=None, etag: str=None, properties=None, identity=None, **kwargs) -> None: + def __init__( + self, + *, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + etag: Optional[str] = None, + properties: Optional["ClusterGetProperties"] = None, + identity: Optional["ClusterIdentity"] = None, + **kwargs + ): super(Cluster, self).__init__(location=location, tags=tags, **kwargs) self.etag = etag self.properties = properties self.identity = identity -class ClusterConfigurations(Model): +class ClusterConfigurations(msrest.serialization.Model): """The configuration object for the specified cluster. - :param configurations: The configuration object for the specified - configuration for the specified cluster. - :type configurations: dict[str, dict[str, str]] + :param configurations: The configuration object for the specified configuration for the + specified cluster. + :type configurations: dict[str, object] """ _attribute_map = { - 'configurations': {'key': 'configurations', 'type': '{{str}}'}, + 'configurations': {'key': 'configurations', 'type': '{object}'}, } - def __init__(self, *, configurations=None, **kwargs) -> None: + def __init__( + self, + *, + configurations: Optional[Dict[str, object]] = None, + **kwargs + ): super(ClusterConfigurations, self).__init__(**kwargs) self.configurations = configurations -class ClusterCreateParametersExtended(Model): +class ClusterCreateParametersExtended(msrest.serialization.Model): """The CreateCluster request parameters. :param location: The location of the cluster. :type location: str - :param tags: The resource tags. + :param tags: A set of tags. The resource tags. :type tags: dict[str, str] :param properties: The cluster create parameters. :type properties: ~azure.mgmt.hdinsight.models.ClusterCreateProperties @@ -624,7 +749,15 @@ class ClusterCreateParametersExtended(Model): 'identity': {'key': 'identity', 'type': 'ClusterIdentity'}, } - def __init__(self, *, location: str=None, tags=None, properties=None, identity=None, **kwargs) -> None: + def __init__( + self, + *, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + properties: Optional["ClusterCreateProperties"] = None, + identity: Optional["ClusterIdentity"] = None, + **kwargs + ): super(ClusterCreateParametersExtended, self).__init__(**kwargs) self.location = location self.tags = tags @@ -632,22 +765,19 @@ def __init__(self, *, location: str=None, tags=None, properties=None, identity=N self.identity = identity -class ClusterCreateProperties(Model): +class ClusterCreateProperties(msrest.serialization.Model): """The cluster create parameters. :param cluster_version: The version of the cluster. :type cluster_version: str - :param os_type: The type of operating system. Possible values include: - 'Windows', 'Linux' + :param os_type: The type of operating system. Possible values include: "Windows", "Linux". :type os_type: str or ~azure.mgmt.hdinsight.models.OSType - :param tier: The cluster tier. Possible values include: 'Standard', - 'Premium' + :param tier: The cluster tier. Possible values include: "Standard", "Premium". :type tier: str or ~azure.mgmt.hdinsight.models.Tier :param cluster_definition: The cluster definition. :type cluster_definition: ~azure.mgmt.hdinsight.models.ClusterDefinition :param kafka_rest_properties: The cluster kafka rest proxy configuration. - :type kafka_rest_properties: - ~azure.mgmt.hdinsight.models.KafkaRestProperties + :type kafka_rest_properties: ~azure.mgmt.hdinsight.models.KafkaRestProperties :param security_profile: The security profile. :type security_profile: ~azure.mgmt.hdinsight.models.SecurityProfile :param compute_profile: The compute profile. @@ -655,26 +785,48 @@ class ClusterCreateProperties(Model): :param storage_profile: The storage profile. :type storage_profile: ~azure.mgmt.hdinsight.models.StorageProfile :param disk_encryption_properties: The disk encryption properties. - :type disk_encryption_properties: - ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :type disk_encryption_properties: ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :param encryption_in_transit_properties: The encryption-in-transit properties. + :type encryption_in_transit_properties: + ~azure.mgmt.hdinsight.models.EncryptionInTransitProperties :param min_supported_tls_version: The minimal supported tls version. :type min_supported_tls_version: str + :param network_properties: The network properties. + :type network_properties: ~azure.mgmt.hdinsight.models.NetworkProperties """ _attribute_map = { 'cluster_version': {'key': 'clusterVersion', 'type': 'str'}, - 'os_type': {'key': 'osType', 'type': 'OSType'}, - 'tier': {'key': 'tier', 'type': 'Tier'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, 'cluster_definition': {'key': 'clusterDefinition', 'type': 'ClusterDefinition'}, 'kafka_rest_properties': {'key': 'kafkaRestProperties', 'type': 'KafkaRestProperties'}, 'security_profile': {'key': 'securityProfile', 'type': 'SecurityProfile'}, 'compute_profile': {'key': 'computeProfile', 'type': 'ComputeProfile'}, 'storage_profile': {'key': 'storageProfile', 'type': 'StorageProfile'}, 'disk_encryption_properties': {'key': 'diskEncryptionProperties', 'type': 'DiskEncryptionProperties'}, + 'encryption_in_transit_properties': {'key': 'encryptionInTransitProperties', 'type': 'EncryptionInTransitProperties'}, 'min_supported_tls_version': {'key': 'minSupportedTlsVersion', 'type': 'str'}, - } - - def __init__(self, *, cluster_version: str=None, os_type=None, tier=None, cluster_definition=None, kafka_rest_properties=None, security_profile=None, compute_profile=None, storage_profile=None, disk_encryption_properties=None, min_supported_tls_version: str=None, **kwargs) -> None: + 'network_properties': {'key': 'networkProperties', 'type': 'NetworkProperties'}, + } + + def __init__( + self, + *, + cluster_version: Optional[str] = None, + os_type: Optional[Union[str, "OSType"]] = None, + tier: Optional[Union[str, "Tier"]] = None, + cluster_definition: Optional["ClusterDefinition"] = None, + kafka_rest_properties: Optional["KafkaRestProperties"] = None, + security_profile: Optional["SecurityProfile"] = None, + compute_profile: Optional["ComputeProfile"] = None, + storage_profile: Optional["StorageProfile"] = None, + disk_encryption_properties: Optional["DiskEncryptionProperties"] = None, + encryption_in_transit_properties: Optional["EncryptionInTransitProperties"] = None, + min_supported_tls_version: Optional[str] = None, + network_properties: Optional["NetworkProperties"] = None, + **kwargs + ): super(ClusterCreateProperties, self).__init__(**kwargs) self.cluster_version = cluster_version self.os_type = os_type @@ -685,18 +837,19 @@ def __init__(self, *, cluster_version: str=None, os_type=None, tier=None, cluste self.compute_profile = compute_profile self.storage_profile = storage_profile self.disk_encryption_properties = disk_encryption_properties + self.encryption_in_transit_properties = encryption_in_transit_properties self.min_supported_tls_version = min_supported_tls_version + self.network_properties = network_properties -class ClusterDefinition(Model): +class ClusterDefinition(msrest.serialization.Model): """The cluster definition. :param blueprint: The link to the blueprint. :type blueprint: str :param kind: The type of cluster. :type kind: str - :param component_version: The versions of different services in the - cluster. + :param component_version: The versions of different services in the cluster. :type component_version: dict[str, str] :param configurations: The cluster configurations. :type configurations: object @@ -709,7 +862,15 @@ class ClusterDefinition(Model): 'configurations': {'key': 'configurations', 'type': 'object'}, } - def __init__(self, *, blueprint: str=None, kind: str=None, component_version=None, configurations=None, **kwargs) -> None: + def __init__( + self, + *, + blueprint: Optional[str] = None, + kind: Optional[str] = None, + component_version: Optional[Dict[str, str]] = None, + configurations: Optional[object] = None, + **kwargs + ): super(ClusterDefinition, self).__init__(**kwargs) self.blueprint = blueprint self.kind = kind @@ -717,16 +878,15 @@ def __init__(self, *, blueprint: str=None, kind: str=None, component_version=Non self.configurations = configurations -class ClusterDiskEncryptionParameters(Model): +class ClusterDiskEncryptionParameters(msrest.serialization.Model): """The Disk Encryption Cluster request parameters. - :param vault_uri: Base key vault URI where the customers key is located - eg. https://myvault.vault.azure.net + :param vault_uri: Base key vault URI where the customers key is located eg. + https://myvault.vault.azure.net. :type vault_uri: str :param key_name: Key name that is used for enabling disk encryption. :type key_name: str - :param key_version: Specific key version that is used for enabling disk - encryption. + :param key_version: Specific key version that is used for enabling disk encryption. :type key_version: str """ @@ -736,40 +896,44 @@ class ClusterDiskEncryptionParameters(Model): 'key_version': {'key': 'keyVersion', 'type': 'str'}, } - def __init__(self, *, vault_uri: str=None, key_name: str=None, key_version: str=None, **kwargs) -> None: + def __init__( + self, + *, + vault_uri: Optional[str] = None, + key_name: Optional[str] = None, + key_version: Optional[str] = None, + **kwargs + ): super(ClusterDiskEncryptionParameters, self).__init__(**kwargs) self.vault_uri = vault_uri self.key_name = key_name self.key_version = key_version -class ClusterGetProperties(Model): +class ClusterGetProperties(msrest.serialization.Model): """The properties of cluster. All required parameters must be populated in order to send to Azure. :param cluster_version: The version of the cluster. :type cluster_version: str - :param os_type: The type of operating system. Possible values include: - 'Windows', 'Linux' + :param os_type: The type of operating system. Possible values include: "Windows", "Linux". :type os_type: str or ~azure.mgmt.hdinsight.models.OSType - :param tier: The cluster tier. Possible values include: 'Standard', - 'Premium' + :param tier: The cluster tier. Possible values include: "Standard", "Premium". :type tier: str or ~azure.mgmt.hdinsight.models.Tier + :param cluster_id: The cluster id. + :type cluster_id: str :param cluster_definition: Required. The cluster definition. :type cluster_definition: ~azure.mgmt.hdinsight.models.ClusterDefinition :param kafka_rest_properties: The cluster kafka rest proxy configuration. - :type kafka_rest_properties: - ~azure.mgmt.hdinsight.models.KafkaRestProperties + :type kafka_rest_properties: ~azure.mgmt.hdinsight.models.KafkaRestProperties :param security_profile: The security profile. :type security_profile: ~azure.mgmt.hdinsight.models.SecurityProfile :param compute_profile: The compute profile. :type compute_profile: ~azure.mgmt.hdinsight.models.ComputeProfile - :param provisioning_state: The provisioning state, which only appears in - the response. Possible values include: 'InProgress', 'Failed', - 'Succeeded', 'Canceled', 'Deleting' - :type provisioning_state: str or - ~azure.mgmt.hdinsight.models.HDInsightClusterProvisioningState + :param provisioning_state: The provisioning state, which only appears in the response. Possible + values include: "InProgress", "Failed", "Succeeded", "Canceled", "Deleting". + :type provisioning_state: str or ~azure.mgmt.hdinsight.models.HDInsightClusterProvisioningState :param created_date: The date on which the cluster was created. :type created_date: str :param cluster_state: The state of the cluster. @@ -779,13 +943,16 @@ class ClusterGetProperties(Model): :param errors: The list of errors. :type errors: list[~azure.mgmt.hdinsight.models.Errors] :param connectivity_endpoints: The list of connectivity endpoints. - :type connectivity_endpoints: - list[~azure.mgmt.hdinsight.models.ConnectivityEndpoint] + :type connectivity_endpoints: list[~azure.mgmt.hdinsight.models.ConnectivityEndpoint] :param disk_encryption_properties: The disk encryption properties. - :type disk_encryption_properties: - ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :type disk_encryption_properties: ~azure.mgmt.hdinsight.models.DiskEncryptionProperties + :param encryption_in_transit_properties: The encryption-in-transit properties. + :type encryption_in_transit_properties: + ~azure.mgmt.hdinsight.models.EncryptionInTransitProperties :param min_supported_tls_version: The minimal supported tls version. :type min_supported_tls_version: str + :param network_properties: The network properties. + :type network_properties: ~azure.mgmt.hdinsight.models.NetworkProperties """ _validation = { @@ -794,27 +961,53 @@ class ClusterGetProperties(Model): _attribute_map = { 'cluster_version': {'key': 'clusterVersion', 'type': 'str'}, - 'os_type': {'key': 'osType', 'type': 'OSType'}, - 'tier': {'key': 'tier', 'type': 'Tier'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'cluster_id': {'key': 'clusterId', 'type': 'str'}, 'cluster_definition': {'key': 'clusterDefinition', 'type': 'ClusterDefinition'}, 'kafka_rest_properties': {'key': 'kafkaRestProperties', 'type': 'KafkaRestProperties'}, 'security_profile': {'key': 'securityProfile', 'type': 'SecurityProfile'}, 'compute_profile': {'key': 'computeProfile', 'type': 'ComputeProfile'}, - 'provisioning_state': {'key': 'provisioningState', 'type': 'HDInsightClusterProvisioningState'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'created_date': {'key': 'createdDate', 'type': 'str'}, 'cluster_state': {'key': 'clusterState', 'type': 'str'}, 'quota_info': {'key': 'quotaInfo', 'type': 'QuotaInfo'}, 'errors': {'key': 'errors', 'type': '[Errors]'}, 'connectivity_endpoints': {'key': 'connectivityEndpoints', 'type': '[ConnectivityEndpoint]'}, 'disk_encryption_properties': {'key': 'diskEncryptionProperties', 'type': 'DiskEncryptionProperties'}, + 'encryption_in_transit_properties': {'key': 'encryptionInTransitProperties', 'type': 'EncryptionInTransitProperties'}, 'min_supported_tls_version': {'key': 'minSupportedTlsVersion', 'type': 'str'}, - } - - def __init__(self, *, cluster_definition, cluster_version: str=None, os_type=None, tier=None, kafka_rest_properties=None, security_profile=None, compute_profile=None, provisioning_state=None, created_date: str=None, cluster_state: str=None, quota_info=None, errors=None, connectivity_endpoints=None, disk_encryption_properties=None, min_supported_tls_version: str=None, **kwargs) -> None: + 'network_properties': {'key': 'networkProperties', 'type': 'NetworkProperties'}, + } + + def __init__( + self, + *, + cluster_definition: "ClusterDefinition", + cluster_version: Optional[str] = None, + os_type: Optional[Union[str, "OSType"]] = None, + tier: Optional[Union[str, "Tier"]] = None, + cluster_id: Optional[str] = None, + kafka_rest_properties: Optional["KafkaRestProperties"] = None, + security_profile: Optional["SecurityProfile"] = None, + compute_profile: Optional["ComputeProfile"] = None, + provisioning_state: Optional[Union[str, "HDInsightClusterProvisioningState"]] = None, + created_date: Optional[str] = None, + cluster_state: Optional[str] = None, + quota_info: Optional["QuotaInfo"] = None, + errors: Optional[List["Errors"]] = None, + connectivity_endpoints: Optional[List["ConnectivityEndpoint"]] = None, + disk_encryption_properties: Optional["DiskEncryptionProperties"] = None, + encryption_in_transit_properties: Optional["EncryptionInTransitProperties"] = None, + min_supported_tls_version: Optional[str] = None, + network_properties: Optional["NetworkProperties"] = None, + **kwargs + ): super(ClusterGetProperties, self).__init__(**kwargs) self.cluster_version = cluster_version self.os_type = os_type self.tier = tier + self.cluster_id = cluster_id self.cluster_definition = cluster_definition self.kafka_rest_properties = kafka_rest_properties self.security_profile = security_profile @@ -826,32 +1019,31 @@ def __init__(self, *, cluster_definition, cluster_version: str=None, os_type=Non self.errors = errors self.connectivity_endpoints = connectivity_endpoints self.disk_encryption_properties = disk_encryption_properties + self.encryption_in_transit_properties = encryption_in_transit_properties self.min_supported_tls_version = min_supported_tls_version + self.network_properties = network_properties -class ClusterIdentity(Model): +class ClusterIdentity(msrest.serialization.Model): """Identity for the cluster. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar principal_id: The principal id of cluster identity. This property - will only be provided for a system assigned identity. + :ivar principal_id: The principal id of cluster identity. This property will only be provided + for a system assigned identity. :vartype principal_id: str - :ivar tenant_id: The tenant id associated with the cluster. This property - will only be provided for a system assigned identity. + :ivar tenant_id: The tenant id associated with the cluster. This property will only be provided + for a system assigned identity. :vartype tenant_id: str - :param type: The type of identity used for the cluster. The type - 'SystemAssigned, UserAssigned' includes both an implicitly created - identity and a set of user assigned identities. Possible values include: - 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None' + :param type: The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' + includes both an implicitly created identity and a set of user assigned identities. Possible + values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None". :type type: str or ~azure.mgmt.hdinsight.models.ResourceIdentityType - :param user_assigned_identities: The list of user identities associated - with the cluster. The user identity dictionary key references will be ARM - resource ids in the form: + :param user_assigned_identities: The list of user identities associated with the cluster. The + user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. :type user_assigned_identities: dict[str, - ~azure.mgmt.hdinsight.models.ClusterIdentityUserAssignedIdentitiesValue] + ~azure.mgmt.hdinsight.models.ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties] """ _validation = { @@ -862,11 +1054,17 @@ class ClusterIdentity(Model): _attribute_map = { 'principal_id': {'key': 'principalId', 'type': 'str'}, 'tenant_id': {'key': 'tenantId', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'ResourceIdentityType'}, - 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ClusterIdentityUserAssignedIdentitiesValue}'}, + 'type': {'key': 'type', 'type': 'str'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties}'}, } - def __init__(self, *, type=None, user_assigned_identities=None, **kwargs) -> None: + def __init__( + self, + *, + type: Optional[Union[str, "ResourceIdentityType"]] = None, + user_assigned_identities: Optional[Dict[str, "ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties"]] = None, + **kwargs + ): super(ClusterIdentity, self).__init__(**kwargs) self.principal_id = None self.tenant_id = None @@ -874,42 +1072,44 @@ def __init__(self, *, type=None, user_assigned_identities=None, **kwargs) -> Non self.user_assigned_identities = user_assigned_identities -class ClusterIdentityUserAssignedIdentitiesValue(Model): - """ClusterIdentityUserAssignedIdentitiesValue. +class ClusterListPersistedScriptActionsResult(msrest.serialization.Model): + """The ListPersistedScriptActions operation response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar principal_id: The principal id of user assigned identity. - :vartype principal_id: str - :ivar client_id: The client id of user assigned identity. - :vartype client_id: str + :param value: The list of Persisted Script Actions. + :type value: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str """ _validation = { - 'principal_id': {'readonly': True}, - 'client_id': {'readonly': True}, + 'next_link': {'readonly': True}, } _attribute_map = { - 'principal_id': {'key': 'principalId', 'type': 'str'}, - 'client_id': {'key': 'clientId', 'type': 'str'}, + 'value': {'key': 'value', 'type': '[RuntimeScriptAction]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: - super(ClusterIdentityUserAssignedIdentitiesValue, self).__init__(**kwargs) - self.principal_id = None - self.client_id = None + def __init__( + self, + *, + value: Optional[List["RuntimeScriptAction"]] = None, + **kwargs + ): + super(ClusterListPersistedScriptActionsResult, self).__init__(**kwargs) + self.value = value + self.next_link = None -class ClusterListPersistedScriptActionsResult(Model): - """The ListPersistedScriptActions operation response. +class ClusterListResult(msrest.serialization.Model): + """The List Cluster operation response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :param value: The list of Persisted Script Actions. - :type value: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :param value: The list of Clusters. + :type value: list[~azure.mgmt.hdinsight.models.Cluster] :ivar next_link: The link (url) to the next page of results. :vartype next_link: str """ @@ -919,25 +1119,28 @@ class ClusterListPersistedScriptActionsResult(Model): } _attribute_map = { - 'value': {'key': 'value', 'type': '[RuntimeScriptAction]'}, + 'value': {'key': 'value', 'type': '[Cluster]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, *, value=None, **kwargs) -> None: - super(ClusterListPersistedScriptActionsResult, self).__init__(**kwargs) + def __init__( + self, + *, + value: Optional[List["Cluster"]] = None, + **kwargs + ): + super(ClusterListResult, self).__init__(**kwargs) self.value = value self.next_link = None -class ClusterListRuntimeScriptActionDetailResult(Model): +class ClusterListRuntimeScriptActionDetailResult(msrest.serialization.Model): """The list runtime script action detail response. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar value: The list of persisted script action details for the cluster. - :vartype value: - list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar value: + :vartype value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] :ivar next_link: The link (url) to the next page of results. :vartype next_link: str """ @@ -952,13 +1155,46 @@ class ClusterListRuntimeScriptActionDetailResult(Model): 'next_link': {'key': 'nextLink', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ClusterListRuntimeScriptActionDetailResult, self).__init__(**kwargs) self.value = None self.next_link = None -class ClusterMonitoringRequest(Model): +class ClusterListRuntimeScriptActionDetailResultAutoGenerated(msrest.serialization.Model): + """The list runtime script action detail response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of persisted script action details for the cluster. + :vartype value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RuntimeScriptActionDetail]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ClusterListRuntimeScriptActionDetailResultAutoGenerated, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ClusterMonitoringRequest(msrest.serialization.Model): """The Operations Management Suite (OMS) parameters. :param workspace_id: The Operations Management Suite (OMS) workspace ID. @@ -972,20 +1208,26 @@ class ClusterMonitoringRequest(Model): 'primary_key': {'key': 'primaryKey', 'type': 'str'}, } - def __init__(self, *, workspace_id: str=None, primary_key: str=None, **kwargs) -> None: + def __init__( + self, + *, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs + ): super(ClusterMonitoringRequest, self).__init__(**kwargs) self.workspace_id = workspace_id self.primary_key = primary_key -class ClusterMonitoringResponse(Model): +class ClusterMonitoringResponse(msrest.serialization.Model): """The Operations Management Suite (OMS) status response. - :param cluster_monitoring_enabled: The status of the Operations Management - Suite (OMS) on the HDInsight cluster. + :param cluster_monitoring_enabled: The status of the Operations Management Suite (OMS) on the + HDInsight cluster. :type cluster_monitoring_enabled: bool - :param workspace_id: The workspace ID of the Operations Management Suite - (OMS) on the HDInsight cluster. + :param workspace_id: The workspace ID of the Operations Management Suite (OMS) on the HDInsight + cluster. :type workspace_id: str """ @@ -994,16 +1236,22 @@ class ClusterMonitoringResponse(Model): 'workspace_id': {'key': 'workspaceId', 'type': 'str'}, } - def __init__(self, *, cluster_monitoring_enabled: bool=None, workspace_id: str=None, **kwargs) -> None: + def __init__( + self, + *, + cluster_monitoring_enabled: Optional[bool] = None, + workspace_id: Optional[str] = None, + **kwargs + ): super(ClusterMonitoringResponse, self).__init__(**kwargs) self.cluster_monitoring_enabled = cluster_monitoring_enabled self.workspace_id = workspace_id -class ClusterPatchParameters(Model): +class ClusterPatchParameters(msrest.serialization.Model): """The PatchCluster request parameters. - :param tags: The resource tags. + :param tags: A set of tags. The resource tags. :type tags: dict[str, str] """ @@ -1011,12 +1259,17 @@ class ClusterPatchParameters(Model): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, tags=None, **kwargs) -> None: + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): super(ClusterPatchParameters, self).__init__(**kwargs) self.tags = tags -class ClusterResizeParameters(Model): +class ClusterResizeParameters(msrest.serialization.Model): """The Resize Cluster request parameters. :param target_instance_count: The target instance count for the operation. @@ -1027,12 +1280,47 @@ class ClusterResizeParameters(Model): 'target_instance_count': {'key': 'targetInstanceCount', 'type': 'int'}, } - def __init__(self, *, target_instance_count: int=None, **kwargs) -> None: + def __init__( + self, + *, + target_instance_count: Optional[int] = None, + **kwargs + ): super(ClusterResizeParameters, self).__init__(**kwargs) self.target_instance_count = target_instance_count -class ComputeProfile(Model): +class ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): + """ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ComponentsC51Ht8SchemasClusteridentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + +class ComputeProfile(msrest.serialization.Model): """Describes the compute profile. :param roles: The list of roles in the cluster. @@ -1043,12 +1331,17 @@ class ComputeProfile(Model): 'roles': {'key': 'roles', 'type': '[Role]'}, } - def __init__(self, *, roles=None, **kwargs) -> None: + def __init__( + self, + *, + roles: Optional[List["Role"]] = None, + **kwargs + ): super(ComputeProfile, self).__init__(**kwargs) self.roles = roles -class ConnectivityEndpoint(Model): +class ConnectivityEndpoint(msrest.serialization.Model): """The connectivity properties. :param name: The name of the endpoint. @@ -1068,7 +1361,15 @@ class ConnectivityEndpoint(Model): 'port': {'key': 'port', 'type': 'int'}, } - def __init__(self, *, name: str=None, protocol: str=None, location: str=None, port: int=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + protocol: Optional[str] = None, + location: Optional[str] = None, + port: Optional[int] = None, + **kwargs + ): super(ConnectivityEndpoint, self).__init__(**kwargs) self.name = name self.protocol = protocol @@ -1076,16 +1377,14 @@ def __init__(self, *, name: str=None, protocol: str=None, location: str=None, po self.port = port -class DataDisksGroups(Model): +class DataDisksGroups(msrest.serialization.Model): """The data disks groups for the role. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :param disks_per_node: The number of disks per node. :type disks_per_node: int - :ivar storage_account_type: ReadOnly. The storage account type. Do not set - this value. + :ivar storage_account_type: ReadOnly. The storage account type. Do not set this value. :vartype storage_account_type: str :ivar disk_size_gb: ReadOnly. The DiskSize in GB. Do not set this value. :vartype disk_size_gb: int @@ -1102,56 +1401,67 @@ class DataDisksGroups(Model): 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, } - def __init__(self, *, disks_per_node: int=None, **kwargs) -> None: + def __init__( + self, + *, + disks_per_node: Optional[int] = None, + **kwargs + ): super(DataDisksGroups, self).__init__(**kwargs) self.disks_per_node = disks_per_node self.storage_account_type = None self.disk_size_gb = None -class DiskBillingMeters(Model): +class DiskBillingMeters(msrest.serialization.Model): """The disk billing meters. :param disk_rp_meter: The managed disk meter guid. :type disk_rp_meter: str :param sku: The managed disk billing sku, P30 or S30. :type sku: str - :param tier: The managed disk billing tier, Standard or Premium. Possible - values include: 'Standard', 'Premium' + :param tier: The managed disk billing tier, Standard or Premium. Possible values include: + "Standard", "Premium". :type tier: str or ~azure.mgmt.hdinsight.models.Tier """ _attribute_map = { 'disk_rp_meter': {'key': 'diskRpMeter', 'type': 'str'}, 'sku': {'key': 'sku', 'type': 'str'}, - 'tier': {'key': 'tier', 'type': 'Tier'}, + 'tier': {'key': 'tier', 'type': 'str'}, } - def __init__(self, *, disk_rp_meter: str=None, sku: str=None, tier=None, **kwargs) -> None: + def __init__( + self, + *, + disk_rp_meter: Optional[str] = None, + sku: Optional[str] = None, + tier: Optional[Union[str, "Tier"]] = None, + **kwargs + ): super(DiskBillingMeters, self).__init__(**kwargs) self.disk_rp_meter = disk_rp_meter self.sku = sku self.tier = tier -class DiskEncryptionProperties(Model): +class DiskEncryptionProperties(msrest.serialization.Model): """The disk encryption properties. - :param vault_uri: Base key vault URI where the customers key is located - eg. https://myvault.vault.azure.net + :param vault_uri: Base key vault URI where the customers key is located eg. + https://myvault.vault.azure.net. :type vault_uri: str :param key_name: Key name that is used for enabling disk encryption. :type key_name: str - :param key_version: Specific key version that is used for enabling disk - encryption. + :param key_version: Specific key version that is used for enabling disk encryption. :type key_version: str - :param encryption_algorithm: Algorithm identifier for encryption, default - RSA-OAEP. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - :type encryption_algorithm: str or - ~azure.mgmt.hdinsight.models.JsonWebKeyEncryptionAlgorithm - :param msi_resource_id: Resource ID of Managed Identity that is used to - access the key vault. + :param encryption_algorithm: Algorithm identifier for encryption, default RSA-OAEP. Possible + values include: "RSA-OAEP", "RSA-OAEP-256", "RSA1_5". + :type encryption_algorithm: str or ~azure.mgmt.hdinsight.models.JsonWebKeyEncryptionAlgorithm + :param msi_resource_id: Resource ID of Managed Identity that is used to access the key vault. :type msi_resource_id: str + :param encryption_at_host: Indicates whether or not resource disk encryption is enabled. + :type encryption_at_host: bool """ _attribute_map = { @@ -1160,21 +1470,55 @@ class DiskEncryptionProperties(Model): 'key_version': {'key': 'keyVersion', 'type': 'str'}, 'encryption_algorithm': {'key': 'encryptionAlgorithm', 'type': 'str'}, 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, - } - - def __init__(self, *, vault_uri: str=None, key_name: str=None, key_version: str=None, encryption_algorithm=None, msi_resource_id: str=None, **kwargs) -> None: + 'encryption_at_host': {'key': 'encryptionAtHost', 'type': 'bool'}, + } + + def __init__( + self, + *, + vault_uri: Optional[str] = None, + key_name: Optional[str] = None, + key_version: Optional[str] = None, + encryption_algorithm: Optional[Union[str, "JsonWebKeyEncryptionAlgorithm"]] = None, + msi_resource_id: Optional[str] = None, + encryption_at_host: Optional[bool] = False, + **kwargs + ): super(DiskEncryptionProperties, self).__init__(**kwargs) self.vault_uri = vault_uri self.key_name = key_name self.key_version = key_version self.encryption_algorithm = encryption_algorithm self.msi_resource_id = msi_resource_id + self.encryption_at_host = encryption_at_host + + +class EncryptionInTransitProperties(msrest.serialization.Model): + """The encryption-in-transit properties. + + :param is_encryption_in_transit_enabled: Indicates whether or not inter cluster node + communication is encrypted in transit. + :type is_encryption_in_transit_enabled: bool + """ + + _attribute_map = { + 'is_encryption_in_transit_enabled': {'key': 'isEncryptionInTransitEnabled', 'type': 'bool'}, + } + + def __init__( + self, + *, + is_encryption_in_transit_enabled: Optional[bool] = False, + **kwargs + ): + super(EncryptionInTransitProperties, self).__init__(**kwargs) + self.is_encryption_in_transit_enabled = is_encryption_in_transit_enabled -class ErrorResponse(Model): +class ErrorResponse(msrest.serialization.Model): """Describes the format of Error response. - :param code: Error code + :param code: Error code. :type code: str :param message: Error message indicating why the operation failed. :type message: str @@ -1185,25 +1529,19 @@ class ErrorResponse(Model): 'message': {'key': 'message', 'type': 'str'}, } - def __init__(self, *, code: str=None, message: str=None, **kwargs) -> None: + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + **kwargs + ): super(ErrorResponse, self).__init__(**kwargs) self.code = code self.message = message -class ErrorResponseException(HttpOperationError): - """Server responsed with exception of type: 'ErrorResponse'. - - :param deserialize: A deserializer - :param response: Server response to be deserialized. - """ - - def __init__(self, deserialize, response, *args): - - super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) - - -class Errors(Model): +class Errors(msrest.serialization.Model): """The error message associated with the cluster creation. :param code: The error code. @@ -1217,22 +1555,26 @@ class Errors(Model): 'message': {'key': 'message', 'type': 'str'}, } - def __init__(self, *, code: str=None, message: str=None, **kwargs) -> None: + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + **kwargs + ): super(Errors, self).__init__(**kwargs) self.code = code self.message = message -class ExecuteScriptActionParameters(Model): +class ExecuteScriptActionParameters(msrest.serialization.Model): """The parameters for the script actions to execute on a running cluster. All required parameters must be populated in order to send to Azure. :param script_actions: The list of run time script actions. - :type script_actions: - list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] - :param persist_on_success: Required. Gets or sets if the scripts needs to - be persisted. + :type script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :param persist_on_success: Required. Gets or sets if the scripts needs to be persisted. :type persist_on_success: bool """ @@ -1245,17 +1587,22 @@ class ExecuteScriptActionParameters(Model): 'persist_on_success': {'key': 'persistOnSuccess', 'type': 'bool'}, } - def __init__(self, *, persist_on_success: bool, script_actions=None, **kwargs) -> None: + def __init__( + self, + *, + persist_on_success: bool, + script_actions: Optional[List["RuntimeScriptAction"]] = None, + **kwargs + ): super(ExecuteScriptActionParameters, self).__init__(**kwargs) self.script_actions = script_actions self.persist_on_success = persist_on_success -class Extension(Model): +class Extension(msrest.serialization.Model): """Cluster monitoring extensions. - :param workspace_id: The workspace ID for the cluster monitoring - extension. + :param workspace_id: The workspace ID for the cluster monitoring extension. :type workspace_id: str :param primary_key: The certificate for the cluster monitoring extensions. :type primary_key: str @@ -1266,20 +1613,25 @@ class Extension(Model): 'primary_key': {'key': 'primaryKey', 'type': 'str'}, } - def __init__(self, *, workspace_id: str=None, primary_key: str=None, **kwargs) -> None: + def __init__( + self, + *, + workspace_id: Optional[str] = None, + primary_key: Optional[str] = None, + **kwargs + ): super(Extension, self).__init__(**kwargs) self.workspace_id = workspace_id self.primary_key = primary_key -class GatewaySettings(Model): +class GatewaySettings(msrest.serialization.Model): """Gateway settings. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. - :ivar is_credential_enabled: Indicates whether or not the gateway settings - based authorization is enabled. + :ivar is_credential_enabled: Indicates whether or not the gateway settings based authorization + is enabled. :vartype is_credential_enabled: str :ivar user_name: The gateway settings user name. :vartype user_name: str @@ -1299,17 +1651,20 @@ class GatewaySettings(Model): 'password': {'key': 'restAuthCredential\\.password', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(GatewaySettings, self).__init__(**kwargs) self.is_credential_enabled = None self.user_name = None self.password = None -class HardwareProfile(Model): +class HardwareProfile(msrest.serialization.Model): """The hardware profile. - :param vm_size: The size of the VM + :param vm_size: The size of the VM. :type vm_size: str """ @@ -1317,14 +1672,39 @@ class HardwareProfile(Model): 'vm_size': {'key': 'vmSize', 'type': 'str'}, } - def __init__(self, *, vm_size: str=None, **kwargs) -> None: + def __init__( + self, + *, + vm_size: Optional[str] = None, + **kwargs + ): super(HardwareProfile, self).__init__(**kwargs) self.vm_size = vm_size -class KafkaRestProperties(Model): - """The kafka rest proxy configuration which contains AAD security group - information. +class HostInfo(msrest.serialization.Model): + """The cluster host information. + + :param name: The host name. + :type name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + **kwargs + ): + super(HostInfo, self).__init__(**kwargs) + self.name = name + + +class KafkaRestProperties(msrest.serialization.Model): + """The kafka rest proxy configuration which contains AAD security group information. :param client_group_info: The information of AAD security group. :type client_group_info: ~azure.mgmt.hdinsight.models.ClientGroupInfo @@ -1334,12 +1714,17 @@ class KafkaRestProperties(Model): 'client_group_info': {'key': 'clientGroupInfo', 'type': 'ClientGroupInfo'}, } - def __init__(self, *, client_group_info=None, **kwargs) -> None: + def __init__( + self, + *, + client_group_info: Optional["ClientGroupInfo"] = None, + **kwargs + ): super(KafkaRestProperties, self).__init__(**kwargs) self.client_group_info = client_group_info -class LinuxOperatingSystemProfile(Model): +class LinuxOperatingSystemProfile(msrest.serialization.Model): """The ssh username, password, and ssh public key. :param username: The username. @@ -1356,14 +1741,21 @@ class LinuxOperatingSystemProfile(Model): 'ssh_profile': {'key': 'sshProfile', 'type': 'SshProfile'}, } - def __init__(self, *, username: str=None, password: str=None, ssh_profile=None, **kwargs) -> None: + def __init__( + self, + *, + username: Optional[str] = None, + password: Optional[str] = None, + ssh_profile: Optional["SshProfile"] = None, + **kwargs + ): super(LinuxOperatingSystemProfile, self).__init__(**kwargs) self.username = username self.password = password self.ssh_profile = ssh_profile -class LocalizedName(Model): +class LocalizedName(msrest.serialization.Model): """The details about the localizable name of a type of usage. :param value: The name of the used resource. @@ -1377,16 +1769,51 @@ class LocalizedName(Model): 'localized_value': {'key': 'localizedValue', 'type': 'str'}, } - def __init__(self, *, value: str=None, localized_value: str=None, **kwargs) -> None: + def __init__( + self, + *, + value: Optional[str] = None, + localized_value: Optional[str] = None, + **kwargs + ): super(LocalizedName, self).__init__(**kwargs) self.value = value self.localized_value = localized_value -class Operation(Model): +class NetworkProperties(msrest.serialization.Model): + """The network properties. + + :param resource_provider_connection: The direction for the resource provider connection. + Possible values include: "Inbound", "Outbound". + :type resource_provider_connection: str or + ~azure.mgmt.hdinsight.models.ResourceProviderConnection + :param private_link: Indicates whether or not private link is enabled. Possible values include: + "Disabled", "Enabled". + :type private_link: str or ~azure.mgmt.hdinsight.models.PrivateLink + """ + + _attribute_map = { + 'resource_provider_connection': {'key': 'resourceProviderConnection', 'type': 'str'}, + 'private_link': {'key': 'privateLink', 'type': 'str'}, + } + + def __init__( + self, + *, + resource_provider_connection: Optional[Union[str, "ResourceProviderConnection"]] = None, + private_link: Optional[Union[str, "PrivateLink"]] = None, + **kwargs + ): + super(NetworkProperties, self).__init__(**kwargs) + self.resource_provider_connection = resource_provider_connection + self.private_link = private_link + + +class Operation(msrest.serialization.Model): """The HDInsight REST API operation. - :param name: The operation name: {provider}/{resource}/{operation} + :param name: The operation name: {provider}/{resource}/{operation}. :type name: str :param display: The object that represents the operation. :type display: ~azure.mgmt.hdinsight.models.OperationDisplay @@ -1397,19 +1824,24 @@ class Operation(Model): 'display': {'key': 'display', 'type': 'OperationDisplay'}, } - def __init__(self, *, name: str=None, display=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["OperationDisplay"] = None, + **kwargs + ): super(Operation, self).__init__(**kwargs) self.name = name self.display = display -class OperationDisplay(Model): +class OperationDisplay(msrest.serialization.Model): """The object that represents the operation. - :param provider: The service provider: Microsoft.HDInsight + :param provider: The service provider: Microsoft.HDInsight. :type provider: str - :param resource: The resource on which the operation is performed: - Cluster, Applications, etc. + :param resource: The resource on which the operation is performed: Cluster, Applications, etc. :type resource: str :param operation: The operation type: read, write, delete, etc. :type operation: str @@ -1421,62 +1853,135 @@ class OperationDisplay(Model): 'operation': {'key': 'operation', 'type': 'str'}, } - def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, **kwargs) -> None: + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + **kwargs + ): super(OperationDisplay, self).__init__(**kwargs) self.provider = provider self.resource = resource self.operation = operation -class OperationResource(Model): +class OperationListResult(msrest.serialization.Model): + """Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results. + + :param value: The list of HDInsight operations supported by the HDInsight resource provider. + :type value: list[~azure.mgmt.hdinsight.models.Operation] + :param next_link: The URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Operation"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class OperationResource(msrest.serialization.Model): """The azure async operation response. - :param status: The async operation state. Possible values include: - 'InProgress', 'Succeeded', 'Failed' + :param status: The async operation state. Possible values include: "InProgress", "Succeeded", + "Failed". :type status: str or ~azure.mgmt.hdinsight.models.AsyncOperationState :param error: The operation error information. :type error: ~azure.mgmt.hdinsight.models.Errors """ _attribute_map = { - 'status': {'key': 'status', 'type': 'AsyncOperationState'}, + 'status': {'key': 'status', 'type': 'str'}, 'error': {'key': 'error', 'type': 'Errors'}, } - def __init__(self, *, status=None, error=None, **kwargs) -> None: + def __init__( + self, + *, + status: Optional[Union[str, "AsyncOperationState"]] = None, + error: Optional["Errors"] = None, + **kwargs + ): super(OperationResource, self).__init__(**kwargs) self.status = status self.error = error -class OsProfile(Model): +class OsProfile(msrest.serialization.Model): """The Linux operation systems profile. :param linux_operating_system_profile: The Linux OS profile. - :type linux_operating_system_profile: - ~azure.mgmt.hdinsight.models.LinuxOperatingSystemProfile + :type linux_operating_system_profile: ~azure.mgmt.hdinsight.models.LinuxOperatingSystemProfile """ _attribute_map = { 'linux_operating_system_profile': {'key': 'linuxOperatingSystemProfile', 'type': 'LinuxOperatingSystemProfile'}, } - def __init__(self, *, linux_operating_system_profile=None, **kwargs) -> None: + def __init__( + self, + *, + linux_operating_system_profile: Optional["LinuxOperatingSystemProfile"] = None, + **kwargs + ): super(OsProfile, self).__init__(**kwargs) self.linux_operating_system_profile = linux_operating_system_profile -class QuotaCapability(Model): +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource Id for the resource. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class QuotaCapability(msrest.serialization.Model): """The regional quota capability. :param cores_used: The number of cores used in the subscription. :type cores_used: long - :param max_cores_allowed: The number of cores that the subscription - allowed. + :param max_cores_allowed: The number of cores that the subscription allowed. :type max_cores_allowed: long :param regional_quotas: The list of region quota capabilities. - :type regional_quotas: - list[~azure.mgmt.hdinsight.models.RegionalQuotaCapability] + :type regional_quotas: list[~azure.mgmt.hdinsight.models.RegionalQuotaCapability] """ _attribute_map = { @@ -1485,14 +1990,21 @@ class QuotaCapability(Model): 'regional_quotas': {'key': 'regionalQuotas', 'type': '[RegionalQuotaCapability]'}, } - def __init__(self, *, cores_used: int=None, max_cores_allowed: int=None, regional_quotas=None, **kwargs) -> None: + def __init__( + self, + *, + cores_used: Optional[int] = None, + max_cores_allowed: Optional[int] = None, + regional_quotas: Optional[List["RegionalQuotaCapability"]] = None, + **kwargs + ): super(QuotaCapability, self).__init__(**kwargs) self.cores_used = cores_used self.max_cores_allowed = max_cores_allowed self.regional_quotas = regional_quotas -class QuotaInfo(Model): +class QuotaInfo(msrest.serialization.Model): """The quota properties for the cluster. :param cores_used: The cores used by the cluster. @@ -1503,12 +2015,17 @@ class QuotaInfo(Model): 'cores_used': {'key': 'coresUsed', 'type': 'int'}, } - def __init__(self, *, cores_used: int=None, **kwargs) -> None: + def __init__( + self, + *, + cores_used: Optional[int] = None, + **kwargs + ): super(QuotaInfo, self).__init__(**kwargs) self.cores_used = cores_used -class RegionalQuotaCapability(Model): +class RegionalQuotaCapability(msrest.serialization.Model): """The regional quota capacity. :param region_name: The region name. @@ -1525,14 +2042,21 @@ class RegionalQuotaCapability(Model): 'cores_available': {'key': 'cores_available', 'type': 'long'}, } - def __init__(self, *, region_name: str=None, cores_used: int=None, cores_available: int=None, **kwargs) -> None: + def __init__( + self, + *, + region_name: Optional[str] = None, + cores_used: Optional[int] = None, + cores_available: Optional[int] = None, + **kwargs + ): super(RegionalQuotaCapability, self).__init__(**kwargs) self.region_name = region_name self.cores_used = cores_used self.cores_available = cores_available -class RegionsCapability(Model): +class RegionsCapability(msrest.serialization.Model): """The regions capability. :param available: The list of region capabilities. @@ -1543,12 +2067,17 @@ class RegionsCapability(Model): 'available': {'key': 'available', 'type': '[str]'}, } - def __init__(self, *, available=None, **kwargs) -> None: + def __init__( + self, + *, + available: Optional[List[str]] = None, + **kwargs + ): super(RegionsCapability, self).__init__(**kwargs) self.available = available -class Role(Model): +class Role(msrest.serialization.Model): """Describes a role on the cluster. :param name: The name of the role. @@ -1564,11 +2093,9 @@ class Role(Model): :param os_profile: The operating system profile. :type os_profile: ~azure.mgmt.hdinsight.models.OsProfile :param virtual_network_profile: The virtual network profile. - :type virtual_network_profile: - ~azure.mgmt.hdinsight.models.VirtualNetworkProfile + :type virtual_network_profile: ~azure.mgmt.hdinsight.models.VirtualNetworkProfile :param data_disks_groups: The data disks groups for the role. - :type data_disks_groups: - list[~azure.mgmt.hdinsight.models.DataDisksGroups] + :type data_disks_groups: list[~azure.mgmt.hdinsight.models.DataDisksGroups] :param script_actions: The list of script actions on the role. :type script_actions: list[~azure.mgmt.hdinsight.models.ScriptAction] """ @@ -1585,7 +2112,20 @@ class Role(Model): 'script_actions': {'key': 'scriptActions', 'type': '[ScriptAction]'}, } - def __init__(self, *, name: str=None, min_instance_count: int=None, target_instance_count: int=None, autoscale_configuration=None, hardware_profile=None, os_profile=None, virtual_network_profile=None, data_disks_groups=None, script_actions=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + min_instance_count: Optional[int] = None, + target_instance_count: Optional[int] = None, + autoscale_configuration: Optional["Autoscale"] = None, + hardware_profile: Optional["HardwareProfile"] = None, + os_profile: Optional["OsProfile"] = None, + virtual_network_profile: Optional["VirtualNetworkProfile"] = None, + data_disks_groups: Optional[List["DataDisksGroups"]] = None, + script_actions: Optional[List["ScriptAction"]] = None, + **kwargs + ): super(Role, self).__init__(**kwargs) self.name = name self.min_instance_count = min_instance_count @@ -1598,11 +2138,10 @@ def __init__(self, *, name: str=None, min_instance_count: int=None, target_insta self.script_actions = script_actions -class RuntimeScriptAction(Model): +class RuntimeScriptAction(msrest.serialization.Model): """Describes a script action on a running cluster. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -1610,7 +2149,7 @@ class RuntimeScriptAction(Model): :type name: str :param uri: Required. The URI to the script. :type uri: str - :param parameters: The parameters for the script + :param parameters: The parameters for the script. :type parameters: str :param roles: Required. The list of roles where script will be executed. :type roles: list[str] @@ -1633,7 +2172,15 @@ class RuntimeScriptAction(Model): 'application_name': {'key': 'applicationName', 'type': 'str'}, } - def __init__(self, *, name: str, uri: str, roles, parameters: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: str, + uri: str, + roles: List[str], + parameters: Optional[str] = None, + **kwargs + ): super(RuntimeScriptAction, self).__init__(**kwargs) self.name = name self.uri = uri @@ -1645,8 +2192,7 @@ def __init__(self, *, name: str, uri: str, roles, parameters: str=None, **kwargs class RuntimeScriptActionDetail(RuntimeScriptAction): """The execution details of a script action. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. @@ -1654,7 +2200,7 @@ class RuntimeScriptActionDetail(RuntimeScriptAction): :type name: str :param uri: Required. The URI to the script. :type uri: str - :param parameters: The parameters for the script + :param parameters: The parameters for the script. :type parameters: str :param roles: Required. The list of roles where script will be executed. :type roles: list[str] @@ -1671,8 +2217,7 @@ class RuntimeScriptActionDetail(RuntimeScriptAction): :ivar operation: The reason why the script action was executed. :vartype operation: str :ivar execution_summary: The summary of script action execution result. - :vartype execution_summary: - list[~azure.mgmt.hdinsight.models.ScriptActionExecutionSummary] + :vartype execution_summary: list[~azure.mgmt.hdinsight.models.ScriptActionExecutionSummary] :ivar debug_information: The script action execution debug information. :vartype debug_information: str """ @@ -1706,7 +2251,15 @@ class RuntimeScriptActionDetail(RuntimeScriptAction): 'debug_information': {'key': 'debugInformation', 'type': 'str'}, } - def __init__(self, *, name: str, uri: str, roles, parameters: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: str, + uri: str, + roles: List[str], + parameters: Optional[str] = None, + **kwargs + ): super(RuntimeScriptActionDetail, self).__init__(name=name, uri=uri, parameters=parameters, roles=roles, **kwargs) self.script_execution_id = None self.start_time = None @@ -1717,7 +2270,7 @@ def __init__(self, *, name: str, uri: str, roles, parameters: str=None, **kwargs self.debug_information = None -class ScriptAction(Model): +class ScriptAction(msrest.serialization.Model): """Describes a script action on role on the cluster. All required parameters must be populated in order to send to Azure. @@ -1742,23 +2295,58 @@ class ScriptAction(Model): 'parameters': {'key': 'parameters', 'type': 'str'}, } - def __init__(self, *, name: str, uri: str, parameters: str, **kwargs) -> None: + def __init__( + self, + *, + name: str, + uri: str, + parameters: str, + **kwargs + ): super(ScriptAction, self).__init__(**kwargs) self.name = name self.uri = uri self.parameters = parameters -class ScriptActionExecutionSummary(Model): +class ScriptActionExecutionHistoryList(msrest.serialization.Model): + """The list script execution history response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of persisted script action details for the cluster. + :vartype value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RuntimeScriptActionDetail]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ScriptActionExecutionHistoryList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ScriptActionExecutionSummary(msrest.serialization.Model): """The execution summary of a script action. - Variables are only populated by the server, and will be ignored when - sending a request. + Variables are only populated by the server, and will be ignored when sending a request. :ivar status: The status of script action execution. :vartype status: str - :ivar instance_count: The instance count for a given script action - execution status. + :ivar instance_count: The instance count for a given script action execution status. :vartype instance_count: int """ @@ -1772,13 +2360,16 @@ class ScriptActionExecutionSummary(Model): 'instance_count': {'key': 'instanceCount', 'type': 'int'}, } - def __init__(self, **kwargs) -> None: + def __init__( + self, + **kwargs + ): super(ScriptActionExecutionSummary, self).__init__(**kwargs) self.status = None self.instance_count = None -class ScriptActionPersistedGetResponseSpec(Model): +class ScriptActionPersistedGetResponseSpec(msrest.serialization.Model): """The persisted script action for cluster. :param name: The name of script action. @@ -1801,7 +2392,16 @@ class ScriptActionPersistedGetResponseSpec(Model): 'application_name': {'key': 'applicationName', 'type': 'str'}, } - def __init__(self, *, name: str=None, uri: str=None, parameters: str=None, roles=None, application_name: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + uri: Optional[str] = None, + parameters: Optional[str] = None, + roles: Optional[List[str]] = None, + application_name: Optional[str] = None, + **kwargs + ): super(ScriptActionPersistedGetResponseSpec, self).__init__(**kwargs) self.name = name self.uri = uri @@ -1810,63 +2410,107 @@ def __init__(self, *, name: str=None, uri: str=None, parameters: str=None, roles self.application_name = application_name -class SecurityProfile(Model): - """The security profile which contains Ssh public key for the HDInsight - cluster. +class ScriptActionsList(msrest.serialization.Model): + """The persisted script action for the cluster. + + Variables are only populated by the server, and will be ignored when sending a request. - :param directory_type: The directory type. Possible values include: - 'ActiveDirectory' - :type directory_type: str or ~azure.mgmt.hdinsight.models.DirectoryType + :param value: The list of persisted script action details for the cluster. + :type value: list[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] + :ivar next_link: The link (url) to the next page of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RuntimeScriptActionDetail]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["RuntimeScriptActionDetail"]] = None, + **kwargs + ): + super(ScriptActionsList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class SecurityProfile(msrest.serialization.Model): + """The security profile which contains Ssh public key for the HDInsight cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar directory_type: The directory type. Default value: "ActiveDirectory". + :vartype directory_type: str :param domain: The organization's active directory domain. :type domain: str - :param organizational_unit_dn: The organizational unit within the Active - Directory to place the cluster and service accounts. + :param organizational_unit_dn: The organizational unit within the Active Directory to place the + cluster and service accounts. :type organizational_unit_dn: str - :param ldaps_urls: The LDAPS protocol URLs to communicate with the Active - Directory. + :param ldaps_urls: The LDAPS protocol URLs to communicate with the Active Directory. :type ldaps_urls: list[str] - :param domain_username: The domain user account that will have admin - privileges on the cluster. + :param domain_username: The domain user account that will have admin privileges on the cluster. :type domain_username: str :param domain_user_password: The domain admin password. :type domain_user_password: str - :param cluster_users_group_dns: Optional. The Distinguished Names for - cluster user groups - :type cluster_users_group_dns: list[str] - :param aadds_resource_id: The resource ID of the user's Azure Active - Directory Domain Service. + :param cluster_users_group_d_ns: Optional. The Distinguished Names for cluster user groups. + :type cluster_users_group_d_ns: list[str] + :param aadds_resource_id: The resource ID of the user's Azure Active Directory Domain Service. :type aadds_resource_id: str - :param msi_resource_id: User assigned identity that has permissions to - read and create cluster-related artifacts in the user's AADDS. + :param msi_resource_id: User assigned identity that has permissions to read and create cluster- + related artifacts in the user's AADDS. :type msi_resource_id: str """ + _validation = { + 'directory_type': {'constant': True}, + } + _attribute_map = { - 'directory_type': {'key': 'directoryType', 'type': 'DirectoryType'}, + 'directory_type': {'key': 'directoryType', 'type': 'str'}, 'domain': {'key': 'domain', 'type': 'str'}, 'organizational_unit_dn': {'key': 'organizationalUnitDN', 'type': 'str'}, 'ldaps_urls': {'key': 'ldapsUrls', 'type': '[str]'}, 'domain_username': {'key': 'domainUsername', 'type': 'str'}, 'domain_user_password': {'key': 'domainUserPassword', 'type': 'str'}, - 'cluster_users_group_dns': {'key': 'clusterUsersGroupDNs', 'type': '[str]'}, + 'cluster_users_group_d_ns': {'key': 'clusterUsersGroupDNs', 'type': '[str]'}, 'aadds_resource_id': {'key': 'aaddsResourceId', 'type': 'str'}, 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, } - def __init__(self, *, directory_type=None, domain: str=None, organizational_unit_dn: str=None, ldaps_urls=None, domain_username: str=None, domain_user_password: str=None, cluster_users_group_dns=None, aadds_resource_id: str=None, msi_resource_id: str=None, **kwargs) -> None: + directory_type = "ActiveDirectory" + + def __init__( + self, + *, + domain: Optional[str] = None, + organizational_unit_dn: Optional[str] = None, + ldaps_urls: Optional[List[str]] = None, + domain_username: Optional[str] = None, + domain_user_password: Optional[str] = None, + cluster_users_group_d_ns: Optional[List[str]] = None, + aadds_resource_id: Optional[str] = None, + msi_resource_id: Optional[str] = None, + **kwargs + ): super(SecurityProfile, self).__init__(**kwargs) - self.directory_type = directory_type self.domain = domain self.organizational_unit_dn = organizational_unit_dn self.ldaps_urls = ldaps_urls self.domain_username = domain_username self.domain_user_password = domain_user_password - self.cluster_users_group_dns = cluster_users_group_dns + self.cluster_users_group_d_ns = cluster_users_group_d_ns self.aadds_resource_id = aadds_resource_id self.msi_resource_id = msi_resource_id -class SshProfile(Model): +class SshProfile(msrest.serialization.Model): """The list of SSH public keys. :param public_keys: The list of SSH public keys. @@ -1877,12 +2521,17 @@ class SshProfile(Model): 'public_keys': {'key': 'publicKeys', 'type': '[SshPublicKey]'}, } - def __init__(self, *, public_keys=None, **kwargs) -> None: + def __init__( + self, + *, + public_keys: Optional[List["SshPublicKey"]] = None, + **kwargs + ): super(SshProfile, self).__init__(**kwargs) self.public_keys = public_keys -class SshPublicKey(Model): +class SshPublicKey(msrest.serialization.Model): """The SSH public key for the cluster nodes. :param certificate_data: The certificate for SSH. @@ -1893,33 +2542,35 @@ class SshPublicKey(Model): 'certificate_data': {'key': 'certificateData', 'type': 'str'}, } - def __init__(self, *, certificate_data: str=None, **kwargs) -> None: + def __init__( + self, + *, + certificate_data: Optional[str] = None, + **kwargs + ): super(SshPublicKey, self).__init__(**kwargs) self.certificate_data = certificate_data -class StorageAccount(Model): +class StorageAccount(msrest.serialization.Model): """The storage Account. :param name: The name of the storage account. :type name: str - :param is_default: Whether or not the storage account is the default - storage account. + :param is_default: Whether or not the storage account is the default storage account. :type is_default: bool - :param container: The container in the storage account, only to be - specified for WASB storage accounts. + :param container: The container in the storage account, only to be specified for WASB storage + accounts. :type container: str - :param file_system: The filesystem, only to be specified for Azure Data - Lake Storage Gen 2. + :param file_system: The filesystem, only to be specified for Azure Data Lake Storage Gen 2. :type file_system: str :param key: The storage account access key. :type key: str - :param resource_id: The resource ID of storage account, only to be - specified for Azure Data Lake Storage Gen 2. + :param resource_id: The resource ID of storage account, only to be specified for Azure Data + Lake Storage Gen 2. :type resource_id: str - :param msi_resource_id: The managed identity (MSI) that is allowed to - access the storage account, only to be specified for Azure Data Lake - Storage Gen 2. + :param msi_resource_id: The managed identity (MSI) that is allowed to access the storage + account, only to be specified for Azure Data Lake Storage Gen 2. :type msi_resource_id: str """ @@ -1933,7 +2584,18 @@ class StorageAccount(Model): 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, } - def __init__(self, *, name: str=None, is_default: bool=None, container: str=None, file_system: str=None, key: str=None, resource_id: str=None, msi_resource_id: str=None, **kwargs) -> None: + def __init__( + self, + *, + name: Optional[str] = None, + is_default: Optional[bool] = None, + container: Optional[str] = None, + file_system: Optional[str] = None, + key: Optional[str] = None, + resource_id: Optional[str] = None, + msi_resource_id: Optional[str] = None, + **kwargs + ): super(StorageAccount, self).__init__(**kwargs) self.name = name self.is_default = is_default @@ -1944,7 +2606,7 @@ def __init__(self, *, name: str=None, is_default: bool=None, container: str=None self.msi_resource_id = msi_resource_id -class StorageProfile(Model): +class StorageProfile(msrest.serialization.Model): """The storage profile. :param storageaccounts: The list of storage accounts in the cluster. @@ -1955,16 +2617,21 @@ class StorageProfile(Model): 'storageaccounts': {'key': 'storageaccounts', 'type': '[StorageAccount]'}, } - def __init__(self, *, storageaccounts=None, **kwargs) -> None: + def __init__( + self, + *, + storageaccounts: Optional[List["StorageAccount"]] = None, + **kwargs + ): super(StorageProfile, self).__init__(**kwargs) self.storageaccounts = storageaccounts -class UpdateGatewaySettingsParameters(Model): +class UpdateGatewaySettingsParameters(msrest.serialization.Model): """The update gateway settings request parameters. - :param is_credential_enabled: Indicates whether or not the gateway - settings based authorization is enabled. Default value: True . + :param is_credential_enabled: Indicates whether or not the gateway settings based authorization + is enabled. :type is_credential_enabled: bool :param user_name: The gateway settings user name. :type user_name: str @@ -1978,26 +2645,39 @@ class UpdateGatewaySettingsParameters(Model): 'password': {'key': 'restAuthCredential\\.password', 'type': 'str'}, } - def __init__(self, *, is_credential_enabled: bool=True, user_name: str=None, password: str=None, **kwargs) -> None: + def __init__( + self, + *, + is_credential_enabled: Optional[bool] = True, + user_name: Optional[str] = None, + password: Optional[str] = None, + **kwargs + ): super(UpdateGatewaySettingsParameters, self).__init__(**kwargs) self.is_credential_enabled = is_credential_enabled self.user_name = user_name self.password = password -class Usage(Model): +class Usage(msrest.serialization.Model): """The details about the usage of a particular limited resource. + Variables are only populated by the server, and will be ignored when sending a request. + :param unit: The type of measurement for usage. :type unit: str :param current_value: The current usage. :type current_value: int :param limit: The maximum allowed usage. :type limit: int - :param name: The details about the localizable name of the used resource. - :type name: ~azure.mgmt.hdinsight.models.LocalizedName + :ivar name: The details about the localizable name of the used resource. + :vartype name: ~azure.mgmt.hdinsight.models.LocalizedName """ + _validation = { + 'name': {'readonly': True}, + } + _attribute_map = { 'unit': {'key': 'unit', 'type': 'str'}, 'current_value': {'key': 'currentValue', 'type': 'int'}, @@ -2005,15 +2685,22 @@ class Usage(Model): 'name': {'key': 'name', 'type': 'LocalizedName'}, } - def __init__(self, *, unit: str=None, current_value: int=None, limit: int=None, name=None, **kwargs) -> None: + def __init__( + self, + *, + unit: Optional[str] = None, + current_value: Optional[int] = None, + limit: Optional[int] = None, + **kwargs + ): super(Usage, self).__init__(**kwargs) self.unit = unit self.current_value = current_value self.limit = limit - self.name = name + self.name = None -class UsagesListResult(Model): +class UsagesListResult(msrest.serialization.Model): """The response for the operation to get regional usages for a subscription. :param value: The list of usages. @@ -2024,12 +2711,17 @@ class UsagesListResult(Model): 'value': {'key': 'value', 'type': '[Usage]'}, } - def __init__(self, *, value=None, **kwargs) -> None: + def __init__( + self, + *, + value: Optional[List["Usage"]] = None, + **kwargs + ): super(UsagesListResult, self).__init__(**kwargs) self.value = value -class VersionsCapability(Model): +class VersionsCapability(msrest.serialization.Model): """The version capability. :param available: The list of version capabilities. @@ -2040,17 +2732,22 @@ class VersionsCapability(Model): 'available': {'key': 'available', 'type': '[VersionSpec]'}, } - def __init__(self, *, available=None, **kwargs) -> None: + def __init__( + self, + *, + available: Optional[List["VersionSpec"]] = None, + **kwargs + ): super(VersionsCapability, self).__init__(**kwargs) self.available = available -class VersionSpec(Model): +class VersionSpec(msrest.serialization.Model): """The version properties. - :param friendly_name: The friendly name + :param friendly_name: The friendly name. :type friendly_name: str - :param display_name: The display name + :param display_name: The display name. :type display_name: str :param is_default: Whether or not the version is the default version. :type is_default: str @@ -2065,7 +2762,15 @@ class VersionSpec(Model): 'component_versions': {'key': 'componentVersions', 'type': '{str}'}, } - def __init__(self, *, friendly_name: str=None, display_name: str=None, is_default: str=None, component_versions=None, **kwargs) -> None: + def __init__( + self, + *, + friendly_name: Optional[str] = None, + display_name: Optional[str] = None, + is_default: Optional[str] = None, + component_versions: Optional[Dict[str, str]] = None, + **kwargs + ): super(VersionSpec, self).__init__(**kwargs) self.friendly_name = friendly_name self.display_name = display_name @@ -2073,7 +2778,7 @@ def __init__(self, *, friendly_name: str=None, display_name: str=None, is_defaul self.component_versions = component_versions -class VirtualNetworkProfile(Model): +class VirtualNetworkProfile(msrest.serialization.Model): """The virtual network properties. :param id: The ID of the virtual network. @@ -2087,13 +2792,19 @@ class VirtualNetworkProfile(Model): 'subnet': {'key': 'subnet', 'type': 'str'}, } - def __init__(self, *, id: str=None, subnet: str=None, **kwargs) -> None: + def __init__( + self, + *, + id: Optional[str] = None, + subnet: Optional[str] = None, + **kwargs + ): super(VirtualNetworkProfile, self).__init__(**kwargs) self.id = id self.subnet = subnet -class VmSizeCompatibilityFilter(Model): +class VmSizeCompatibilityFilter(msrest.serialization.Model): """The virtual machine type compatibility filter. :param filter_mode: The mode for the filter. @@ -2119,7 +2830,17 @@ class VmSizeCompatibilityFilter(Model): 'vmsizes': {'key': 'vmsizes', 'type': '[str]'}, } - def __init__(self, *, filter_mode: str=None, regions=None, cluster_flavors=None, node_types=None, cluster_versions=None, vmsizes=None, **kwargs) -> None: + def __init__( + self, + *, + filter_mode: Optional[str] = None, + regions: Optional[List[str]] = None, + cluster_flavors: Optional[List[str]] = None, + node_types: Optional[List[str]] = None, + cluster_versions: Optional[List[str]] = None, + vmsizes: Optional[List[str]] = None, + **kwargs + ): super(VmSizeCompatibilityFilter, self).__init__(**kwargs) self.filter_mode = filter_mode self.regions = regions @@ -2129,27 +2850,19 @@ def __init__(self, *, filter_mode: str=None, regions=None, cluster_flavors=None, self.vmsizes = vmsizes -class VmSizeCompatibilityFilterV2(Model): - """This class represent a single filter object that defines a multidimensional - set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and - ClusterVersions. The constraint should be defined based on the following: - FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of - exclusion/inclusion) and the ordering of the Filters. Later filters - override previous settings if conflicted. +class VmSizeCompatibilityFilterV2(msrest.serialization.Model): + """This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted. - :param filter_mode: The filtering mode. Effectively this can enabling or - disabling the VM sizes in a particular set. Possible values include: - 'Exclude', 'Include' + :param filter_mode: The filtering mode. Effectively this can enabling or disabling the VM sizes + in a particular set. Possible values include: "Exclude", "Include". :type filter_mode: str or ~azure.mgmt.hdinsight.models.FilterMode :param regions: The list of regions under the effect of the filter. :type regions: list[str] - :param cluster_flavors: The list of cluster flavors under the effect of - the filter. + :param cluster_flavors: The list of cluster flavors under the effect of the filter. :type cluster_flavors: list[str] :param node_types: The list of node types affected by the filter. :type node_types: list[str] - :param cluster_versions: The list of cluster versions affected in - Major.Minor format. + :param cluster_versions: The list of cluster versions affected in Major.Minor format. :type cluster_versions: list[str] :param os_type: The OSType affected, Windows or Linux. :type os_type: list[str or ~azure.mgmt.hdinsight.models.OSType] @@ -2163,11 +2876,22 @@ class VmSizeCompatibilityFilterV2(Model): 'cluster_flavors': {'key': 'clusterFlavors', 'type': '[str]'}, 'node_types': {'key': 'nodeTypes', 'type': '[str]'}, 'cluster_versions': {'key': 'clusterVersions', 'type': '[str]'}, - 'os_type': {'key': 'osType', 'type': '[OSType]'}, + 'os_type': {'key': 'osType', 'type': '[str]'}, 'vm_sizes': {'key': 'vmSizes', 'type': '[str]'}, } - def __init__(self, *, filter_mode=None, regions=None, cluster_flavors=None, node_types=None, cluster_versions=None, os_type=None, vm_sizes=None, **kwargs) -> None: + def __init__( + self, + *, + filter_mode: Optional[Union[str, "FilterMode"]] = None, + regions: Optional[List[str]] = None, + cluster_flavors: Optional[List[str]] = None, + node_types: Optional[List[str]] = None, + cluster_versions: Optional[List[str]] = None, + os_type: Optional[List[Union[str, "OSType"]]] = None, + vm_sizes: Optional[List[str]] = None, + **kwargs + ): super(VmSizeCompatibilityFilterV2, self).__init__(**kwargs) self.filter_mode = filter_mode self.regions = regions @@ -2178,7 +2902,7 @@ def __init__(self, *, filter_mode=None, regions=None, cluster_flavors=None, node self.vm_sizes = vm_sizes -class VmSizesCapability(Model): +class VmSizesCapability(msrest.serialization.Model): """The virtual machine sizes capability. :param available: The list of virtual machine size capabilities. @@ -2189,6 +2913,11 @@ class VmSizesCapability(Model): 'available': {'key': 'available', 'type': '[str]'}, } - def __init__(self, *, available=None, **kwargs) -> None: + def __init__( + self, + *, + available: Optional[List[str]] = None, + **kwargs + ): super(VmSizesCapability, self).__init__(**kwargs) self.available = available diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_paged_models.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_paged_models.py deleted file mode 100644 index 739bea21bf5d..000000000000 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_paged_models.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -from msrest.paging import Paged - - -class ClusterPaged(Paged): - """ - A paging container for iterating over a list of :class:`Cluster ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Cluster]'} - } - - def __init__(self, *args, **kwargs): - - super(ClusterPaged, self).__init__(*args, **kwargs) -class ApplicationPaged(Paged): - """ - A paging container for iterating over a list of :class:`Application ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Application]'} - } - - def __init__(self, *args, **kwargs): - - super(ApplicationPaged, self).__init__(*args, **kwargs) -class RuntimeScriptActionDetailPaged(Paged): - """ - A paging container for iterating over a list of :class:`RuntimeScriptActionDetail ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[RuntimeScriptActionDetail]'} - } - - def __init__(self, *args, **kwargs): - - super(RuntimeScriptActionDetailPaged, self).__init__(*args, **kwargs) -class OperationPaged(Paged): - """ - A paging container for iterating over a list of :class:`Operation ` object - """ - - _attribute_map = { - 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[Operation]'} - } - - def __init__(self, *args, **kwargs): - - super(OperationPaged, self).__init__(*args, **kwargs) diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/__init__.py b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/__init__.py index ec0d25c8216a..2df109900cd2 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/__init__.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/__init__.py @@ -1,12 +1,9 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from ._clusters_operations import ClustersOperations @@ -17,6 +14,7 @@ from ._script_actions_operations import ScriptActionsOperations from ._script_execution_history_operations import ScriptExecutionHistoryOperations from ._operations import Operations +from ._virtual_machines_operations import VirtualMachinesOperations __all__ = [ 'ClustersOperations', @@ -27,4 +25,5 @@ 'ScriptActionsOperations', 'ScriptExecutionHistoryOperations', 'Operations', + 'VirtualMachinesOperations', ] 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 343130f9ff63..a647105084a9 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 @@ -1,118 +1,136 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse -from msrest.polling import LROPoller, NoPolling -from msrestazure.polling.arm_polling import ARMPolling +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ApplicationsOperations(object): """ApplicationsOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - - self.config = config + self._config = config def list_by_cluster( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.ApplicationListResult"] """Lists all of the applications for the HDInsight cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of Application - :rtype: - ~azure.mgmt.hdinsight.models.ApplicationPaged[~azure.mgmt.hdinsight.models.Application] - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hdinsight.models.ApplicationListResult] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ApplicationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_by_cluster.metadata['url'] + url = self.list_by_cluster.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) - - return response + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ApplicationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications'} + return ItemPaged( + get_next, extract_data + ) + list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications'} # type: ignore def get( - self, resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + application_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.Application" """Gets properties of the specified application. :param resource_group_name: The name of the resource group. @@ -121,110 +139,120 @@ def get( :type cluster_name: str :param application_name: The constant value for the application name. :type application_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: Application or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.Application or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Application, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Application + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.Application"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'applicationName': self._serialize.url("application_name", application_name, 'str') + 'applicationName': self._serialize.url("application_name", application_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Application', response) + deserialized = self._deserialize('Application', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} - + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore def _create_initial( - self, resource_group_name, cluster_name, application_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + application_name, # type: str + parameters, # type: "models.Application" + **kwargs # type: Any + ): + # type: (...) -> "models.Application" + cls = kwargs.pop('cls', None) # type: ClsType["models.Application"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.create.metadata['url'] + url = self._create_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'applicationName': self._serialize.url("application_name", application_name, 'str') + 'applicationName': self._serialize.url("application_name", application_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'Application') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'Application') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) - - deserialized = None + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - if response.status_code == 200: - deserialized = self._deserialize('Application', response) + deserialized = self._deserialize('Application', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - - def create( - self, resource_group_name, cluster_name, application_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + cluster_name, # type: str + application_name, # type: str + parameters, # type: "models.Application" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.Application"] """Creates applications for the HDInsight cluster. :param resource_group_name: The name of the resource group. @@ -235,87 +263,113 @@ def create( :type application_name: str :param parameters: The application create request. :type parameters: ~azure.mgmt.hdinsight.models.Application - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns Application or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.hdinsight.models.Application] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.hdinsight.models.Application]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Application or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hdinsight.models.Application] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._create_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - application_name=application_name, - parameters=parameters, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.Application"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - deserialized = self._deserialize('Application', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + application_name=application_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Application', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} - + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore def _delete_initial( - self, resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + application_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'applicationName': self._serialize.url("application_name", application_name, 'str') + 'applicationName': self._serialize.url("application_name", application_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def delete( - self, resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + cluster_name, # type: str + application_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Deletes the specified application on the HDInsight cluster. :param resource_group_name: The name of the resource group. @@ -324,37 +378,49 @@ def delete( :type cluster_name: str :param application_name: The constant value for the application name. :type application_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._delete_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - application_name=application_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + application_name=application_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}'} # type: ignore 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 bd5361093084..874cf56720d8 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 @@ -1,97 +1,115 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse -from msrest.polling import LROPoller, NoPolling -from msrestazure.polling.arm_polling import ARMPolling +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ClustersOperations(object): """ClustersOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". - :ivar role_name: The constant value for the roleName. Constant value: "workernode". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - self.role_name = "workernode" - - self.config = config - + self._config = config def _create_initial( - self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + parameters, # type: "models.ClusterCreateParametersExtended" + **kwargs # type: Any + ): + # type: (...) -> "models.Cluster" + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.create.metadata['url'] + url = self._create_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ClusterCreateParametersExtended') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ClusterCreateParametersExtended') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) - - deserialized = None + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - if response.status_code == 200: - deserialized = self._deserialize('Cluster', response) + deserialized = self._deserialize('Cluster', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - - def create( - self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + cluster_name, # type: str + parameters, # type: "models.ClusterCreateParametersExtended" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["models.Cluster"] """Creates a new HDInsight cluster with the specified parameters. :param resource_group_name: The name of the resource group. @@ -99,51 +117,65 @@ def create( :param cluster_name: The name of the cluster. :type cluster_name: str :param parameters: The cluster create request. - :type parameters: - ~azure.mgmt.hdinsight.models.ClusterCreateParametersExtended - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :type parameters: ~azure.mgmt.hdinsight.models.ClusterCreateParametersExtended + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns Cluster or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.hdinsight.models.Cluster] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.hdinsight.models.Cluster]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Cluster or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hdinsight.models.Cluster] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._create_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - parameters=parameters, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - deserialized = self._deserialize('Cluster', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Cluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore def update( - self, resource_group_name, cluster_name, tags=None, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + tags=None, # type: Optional[Dict[str, str]] + **kwargs # type: Any + ): + # type: (...) -> "models.Cluster" """Patch HDInsight cluster with the specified parameters. :param resource_group_name: The name of the resource group. @@ -152,466 +184,671 @@ def update( :type cluster_name: str :param tags: The resource tags. :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: Cluster or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.Cluster or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Cluster, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Cluster + :raises: ~azure.core.exceptions.HttpResponseError """ - parameters = models.ClusterPatchParameters(tags=tags) + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ClusterPatchParameters(tags=tags) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.update.metadata['url'] + url = self.update.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ClusterPatchParameters') - - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ClusterPatchParameters') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Cluster', response) + deserialized = self._deserialize('Cluster', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} - + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore def _delete_initial( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def delete( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Deletes the specified HDInsight cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._delete_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore def get( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.Cluster" """Gets the specified cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: Cluster or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.Cluster or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Cluster, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Cluster + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Cluster', response) + deserialized = self._deserialize('Cluster', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}'} # type: ignore def list_by_resource_group( - self, resource_group_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.ClusterListResult"] """Lists the HDInsight clusters in a resource group. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of Cluster - :rtype: - ~azure.mgmt.hdinsight.models.ClusterPaged[~azure.mgmt.hdinsight.models.Cluster] - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ClusterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hdinsight.models.ClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_by_resource_group.metadata['url'] + url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - return response - - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ClusterPaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters'} + return pipeline_response + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters'} # type: ignore def _resize_initial( - self, resource_group_name, cluster_name, target_instance_count=None, custom_headers=None, raw=False, **operation_config): - parameters = models.ClusterResizeParameters(target_instance_count=target_instance_count) + self, + resource_group_name, # type: str + cluster_name, # type: str + role_name, # type: Union[str, "models.RoleName"] + target_instance_count=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ClusterResizeParameters(target_instance_count=target_instance_count) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.resize.metadata['url'] + url = self._resize_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'roleName': self._serialize.url("self.role_name", self.role_name, 'str') + 'roleName': self._serialize.url("role_name", role_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ClusterResizeParameters') - - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ClusterResizeParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response - def resize( - self, resource_group_name, cluster_name, target_instance_count=None, custom_headers=None, raw=False, polling=True, **operation_config): + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _resize_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize'} # type: ignore + + def begin_resize( + self, + resource_group_name, # type: str + cluster_name, # type: str + role_name, # type: Union[str, "models.RoleName"] + target_instance_count=None, # type: Optional[int] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Resizes the specified HDInsight cluster to the specified size. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param target_instance_count: The target instance count for the - operation. + :param role_name: The constant value for the roleName. + :type role_name: str or ~azure.mgmt.hdinsight.models.RoleName + :param target_instance_count: The target instance count for the operation. :type target_instance_count: int - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._resize_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - target_instance_count=target_instance_count, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._resize_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + role_name=role_name, + target_instance_count=target_instance_count, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_resize.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize'} # type: ignore + + def _update_auto_scale_configuration_initial( + self, + resource_group_name, # type: str + cluster_name, # type: str + role_name, # type: Union[str, "models.RoleName"] + autoscale=None, # type: Optional["models.Autoscale"] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.AutoscaleConfigurationUpdateParameter(autoscale=autoscale) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_auto_scale_configuration_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'AutoscaleConfigurationUpdateParameter') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _update_auto_scale_configuration_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/autoscale'} # type: ignore + + def begin_update_auto_scale_configuration( + self, + resource_group_name, # type: str + cluster_name, # type: str + role_name, # type: Union[str, "models.RoleName"] + autoscale=None, # type: Optional["models.Autoscale"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Updates the Autoscale Configuration for HDInsight cluster. - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param role_name: The constant value for the roleName. + :type role_name: str or ~azure.mgmt.hdinsight.models.RoleName + :param autoscale: The autoscale configuration. + :type autoscale: ~azure.mgmt.hdinsight.models.Autoscale + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_auto_scale_configuration_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + role_name=role_name, + autoscale=autoscale, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - resize.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/resize'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_auto_scale_configuration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/roles/{roleName}/autoscale'} # type: ignore def list( - self, custom_headers=None, raw=False, **operation_config): + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.ClusterListResult"] """Lists all the HDInsight clusters under the subscription. - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of Cluster - :rtype: - ~azure.mgmt.hdinsight.models.ClusterPaged[~azure.mgmt.hdinsight.models.Cluster] - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ClusterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hdinsight.models.ClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - return response - - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.ClusterPaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters'} + return pipeline_response + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/clusters'} # type: ignore def _rotate_disk_encryption_key_initial( - self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + parameters, # type: "models.ClusterDiskEncryptionParameters" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.rotate_disk_encryption_key.metadata['url'] + url = self._rotate_disk_encryption_key_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ClusterDiskEncryptionParameters') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ClusterDiskEncryptionParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def rotate_disk_encryption_key( - self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _rotate_disk_encryption_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey'} # type: ignore + + def begin_rotate_disk_encryption_key( + self, + resource_group_name, # type: str + cluster_name, # type: str + parameters, # type: "models.ClusterDiskEncryptionParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Rotate disk encryption key of the specified HDInsight cluster. :param resource_group_name: The name of the resource group. @@ -619,145 +856,174 @@ def rotate_disk_encryption_key( :param cluster_name: The name of the cluster. :type cluster_name: str :param parameters: The parameters for the disk encryption operation. - :type parameters: - ~azure.mgmt.hdinsight.models.ClusterDiskEncryptionParameters - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :type parameters: ~azure.mgmt.hdinsight.models.ClusterDiskEncryptionParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._rotate_disk_encryption_key_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - parameters=parameters, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._rotate_disk_encryption_key_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - rotate_disk_encryption_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_rotate_disk_encryption_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/rotatediskencryptionkey'} # type: ignore def get_gateway_settings( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.GatewaySettings" """Gets the gateway settings for the specified cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: GatewaySettings or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.GatewaySettings or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GatewaySettings, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.GatewaySettings + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.GatewaySettings"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get_gateway_settings.metadata['url'] + url = self.get_gateway_settings.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('GatewaySettings', response) + deserialized = self._deserialize('GatewaySettings', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get_gateway_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings'} - + get_gateway_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/getGatewaySettings'} # type: ignore def _update_gateway_settings_initial( - self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + parameters, # type: "models.UpdateGatewaySettingsParameters" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.update_gateway_settings.metadata['url'] + url = self._update_gateway_settings_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'UpdateGatewaySettingsParameters') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'UpdateGatewaySettingsParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def update_gateway_settings( - self, resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _update_gateway_settings_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings'} # type: ignore + + def begin_update_gateway_settings( + self, + resource_group_name, # type: str + cluster_name, # type: str + parameters, # type: "models.UpdateGatewaySettingsParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Configures the gateway settings on the specified cluster. :param resource_group_name: The name of the resource group. @@ -765,131 +1031,172 @@ def update_gateway_settings( :param cluster_name: The name of the cluster. :type cluster_name: str :param parameters: The cluster configurations. - :type parameters: - ~azure.mgmt.hdinsight.models.UpdateGatewaySettingsParameters - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :type parameters: ~azure.mgmt.hdinsight.models.UpdateGatewaySettingsParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._update_gateway_settings_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - parameters=parameters, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_gateway_settings_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - update_gateway_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings'} - + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_gateway_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/updateGatewaySettings'} # type: ignore def _execute_script_actions_initial( - self, resource_group_name, cluster_name, persist_on_success, script_actions=None, custom_headers=None, raw=False, **operation_config): - parameters = models.ExecuteScriptActionParameters(script_actions=script_actions, persist_on_success=persist_on_success) + self, + resource_group_name, # type: str + cluster_name, # type: str + persist_on_success, # type: bool + script_actions=None, # type: Optional[List["models.RuntimeScriptAction"]] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ExecuteScriptActionParameters(script_actions=script_actions, persist_on_success=persist_on_success) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.execute_script_actions.metadata['url'] + url = self._execute_script_actions_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ExecuteScriptActionParameters') - - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ExecuteScriptActionParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response - def execute_script_actions( - self, resource_group_name, cluster_name, persist_on_success, script_actions=None, custom_headers=None, raw=False, polling=True, **operation_config): + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _execute_script_actions_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions'} # type: ignore + + def begin_execute_script_actions( + self, + resource_group_name, # type: str + cluster_name, # type: str + persist_on_success, # type: bool + script_actions=None, # type: Optional[List["models.RuntimeScriptAction"]] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Executes script actions on the specified HDInsight cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param persist_on_success: Gets or sets if the scripts needs to be - persisted. + :param persist_on_success: Gets or sets if the scripts needs to be persisted. :type persist_on_success: bool :param script_actions: The list of run time script actions. - :type script_actions: - list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :type script_actions: list[~azure.mgmt.hdinsight.models.RuntimeScriptAction] + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._execute_script_actions_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - persist_on_success=persist_on_success, - script_actions=script_actions, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._execute_script_actions_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + persist_on_success=persist_on_success, + script_actions=script_actions, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - execute_script_actions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_execute_script_actions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions'} # type: ignore 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 77faf1d55206..00f6580d1824 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 @@ -1,151 +1,176 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse -from msrest.polling import LROPoller, NoPolling -from msrestazure.polling.arm_polling import ARMPolling +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ConfigurationsOperations(object): """ConfigurationsOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - - self.config = config + self._config = config def list( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.ClusterConfigurations" """Gets all configuration information for an HDI cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ClusterConfigurations or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.ClusterConfigurations or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ClusterConfigurations, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.ClusterConfigurations + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterConfigurations"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.list.metadata['url'] + url = self.list.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ClusterConfigurations', response) + deserialized = self._deserialize('ClusterConfigurations', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations'} - + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations'} # type: ignore def _update_initial( - self, resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + configuration_name, # type: str + parameters, # type: Dict[str, str] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + # Construct URL - url = self.update.metadata['url'] + url = self._update_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str') + 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, '{str}') + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, '{str}') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202, 204]: - raise models.ErrorResponseException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def update( - self, resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): - """Configures the HTTP settings on the specified cluster. This API is - deprecated, please use UpdateGatewaySettings in cluster endpoint - instead. + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + cluster_name, # type: str + configuration_name, # type: str + parameters, # type: Dict[str, str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Configures the HTTP settings on the specified cluster. This API is deprecated, please use + UpdateGatewaySettings in cluster endpoint instead. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -155,47 +180,64 @@ def update( :type configuration_name: str :param parameters: The cluster configurations. :type parameters: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._update_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - configuration_name=configuration_name, - parameters=parameters, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + configuration_name=configuration_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} # type: ignore def get( - self, resource_group_name, cluster_name, configuration_name, custom_headers=None, raw=False, **operation_config): - """The configuration object for the specified cluster. This API is not - recommended and might be removed in the future. Please consider using - List configurations API instead. + self, + resource_group_name, # type: str + cluster_name, # type: str + configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Dict[str, str] + """The configuration object for the specified cluster. This API is not recommended and might be + removed in the future. Please consider using List configurations API instead. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -203,54 +245,50 @@ def get( :type cluster_name: str :param configuration_name: The name of the cluster configuration. :type configuration_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: dict or ClientRawResponse if raw=true - :rtype: dict[str, str] or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: dict mapping str to str, or the result of cls(response) + :rtype: dict[str, str] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[Dict[str, str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str') + 'configurationName': self._serialize.url("configuration_name", configuration_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('{str}', response) + deserialized = self._deserialize('{str}', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}'} # type: ignore 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 66d64685a1bc..efa06b44cd7d 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 @@ -1,322 +1,405 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse -from msrest.polling import LROPoller, NoPolling -from msrestazure.polling.arm_polling import ARMPolling +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ExtensionsOperations(object): """ExtensionsOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - - self.config = config - + self._config = config def _enable_monitoring_initial( - self, resource_group_name, cluster_name, workspace_id=None, primary_key=None, custom_headers=None, raw=False, **operation_config): - parameters = models.ClusterMonitoringRequest(workspace_id=workspace_id, primary_key=primary_key) + self, + resource_group_name, # type: str + cluster_name, # type: str + workspace_id=None, # type: Optional[str] + primary_key=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.ClusterMonitoringRequest(workspace_id=workspace_id, primary_key=primary_key) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.enable_monitoring.metadata['url'] + url = self._enable_monitoring_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'ClusterMonitoringRequest') - - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'ClusterMonitoringRequest') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response - def enable_monitoring( - self, resource_group_name, cluster_name, workspace_id=None, primary_key=None, custom_headers=None, raw=False, polling=True, **operation_config): + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _enable_monitoring_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore + + def begin_enable_monitoring( + self, + resource_group_name, # type: str + cluster_name, # type: str + workspace_id=None, # type: Optional[str] + primary_key=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Enables the Operations Management Suite (OMS) on the HDInsight cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param workspace_id: The Operations Management Suite (OMS) workspace - ID. + :param workspace_id: The Operations Management Suite (OMS) workspace ID. :type workspace_id: str - :param primary_key: The Operations Management Suite (OMS) workspace - key. + :param primary_key: The Operations Management Suite (OMS) workspace key. :type primary_key: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._enable_monitoring_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - workspace_id=workspace_id, - primary_key=primary_key, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._enable_monitoring_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + workspace_id=workspace_id, + primary_key=primary_key, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - enable_monitoring.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_enable_monitoring.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore def get_monitoring_status( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): - """Gets the status of Operations Management Suite (OMS) on the HDInsight - cluster. + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.ClusterMonitoringResponse" + """Gets the status of Operations Management Suite (OMS) on the HDInsight cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: ClusterMonitoringResponse or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.ClusterMonitoringResponse or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ClusterMonitoringResponse, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.ClusterMonitoringResponse + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterMonitoringResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get_monitoring_status.metadata['url'] + url = self.get_monitoring_status.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ClusterMonitoringResponse', response) + deserialized = self._deserialize('ClusterMonitoringResponse', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get_monitoring_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} - + get_monitoring_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore def _disable_monitoring_initial( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.disable_monitoring.metadata['url'] + url = self._disable_monitoring_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response + _disable_monitoring_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore - def disable_monitoring( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Disables the Operations Management Suite (OMS) on the HDInsight - cluster. + def begin_disable_monitoring( + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Disables the Operations Management Suite (OMS) on the HDInsight cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._disable_monitoring_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._disable_monitoring_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - disable_monitoring.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} - + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_disable_monitoring.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/clustermonitoring'} # type: ignore def _create_initial( - self, resource_group_name, cluster_name, extension_name, workspace_id=None, primary_key=None, custom_headers=None, raw=False, **operation_config): - parameters = models.Extension(workspace_id=workspace_id, primary_key=primary_key) + self, + resource_group_name, # type: str + cluster_name, # type: str + extension_name, # type: str + workspace_id=None, # type: Optional[str] + primary_key=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + _parameters = models.Extension(workspace_id=workspace_id, primary_key=primary_key) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" # Construct URL - url = self.create.metadata['url'] + url = self._create_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'extensionName': self._serialize.url("extension_name", extension_name, 'str') + 'extensionName': self._serialize.url("extension_name", extension_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'Extension') - - # Construct and send request - request = self._client.put(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(_parameters, 'Extension') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def create( - self, resource_group_name, cluster_name, extension_name, workspace_id=None, primary_key=None, custom_headers=None, raw=False, polling=True, **operation_config): + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + cluster_name, # type: str + extension_name, # type: str + workspace_id=None, # type: Optional[str] + primary_key=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Creates an HDInsight cluster extension. :param resource_group_name: The name of the resource group. @@ -325,53 +408,68 @@ def create( :type cluster_name: str :param extension_name: The name of the cluster extension. :type extension_name: str - :param workspace_id: The workspace ID for the cluster monitoring - extension. + :param workspace_id: The workspace ID for the cluster monitoring extension. :type workspace_id: str - :param primary_key: The certificate for the cluster monitoring - extensions. + :param primary_key: The certificate for the cluster monitoring extensions. :type primary_key: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._create_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - extension_name=extension_name, - workspace_id=workspace_id, - primary_key=primary_key, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + extension_name=extension_name, + workspace_id=workspace_id, + primary_key=primary_key, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore def get( - self, resource_group_name, cluster_name, extension_name, custom_headers=None, raw=False, **operation_config): - """Gets the extension properties for the specified HDInsight cluster - extension. + self, + resource_group_name, # type: str + cluster_name, # type: str + extension_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.Extension" + """Gets the extension properties for the specified HDInsight cluster extension. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -379,98 +477,110 @@ def get( :type cluster_name: str :param extension_name: The name of the cluster extension. :type extension_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: Extension or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.Extension or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Extension, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.Extension + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.Extension"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'extensionName': self._serialize.url("extension_name", extension_name, 'str') + 'extensionName': self._serialize.url("extension_name", extension_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('Extension', response) + deserialized = self._deserialize('Extension', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} - + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore def _delete_initial( - self, resource_group_name, cluster_name, extension_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + extension_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'extensionName': self._serialize.url("extension_name", extension_name, 'str') + 'extensionName': self._serialize.url("extension_name", extension_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200, 202]: - raise models.ErrorResponseException(self._deserialize, response) - - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - def delete( - self, resource_group_name, cluster_name, extension_name, custom_headers=None, raw=False, polling=True, **operation_config): + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + cluster_name, # type: str + extension_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] """Deletes the specified extension for HDInsight cluster. :param resource_group_name: The name of the resource group. @@ -479,37 +589,49 @@ def delete( :type cluster_name: str :param extension_name: The name of the cluster extension. :type extension_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns None or - ClientRawResponse if raw==True - :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorResponseException` + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: """ - raw_result = self._delete_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - extension_name=extension_name, - custom_headers=custom_headers, - raw=True, - **operation_config + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval ) - - def get_long_running_output(response): - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + extension_name=extension_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}'} # type: ignore 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 3c9b45ec033d..eac5383cd3a9 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 @@ -1,213 +1,213 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class LocationsOperations(object): """LocationsOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - - self.config = config + self._config = config def get_capabilities( - self, location, custom_headers=None, raw=False, **operation_config): + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.CapabilitiesResult" """Gets the capabilities for the specified location. - :param location: The Azure location (region) for which to make the - request. + :param location: The Azure location (region) for which to make the request. :type location: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: CapabilitiesResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.CapabilitiesResult or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CapabilitiesResult, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.CapabilitiesResult + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.CapabilitiesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get_capabilities.metadata['url'] + url = self.get_capabilities.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'location': self._serialize.url("location", location, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('CapabilitiesResult', response) + deserialized = self._deserialize('CapabilitiesResult', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get_capabilities.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities'} + get_capabilities.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities'} # type: ignore def list_usages( - self, location, custom_headers=None, raw=False, **operation_config): + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.UsagesListResult" """Lists the usages for the specified location. - :param location: The Azure location (region) for which to make the - request. + :param location: The Azure location (region) for which to make the request. :type location: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: UsagesListResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.UsagesListResult or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: UsagesListResult, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.UsagesListResult + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.UsagesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.list_usages.metadata['url'] + url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'location': self._serialize.url("location", location, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('UsagesListResult', response) + deserialized = self._deserialize('UsagesListResult', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - list_usages.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages'} + list_usages.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages'} # type: ignore def list_billing_specs( - self, location, custom_headers=None, raw=False, **operation_config): + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.BillingResponseListResult" """Lists the billingSpecs for the specified subscription and location. - :param location: The Azure location (region) for which to make the - request. + :param location: The Azure location (region) for which to make the request. :type location: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: BillingResponseListResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.BillingResponseListResult or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BillingResponseListResult, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.BillingResponseListResult + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.BillingResponseListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.list_billing_specs.metadata['url'] + url = self.list_billing_specs.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'location': self._serialize.url("location", location, 'str') + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('BillingResponseListResult', response) + deserialized = self._deserialize('BillingResponseListResult', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - list_billing_specs.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs'} + list_billing_specs.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs'} # type: ignore 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 20c04843ad92..a30e44108471 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 @@ -1,100 +1,110 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class Operations(object): """Operations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - - self.config = config + self._config = config def list( - self, custom_headers=None, raw=False, **operation_config): + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.OperationListResult"] """Lists all of the available HDInsight REST API operations. - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of Operation - :rtype: - ~azure.mgmt.hdinsight.models.OperationPaged[~azure.mgmt.hdinsight.models.Operation] - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hdinsight.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list.metadata['url'] - + url = self.list.metadata['url'] # type: ignore # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) - - return response + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list.metadata = {'url': '/providers/Microsoft.HDInsight/operations'} + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.HDInsight/operations'} # type: ignore 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 87c81b4127a3..0b78321f8cc7 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 @@ -1,45 +1,58 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ScriptActionsOperations(object): """ScriptActionsOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - - self.config = config + self._config = config def delete( - self, resource_group_name, cluster_name, script_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + script_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None """Deletes a specified persisted script action of the cluster. :param resource_group_name: The name of the resource group. @@ -48,181 +61,187 @@ def delete( :type cluster_name: str :param script_name: The name of the script. :type script_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.delete.metadata['url'] + url = self.delete.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'scriptName': self._serialize.url("script_name", script_name, 'str') + 'scriptName': self._serialize.url("script_name", script_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.delete(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions/{scriptName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions/{scriptName}'} # type: ignore def list_by_cluster( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.ScriptActionsList"] """Lists all the persisted script actions for the specified cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of RuntimeScriptActionDetail - :rtype: - ~azure.mgmt.hdinsight.models.RuntimeScriptActionDetailPaged[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScriptActionsList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hdinsight.models.ScriptActionsList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ScriptActionsList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_by_cluster.metadata['url'] + url = self.list_by_cluster.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ScriptActionsList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - return response + return pipeline_response - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.RuntimeScriptActionDetailPaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions'} + return ItemPaged( + get_next, extract_data + ) + list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions'} # type: ignore def get_execution_detail( - self, resource_group_name, cluster_name, script_execution_id, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + script_execution_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> "models.RuntimeScriptActionDetail" """Gets the script execution detail for the given script execution ID. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param script_execution_id: The script execution Id + :param script_execution_id: The script execution Id. :type script_execution_id: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: RuntimeScriptActionDetail or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RuntimeScriptActionDetail, or the result of cls(response) + :rtype: ~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.RuntimeScriptActionDetail"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.get_execution_detail.metadata['url'] + url = self.get_execution_detail.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'scriptExecutionId': self._serialize.url("script_execution_id", script_execution_id, 'str') + 'scriptExecutionId': self._serialize.url("script_execution_id", script_execution_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('RuntimeScriptActionDetail', response) + deserialized = self._deserialize('RuntimeScriptActionDetail', pipeline_response) - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response + if cls: + return cls(pipeline_response, deserialized, {}) return deserialized - get_execution_detail.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}'} + get_execution_detail.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}'} # type: ignore 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 466f36d88eb9..65dec873abcb 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 @@ -1,165 +1,183 @@ # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# +# Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings -import uuid -from msrest.pipeline import ClientRawResponse +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class ScriptExecutionHistoryOperations(object): """ScriptExecutionHistoryOperations operations. - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: The HDInsight client API Version. Constant value: "2018-06-01-preview". """ models = models def __init__(self, client, config, serializer, deserializer): - self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-06-01-preview" - - self.config = config + self._config = config def list_by_cluster( - self, resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.ScriptActionExecutionHistoryList"] """Lists all scripts' execution history for the specified cluster. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of RuntimeScriptActionDetail - :rtype: - ~azure.mgmt.hdinsight.models.RuntimeScriptActionDetailPaged[~azure.mgmt.hdinsight.models.RuntimeScriptActionDetail] - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ScriptActionExecutionHistoryList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hdinsight.models.ScriptActionExecutionHistoryList] + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ScriptActionExecutionHistoryList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + if not next_link: # Construct URL - url = self.list_by_cluster.metadata['url'] + url = self.list_by_cluster.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str') + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), } url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) return request - def internal_paging(next_link=None): + def extract_data(pipeline_response): + deserialized = self._deserialize('ScriptActionExecutionHistoryList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): request = prepare_request(next_link) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) - - return response + error = self._deserialize(models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.RuntimeScriptActionDetailPaged(internal_paging, self._deserialize.dependencies, header_dict) + return pipeline_response - return deserialized - list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory'} + return ItemPaged( + get_next, extract_data + ) + list_by_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory'} # type: ignore def promote( - self, resource_group_name, cluster_name, script_execution_id, custom_headers=None, raw=False, **operation_config): + self, + resource_group_name, # type: str + cluster_name, # type: str + script_execution_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None """Promotes the specified ad-hoc script execution to a persisted script. :param resource_group_name: The name of the resource group. :type resource_group_name: str :param cluster_name: The name of the cluster. :type cluster_name: str - :param script_execution_id: The script execution Id + :param script_execution_id: The script execution Id. :type script_execution_id: str - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: None or ClientRawResponse if raw=true - :rtype: None or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + # Construct URL - url = self.promote.metadata['url'] + url = self.promote.metadata['url'] # type: ignore path_format_arguments = { - 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - 'scriptExecutionId': self._serialize.url("script_execution_id", script_execution_id, 'str') + 'scriptExecutionId': self._serialize.url("script_execution_id", script_execution_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') # Construct headers - header_parameters = {} - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + request = self._client.post(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response if response.status_code not in [200]: - raise models.ErrorResponseException(self._deserialize, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) - if raw: - client_raw_response = ClientRawResponse(None, response) - return client_raw_response - promote.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}/promote'} + promote.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}/promote'} # type: ignore 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 new file mode 100644 index 000000000000..41c6fe0d3277 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_virtual_machines_operations.py @@ -0,0 +1,222 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualMachinesOperations(object): + """VirtualMachinesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hdinsight.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_hosts( + self, + resource_group_name, # type: str + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> List["models.HostInfo"] + """Lists the HDInsight clusters hosts. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of HostInfo, or the result of cls(response) + :rtype: list[~azure.mgmt.hdinsight.models.HostInfo] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List["models.HostInfo"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + accept = "application/json" + + # Construct URL + url = self.list_hosts.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[HostInfo]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_hosts.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/listHosts'} # type: ignore + + def _restart_hosts_initial( + self, + resource_group_name, # type: str + cluster_name, # type: str + hosts, # type: List[str] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-06-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._restart_hosts_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(hosts, '[str]') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _restart_hosts_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts'} # type: ignore + + def begin_restart_hosts( + self, + resource_group_name, # type: str + cluster_name, # type: str + hosts, # type: List[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Restarts the specified HDInsight cluster hosts. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_name: The name of the cluster. + :type cluster_name: str + :param hosts: The list of hosts to restart. + :type hosts: list[str] + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._restart_hosts_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + hosts=hosts, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_restart_hosts.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts'} # type: ignore diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/py.typed b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/setup.py b/sdk/hdinsight/azure-mgmt-hdinsight/setup.py index 5ce02b867cc8..61f3f49de12e 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/setup.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/setup.py @@ -36,7 +36,7 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') +with open(os.path.join(package_folder_path, '_version.py') if os.path.exists(os.path.join(package_folder_path, 'version.py')) else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', @@ -81,8 +81,8 @@ ]), install_requires=[ 'msrest>=0.5.0', - 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', + 'azure-mgmt-core>=1.2.0,<2.0.0' ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster.yaml index acba88a1c67b..22695163cc0a 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster.yaml @@ -2,1076 +2,1362 @@ interactions: - request: body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": - "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": - "true", "restAuthCredential.username": "admin", "restAuthCredential.password": - "Password1!"}}}, "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": - 2, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": + "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, + "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": 2, + "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, {"name": "workernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipye4cb13d6.blob.core.windows.net", "isDefault": true, "container": "hdisdk-humboldte4cb13d6", - "key": "lqnawB9Ansq9KLT/yl+lU5NFoZJ1IY4bPDw5Jubs7ExtSS5ad32XiE8leO+DIBAmFlAd2fbQCMHoK9CidDjSFA=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1173'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-humboldte4cb13d6", + "key": "rS9F+oTExfsobNzpLkwqecqrkD3kuipceP02hLYAHSI8fBWPGR1ANSKhcvd/huwdAyjMZDE1y+KeY98CUZFlmA=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1164' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6","name":"hdisdk-humboldte4cb13d6","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"00d7e1b2-b3dd-4cd4-bab9-858bab227eeb","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T05:18:10.7","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1257'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:18:11 GMT'] - etag: ['"00d7e1b2-b3dd-4cd4-bab9-858bab227eeb"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:18:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:19:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:19:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:20:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:20:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:21:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:21:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6","name":"hdisdk-humboldte4cb13d6","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"b80e6a7f-2592-4abe-8c44-4a7424bf7330","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"495e1a8d1af943c9a2a8bbd68e77e816","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T03:50:08.77","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-humboldte4cb13d6","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1809' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:50:10 GMT + etag: + - '"b80e6a7f-2592-4abe-8c44-4a7424bf7330"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:22:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:50:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:22:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:51:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:23:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:23:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:24:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:24:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:51:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:25:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:52:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:25:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:52:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:26:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:53:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:26:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:53:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:27:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:54:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:27:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:54:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:28:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:55:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:29:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:55:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:29:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:56:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:30:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:56:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:30:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:57:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:31:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:57:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:31:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:58:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:32:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:58:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:32:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:59:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:33:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 03:59:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:33:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:00:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:34:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:00:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:34:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:01:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:35:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:01:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:35:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:02:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:36:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:02:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:36:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:03:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:37:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:03:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6","name":"hdisdk-humboldte4cb13d6","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"00d7e1b2-b3dd-4cd4-bab9-858bab227eeb","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T05:18:10.7","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-humboldte4cb13d6-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-humboldte4cb13d6.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1497'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:37:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e4cb13d6/providers/Microsoft.HDInsight/clusters/hdisdk-humboldte4cb13d6","name":"hdisdk-humboldte4cb13d6","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"b80e6a7f-2592-4abe-8c44-4a7424bf7330","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"495e1a8d1af943c9a2a8bbd68e77e816","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T03:50:08.77","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-humboldte4cb13d6-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-humboldte4cb13d6.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-humboldte4cb13d6","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2048' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:03:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_custom_vm_sizes.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_custom_vm_sizes.yaml index 48a547c0b2ee..879de7acf797 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_custom_vm_sizes.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_custom_vm_sizes.yaml @@ -2,1319 +2,1270 @@ interactions: - request: body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": - "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": - "true", "restAuthCredential.username": "admin", "restAuthCredential.password": - "Password1!"}}}, "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": - 2, "hardwareProfile": {"vmSize": "ExtraLarge"}, "osProfile": {"linuxOperatingSystemProfile": + "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, + "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": 2, + "hardwareProfile": {"vmSize": "ExtraLarge"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, {"name": "workernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Medium"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipye6a41cba.blob.core.windows.net", "isDefault": true, "container": "hdisdk-customvmsizese6a41cba", - "key": "gZlLOAwG5EGoADfYxdt+M+AuqbmVxN/3USwR9c5ieJsBAtwkt/f8HgwCqTADofFBxNCy0SaZHTofDQ1hqUzBag=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1184'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-customvmsizese6a41cba", + "key": "FLunvUASed0ojQpwCJXigx6PErBie8OC+E8OX5vFcosH+JdeRhAXPOkJQWPRKA8HZUDWArxHCzZcgh++kmHNmQ=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1175' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba","name":"hdisdk-customvmsizese6a41cba","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"b6456f63-1a1b-4f9c-81c0-6d040a8fc81c","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"ExtraLarge"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T05:53:06.053","quotaInfo":{"coresUsed":28},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1274'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:53:06 GMT'] - etag: ['"b6456f63-1a1b-4f9c-81c0-6d040a8fc81c"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:53:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:54:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:54:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:55:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:55:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:56:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:56:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:57:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba","name":"hdisdk-customvmsizese6a41cba","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"0bd58655-acca-4710-9946-fbebdbf97f90","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"4c9a734ef9734f478d3f96d9897904e5","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a8_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a2_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T04:05:00.403","quotaInfo":{"coresUsed":28},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-customvmsizese6a41cba","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1825' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:05:02 GMT + etag: + - '"0bd58655-acca-4710-9946-fbebdbf97f90"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:57:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:05:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:58:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:06:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:58:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:06:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:59:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:07:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:59:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:07:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:00:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:08:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:00:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:08:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:01:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:09:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:01:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:09:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:02:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:10:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:02:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:10:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:03:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:11:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:03:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:11:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:04:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:12:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:04:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:12:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:05:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:13:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:06:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:13:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:06:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:14:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:07:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:14:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:07:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:15:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:08:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:15:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:08:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:16:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:09:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:16:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:09:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:17:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:10:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:17:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:10:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:11:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:11:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:12:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:12:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:13:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:13:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:14:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:14:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:15:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:15:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:16:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:16:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba","name":"hdisdk-customvmsizese6a41cba","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"b6456f63-1a1b-4f9c-81c0-6d040a8fc81c","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"ExtraLarge"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T05:53:06.053","quotaInfo":{"coresUsed":28},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-customvmsizese6a41cba-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-customvmsizese6a41cba.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1524'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:16:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e6a41cba/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizese6a41cba","name":"hdisdk-customvmsizese6a41cba","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"0bd58655-acca-4710-9946-fbebdbf97f90","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"4c9a734ef9734f478d3f96d9897904e5","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a8_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a2_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T04:05:00.403","quotaInfo":{"coresUsed":28},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-customvmsizese6a41cba-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-customvmsizese6a41cba.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-customvmsizese6a41cba","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2074' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:17:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_premium_tier.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_premium_tier.yaml index 9f3ed1f0f520..e7cf998b7db2 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_premium_tier.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_humboldt_cluster_with_premium_tier.yaml @@ -2,995 +2,62 @@ interactions: - request: body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Premium", "clusterDefinition": {"kind": "hadoop", - "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", - "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, - "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": 2, + "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", "restAuthCredential.username": + "admin", "restAuthCredential.password": "Password1!"}}}, "computeProfile": {"roles": + [{"name": "headnode", "targetInstanceCount": 2, "hardwareProfile": {"vmSize": + "Large"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", + "password": "Password1!"}}}, {"name": "workernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": - {"username": "sshuser", "password": "Password1!"}}}, {"name": "workernode", - "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": - {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, - {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": - "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", - "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipy91811b62.blob.core.windows.net", "isDefault": true, "container": "hdisdk-premium91811b62", - "key": "YSVD59whHgfboafSAPBKZw6qEOt751Cuq9V4nN9pLn9FEB2zx3azyiyKuK04S/w80U+tzSDiguOcyrDiFTLN/A=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1171'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + {"username": "sshuser", "password": "Password1!"}}}, {"name": "zookeepernode", + "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": + {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, + "storageProfile": {"storageaccounts": [{"name": "hdipy.blob.core.windows.net", + "isDefault": true, "container": "hdisdk-premium91811b62", "key": "iyZ5WnC4ktR3u3GCmj65DzNEKN+StSxuy2lOOHOouh8GVcKqTbf5LiuVCACiM+lEgdKSTZctdIh+mN7fTVF1VA=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1162' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62","name":"hdisdk-premium91811b62","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"d6545868-e0fd-4749-a254-a3c8c896ea88","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T04:45:56.77","quotaInfo":{"coresUsed":20},"tier":"premium"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1255'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:45:56 GMT'] - etag: ['"d6545868-e0fd-4749-a254-a3c8c896ea88"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:46:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:46:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:47:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:48:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:48:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:49:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:49:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:50:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:50:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:51:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:51:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:52:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:52:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:53:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:53:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:54:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:54:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:55:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:55:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:56:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:56:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:57:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:57:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:58:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:58:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:59:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 04:59:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:00:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:00:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:01:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:01:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:02:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:03:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:03:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62?api-version=2018-06-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-91811b62/providers/Microsoft.HDInsight/clusters/hdisdk-premium91811b62","name":"hdisdk-premium91811b62","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"d6545868-e0fd-4749-a254-a3c8c896ea88","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T04:45:56.77","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-premium91811b62-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-premium91811b62.azurehdinsight.net","port":443}],"tier":"premium"}}'} - headers: - cache-control: [no-cache] - content-length: ['1493'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:03:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"code":"BadRequest","message":"Premium Cluster Tier available only + for ESP Clusters."}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:18:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 400 + message: Bad Request version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_kafka_cluster_with_disk_encryption.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_kafka_cluster_with_disk_encryption.yaml deleted file mode 100644 index e37fcc777277..000000000000 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_kafka_cluster_with_disk_encryption.yaml +++ /dev/null @@ -1,1921 +0,0 @@ -interactions: -- request: - body: '{"location": "North Central US"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '32' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-msi/1.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdipyuai8ce41b44?api-version=2018-11-30 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdipyuai8ce41b44","name":"hdipyuai8ce41b44","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"northcentralus","tags":{},"properties":{"tenantId":"00000000-0000-0000-0000-000000000000","principalId":"1b11ead4-22b6-4384-a14d-d081131fad4b","clientId":"1b12fe54-7b96-47a6-8f1b-ba1938623b65"}}' - headers: - cache-control: - - no-cache - content-length: - - '456' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:40:40 GMT - expires: - - '-1' - location: - - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdipyuai8ce41b44 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: 'b''b\''b\\\''{"location": "North Central US", "properties": {"tenantId": - "00000000-0000-0000-0000-000000000000", "sku": {"family": "A", "name": "premium"}, - "accessPolicies": [{"tenantId": "00000000-0000-0000-0000-000000000000", "objectId": - "00000000-0000-0000-0000-000000000000", "permissions": {"keys": ["encrypt", - "decrypt", "wrapKey", "unwrapKey", "sign", "verify", "get", "list", "create", - "update", "import", "delete", "backup", "restore", "recover", "purge"], "secrets": - ["get", "list", "set", "delete", "backup", "restore", "recover", "purge"], "certificates": - ["get", "list", "delete", "create", "import", "update", "managecontacts", "getissuers", - "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover", "purge", - "backup", "restore"], "storage": ["get", "list", "delete", "set", "update", - "regeneratekey", "recover", "purge", "backup", "restore", "setsas", "listsas", - "getsas", "deletesas"]}}, {"tenantId": "00000000-0000-0000-0000-000000000000", - "objectId": "1b11ead4-22b6-4384-a14d-d081131fad4b", "permissions": {"keys": - ["get", "wrapKey", "unwrapKey"], "secrets": ["get", "set", "delete"]}}], "vaultUri": - "https://hdipy8ce41b44..vault.azure.net/", "enabledForDeployment": true, "enabledForDiskEncryption": - true, "enabledForTemplateDeployment": true, "enableSoftDelete": true, "softDeleteRetentionInDays": - 90, "enableRbacAuthorization": false}}\\\''\''''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1358' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-keyvault/2.2.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.KeyVault/vaults/hdipy8ce41b44?api-version=2019-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.KeyVault/vaults/hdipy8ce41b44","name":"hdipy8ce41b44","type":"Microsoft.KeyVault/vaults","location":"North - Central US","tags":{},"properties":{"sku":{"family":"A","name":"premium"},"tenantId":"00000000-0000-0000-0000-000000000000","accessPolicies":[{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"00000000-0000-0000-0000-000000000000","permissions":{"keys":["encrypt","decrypt","wrapKey","unwrapKey","sign","verify","get","list","create","update","import","delete","backup","restore","recover","purge"],"secrets":["get","list","set","delete","backup","restore","recover","purge"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover","purge","backup","restore"],"storage":["get","list","delete","set","update","regeneratekey","recover","purge","backup","restore","setsas","listsas","getsas","deletesas"]}},{"tenantId":"00000000-0000-0000-0000-000000000000","objectId":"1b11ead4-22b6-4384-a14d-d081131fad4b","permissions":{"keys":["get","wrapKey","unwrapKey"],"secrets":["get","set","delete"]}}],"enabledForDeployment":true,"enabledForDiskEncryption":true,"enabledForTemplateDeployment":true,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":false,"vaultUri":"https://hdipy8ce41b44..vault.azure.net/","provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '1497' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:40:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-service-version: - - 1.1.0.281 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://hdipy8ce41b44..vault.azure.net/keys/hdipykey18ce41b44/create?api-version=7.1-preview - response: - body: - string: '{"error":{"code":"Unauthorized","message":"Request is missing a Bearer - or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '87' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:40:45 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.232.23;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - North Central US - x-ms-keyvault-service-version: - - 1.1.5.0 - x-powered-by: - - ASP.NET - status: - code: 401 - message: Unauthorized -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '14' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://hdipy8ce41b44..vault.azure.net/keys/hdipykey18ce41b44/create?api-version=7.1-preview - response: - body: - string: '{"key":{"kid":"https://hdipy8ce41b44..vault.azure.net/keys/hdipykey18ce41b44/830e48e217534b51ad2ddcf2f1ce4adb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"kJXp3s-u1l_J8ZZqF_pXPe--esCwOTzMqX_5W_XzTx_KEdjxYPM7NzpOGCbATR_CGfNONEnW5he_mb8_Ky9MVkfC3AdBKAY7d40AdFel04titIB8RSHg3u5ZMqZV8UVAyKB9huwjeFxsEK8uxHHsJU5-Mnq-SdNKsdAnREz0mW8YHt41IXB95G7iz0_nx_KyuDcwomy5lT-f_RCkO08CRVm-VmjBvvHiXfgmTedmcHn6LWgbMhbHIco_5YeMrOigXBOCkwFECq8ZgGnLurJR7Xj93vaW9pUmn2G0i32l8qmD12TgeFXiIRjmPAN2nA1iaIqy37nHROm_PvoB1F3Kcw","e":"AQAB"},"attributes":{"enabled":true,"created":1591188046,"updated":1591188046,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '686' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:40:46 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.232.23;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - North Central US - x-ms-keyvault-service-version: - - 1.1.5.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"kty": "RSA"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '14' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - azsdk-python-keyvault-keys/4.2.0b2 Python/3.7.4 (Windows-10-10.0.18362-SP0) - method: POST - uri: https://hdipy8ce41b44..vault.azure.net/keys/hdipykey28ce41b44/create?api-version=7.1-preview - response: - body: - string: '{"key":{"kid":"https://hdipy8ce41b44..vault.azure.net/keys/hdipykey28ce41b44/58ef873805c14c5a9d292aaa20f10ccb","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1IZKlVmqnmWJ7oONmq1Dtq_IQlsxpt6V4dNNatRHwFK8agwSBKdqZJJZsuEeMMwfwvMaaW-jMFjMnBmho_9Nvim3dLRZYOmu7PFDKex3DY8OMmQUWuWNhMHubE8dIZl_GakpUUQRE55AFUfjIBp-cnPsdHP-FRM1YjoCld6y0ev_u7SWk9jgDFgxoPU7UNNRKWtcIfCVFSYsd7EtKe1BmrMh_OvH86bh6O1M76zqjOUOmQo8gcUGhobYM6FL7EfuIZpbfrHrydWAqiaq19tpgbBscoXaruZFSNJxAEI_cogLjXYDvLQ7g3_SrvIzkR_5LqLjDSNfbFLfvp8Egk7TOw","e":"AQAB"},"attributes":{"enabled":true,"created":1591188047,"updated":1591188047,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90}}' - headers: - cache-control: - - no-cache - content-length: - - '686' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:40:46 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.232.23;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - North Central US - x-ms-keyvault-service-version: - - 1.1.5.0 - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: 'b''b\''{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": - "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": - "Kafka", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", - "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, - "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": 2, - "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": - {"username": "sshuser", "password": "Password1!"}}}, {"name": "workernode", - "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": - {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}, - "dataDisksGroups": [{"disksPerNode": 8}]}, {"name": "zookeepernode", "targetInstanceCount": - 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": - {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": - [{"name": "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-kafka-byok8ce41b44", - "key": "4NAmrBx8TObfhTYfdNvPiwtd4P0H18hvmoa079B8eeyJobqs42ORlgtCDXOmLKYavC1sehvmksuCAPbjvuSiyA=="}]}, - "diskEncryptionProperties": {"vaultUri": "https://hdipy8ce41b44..vault.azure.net", "keyName": - "hdipykey18ce41b44", "keyVersion": "830e48e217534b51ad2ddcf2f1ce4adb", "msiResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdipyuai8ce41b44"}}, - "identity": {"type": "UserAssigned", "userAssignedIdentities": {"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdipyuai8ce41b44": - {}}}}\''''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '1781' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44?api-version=2018-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44","name":"hdisdk-kafka-byok8ce41b44","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"2515b354-0de3-4b9d-be0c-f7df55badceb","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.2004291541.json","kind":"Kafka","componentVersion":{"Kafka":"1.1"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"dataDisksGroups":[{"disksPerNode":8,"storageAccountType":"Standard_LRS","diskSizeGB":1023}],"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-06-03T12:41:11.943","quotaInfo":{"coresUsed":23},"tier":"standard","diskEncryptionProperties":{"vaultUri":"https://hdipy8ce41b44..vault.azure.net","keyName":"hdipykey18ce41b44","keyVersion":"830e48e217534b51ad2ddcf2f1ce4adb","encryptionAlgorithm":"RSA-OAEP","msiResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/microsoft.managedidentity/userassignedidentities/hdipyuai8ce41b44"},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-kafka-byok8ce41b44","saskey":null,"isDefault":true}]}},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/microsoft.managedidentity/userassignedidentities/hdipyuai8ce41b44":{}}}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - cache-control: - - no-cache - content-length: - - '2196' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:41:13 GMT - etag: - - '"2515b354-0de3-4b9d-be0c-f7df55badceb"' - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-clusteruri: - - https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44?api-version=2018-06-01-preview - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:41:45 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:42:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:42:47 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:43:17 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:43:48 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:44:19 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:44:49 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:45:20 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:45:50 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:46:22 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:46:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:47:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:47:54 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:48:25 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:48:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:49:26 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:49:57 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:50:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:50:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:51:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:52:00 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:52:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:53:02 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:53:32 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:54:02 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:54:34 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44?api-version=2018-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44","name":"hdisdk-kafka-byok8ce41b44","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"2515b354-0de3-4b9d-be0c-f7df55badceb","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3022-3","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.2004291541.json","kind":"Kafka","componentVersion":{"Kafka":"1.1"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"dataDisksGroups":[{"disksPerNode":8,"storageAccountType":"Standard_LRS","diskSizeGB":1023}],"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-06-03T12:41:11.943","quotaInfo":{"coresUsed":23},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-kafka-byok8ce41b44-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-kafka-byok8ce41b44.azurehdinsight.net","port":443}],"tier":"standard","diskEncryptionProperties":{"vaultUri":"https://hdipy8ce41b44..vault.azure.net","keyName":"hdipykey18ce41b44","keyVersion":"830e48e217534b51ad2ddcf2f1ce4adb","encryptionAlgorithm":"RSA-OAEP","msiResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/microsoft.managedidentity/userassignedidentities/hdipyuai8ce41b44"},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-kafka-byok8ce41b44","saskey":null,"isDefault":true}]}},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/microsoft.managedidentity/userassignedidentities/hdipyuai8ce41b44":{"principalId":"1b12fe54-7b96-47a6-8f1b-ba1938623b65","tenantId":"00000000-0000-0000-0000-000000000000"}}}}' - headers: - cache-control: - - no-cache - content-length: - - '2541' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:54:35 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: 'b''{"vaultUri": "https://hdipy8ce41b44..vault.azure.net", "keyName": "hdipykey28ce41b44", - "keyVersion": "58ef873805c14c5a9d292aaa20f10ccb"}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '135' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/rotatediskencryptionkey?api-version=2018-06-01-preview - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/9c89483a-13d2-4a90-bbd3-378115386b55-0-r?api-version=2018-06-01-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 03 Jun 2020 12:54:37 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/operationresults/9c89483a-13d2-4a90-bbd3-378115386b55-0-r?api-version=2018-06-01-preview - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/9c89483a-13d2-4a90-bbd3-378115386b55-0-r?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:55:39 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/9c89483a-13d2-4a90-bbd3-378115386b55-0-r?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:56:09 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/9c89483a-13d2-4a90-bbd3-378115386b55-0-r?api-version=2018-06-01-preview - response: - body: - string: '{"status":"InProgress"}' - headers: - cache-control: - - no-cache - content-length: - - '23' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:56:40 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44/azureasyncoperations/9c89483a-13d2-4a90-bbd3-378115386b55-0-r?api-version=2018-06-01-preview - response: - body: - string: '{"status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '22' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:57:10 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.4.0 Azure-SDK-For-Python - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44?api-version=2018-06-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-8ce41b44/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok8ce41b44","name":"hdisdk-kafka-byok8ce41b44","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"2515b354-0de3-4b9d-be0c-f7df55badceb","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3022-3","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.2004291541.json","kind":"Kafka","componentVersion":{"Kafka":"1.1"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"dataDisksGroups":[{"disksPerNode":8,"storageAccountType":"Standard_LRS","diskSizeGB":1023}],"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-06-03T12:41:11.943","quotaInfo":{"coresUsed":23},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-kafka-byok8ce41b44-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-kafka-byok8ce41b44.azurehdinsight.net","port":443}],"tier":"standard","diskEncryptionProperties":{"vaultUri":"https://hdipy8ce41b44..vault.azure.net","keyName":"hdipykey28ce41b44","keyVersion":"58ef873805c14c5a9d292aaa20f10ccb","encryptionAlgorithm":"RSA-OAEP","msiResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/microsoft.managedidentity/userassignedidentities/hdipyuai8ce41b44"},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-kafka-byok8ce41b44","saskey":null,"isDefault":true}]}},"identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdipy-8ce41b44/providers/microsoft.managedidentity/userassignedidentities/hdipyuai8ce41b44":{"principalId":"1b12fe54-7b96-47a6-8f1b-ba1938623b65","tenantId":"00000000-0000-0000-0000-000000000000"}}}}' - headers: - cache-control: - - no-cache - content-length: - - '2541' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 03 Jun 2020 12:57:13 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-hdi-matched-rule: - - ClusterResourcesAndSubResources - x-ms-hdi-routed-to: - - RegionalRp - x-ms-hdi-served-by: - - northcentralus - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_kafka_cluster_with_managed_disks.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_kafka_cluster_with_managed_disks.yaml index 3df27f408a20..863ea7bf6c02 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_kafka_cluster_with_managed_disks.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_kafka_cluster_with_managed_disks.yaml @@ -12,742 +12,1168 @@ interactions: "dataDisksGroups": [{"disksPerNode": 8}]}, {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": - [{"name": "hdipy55a91a39.blob.core.windows.net", "isDefault": true, "container": - "hdisdk-kafka55a91a39", "key": "VHKcTaZ31hw5P/s4WxNa5y8RHxQjSYF8NKWZZMUg3nZoYue2tN5ryXkn3c3awmoSK2S8/AyIrNq45K1FPFd3QA=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1202'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + [{"name": "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-kafka55a91a39", + "key": "rTN4/j5u9J3X/3K+kKm5xFdH016LjMfvrQBNwkh6bIIagaCPhw1V0vLhm5UX3HT8IjN6BHlvkwuSB1IKPI3H4w=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1202' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39","name":"hdisdk-kafka55a91a39","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"e85d122f-d56a-460e-8ffd-2dc5ab51e8c2","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json","kind":"Kafka","componentVersion":{"Kafka":"1.1"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"dataDisksGroups":[{"disksPerNode":8,"storageAccountType":"Standard_LRS","diskSizeGB":1023}],"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Small"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T06:57:27.99","quotaInfo":{"coresUsed":23},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1341'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:57:28 GMT'] - etag: ['"e85d122f-d56a-460e-8ffd-2dc5ab51e8c2"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39","name":"hdisdk-kafka55a91a39","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"876cfff8-d766-4394-8b9c-166601832ef9","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.2009301626.json","kind":"Kafka","componentVersion":{"Kafka":"1.1"}},"clusterId":"3e5f998ca4bf4044817ddf0ced341dae","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"dataDisksGroups":[{"disksPerNode":8,"storageAccountType":"Standard_LRS","diskSizeGB":1023}],"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T04:19:45.76","quotaInfo":{"coresUsed":23},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-kafka55a91a39","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:57:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1890' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:19:46 GMT + etag: + - '"876cfff8-d766-4394-8b9c-166601832ef9"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:58:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null + body: + string: '{"status":"InProgress"}' headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:59:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:20:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:59:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:20:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:00:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:21:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:00:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:21:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:01:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:22:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:01:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:22:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:02:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:23:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:02:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:23:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:03:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:24:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:03:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:24:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:04:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:25:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:04:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:25:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:05:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:26:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:05:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:26:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:06:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:27:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:06:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:27:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:07:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:28:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:07:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:28:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:08:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:29:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:08:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:30:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:09:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:30:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:09:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:31:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:10:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:31:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39","name":"hdisdk-kafka55a91a39","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"e85d122f-d56a-460e-8ffd-2dc5ab51e8c2","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json","kind":"Kafka","componentVersion":{"Kafka":"1.1"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"dataDisksGroups":[{"disksPerNode":8,"storageAccountType":"Standard_LRS","diskSizeGB":1023}],"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Small"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T06:57:27.99","quotaInfo":{"coresUsed":23},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-kafka55a91a39-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-kafka55a91a39.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1575'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:10:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-55a91a39/providers/Microsoft.HDInsight/clusters/hdisdk-kafka55a91a39","name":"hdisdk-kafka55a91a39","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"876cfff8-d766-4394-8b9c-166601832ef9","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.2009301626.json","kind":"Kafka","componentVersion":{"Kafka":"1.1"}},"clusterId":"3e5f998ca4bf4044817ddf0ced341dae","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"dataDisksGroups":[{"disksPerNode":8,"storageAccountType":"Standard_LRS","diskSizeGB":1023}],"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T04:19:45.76","quotaInfo":{"coresUsed":23},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-kafka55a91a39-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-kafka55a91a39.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-kafka55a91a39","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2123' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:31:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_linux_spark_cluster_with_component_version.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_linux_spark_cluster_with_component_version.yaml index 1ebb438ee2b6..8f2f35be5f62 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_linux_spark_cluster_with_component_version.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_linux_spark_cluster_with_component_version.yaml @@ -2,1346 +2,1454 @@ interactions: - request: body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": - "Spark", "configurations": {"gateway": {"restAuthCredential.isEnabled": - "true", "restAuthCredential.username": "admin", "restAuthCredential.password": - "Password1!"}}}, "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": - 2, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": + "Spark", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, + "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": 2, + "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, {"name": "workernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipy7dce1ed9.blob.core.windows.net", "isDefault": true, "container": "hdisdk-sparkcomponentversions7dce1ed9", - "key": "o/AOPtEDgRxrLJMixGamaQsyPkqhIepYgltUEH5bDBmlM5A0MWGXFJkgubB54+6Pjyf06wuSSlcy2yyvY5zHZA=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1186'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-sparkcomponentversions7dce1ed9", + "key": "wz6W1y2fkUv74WyR0RqyPQzevZmeu7Zs6GjWlFxjl1udnQDkTWA41ZQgjm57lIZtNdBzwqf9+RDkcuV9lVRiKw=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1177' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9","name":"hdisdk-sparkcomponentversions7dce1ed9","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"7afa8272-c648-4169-ba26-21b5fba90531","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json","kind":"Spark","componentVersion":{"Spark":"2.3"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T06:22:08.877","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1284'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:22:09 GMT'] - etag: ['"7afa8272-c648-4169-ba26-21b5fba90531"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:22:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:23:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:23:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:24:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:24:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:25:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:25:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:26:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:26:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:27:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:27:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:28:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9","name":"hdisdk-sparkcomponentversions7dce1ed9","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"cbe82bef-b13d-4453-8a9e-878f0c70cd26","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.2009301626.json","kind":"Spark","componentVersion":{"Spark":"2.3"}},"clusterId":"9ca3cece2ccf4416af832392c5f13a9f","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T04:32:33.8","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-sparkcomponentversions7dce1ed9","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1847' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:32:35 GMT + etag: + - '"cbe82bef-b13d-4453-8a9e-878f0c70cd26"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:28:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:33:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:29:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:33:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:29:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:34:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:30:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:34:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:30:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:35:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:31:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:35:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:31:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:36:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:32:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:36:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:32:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:37:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:33:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:37:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:34:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:38:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:34:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:38:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:35:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:39:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:35:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:39:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:36:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:40:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:36:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:40:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:37:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:41:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:37:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:41:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:38:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:42:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:38:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:42:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:39:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:43:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:39:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:43:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:40:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:44:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:40:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:44:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:41:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:45:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:41:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:45:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:42:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:46:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:42:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:46:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:43:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:47:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:43:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:44:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:44:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:45:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:45:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:46:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9","name":"hdisdk-sparkcomponentversions7dce1ed9","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"7afa8272-c648-4169-ba26-21b5fba90531","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json","kind":"Spark","componentVersion":{"Spark":"2.3"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T06:22:08.877","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-sparkcomponentversions7dce1ed9-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-sparkcomponentversions7dce1ed9.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1552'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 06:46:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7dce1ed9/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions7dce1ed9","name":"hdisdk-sparkcomponentversions7dce1ed9","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"cbe82bef-b13d-4453-8a9e-878f0c70cd26","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.2009301626.json","kind":"Spark","componentVersion":{"Spark":"2.3"}},"clusterId":"9ca3cece2ccf4416af832392c5f13a9f","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T04:32:33.8","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-sparkcomponentversions7dce1ed9-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-sparkcomponentversions7dce1ed9.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-sparkcomponentversions7dce1ed9","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2114' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_mlservices_cluster.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_mlservices_cluster.yaml index 64e6deb74a15..07b07f880a22 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_mlservices_cluster.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_mlservices_cluster.yaml @@ -14,1309 +14,53 @@ interactions: "password": "Password1!"}}}, {"name": "edgenode", "targetInstanceCount": 1, "hardwareProfile": {"vmSize": "Standard_D4_v2"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": - [{"name": "hdipye3c14b4.blob.core.windows.net", "isDefault": true, "container": - "hdisdk-mlservicese3c14b4", "key": "ViME5aFIZ3cQbYUpzSL5grAP+ENZqTNowp3bpT42/LIRErLlKhxyLCoCCWNV8XVvNE7OwI/sVI8lBE5EXP6iAw=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1362'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + [{"name": "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-mlservicese3c14b4", + "key": "2AwK12BosLyTBMK3olEqGrPmKEDXTUd3qMGJ/zDOU1tfMXKzeu6gZA5lIs8MwzdLm/KeOiwE3ubso114ziX5Ew=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1362' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4","name":"hdisdk-mlservicese3c14b4","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"3deeb057-6d6c-430e-bb40-5ac136dca4d9","tags":{},"properties":{"clusterVersion":"3.6.1000.3","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/mlservices-3.6.1000.3.1810270004.json","kind":"MLServices","componentVersion":{"spark":"2.2"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"Standard_D4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T07:59:02.283","quotaInfo":{"coresUsed":28},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1447'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:59:02 GMT'] - etag: ['"3deeb057-6d6c-430e-bb40-5ac136dca4d9"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:59:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:00:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:00:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:01:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:01:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:02:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:02:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:03:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:03:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:04:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:04:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:05:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:05:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:06:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:06:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:07:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:07:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:08:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:08:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:09:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:09:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:10:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:10:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:11:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:11:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:12:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:13:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:13:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:14:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:14:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:15:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:15:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:16:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:16:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:17:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:17:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:18:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:18:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:19:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:19:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:20:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:20:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:21:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:21:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:22:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:22:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4?api-version=2018-06-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-e3c14b4/providers/Microsoft.HDInsight/clusters/hdisdk-mlservicese3c14b4","name":"hdisdk-mlservicese3c14b4","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"3deeb057-6d6c-430e-bb40-5ac136dca4d9","tags":{},"properties":{"clusterVersion":"3.6.1000.3","clusterHdpVersion":"2.6.3.84-1","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/mlservices-3.6.1000.3.1810270004.json","kind":"MLServices","componentVersion":{"spark":"2.2"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"Standard_D4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T07:59:02.283","quotaInfo":{"coresUsed":28},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-mlservicese3c14b4-ssh.azurehdinsight.net","port":22},{"name":"EDGESSH","protocol":"TCP","location":"hdisdk-mlservicese3c14b4-ed-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-mlservicese3c14b4.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1796'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 08:22:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"code":"BadRequest","message":"HDI Version''3.6'' is not supported + for clusterType ''MLServices'' and componentVersion ''default''."}' + headers: + cache-control: + - no-cache + content-length: + - '128' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:48:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 400 + message: Bad Request version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_rserver_cluster.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_rserver_cluster.yaml index a0f427d71a11..3ce7a75d2512 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_rserver_cluster.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_rserver_cluster.yaml @@ -14,1120 +14,2594 @@ interactions: "password": "Password1!"}}}, {"name": "edgenode", "targetInstanceCount": 1, "hardwareProfile": {"vmSize": "Standard_D4_v2"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": - [{"name": "hdipyd20d1380.blob.core.windows.net", "isDefault": true, "container": - "hdisdk-rserverd20d1380", "key": "mTGsMPFnvOn0rMhbgJz8B15gbUdf5204uV6l+Q1mjbqwDMCY2YsYCtTdfPKCzT/DusCsz9hN7ul0kdjTiSPEHw=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1358'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + [{"name": "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-rserverd20d1380", + "key": "bn7eVGk7DGwgAE/s+hd/Og8w5OPDK+QiIaFyaeO4J6ZRQSYy6HrPksYM+TQqdy7IyWI5FsIv8KRJRnu6A9JzEg=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1358' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380","name":"hdisdk-rserverd20d1380","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"d8a1f66d-4553-40a0-9c87-f37da1e3c98b","tags":{},"properties":{"clusterVersion":"3.6.1000.0","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.1812120705.json","kind":"RServer","componentVersion":{"spark":"2.1"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"Standard_D4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T07:34:58.947","quotaInfo":{"coresUsed":28},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1438'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:34:58 GMT'] - etag: ['"d8a1f66d-4553-40a0-9c87-f37da1e3c98b"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380","name":"hdisdk-rserverd20d1380","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"0e8cebd6-317f-4a31-9d35-9a0982ebf54b","tags":{},"properties":{"clusterVersion":"3.6.1000.0","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.2006040535.json","kind":"RServer","componentVersion":{"spark":"2.1"}},"clusterId":"3a971edb9bed435db99fcc2fe879ec52","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"standard_d4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T04:49:16.13","quotaInfo":{"coresUsed":28},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-rserverd20d1380","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1987' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:49:16 GMT + etag: + - '"0e8cebd6-317f-4a31-9d35-9a0982ebf54b"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:35:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:49:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:36:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:50:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:36:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:50:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:37:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:51:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:37:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:51:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:38:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:52:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:38:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:53:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:39:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:53:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:39:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:54:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:40:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:54:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:40:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:55:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:41:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:55:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:41:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:56:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:42:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:56:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:42:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:57:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:43:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:57:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:43:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:58:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:44:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:58:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:44:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:59:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:45:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 04:59:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:45:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:00:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:46:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:00:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:46:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:01:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:47:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:01:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:47:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:02:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:48:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:02:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:48:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:03:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:49:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:03:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:49:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:04:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:50:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:04:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:51:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:05:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:51:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:05:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:52:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:06:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:52:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:06:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:53:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:07:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:53:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:07:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:54:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:08:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:54:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:08:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:55:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:09:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:09:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:10:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:10:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:11:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:11:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:12:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:12:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:13:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:13:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:14:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:14:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:15:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:16:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:16:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:17:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380","name":"hdisdk-rserverd20d1380","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"d8a1f66d-4553-40a0-9c87-f37da1e3c98b","tags":{},"properties":{"clusterVersion":"3.6.1000.0","clusterHdpVersion":"2.6.2.38-1","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.1812120705.json","kind":"RServer","componentVersion":{"spark":"2.1"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"Standard_D4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T07:34:58.947","quotaInfo":{"coresUsed":28},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-rserverd20d1380-ssh.azurehdinsight.net","port":22},{"name":"EDGESSH","protocol":"TCP","location":"hdisdk-rserverd20d1380-ed-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-rserverd20d1380.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1781'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 07:55:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d20d1380/providers/Microsoft.HDInsight/clusters/hdisdk-rserverd20d1380","name":"hdisdk-rserverd20d1380","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"0e8cebd6-317f-4a31-9d35-9a0982ebf54b","tags":{},"properties":{"clusterVersion":"3.6.1000.0","clusterHdpVersion":"2.6.2.38-1","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.2006040535.json","kind":"RServer","componentVersion":{"spark":"2.1"}},"clusterId":"3a971edb9bed435db99fcc2fe879ec52","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"standard_d4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T04:49:16.13","quotaInfo":{"coresUsed":28},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-rserverd20d1380-ssh.azurehdinsight.net","port":22},{"name":"EDGESSH","protocol":"TCP","location":"hdisdk-rserverd20d1380-ed-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-rserverd20d1380.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-rserverd20d1380","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2330' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:17:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_additional_storage.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_additional_storage.yaml deleted file mode 100644 index 7ffcbe3ac14d..000000000000 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_additional_storage.yaml +++ /dev/null @@ -1,1110 +0,0 @@ -interactions: -- request: - body: 'b''b\''b\\\''{"location": "North Central US", "tags": {}, "properties": - {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": - {"kind": "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": - "true", "restAuthCredential.username": "admin", "restAuthCredential.password": - "Password1!"}, "clusterIdentity": {"clusterIdentity.applicationId": "00000000-0000-0000-0000-000000000000", - "clusterIdentity.certificate": "MIIJ8gIBAzCCCa4GCSqGSIb3DQEHAaCCCZ8EggmbMIIJlzCCBgAGCSqGSIb3DQEHAaCCBfEEggXtMIIF6TCCBeUGCyqGSIb3DQEMCgECoIIE9jCCBPIwHAYKKoZIhvcNAQwBAzAOBAiTJstpWcGFZAICB9AEggTQZvg9qVE2ptb3hdH9hnDf5pwIeGghe9assBeEKj/W1JMUjsdEu7qzXH9/3Ro6C1HF6MvSqbav7MD8je9AMb0jl7T3ZmXPgGtrbUsSBTPruVv0hTXPRTxQmcfwae5vEkD03b/4W22sXMMYZB7wOTQMl1d5+0wt267qdF+G1XWtRI2jnxetK8/oyMQxn5Cwuz/VAmn1tXwRAN9gIiZDA8MwvpYha/iFVWKu/vnHg8HT47ry+27/wh8ifM9ea7JWhKh2tZoPIMou9/P/CgkkMv9KVHlmiMldA3Phxsrqjbh/wbd8RWBOtSM7rryMVnc1MYonZraDJMGOLGAhvEcXNBKLwRdmrDDYvpOYlDYKlmNvDXYDm410XCOia2aKP0WoP4qLsExtUwW8Qk2r2QRy5O4B5p2EbPZBlPlMMO4S1NkASjJCghuTCUgvk3uwe2L/mMf0IajAf+R0/VW/fXHbhJkFKobi5JlIqWaHsSC7hMidWj6771Yi8UEXOMshWERs2UHH05aIO3c50lnyypHyhA3BohKUXzNhHA0o7ImQRjmjjTJFBLMNiIZSW0aPtLN1+92pT0a6iS7P1PC0DqEnOjkcs/VOUI3qTt0X78b6wnDO+ATo39B13njGD0mtrVvtTeHclBouoFzpKHkS86GSGmDoHQH6EHhpGF/7wPVfAjAiSrNQb/QLjPHWo+BeiOml4Xrti0K6rWb0AXhY8AmtIlEUC9GscDSdT55v9j9tWONzOXECCgZBYDzNlagMLkCDIFHZwbEGPn3pOc7BTOmQf1GQjfvunLiLWWfe3of9pR+NCDyi1VJUNvjoE+/YnVoBBUMBBO6/4t2SL92iouEF4fyqkQFDb0FOPW4Kfh7H5W+sDZIN9NfqNzniK6HFcpS+jnGm9x9rx81DmMcwtiYZTfYDSivtNxOYrmRFXx574stBzvG0En11uc6E4QhWnkCSsBnnOMjRGDyv95BFVMZC0gIS0rWoKYxjdblpmo9w/yfDtAmQuCs3bdqcJ4mMYt0ueUUZImPRQRJOSrVyoq+brLw657EqM1SahtBmzTG7+HTl1Qi/xZ1xmz6paQDSFVPRcb5QSIp4v08j/Lmj0x4R9jQ4cAmZ3CfPKXBKuIRu2AI2EuqGOoAxvQQEpSjSKUs3fbQxjptUhK7o5FcXAfAxHLzdx2/9L1Iqbo/3HDkbmuix24NRXESG0e/kVr7VAGhoALI7L+eKAdn4AkgmBt55FXZ+uHY9bSKZUoz4Oed2bz2A+9sQBcXG06fLqQEwGVPhATEbYyRduuY6AdTRAmOKmadT5BTTD7+dnFlIt+u7ZpbXm6S6LcSqGqHVacig27SwDt0VznQsjMRDVCiHaWKg4W78xbP7YVvNTB/cBCHmhh5ZXfO/TucizXsQPJlwEMr2CbqByqldXi0i1GUrbg4aLUGZtxgUYex7dHlx6GUejOGRh7fLYCNBo43pjCFvbhFwb0/dWya0crJjpGiY3DNtl1YosJBmvso/Rli4QqVeN7tb45ZsGWTEUg1MDeoGRDqal7GDsvBnH574T5Sz3nSLAoNXR7k0rYaWhezJNobo/SDkuSXskVjNJpv+vjEyW2UGYNhaeK/UHKBP8IrmSAEIZejQj6OEzSPM6TNLW5qJb6LK9agxgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoAMAAyAGYAZQA0AGUAOAAzAC0AMgAzADEANgAtADQAMQA3AGMALQA5ADQANQBjAC0AZgA1ADUAMABhADUAZAAwAGIAMAAzAGEwggOPBgkqhkiG9w0BBwagggOAMIIDfAIBADCCA3UGCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEDMA4ECAR1hzovrDkgAgIH0ICCA0gq6boOLRoE5PHFfVIXYtzqg1u2vPMm5mgBUvrh3u+VZ/1FMGTj8od9+Yu91cnumVSgfRiGq7lz+K6by5JsBqP68ksLA2d/PqtTdofCoZ7SgVIo+qqzA64HIQFkElNpo/BJMX/JGpc5OlFq7mdHe6xL2Pfx/3z/pNSV+D+WaAwaDnbLqI7MU6ED3j5l63mExk/8H/VVbiPdqMTzbhIp65oHTGanw86w7RlywqeNb3DkPVMB78Jhcg8vf2AxB8hKf6QiO2uJc/4WKkyLoLmNoD/zhaoUuAbC6hrNVAa9VRWNRfwKZrzwIMSLlKYwWmVcD/QgC8gwxuF+wV3UHwDNAdEe8TEsOhE99/ZiUiogxMdkopZwwtZMszzBB/x5mHCGySauDMVPwoYT6QXewJhGrUap0jwB/Vzy5FaWHi/m8964zWpwC6xfkT2hkDb+rfouWutpiAgMne5tD9YvqxTUmZFIlgwpLrVdPcKQS+b/uIXPTv8uW177XsCOmGGu728ld8H1Ifb2nPveK09Y0AA+ARFpOX0p0ZuxMQqk6NnlA+eESJVm5cLfKszorRcrNPINXaEOGl2okuijm8va30FH9GIYWRt+Be6s8qG672aTO/2eHaTHeR/qQ9aEt0ASDXGcugYS14Jnu2wbauyvotZ6eAvgl5tM2leMpgSLaQqYzPTV2uiD6zDUqxwjm2P8EZQihEQqLUV1jvQuQB4Ui7MryDQ+QiDBD2m5c+9SDPafcR7qgRe/cP4hj5BqzHTcNQAD5BLXze7Yx+TMdf+Qe/R1uBYm8bLjUv9hwUmtMeZP4RU6RPJrN2aRf7BUdgS0j/8YAhxViPucRENuhEfS4sotHf1CJZ7xJz0ZE9cpVY6JLl1tbmuf1Eh50cicZ1SHQhqSP0ggLHV6DNcJz+kyekEe9qggGDi6mreYz/kJnnumsDy5cToIHy9jJhtXzj+/ZNGkdpq9HWMiwAT/VR1WPpzjn06m7Z87PiLaiC3simQtjnl0gVF11Ev4rbIhYjFBL0nKfNpzaWlMaOVF+EumROk3EbZVpx1K6Yh0zWh/NocWSUrtSoHVklzwPCNRvnE1Ehyw5t9YbEBsTIDWRYyqbVYoFVfOUhq5p4TXrqEwOzAfMAcGBSsOAwIaBBSx7sJo66zYk4VOsgD9V/co1SikFAQUUvU/kE4wTRnPRnaWXnno+FCb56kCAgfQ", - "clusterIdentity.aadTenantId": "https://login.windows.net/00000000-0000-0000-0000-000000000000", - "clusterIdentity.resourceUri": "https://datalake.azure.net/", "clusterIdentity.certificatePassword": - "123"}}}, "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": - 2, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": - {"username": "sshuser", "password": "Password1!"}}}, {"name": "workernode", - "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": - {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, - {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": - "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", - "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipy7a07169e.blob.core.windows.net", "isDefault": true, "container": "hdisdk-additional7a07169e", - "key": "QsBBEAXcPMKdSfWvSTc58pCxG5okZ9ZtVZh0r4hsHcSoE9rfApa496N2P1V/Bcva5sXyfRaXHzVHMTAWSKuEgQ=="}, - {"name": "hdipy27a07169e.blob.core.windows.net", "isDefault": false, "container": - "hdisdk-additional7a07169e", "key": "2+5mMux2T44aHOF9BPqXH37Vv12HT4YjxwlmXSs+YLM+U2tKNINCooepdPLn13lz59bbbJzSYn0FZqlIWe4ckA=="}]}}}\\\''\''''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['5111'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e?api-version=2018-06-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e","name":"hdisdk-additional7a07169e","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"a0dbe33e-319b-4cab-8246-6a1a97127ceb","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2019-01-02T03:09:31.81","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1262'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:09:31 GMT'] - etag: ['"a0dbe33e-319b-4cab-8246-6a1a97127ceb"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:10:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:10:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:11:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:11:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:12:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:12:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:13:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:13:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:14:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:14:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:15:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:15:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:16:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:16:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:17:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:17:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:18:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:18:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:19:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:19:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:20:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:20:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:21:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:21:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:22:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:22:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:23:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:24:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:24:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:25:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:25:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:26:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:26:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:27:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:27:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:28:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:28:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:29:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e?api-version=2018-06-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-7a07169e/providers/Microsoft.HDInsight/clusters/hdisdk-additional7a07169e","name":"hdisdk-additional7a07169e","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"a0dbe33e-319b-4cab-8246-6a1a97127ceb","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2019-01-02T03:09:31.81","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-additional7a07169e-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-additional7a07169e.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1506'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 02 Jan 2019 03:29:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_adls_gen2.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_adls_gen2.yaml index 5b92b4ab2939..027e7fc7930e 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_adls_gen2.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_adls_gen2.yaml @@ -12,1014 +12,1354 @@ interactions: {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipybcf612a0.dfs.core.windows.net", "isDefault": true, "fileSystem": "hdisdk-adlgen2bcf612a0", - "key": "Of/ERb3wRttXMJIULUQn+k4MY3Vtt2i6EpP03rbXkAztHyBisHSG7sOO0S//O4TWk3OqF2/JJ+RQBia1qeW4hA=="}, - {"name": "hdipy2bcf612a0.blob.core.windows.net", "isDefault": false, "container": - "hdisdk-adlgen2bcf612a0", "key": "y7HoUryZjP8L58iBBzcohoRuBItqezNI5PE6w0TJjQcJOJgtUyZ1nyl2y+cta8m+k3dWaq1AVMlPrHlcKDGcrw=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1371'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.dfs.core.windows.net", "isDefault": true, "fileSystem": "hdisdk-adlgen2bcf612a0", + "key": "ovnf1A5s24KWSYVcyUNVTFjXtGhv2Wq3a+LVkyAznSp0lkEuLSff5EjQKAaaJU7BTa3O23mSB044AoKuaihFwg=="}, + {"name": "hdipy2.blob.core.windows.net", "isDefault": false, "container": "hdisdk-adlgen2bcf612a0", + "key": "Z0slMrLuBf3Sy0wI8zrywfmr8hjxKH8TkAmWb7tJTDIl8Ra5+YzdhXi3v/IgHm+w4Jst+u0fw2xzJbqbr60iWg=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1371' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0","name":"hdisdk-adlgen2bcf612a0","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"2f056bef-db84-4739-ba2b-d2a026d49458","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-28T14:11:34.917","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1257'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:11:34 GMT'] - etag: ['"2f056bef-db84-4739-ba2b-d2a026d49458"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:12:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:12:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:13:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:13:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:14:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:14:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0","name":"hdisdk-adlgen2bcf612a0","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"0efa49e8-f0c5-4ef7-8c49-f669c454187c","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"96e5e5bffdfa43f4b5201459c71f49d3","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T05:18:29.987","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.dfs.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":"hdisdk-adlgen2bcf612a0","container":null,"saskey":null,"isDefault":true,"fileshare":null},{"name":"hdipy2.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-adlgen2bcf612a0","saskey":null,"isDefault":false,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '2008' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:18:30 GMT + etag: + - '"0efa49e8-f0c5-4ef7-8c49-f669c454187c"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:15:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:19:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:15:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:19:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:16:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:20:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:16:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:20:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:17:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:21:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:17:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:21:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:18:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:22:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:18:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:22:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:19:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:23:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:19:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:23:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:20:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:24:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:20:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:24:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:21:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:25:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:21:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:25:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:22:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:26:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:22:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:26:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:23:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:27:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:24:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:27:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:24:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:28:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:25:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:28:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:25:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:29:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:26:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:29:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:26:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:30:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:27:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:30:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:27:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:31:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:28:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:31:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:28:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:32:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:29:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:29:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0","name":"hdisdk-adlgen2bcf612a0","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"2f056bef-db84-4739-ba2b-d2a026d49458","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-28T14:11:34.917","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-adlgen2bcf612a0-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-adlgen2bcf612a0.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1495'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 14:29:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-bcf612a0/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen2bcf612a0","name":"hdisdk-adlgen2bcf612a0","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"0efa49e8-f0c5-4ef7-8c49-f669c454187c","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"96e5e5bffdfa43f4b5201459c71f49d3","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T05:18:29.987","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-adlgen2bcf612a0-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-adlgen2bcf612a0.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.dfs.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":"hdisdk-adlgen2bcf612a0","container":null,"saskey":null,"isDefault":true,"fileshare":null},{"name":"hdipy2.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-adlgen2bcf612a0","saskey":null,"isDefault":false,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2245' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:32:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_empty_extended_parameters.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_empty_extended_parameters.yaml index 70a497b4124e..61d8d76c0ba4 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_empty_extended_parameters.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_create_with_empty_extended_parameters.yaml @@ -2,28 +2,44 @@ interactions: - request: body: '{}' headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-265719a3/providers/Microsoft.HDInsight/clusters/hdisdk-cluster265719a3?api-version=2018-06-01-preview response: - body: {string: '{"error":{"code":"LocationRequired","message":"The location property - is required for this definition."}}'} + body: + string: '{"error":{"code":"LocationRequired","message":"The location property + is required for this definition."}}' headers: - cache-control: [no-cache] - content-length: ['104'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 05:51:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 400, message: Bad Request} + cache-control: + - no-cache + content-length: + - '104' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:33:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 400 + message: Bad Request version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_gateway_settings.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_gateway_settings.yaml index d0891ab0cbb9..cb61e7d9709c 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_gateway_settings.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_gateway_settings.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": + body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, @@ -13,7 +13,7 @@ interactions: "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-http64501105", - "key": "fyuFawWCkHUCWVfGKU/NI0ncpS1oQM5S4NGi3Yt5h4dXKBFM5hlB/OAVLd4wCE8b17ecLWZuopcfu3XKFho5rQ=="}]}}}''' + "key": "PpAJHiBeeXdWTeYo3TVF7xllsLZy+1WmQCDRkm+mReWHAjwc2p+jcvH6rh8joQmrbLdTMi/ylrvYGIsgrLLGKg=="}]}}}' headers: Accept: - application/json @@ -24,31 +24,28 @@ interactions: Content-Length: - '1160' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105?api-version=2018-06-01-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105","name":"hdisdk-http64501105","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"ede1f50f-d36e-412d-9f7b-abe90fc85fe5","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2004291541.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a2_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-06-03T09:05:26.587","quotaInfo":{"coresUsed":20},"tier":"standard","storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-http64501105","saskey":null,"isDefault":true}]}}}' + Central US","etag":"bc11a4b6-768b-4fcc-8285-44d94fe8fc08","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"b284efa8d7474251aa07075889f8e506","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T05:34:11.53","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-http64501105","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' headers: azure-asyncoperation: - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview cache-control: - no-cache content-length: - - '1496' + - '1797' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:05:29 GMT + - Wed, 28 Oct 2020 05:34:12 GMT etag: - - '"ede1f50f-d36e-412d-9f7b-abe90fc85fe5"' + - '"bc11a4b6-768b-4fcc-8285-44d94fe8fc08"' expires: - '-1' pragma: @@ -62,7 +59,7 @@ interactions: x-content-type-options: - nosniff x-ms-hdi-clusteruri: - - https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105?api-version=2018-06-01-preview + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105?api-version=2018-06-01-preview x-ms-hdi-matched-rule: - ClusterResourcesAndSubResources x-ms-hdi-routed-to: @@ -70,7 +67,7 @@ interactions: x-ms-hdi-served-by: - northcentralus x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -78,14 +75,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -99,7 +95,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:06:00 GMT + - Wed, 28 Oct 2020 05:34:43 GMT expires: - '-1' pragma: @@ -125,14 +121,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -146,7 +141,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:06:31 GMT + - Wed, 28 Oct 2020 05:35:13 GMT expires: - '-1' pragma: @@ -172,14 +167,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -193,7 +187,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:07:01 GMT + - Wed, 28 Oct 2020 05:35:45 GMT expires: - '-1' pragma: @@ -219,14 +213,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -240,7 +233,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:07:32 GMT + - Wed, 28 Oct 2020 05:36:15 GMT expires: - '-1' pragma: @@ -266,14 +259,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -287,7 +279,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:08:02 GMT + - Wed, 28 Oct 2020 05:36:45 GMT expires: - '-1' pragma: @@ -313,14 +305,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -334,7 +325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:08:33 GMT + - Wed, 28 Oct 2020 05:37:16 GMT expires: - '-1' pragma: @@ -360,14 +351,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -381,7 +371,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:09:03 GMT + - Wed, 28 Oct 2020 05:37:46 GMT expires: - '-1' pragma: @@ -407,14 +397,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -428,7 +417,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:09:33 GMT + - Wed, 28 Oct 2020 05:38:17 GMT expires: - '-1' pragma: @@ -454,14 +443,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -475,7 +463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:10:04 GMT + - Wed, 28 Oct 2020 05:38:48 GMT expires: - '-1' pragma: @@ -501,14 +489,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -522,7 +509,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:10:35 GMT + - Wed, 28 Oct 2020 05:39:18 GMT expires: - '-1' pragma: @@ -548,14 +535,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -569,7 +555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:11:05 GMT + - Wed, 28 Oct 2020 05:39:48 GMT expires: - '-1' pragma: @@ -595,14 +581,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -616,7 +601,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:11:35 GMT + - Wed, 28 Oct 2020 05:40:21 GMT expires: - '-1' pragma: @@ -642,14 +627,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -663,7 +647,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:12:06 GMT + - Wed, 28 Oct 2020 05:40:51 GMT expires: - '-1' pragma: @@ -689,14 +673,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -710,7 +693,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:12:37 GMT + - Wed, 28 Oct 2020 05:41:22 GMT expires: - '-1' pragma: @@ -736,14 +719,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -757,7 +739,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:13:07 GMT + - Wed, 28 Oct 2020 05:41:52 GMT expires: - '-1' pragma: @@ -783,14 +765,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -804,7 +785,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:13:38 GMT + - Wed, 28 Oct 2020 05:42:22 GMT expires: - '-1' pragma: @@ -830,14 +811,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -851,7 +831,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:14:08 GMT + - Wed, 28 Oct 2020 05:42:53 GMT expires: - '-1' pragma: @@ -877,14 +857,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -898,7 +877,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:14:39 GMT + - Wed, 28 Oct 2020 05:43:24 GMT expires: - '-1' pragma: @@ -924,14 +903,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -945,7 +923,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:15:09 GMT + - Wed, 28 Oct 2020 05:43:54 GMT expires: - '-1' pragma: @@ -971,14 +949,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -992,7 +969,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:15:40 GMT + - Wed, 28 Oct 2020 05:44:25 GMT expires: - '-1' pragma: @@ -1018,14 +995,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -1039,7 +1015,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:16:11 GMT + - Wed, 28 Oct 2020 05:44:55 GMT expires: - '-1' pragma: @@ -1065,14 +1041,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -1086,7 +1061,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:16:41 GMT + - Wed, 28 Oct 2020 05:45:26 GMT expires: - '-1' pragma: @@ -1112,14 +1087,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -1133,7 +1107,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:17:11 GMT + - Wed, 28 Oct 2020 05:45:57 GMT expires: - '-1' pragma: @@ -1159,14 +1133,13 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -1180,7 +1153,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:17:42 GMT + - Wed, 28 Oct 2020 05:46:27 GMT expires: - '-1' pragma: @@ -1206,14 +1179,197 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:46:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:47:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:48:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:48:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/create?api-version=2018-06-01-preview response: @@ -1227,7 +1383,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:18:12 GMT + - Wed, 28 Oct 2020 05:49:01 GMT expires: - '-1' pragma: @@ -1253,29 +1409,28 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105?api-version=2018-06-01-preview response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105","name":"hdisdk-http64501105","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"ede1f50f-d36e-412d-9f7b-abe90fc85fe5","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3022-3","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2004291541.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a2_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-06-03T09:05:26.587","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-http64501105-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-http64501105.azurehdinsight.net","port":443}],"tier":"standard","storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-http64501105","saskey":null,"isDefault":true}]}}}' + Central US","etag":"bc11a4b6-768b-4fcc-8285-44d94fe8fc08","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"b284efa8d7474251aa07075889f8e506","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T05:34:11.53","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-http64501105-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-http64501105.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-http64501105","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' headers: cache-control: - no-cache content-length: - - '1727' + - '2028' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:18:13 GMT + - Wed, 28 Oct 2020 05:49:02 GMT expires: - '-1' pragma: @@ -1309,10 +1464,7 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/getGatewaySettings?api-version=2018-06-01-preview response: @@ -1326,7 +1478,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:18:14 GMT + - Wed, 28 Oct 2020 05:49:02 GMT expires: - '-1' pragma: @@ -1363,12 +1515,9 @@ interactions: Content-Length: - '126' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/updateGatewaySettings?api-version=2018-06-01-preview response: @@ -1376,17 +1525,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/8d5a4692-38ea-4524-a1d1-ada06d8d36ff-0-r?api-version=2018-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/af6864c1-24e1-4e06-bc21-18a2f3258b56-0-r?api-version=2018-06-01-preview cache-control: - no-cache content-length: - '0' date: - - Wed, 03 Jun 2020 09:18:15 GMT + - Wed, 28 Oct 2020 05:49:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/operationresults/8d5a4692-38ea-4524-a1d1-ada06d8d36ff-0-r?api-version=2018-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/operationresults/af6864c1-24e1-4e06-bc21-18a2f3258b56-0-r?api-version=2018-06-01-preview pragma: - no-cache strict-transport-security: @@ -1408,16 +1557,61 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/8d5a4692-38ea-4524-a1d1-ada06d8d36ff-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/af6864c1-24e1-4e06-bc21-18a2f3258b56-0-r?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:50:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/azureasyncoperations/af6864c1-24e1-4e06-bc21-18a2f3258b56-0-r?api-version=2018-06-01-preview response: body: string: '{"status":"Succeeded"}' @@ -1429,7 +1623,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:19:18 GMT + - Wed, 28 Oct 2020 05:50:35 GMT expires: - '-1' pragma: @@ -1451,6 +1645,46 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/operationresults/af6864c1-24e1-4e06-bc21-18a2f3258b56-0-r?api-version=2018-06-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 05:50:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: @@ -1463,10 +1697,7 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-64501105/providers/Microsoft.HDInsight/clusters/hdisdk-http64501105/getGatewaySettings?api-version=2018-06-01-preview response: @@ -1480,7 +1711,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:19:19 GMT + - Wed, 28 Oct 2020 05:50:36 GMT expires: - '-1' pragma: diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_configurations.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_configurations.yaml index 3ebf670f69ab..1b7985c35367 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_configurations.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_configurations.yaml @@ -2,1188 +2,1593 @@ interactions: - request: body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": - "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": - "true", "restAuthCredential.username": "admin", "restAuthCredential.password": - "Password1!"}, "hive-site": {"key7": "value7", "key8": "value8"}, "mapred-site": - {"key5": "value5", "key6": "value6"}}}, "computeProfile": {"roles": [{"name": - "headnode", "targetInstanceCount": 2, "hardwareProfile": {"vmSize": "Large"}, - "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": - "Password1!"}}}, {"name": "workernode", "targetInstanceCount": 1, "hardwareProfile": + "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", + "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}, + "hive-site": {"key1": "value1", "key2": "value2"}, "mapred-site": {"key5": "value5", + "key6": "value6"}, "yarn-site": {"key7": "value7", "key8": "value8"}}}, "computeProfile": + {"roles": [{"name": "headnode", "targetInstanceCount": 2, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": {"username": - "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": - [{"name": "hdipy868c11cd.blob.core.windows.net", "isDefault": true, "container": - "hdisdk-configs868c11cd", "key": "oohiqjYVJdFVZq+8LR5uol67ULc1T8lvRakaycofPOoB2hSAlRVLVExtz/gKgETxTfBg81QCF4P1BscQn7Ql/Q=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1086'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "sshuser", "password": "Password1!"}}}, {"name": "workernode", "targetInstanceCount": + 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": + {"username": "sshuser", "password": "Password1!"}}}, {"name": "zookeepernode", + "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": + {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, + "storageProfile": {"storageaccounts": [{"name": "hdipy.blob.core.windows.net", + "isDefault": true, "container": "hdisdk-configs868c11cd", "key": "QsLv8rg+HH8eb7JPXYeeeOwDw2+jNk3dfHyFN6qr9yP6fIGQQw2AN58LrKHthAeSG+YHT4m0EZOomu8J7+NvwQ=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1318' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd","name":"hdisdk-configs868c11cd","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"638eef21-ba98-49ae-9f63-cb99014afb24","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T03:34:46.033","quotaInfo":{"coresUsed":12},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1078'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:34:46 GMT'] - etag: ['"638eef21-ba98-49ae-9f63-cb99014afb24"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd","name":"hdisdk-configs868c11cd","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"186d2ce4-4514-4a8d-a171-292ca095449e","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"1f3132130ab543aba3f36cb24474086e","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T05:51:32.203","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-configs868c11cd","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1807' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:51:34 GMT + etag: + - '"186d2ce4-4514-4a8d-a171-292ca095449e"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:35:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:52:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:35:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:52:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:36:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:36:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:53:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:37:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:54:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:37:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:54:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:38:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:55:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:38:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:55:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:39:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:56:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:39:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:56:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:40:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:57:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:40:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:57:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:41:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:58:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:42:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:58:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:42:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:59:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:43:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 05:59:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:43:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:00:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:44:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:00:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:44:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:01:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:45:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:01:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:45:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:02:16 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:46:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:02:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:46:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:03:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:47:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:03:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:47:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:04:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:48:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:04:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:48:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:05:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:49:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:49:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:50:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:50:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:51:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:51:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:52:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd","name":"hdisdk-configs868c11cd","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"638eef21-ba98-49ae-9f63-cb99014afb24","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T03:34:46.033","quotaInfo":{"coresUsed":12},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-configs868c11cd-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-configs868c11cd.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1495'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd","name":"hdisdk-configs868c11cd","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"186d2ce4-4514-4a8d-a171-292ca095449e","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"1f3132130ab543aba3f36cb24474086e","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T05:51:32.203","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-configs868c11cd-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-configs868c11cd.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-configs868c11cd","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2044' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:05:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/configurations/hive-site?api-version=2018-06-01-preview response: - body: {string: '{"key1":"value1","key2":"value2"}'} - headers: - cache-control: [no-cache] - content-length: ['33'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"key1":"value1","key2":"value2"}' + headers: + cache-control: + - no-cache + content-length: + - '33' + content-type: + - application/json; charset=Windows-1252 + date: + - Wed, 28 Oct 2020 06:05:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/configurations/mapred-site?api-version=2018-06-01-preview response: - body: {string: '{"key5":"value5","key6":"value6"}'} - headers: - cache-control: [no-cache] - content-length: ['33'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"key5":"value5","key6":"value6"}' + headers: + cache-control: + - no-cache + content-length: + - '33' + content-type: + - application/json; charset=Windows-1252 + date: + - Wed, 28 Oct 2020 06:05:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/configurations/yarn-site?api-version=2018-06-01-preview response: - body: {string: '{"key7":"value7","key8":"value8"}'} - headers: - cache-control: [no-cache] - content-length: ['33'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"key7":"value7","key8":"value8"}' + headers: + cache-control: + - no-cache + content-length: + - '33' + content-type: + - application/json; charset=Windows-1252 + date: + - Wed, 28 Oct 2020 06:05:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/configurations/gateway?api-version=2018-06-01-preview response: - body: {string: '{"restAuthCredential.isEnabled":"true","restAuthCredential.username":"admin","restAuthCredential.password":"Password1!"}'} - headers: - cache-control: [no-cache] - content-length: ['120'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"restAuthCredential.isEnabled":"true","restAuthCredential.username":"admin","restAuthCredential.password":"*****"}' + headers: + cache-control: + - no-cache + content-length: + - '115' + content-type: + - application/json; charset=Windows-1252 + date: + - Wed, 28 Oct 2020 06:05:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-868c11cd/providers/Microsoft.HDInsight/clusters/hdisdk-configs868c11cd/configurations/core-site?api-version=2018-06-01-preview response: - body: {string: '{"fs.defaultFS":"wasb://hdisdk-configs868c11cd@hdipy868c11cd.blob.core.windows.net","fs.azure.account.key.hdipy868c11cd.blob.core.windows.net":"oohiqjYVJdFVZq+8LR5uol67ULc1T8lvRakaycofPOoB2hSAlRVLVExtz/gKgETxTfBg81QCF4P1BscQn7Ql/Q=="}'} - headers: - cache-control: [no-cache] - content-length: ['234'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 03:53:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"fs.defaultFS":"wasbs://hdisdk-configs868c11cd@hdipy.blob.core.windows.net","fs.azure.account.key.hdipy.blob.core.windows.net":"*****"}' + headers: + cache-control: + - no-cache + content-length: + - '152' + content-type: + - application/json; charset=Windows-1252 + date: + - Wed, 28 Oct 2020 06:05:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_usages.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_usages.yaml index 341d54a309c4..434779a57cdd 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_usages.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_get_usages.yaml @@ -2,29 +2,47 @@ interactions: - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/North%20Central%20US/usages?api-version=2018-06-01-preview response: - body: {string: '{"value":[{"unit":"Count","currentValue":16,"limit":1000,"name":{"value":"cores","localizedValue":"Cores"}}]}'} + body: + string: '{"value":[{"unit":"Count","currentValue":20,"limit":250,"name":{"value":"cores","localizedValue":"Cores"}}]}' headers: - cache-control: [no-cache] - content-length: ['109'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 10:01:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [SubscriptionManagementOperations] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:05:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - SubscriptionManagementOperations + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_hue_on_running_cluster.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_hue_on_running_cluster.yaml index 10db33ebb1b3..35fb8f6f67b6 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_hue_on_running_cluster.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_hue_on_running_cluster.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: 'b''{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": + body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": "hadoop", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, @@ -13,7 +13,7 @@ interactions: "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-applications-hued29c1382", - "key": "8sFiS5xxlEDcIC3Q252wR9menGs5x6KaZw2DizQOat/oPUOUCYj6O4UhkSTbOxcy85yvfAljZYaKiN2cK6MHog=="}]}}}''' + "key": "cFkAGur0zSrao1cp/+EztjYbfbfkO53wWM1ruFupjRiTrEcDTMjaEfqCasTriTw68ZKL46ptYo0wc2R+bNoN9Q=="}]}}}' headers: Accept: - application/json @@ -24,31 +24,28 @@ interactions: Content-Length: - '1172' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382?api-version=2018-06-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382","name":"hdisdk-applications-hued29c1382","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"27a1e167-8d5d-4c61-9503-8ca86abde447","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3022-3","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2004291541.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a2_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode1","targetInstanceCount":1,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-06-03T09:10:55.02","quotaInfo":{"coresUsed":24},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-applications-hued29c1382-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-applications-hued29c1382.azurehdinsight.net","port":443}],"tier":"standard","storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-applications-hued29c1382","saskey":null,"isDefault":true}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382","name":"hdisdk-applications-hued29c1382","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"f136f29f-1413-481f-916b-1e86b39407df","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"126108bed7944e908e9ca3fbd99fe0d4","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T08:29:40.953","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-applications-hued29c1382","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview cache-control: - no-cache content-length: - - '1969' + - '1834' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:58:45 GMT + - Wed, 28 Oct 2020 08:29:41 GMT etag: - - '"27a1e167-8d5d-4c61-9503-8ca86abde447"' + - '"f136f29f-1413-481f-916b-1e86b39407df"' expires: - '-1' pragma: @@ -62,7 +59,7 @@ interactions: x-content-type-options: - nosniff x-ms-hdi-clusteruri: - - https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382?api-version=2018-06-01-preview + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382?api-version=2018-06-01-preview x-ms-hdi-matched-rule: - ClusterResourcesAndSubResources x-ms-hdi-routed-to: @@ -70,7 +67,7 @@ interactions: x-ms-hdi-served-by: - northcentralus x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -78,28 +75,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"status":"Succeeded"}' + string: '{"status":"InProgress"}' headers: cache-control: - no-cache content-length: - - '22' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:59:16 GMT + - Wed, 28 Oct 2020 08:30:13 GMT expires: - '-1' pragma: @@ -125,29 +121,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382","name":"hdisdk-applications-hued29c1382","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"27a1e167-8d5d-4c61-9503-8ca86abde447","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3022-3","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2004291541.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a2_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"edgenode1","targetInstanceCount":1,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-06-03T09:10:55.02","quotaInfo":{"coresUsed":24},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-applications-hued29c1382-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-applications-hued29c1382.azurehdinsight.net","port":443}],"tier":"standard","storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-applications-hued29c1382","saskey":null,"isDefault":true}]}}}' + string: '{"status":"InProgress"}' headers: cache-control: - no-cache content-length: - - '1969' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:59:17 GMT + - Wed, 28 Oct 2020 08:30:43 GMT expires: - '-1' pragma: @@ -170,46 +164,76 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"computeProfile": {"roles": [{"name": "edgenode", "targetInstanceCount": - 1, "hardwareProfile": {"vmSize": "Large"}}]}, "installScriptActions": [{"name": - "InstallHue", "uri": "https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh", - "parameters": "-version latest -port 20000", "roles": ["edgenode"]}], "applicationType": - "CustomApplication"}}' + body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive - Content-Length: - - '398' - Content-Type: + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:31:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication","name":"MyApplication","type":"Microsoft.HDInsight/clusters/applications","etag":"99CD7556-3ECD-47AA-88DC-D2E3FE283B76","tags":null,"properties":{"computeProfile":{"roles":[{"name":"edgenode","targetInstanceCount":1,"VMGroupName":"edgenode1","hardwareProfile":{"vmSize":"standard_a4_v2"},"encryptDataDisks":false}]},"installScriptActions":[{"name":"InstallHue","uri":"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh","roles":["edgenode"]}],"uninstallScriptActions":[],"httpsEndpoints":[],"sshEndpoints":[{"location":"MyApplication.hdisdk-applications-hued29c1382-ssh.azurehdinsight.net:22","destinationPort":22,"publicPort":22}],"provisioningState":"Failed","applicationState":"Error","errors":[{"code":"FailedToAddApplicationErrorCode","message":"Failed - to add an application {ApplicationName: MyApplication, ApplicationId: 256}"}],"createdDate":"2020-06-03T09:23:58.69","applicationType":"CustomApplication"}}' + string: '{"status":"InProgress"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview cache-control: - no-cache content-length: - - '1146' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:59:18 GMT - etag: - - '"99CD7556-3ECD-47AA-88DC-D2E3FE283B76"' + - Wed, 28 Oct 2020 08:31:44 GMT expires: - '-1' pragma: @@ -222,16 +246,12 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-hdi-appuri: - - https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview x-ms-hdi-matched-rule: - ClusterResourcesAndSubResources x-ms-hdi-routed-to: - RegionalRp x-ms-hdi-served-by: - northcentralus - x-ms-ratelimit-remaining-subscription-writes: - - '1197' status: code: 200 message: OK @@ -239,28 +259,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"status":"Succeeded"}' + string: '{"status":"InProgress"}' headers: cache-control: - no-cache content-length: - - '22' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:59:50 GMT + - Wed, 28 Oct 2020 08:32:14 GMT expires: - '-1' pragma: @@ -286,29 +305,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication","name":"MyApplication","type":"Microsoft.HDInsight/clusters/applications","etag":"99CD7556-3ECD-47AA-88DC-D2E3FE283B76","tags":null,"properties":{"computeProfile":{"roles":[{"name":"edgenode","targetInstanceCount":1,"VMGroupName":"edgenode1","hardwareProfile":{"vmSize":"standard_a4_v2"},"encryptDataDisks":false}]},"installScriptActions":[{"name":"InstallHue","uri":"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh","roles":["edgenode"]}],"uninstallScriptActions":[],"httpsEndpoints":[],"sshEndpoints":[{"location":"MyApplication.hdisdk-applications-hued29c1382-ssh.azurehdinsight.net:22","destinationPort":22,"publicPort":22}],"provisioningState":"Failed","applicationState":"Error","errors":[{"code":"FailedToAddApplicationErrorCode","message":"Failed - to add an application {ApplicationName: MyApplication, ApplicationId: 256}"}],"createdDate":"2020-06-03T09:23:58.69","applicationType":"CustomApplication"}}' + string: '{"status":"InProgress"}' headers: cache-control: - no-cache content-length: - - '1146' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:59:50 GMT + - Wed, 28 Oct 2020 08:32:46 GMT expires: - '-1' pragma: @@ -334,31 +351,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication","name":"MyApplication","type":"Microsoft.HDInsight/clusters/applications","etag":"99CD7556-3ECD-47AA-88DC-D2E3FE283B76","tags":null,"properties":{"computeProfile":{"roles":[{"name":"edgenode","targetInstanceCount":1,"VMGroupName":"edgenode1","hardwareProfile":{"vmSize":"standard_a4_v2"},"encryptDataDisks":false}]},"installScriptActions":[{"name":"InstallHue","uri":"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh","roles":["edgenode"]}],"uninstallScriptActions":[],"httpsEndpoints":[],"sshEndpoints":[{"location":"MyApplication.hdisdk-applications-hued29c1382-ssh.azurehdinsight.net:22","destinationPort":22,"publicPort":22}],"provisioningState":"Failed","applicationState":"Error","errors":[{"code":"FailedToAddApplicationErrorCode","message":"Failed - to add an application {ApplicationName: MyApplication, ApplicationId: 256}"}],"createdDate":"2020-06-03T09:23:58.69","applicationType":"CustomApplication"}}]}' + string: '{"status":"InProgress"}' headers: cache-control: - no-cache content-length: - - '1158' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 09:59:51 GMT + - Wed, 28 Oct 2020 08:33:16 GMT expires: - '-1' pragma: @@ -384,40 +397,37 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '' + string: '{"status":"InProgress"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/48b33508-6e62-4452-8291-638e39c8fa3d-0-r?api-version=2018-06-01-preview cache-control: - no-cache content-length: - - '0' + - '23' + content-type: + - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 10:01:52 GMT + - Wed, 28 Oct 2020 08:33:46 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/operationresults/48b33508-6e62-4452-8291-638e39c8fa3d-0-r?api-version=2018-06-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-hdi-matched-rule: @@ -426,25 +436,22 @@ interactions: - RegionalRp x-ms-hdi-served-by: - northcentralus - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/48b33508-6e62-4452-8291-638e39c8fa3d-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -456,7 +463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 10:02:53 GMT + - Wed, 28 Oct 2020 08:34:17 GMT expires: - '-1' pragma: @@ -482,16 +489,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/48b33508-6e62-4452-8291-638e39c8fa3d-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -503,7 +509,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 10:03:24 GMT + - Wed, 28 Oct 2020 08:34:48 GMT expires: - '-1' pragma: @@ -529,28 +535,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/48b33508-6e62-4452-8291-638e39c8fa3d-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"status":"Succeeded"}' + string: '{"status":"InProgress"}' headers: cache-control: - no-cache content-length: - - '22' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 10:03:54 GMT + - Wed, 28 Oct 2020 08:35:18 GMT expires: - '-1' pragma: @@ -576,30 +581,165 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:35:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:36:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.14 msrest_azure/0.6.3 - azure-mgmt-hdinsight/1.5.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview response: body: - string: '{"value":[]}' + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:36:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' headers: cache-control: - no-cache content-length: - - '12' + - '23' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Jun 2020 10:03:56 GMT + - Wed, 28 Oct 2020 08:37:21 GMT expires: - '-1' pragma: @@ -621,4 +761,714 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:37:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:38:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:38:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:39:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:39:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:40:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:40:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:41:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:41:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382?api-version=2018-06-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382","name":"hdisdk-applications-hued29c1382","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"f136f29f-1413-481f-916b-1e86b39407df","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"126108bed7944e908e9ca3fbd99fe0d4","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T08:29:40.953","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-applications-hued29c1382-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-applications-hued29c1382.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-applications-hued29c1382","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2089' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:41:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: '{"properties": {"computeProfile": {"roles": [{"name": "edgenode", "targetInstanceCount": + 1, "hardwareProfile": {"vmSize": "Large"}}]}, "installScriptActions": [{"name": + "InstallHue", "uri": "https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh", + "parameters": "-version latest -port 20000", "roles": ["edgenode"]}], "applicationType": + "CustomApplication"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '398' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication","name":"MyApplication","type":"Microsoft.HDInsight/clusters/applications","etag":"68D6C0B7-2785-4F71-867B-E255EDA6C753","tags":null,"properties":{"computeProfile":{"roles":[{"name":"edgenode","targetInstanceCount":1,"hardwareProfile":{"vmSize":"standard_a4_v2"},"encryptDataDisks":false}]},"installScriptActions":[{"name":"InstallHue","uri":"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh","roles":["edgenode"]}],"uninstallScriptActions":[],"httpsEndpoints":[],"sshEndpoints":[],"provisioningState":"InProgress","applicationState":"Accepted","createdDate":"2020-10-28T08:41:59.8","applicationType":"CustomApplication"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '855' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:41:59 GMT + etag: + - '"68D6C0B7-2785-4F71-867B-E255EDA6C753"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-appuri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/azureasyncoperations/create?api-version=2018-06-01-preview + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:42:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication","name":"MyApplication","type":"Microsoft.HDInsight/clusters/applications","etag":"ED0247E1-9D9D-4A9E-8B66-5E6F3EBE3481","tags":null,"properties":{"computeProfile":{"roles":[{"name":"edgenode","targetInstanceCount":1,"VMGroupName":"edgenode1","hardwareProfile":{"vmSize":"standard_a4_v2"},"encryptDataDisks":false}]},"installScriptActions":[{"name":"InstallHue","uri":"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh","roles":["edgenode"]}],"uninstallScriptActions":[],"httpsEndpoints":[],"sshEndpoints":[],"provisioningState":"InProgress","applicationState":"AzureVMConfiguration","createdDate":"2020-10-28T08:41:59.8","applicationType":"CustomApplication"}}' + headers: + cache-control: + - no-cache + content-length: + - '893' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:42:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications?api-version=2018-06-01-preview + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication","name":"MyApplication","type":"Microsoft.HDInsight/clusters/applications","etag":"ED0247E1-9D9D-4A9E-8B66-5E6F3EBE3481","tags":null,"properties":{"computeProfile":{"roles":[{"name":"edgenode","targetInstanceCount":1,"VMGroupName":"edgenode1","hardwareProfile":{"vmSize":"standard_a4_v2"},"encryptDataDisks":false}]},"installScriptActions":[{"name":"InstallHue","uri":"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh","roles":["edgenode"]}],"uninstallScriptActions":[],"httpsEndpoints":[],"sshEndpoints":[],"provisioningState":"InProgress","applicationState":"AzureVMConfiguration","createdDate":"2020-10-28T08:41:59.8","applicationType":"CustomApplication"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '905' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:42:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy1d29c1382/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hued29c1382/applications/MyApplication?api-version=2018-06-01-preview + response: + body: + string: '{"code":"Conflict","message":"Delete application operation cannot be + performed on this cluster at this time as it is not in ''Running'' state. + It is possible that the cluster is undergoing other update operations. Please + retry later."}' + headers: + cache-control: + - no-cache + content-length: + - '233' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 08:44:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 409 + message: Conflict version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_list_clusters_in_resource_group.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_list_clusters_in_resource_group.yaml index 0bcd892dc57a..fd3e14ce6ff4 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_list_clusters_in_resource_group.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_list_clusters_in_resource_group.yaml @@ -2,27 +2,41 @@ interactions: - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters?api-version=2018-06-01-preview response: - body: {string: '{"value":[]}'} - headers: - cache-control: [no-cache] - content-length: ['12'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:47:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:22:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": @@ -36,1068 +50,1170 @@ interactions: {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipy96ce175c.blob.core.windows.net", "isDefault": true, "container": "hdisdk-cluster-rg196ce175c", - "key": "DXAOfXELsc37HxTDuK68OQc4v3n2CusoiPJtL5eyzHYDOaPFi+AR3SVmyF+XECpUJt6JyARpUyfGmImpVz0CGg=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1167'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-cluster-rg196ce175c", + "key": "P388bRX+gemSjIKsVqGRtbwtcA6wIK+2KF2kHS+E+NIfVVQ7duj42Nk0LOXVPF44XjrprOKUptQF84sl33L/Vg=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1167' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c","name":"hdisdk-cluster-rg196ce175c","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"8c768119-a5c8-46bd-9b53-a3cfa8910530","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-28T07:47:28.91","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1264'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:47:29 GMT'] - etag: ['"8c768119-a5c8-46bd-9b53-a3cfa8910530"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c","name":"hdisdk-cluster-rg196ce175c","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"3c374358-9a63-4597-89fb-0aa1e2eed5f3","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"d32370aa6c2041e1b0d0e50c08e1d3e6","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T06:22:42.973","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-cluster-rg196ce175c","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1819' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:22:44 GMT + etag: + - '"3c374358-9a63-4597-89fb-0aa1e2eed5f3"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:48:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:23:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:48:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:23:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:49:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:24:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:49:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:24:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:50:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:25:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:50:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:25:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:51:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:26:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:51:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:26:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:52:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:27:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:52:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:53:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:27:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:53:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:28:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:54:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:28:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:54:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:29:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:55:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:29:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:55:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:30:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:56:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:30:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:56:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:31:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:57:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:31:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:57:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:32:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:58:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:32:57 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:58:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:33:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:59:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:33:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 07:59:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:00:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:00:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:01:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:01:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:02:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:03:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:03:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:04:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:04:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:05:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:05:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:06:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:06:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:34:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c","name":"hdisdk-cluster-rg196ce175c","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"8c768119-a5c8-46bd-9b53-a3cfa8910530","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-28T07:47:28.91","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1510'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:06:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c","name":"hdisdk-cluster-rg196ce175c","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"3c374358-9a63-4597-89fb-0aa1e2eed5f3","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"d32370aa6c2041e1b0d0e50c08e1d3e6","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T06:22:42.973","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-cluster-rg196ce175c","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2064' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:34:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": @@ -1111,1123 +1227,1400 @@ interactions: {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipy96ce175c.blob.core.windows.net", "isDefault": true, "container": "hdisdk-cluster-rg296ce175c", - "key": "DXAOfXELsc37HxTDuK68OQc4v3n2CusoiPJtL5eyzHYDOaPFi+AR3SVmyF+XECpUJt6JyARpUyfGmImpVz0CGg=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1167'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-cluster-rg296ce175c", + "key": "P388bRX+gemSjIKsVqGRtbwtcA6wIK+2KF2kHS+E+NIfVVQ7duj42Nk0LOXVPF44XjrprOKUptQF84sl33L/Vg=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1167' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c","name":"hdisdk-cluster-rg296ce175c","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"5ca39be0-3c04-468b-9852-9611eb6b32cc","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-28T08:06:43.18","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1264'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:06:43 GMT'] - etag: ['"5ca39be0-3c04-468b-9852-9611eb6b32cc"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:07:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c","name":"hdisdk-cluster-rg296ce175c","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"765f3801-b865-495e-a739-1c6eae6d3a87","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"8c9b0b5a744e49e48dd546d0a3329a80","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T06:34:37.75","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-cluster-rg296ce175c","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1818' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:34:39 GMT + etag: + - '"765f3801-b865-495e-a739-1c6eae6d3a87"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:07:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:35:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:08:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:35:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:08:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:09:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:09:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:10:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:10:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:11:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:11:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:12:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:12:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:13:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:13:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:36:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:14:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:36:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:15:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:37:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:15:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:37:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:16:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:38:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:16:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:38:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:17:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:39:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:17:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:39:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:18:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:40:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:18:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:40:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:19:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:41:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:19:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:41:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:20:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:42:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:20:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:42:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:21:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:43:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:21:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:43:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:22:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:44:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:22:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:44:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:23:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:45:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:23:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:45:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:24:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:46:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:24:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:46:55 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:25:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:47:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:25:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:47:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:26:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:48:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c","name":"hdisdk-cluster-rg296ce175c","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"5ca39be0-3c04-468b-9852-9611eb6b32cc","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-28T08:06:43.18","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1510'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:26:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c","name":"hdisdk-cluster-rg296ce175c","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"765f3801-b865-495e-a739-1c6eae6d3a87","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"8c9b0b5a744e49e48dd546d0a3329a80","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T06:34:37.75","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-cluster-rg296ce175c","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2063' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters?api-version=2018-06-01-preview response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c","name":"hdisdk-cluster-rg196ce175c","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"8c768119-a5c8-46bd-9b53-a3cfa8910530","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-28T07:47:28.91","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c.azurehdinsight.net","port":443}],"tier":"standard"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c","name":"hdisdk-cluster-rg296ce175c","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"5ca39be0-3c04-468b-9852-9611eb6b32cc","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-28T08:06:43.18","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c.azurehdinsight.net","port":443}],"tier":"standard"}}]}'} - headers: - cache-control: [no-cache] - content-length: ['3033'] - content-type: [application/json; charset=utf-8] - date: ['Fri, 28 Dec 2018 08:26:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [CsmV2ResourcesInResourceGroupList] - x-ms-hdi-routed-to: [GlobalAndRegionalRp] - x-ms-hdi-served-by: ['global,global'] - status: {code: 200, message: OK} + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg196ce175c","name":"hdisdk-cluster-rg196ce175c","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"3c374358-9a63-4597-89fb-0aa1e2eed5f3","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"d32370aa6c2041e1b0d0e50c08e1d3e6","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T06:22:42.973","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg196ce175c.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-cluster-rg196ce175c","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-96ce175c/providers/Microsoft.HDInsight/clusters/hdisdk-cluster-rg296ce175c","name":"hdisdk-cluster-rg296ce175c","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"765f3801-b865-495e-a739-1c6eae6d3a87","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"8c9b0b5a744e49e48dd546d0a3329a80","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T06:34:37.75","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-cluster-rg296ce175c.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-cluster-rg296ce175c","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '4140' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:48:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - CsmV2ResourcesInResourceGroupList + x-ms-hdi-routed-to: + - GlobalAndRegionalRp + x-ms-hdi-served-by: + - global,global + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_oms_on_running_cluster.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_oms_on_running_cluster.yaml deleted file mode 100644 index 7cee9283c3a7..000000000000 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_oms_on_running_cluster.yaml +++ /dev/null @@ -1,1597 +0,0 @@ -interactions: -- request: - body: '{"location": "North Central US", "tags": {}, "properties": {"clusterVersion": - "3.6", "osType": "Linux", "tier": "Standard", "clusterDefinition": {"kind": - "Spark", "configurations": {"gateway": {"restAuthCredential.isEnabled": "true", - "restAuthCredential.username": "admin", "restAuthCredential.password": "Password1!"}}}, - "computeProfile": {"roles": [{"name": "headnode", "targetInstanceCount": 2, - "hardwareProfile": {"vmSize": "Large"}, "osProfile": {"linuxOperatingSystemProfile": - {"username": "sshuser", "password": "Password1!"}}}, {"name": "workernode", - "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Large"}, "osProfile": - {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}, - {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": - "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", - "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipyd3a6138f.blob.core.windows.net", "isDefault": true, "container": "hdisdk-omsd3a6138f", - "key": "LnCHMlZO9ZwixOe/Xl0P5/4susjDSKPmGxjvXOFqi6ffSiDaiiNJSA67o+l35AYGz6zaLxPovYeLwdBHFijyBg=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1158'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f?api-version=2018-06-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f","name":"hdisdk-omsd3a6138f","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"e1ab0a6c-86ce-4131-9fd5-d96650ec2bd6","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json","kind":"Spark","componentVersion":{"Spark":"2.3"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-26T05:29:26.13","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1245'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:29:26 GMT'] - etag: ['"e1ab0a6c-86ce-4131-9fd5-d96650ec2bd6"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:29:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:30:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:30:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:31:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:32:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:32:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:33:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:33:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:34:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:34:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:35:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:35:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:36:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:36:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:37:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:37:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:38:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:38:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:39:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:39:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:40:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:40:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:41:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:41:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:42:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:42:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:43:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:43:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:44:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:44:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:45:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:45:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:46:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:47:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:47:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:48:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:48:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:49:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:49:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:50:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f?api-version=2018-06-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f","name":"hdisdk-omsd3a6138f","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"e1ab0a6c-86ce-4131-9fd5-d96650ec2bd6","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json","kind":"Spark","componentVersion":{"Spark":"2.3"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-26T05:29:26.13","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-omsd3a6138f-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-omsd3a6138f.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1475'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:50:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: '{"workspaceId": "1d364e89-bb71-4503-aa3d-a23535aea7bd"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['55'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/extensions/clustermonitoring?api-version=2018-06-01-preview - response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 26 Dec 2018 05:50:10 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/operationresults/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:51:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:51:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:52:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:52:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:53:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:53:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:54:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:54:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:55:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/ffab77cc-4f27-437b-a3c4-868da9be0220-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:55:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/extensions/clustermonitoring?api-version=2018-06-01-preview - response: - body: {string: '{"clusterMonitoringEnabled":true,"workspaceId":"1d364e89-bb71-4503-aa3d-a23535aea7bd"}'} - headers: - cache-control: [no-cache] - content-length: ['86'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:55:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/extensions/clustermonitoring?api-version=2018-06-01-preview - response: - body: {string: '{"clusterMonitoringEnabled":true,"workspaceId":"1d364e89-bb71-4503-aa3d-a23535aea7bd"}'} - headers: - cache-control: [no-cache] - content-length: ['86'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:55:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/extensions/clustermonitoring?api-version=2018-06-01-preview - response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/79afc85e-26fc-43b3-b5e1-3990a6952463-0-r?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 26 Dec 2018 05:55:53 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/operationresults/79afc85e-26fc-43b3-b5e1-3990a6952463-0-r?api-version=2018-06-01-preview'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/azureasyncoperations/79afc85e-26fc-43b3-b5e1-3990a6952463-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:56:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-d3a6138f/providers/Microsoft.HDInsight/clusters/hdisdk-omsd3a6138f/extensions/clustermonitoring?api-version=2018-06-01-preview - response: - body: {string: '{"clusterMonitoringEnabled":false,"workspaceId":null}'} - headers: - cache-control: [no-cache] - content-length: ['53'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 26 Dec 2018 05:56:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_resize_cluster.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_resize_cluster.yaml index fe1e58073f74..c6fca03b3193 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_resize_cluster.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_resize_cluster.yaml @@ -12,1478 +12,1400 @@ interactions: {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipy43531036.blob.core.windows.net", "isDefault": true, "container": "hdisdk-clusterresize43531036", - "key": "AeUkW5DJsufLKKKK45bnxxD+nwfDsvtRsw8T38E7oYzRkvGZ2SAXTH4Yd6AB/dDSuDAPqGrf0gxjuG9DztVFcQ=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1169'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-clusterresize43531036", + "key": "fz01as8JCEslsHbxFMAMNeo0Y44fae3RBQYcVqvJMG4ii0ObgI8CT0Su2Jy0bkCnDrHHXCSOAKzGuBJxes5MDA=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1169' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036","name":"hdisdk-clusterresize43531036","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"7ecfc8e6-6815-4f03-9c23-1b5169642845","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T11:14:05.557","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1269'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:14:05 GMT'] - etag: ['"7ecfc8e6-6815-4f03-9c23-1b5169642845"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:14:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:15:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:15:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:16:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:16:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:17:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:17:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036","name":"hdisdk-clusterresize43531036","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"8996a5b0-87ee-4d18-a0f4-fd9d951bace6","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"03ecae97844d4ea39fa620b482aabf5f","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T06:49:27.403","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-clusterresize43531036","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1825' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:49:28 GMT + etag: + - '"8996a5b0-87ee-4d18-a0f4-fd9d951bace6"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:18:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:49:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:18:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:50:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:19:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:51:00 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:19:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:51:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:20:17 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:52:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:20:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:52:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:21:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:53:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:21:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:53:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:22:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:54:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:22:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:54:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:23:23 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:55:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:23:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:55:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:24:25 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:56:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:24:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:56:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:25:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:25:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:26:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:27:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:27:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:57:07 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:28:02 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:57:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:28:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:58:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:29:04 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:58:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:29:35 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:59:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:30:06 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 06:59:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:30:37 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:00:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:31:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:00:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:31:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:01:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:32:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:01:44 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:32:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:02:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:33:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:02:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036","name":"hdisdk-clusterresize43531036","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"7ecfc8e6-6815-4f03-9c23-1b5169642845","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T11:14:05.557","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-clusterresize43531036-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-clusterresize43531036.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1519'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:33:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036","name":"hdisdk-clusterresize43531036","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"8996a5b0-87ee-4d18-a0f4-fd9d951bace6","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"03ecae97844d4ea39fa620b482aabf5f","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T06:49:27.403","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-clusterresize43531036-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-clusterresize43531036.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-clusterresize43531036","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2074' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:02:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036","name":"hdisdk-clusterresize43531036","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"7ecfc8e6-6815-4f03-9c23-1b5169642845","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T11:14:05.557","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-clusterresize43531036-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-clusterresize43531036.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1519'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:33:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036","name":"hdisdk-clusterresize43531036","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"8996a5b0-87ee-4d18-a0f4-fd9d951bace6","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"03ecae97844d4ea39fa620b482aabf5f","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T06:49:27.403","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-clusterresize43531036-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-clusterresize43531036.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-clusterresize43531036","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2074' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:02:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: - body: '{"targetInstanceCount": 4}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['26'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + body: '{}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/roles/workernode/resize?api-version=2018-06-01-preview - response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Tue, 25 Dec 2018 11:33:16 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/operationresults/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:34:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:34:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:35:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:35:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:36:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:36:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:37:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:37:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/roles/4/resize?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:38:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:38:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:39:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036/azureasyncoperations/52a2bd2d-a3dc-4729-ac29-c93278de44c6-0-r?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:39:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036?api-version=2018-06-01-preview - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-43531036/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize43531036","name":"hdisdk-clusterresize43531036","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"7ecfc8e6-6815-4f03-9c23-1b5169642845","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":4,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T11:14:05.557","quotaInfo":{"coresUsed":24},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-clusterresize43531036-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-clusterresize43531036.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1519'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 11:39:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"code":"BadRequest","message":"''targetInstanceCount'' has an invalid + value. It must be greater than zero"}' + headers: + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:02:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 400 + message: Bad Request version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_script_actions_on_running_cluster.yaml b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_script_actions_on_running_cluster.yaml index ea62f1e86e08..7270ff4ec4e6 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_script_actions_on_running_cluster.yaml +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/recordings/test_mgmt_hdinsight.test_script_actions_on_running_cluster.yaml @@ -12,1464 +12,2041 @@ interactions: {"name": "zookeepernode", "targetInstanceCount": 3, "hardwareProfile": {"vmSize": "Small"}, "osProfile": {"linuxOperatingSystemProfile": {"username": "sshuser", "password": "Password1!"}}}]}, "storageProfile": {"storageaccounts": [{"name": - "hdipyc5331825.blob.core.windows.net", "isDefault": true, "container": "hdisdk-scriptactionsc5331825", - "key": "kSJFYohQMegogWsoBCD7taTICnHfng0C3ZRxPkdJ7YFC6SYHB1KxhaoDEA+1rGFMHUM9LiwQsPJWUsSfUxaioQ=="}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['1169'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + "hdipy.blob.core.windows.net", "isDefault": true, "container": "hdisdk-scriptactionsc5331825", + "key": "MYBOpiITUUM7sERNN1QNZ6NlLEjtEZA4gxdyln25wa1NJVsHMxxTbTkkSrwrH+SMHFdo/ozxDSPD/NgeUzZegQ=="}]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1169' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825","name":"hdisdk-scriptactionsc5331825","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"c8c01c83-e06b-4e9d-b952-c470ffbc799c","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2018-12-25T12:40:29.693","quotaInfo":{"coresUsed":20},"tier":"standard"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['1269'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:40:29 GMT'] - etag: ['"c8c01c83-e06b-4e9d-b952-c470ffbc799c"'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-clusteruri: ['https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825?api-version=2018-06-01-preview'] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825","name":"hdisdk-scriptactionsc5331825","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"6039af9f-aa5a-4444-8569-22b0aca22b42","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"92b0c81f92ea4b5abde6f346c2fbb655","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"InProgress","clusterState":"Accepted","createdDate":"2020-10-28T07:03:47.117","quotaInfo":{"coresUsed":20},"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-scriptactionsc5331825","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '1825' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:03:49 GMT + etag: + - '"6039af9f-aa5a-4444-8569-22b0aca22b42"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-clusteruri: + - https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825?api-version=2018-06-01-preview + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:41:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:04:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:41:32 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:04:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:42:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:05:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:42:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:05:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:43:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:06:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:43:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:06:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:44:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:07:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:44:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:07:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:45:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:08:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:45:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:08:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:46:11 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:09:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:46:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:09:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:47:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:10:26 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:47:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:10:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:48:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:11:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:48:46 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:11:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:49:16 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:12:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:49:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:12:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:50:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:13:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:50:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:14:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:51:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:14:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:51:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:15:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:52:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:15:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:52:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:16:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:53:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:16:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:53:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:54:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:54:57 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:55:28 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:55:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:56:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:57:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:57:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:58:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/create?api-version=2018-06-01-preview - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:58:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825?api-version=2018-06-01-preview response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825","name":"hdisdk-scriptactionsc5331825","type":"Microsoft.HDInsight/clusters","location":"North - Central US","etag":"c8c01c83-e06b-4e9d-b952-c470ffbc799c","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3005-27","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Large"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"Medium"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2018-12-25T12:40:29.693","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-scriptactionsc5331825-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-scriptactionsc5331825.azurehdinsight.net","port":443}],"tier":"standard"}}'} - headers: - cache-control: [no-cache] - content-length: ['1519'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:58:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825","name":"hdisdk-scriptactionsc5331825","type":"Microsoft.HDInsight/clusters","location":"North + Central US","etag":"6039af9f-aa5a-4444-8569-22b0aca22b42","tags":{},"properties":{"clusterVersion":"3.6.1000.67","clusterHdpVersion":"2.6.5.3026-7","osType":"Linux","clusterDefinition":{"blueprint":"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2009301626.json","kind":"hadoop","componentVersion":{"hadoop":"2.7"}},"clusterId":"92b0c81f92ea4b5abde6f346c2fbb655","computeProfile":{"roles":[{"name":"headnode","targetInstanceCount":2,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"workernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a4_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false},{"name":"zookeepernode","targetInstanceCount":3,"hardwareProfile":{"vmSize":"standard_a1_v2"},"osProfile":{"linuxOperatingSystemProfile":{"username":"sshuser"}},"encryptDataDisks":false}]},"provisioningState":"Succeeded","clusterState":"Running","createdDate":"2020-10-28T07:03:47.117","quotaInfo":{"coresUsed":20},"connectivityEndpoints":[{"name":"SSH","protocol":"TCP","location":"hdisdk-scriptactionsc5331825-ssh.azurehdinsight.net","port":22},{"name":"HTTPS","protocol":"TCP","location":"hdisdk-scriptactionsc5331825.azurehdinsight.net","port":443}],"tier":"standard","encryptionInTransitProperties":{"isEncryptionInTransitEnabled":false},"storageProfile":{"storageaccounts":[{"name":"hdipy.blob.core.windows.net","resourceId":null,"msiResourceId":null,"key":null,"fileSystem":null,"container":"hdisdk-scriptactionsc5331825","saskey":null,"isDefault":true,"fileshare":null}]},"excludedServicesConfig":{"excludedServicesConfigId":"default","excludedServicesList":""},"computeIsolationProperties":{"enableComputeIsolation":false,"hostSku":null}}}' + headers: + cache-control: + - no-cache + content-length: + - '2074' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:16:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: '{"scriptActions": [{"name": "script1", "uri": "https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh", "roles": ["headnode", "workernode"]}], "persistOnSuccess": true}' headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['211'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '211' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/executeScriptActions?api-version=2018-06-01-preview response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/d26fec03-f9a9-45c6-acb1-3caaf478b21f-0-r?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Tue, 25 Dec 2018 12:58:36 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/operationresults/d26fec03-f9a9-45c6-acb1-3caaf478b21f-0-r?api-version=2018-06-01-preview'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 202, message: Accepted} + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/9595a137-2e51-4a01-bba5-d69a85756b4a-0-r?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 07:16:37 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/operationresults/9595a137-2e51-4a01-bba5-d69a85756b4a-0-r?api-version=2018-06-01-preview + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/d26fec03-f9a9-45c6-acb1-3caaf478b21f-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/9595a137-2e51-4a01-bba5-d69a85756b4a-0-r?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 12:59:38 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:17:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/d26fec03-f9a9-45c6-acb1-3caaf478b21f-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/9595a137-2e51-4a01-bba5-d69a85756b4a-0-r?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:00:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"InProgress"}' + headers: + cache-control: + - no-cache + content-length: + - '23' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:18:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/d26fec03-f9a9-45c6-acb1-3caaf478b21f-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/9595a137-2e51-4a01-bba5-d69a85756b4a-0-r?api-version=2018-06-01-preview response: - body: {string: '{"status":"InProgress"}'} - headers: - cache-control: [no-cache] - content-length: ['23'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:00:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:18:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/d26fec03-f9a9-45c6-acb1-3caaf478b21f-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/operationresults/9595a137-2e51-4a01-bba5-d69a85756b4a-0-r?api-version=2018-06-01-preview response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:01:09 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 07:18:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptActions?api-version=2018-06-01-preview response: - body: {string: '{"value":[{"name":"script1","uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"applicationName":null}]}'} - headers: - cache-control: [no-cache] - content-length: ['209'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:01:10 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"value":[{"name":"script1","uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"applicationName":null}]}' + headers: + cache-control: + - no-cache + content-length: + - '209' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:18:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptActions/script1?api-version=2018-06-01-preview response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Tue, 25 Dec 2018 13:01:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] - status: {code: 200, message: OK} + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 07:18:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptActions?api-version=2018-06-01-preview response: - body: {string: '{"value":[]}'} - headers: - cache-control: [no-cache] - content-length: ['12'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:01:13 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:18:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptExecutionHistory?api-version=2018-06-01-preview response: - body: {string: '{"value":[{"scriptExecutionId":941363171040909,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2018-12-25T12:58:47.2879471Z","endTime":"2018-12-25T13:00:48.5031196Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]}]}'} - headers: - cache-control: [no-cache] - content-length: ['463'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:01:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"value":[{"scriptExecutionId":1522629969204185,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2020-10-28T07:16:38.7409633Z","endTime":"2020-10-28T07:18:29.9070432Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]}]}' + headers: + cache-control: + - no-cache + content-length: + - '464' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:18:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptExecutionHistory/941363171040909?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptExecutionHistory/1522629969204185?api-version=2018-06-01-preview response: - body: {string: '{"scriptExecutionId":941363171040909,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2018-12-25T12:58:47.2879471Z","endTime":"2018-12-25T13:00:48.5031196Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}],"debugInformation":"{\"href\":\"http://hn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/28\",\"tasks\":[{\"href\":\"http://hn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/28/tasks/85\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction - ACTIONEXECUTE\",\"end_time\":1545742843004,\"error_log\":\"/var/lib/ambari-agent/data/errors-85.txt\",\"exit_code\":0,\"host_name\":\"hn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net\",\"id\":\"85\",\"output_log\":\"/var/lib/ambari-agent/data/output-85.txt\",\"request_id\":\"28\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1545742822083,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/28/tasks/86\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction - ACTIONEXECUTE\",\"end_time\":1545742841014,\"error_log\":\"/var/lib/ambari-agent/data/errors-86.txt\",\"exit_code\":0,\"host_name\":\"hn1-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net\",\"id\":\"86\",\"output_log\":\"/var/lib/ambari-agent/data/output-86.txt\",\"request_id\":\"28\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1545742822083,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/28/tasks/87\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction - ACTIONEXECUTE\",\"end_time\":1545742825091,\"error_log\":\"/var/lib/ambari-agent/data/errors-87.txt\",\"exit_code\":0,\"host_name\":\"wn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net\",\"id\":\"87\",\"output_log\":\"/var/lib/ambari-agent/data/output-87.txt\",\"request_id\":\"28\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1545742822083,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/28/tasks/88\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction - ACTIONEXECUTE\",\"end_time\":1545742825068,\"error_log\":\"/var/lib/ambari-agent/data/errors-88.txt\",\"exit_code\":0,\"host_name\":\"wn1-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net\",\"id\":\"88\",\"output_log\":\"/var/lib/ambari-agent/data/output-88.txt\",\"request_id\":\"28\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1545742822083,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/28/tasks/89\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction - ACTIONEXECUTE\",\"end_time\":1545742825019,\"error_log\":\"/var/lib/ambari-agent/data/errors-89.txt\",\"exit_code\":0,\"host_name\":\"wn2-hdisdk.g00szububspe3imhrj21dunmma.ex.internal.cloudapp.net\",\"id\":\"89\",\"output_log\":\"/var/lib/ambari-agent/data/output-89.txt\",\"request_id\":\"28\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1545742822083,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}}]}"}'} - headers: - cache-control: [no-cache] - content-length: ['4231'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:01:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"scriptExecutionId":1522629969204185,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2020-10-28T07:16:38.7409633Z","endTime":"2020-10-28T07:18:29.9070432Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}],"debugInformation":"{\"href\":\"http://hn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/32\",\"tasks\":[{\"href\":\"http://hn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/32/tasks/80\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction + ACTIONEXECUTE\",\"end_time\":1603869509784,\"error_log\":\"/var/lib/ambari-agent/data/errors-80.txt\",\"exit_code\":0,\"host_name\":\"hn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net\",\"id\":\"80\",\"output_log\":\"/var/lib/ambari-agent/data/output-80.txt\",\"request_id\":\"32\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1603869477933,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/32/tasks/81\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction + ACTIONEXECUTE\",\"end_time\":1603869508790,\"error_log\":\"/var/lib/ambari-agent/data/errors-81.txt\",\"exit_code\":0,\"host_name\":\"hn1-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net\",\"id\":\"81\",\"output_log\":\"/var/lib/ambari-agent/data/output-81.txt\",\"request_id\":\"32\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1603869477933,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/32/tasks/82\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction + ACTIONEXECUTE\",\"end_time\":1603869479784,\"error_log\":\"/var/lib/ambari-agent/data/errors-82.txt\",\"exit_code\":0,\"host_name\":\"wn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net\",\"id\":\"82\",\"output_log\":\"/var/lib/ambari-agent/data/output-82.txt\",\"request_id\":\"32\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1603869477933,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/32/tasks/83\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction + ACTIONEXECUTE\",\"end_time\":1603869480784,\"error_log\":\"/var/lib/ambari-agent/data/errors-83.txt\",\"exit_code\":0,\"host_name\":\"wn1-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net\",\"id\":\"83\",\"output_log\":\"/var/lib/ambari-agent/data/output-83.txt\",\"request_id\":\"32\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1603869477933,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}},{\"href\":\"http://hn0-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactionsc5331825/requests/32/tasks/84\",\"Tasks\":{\"attempt_cnt\":1,\"command\":\"ACTIONEXECUTE\",\"command_detail\":\"run_customscriptaction + ACTIONEXECUTE\",\"end_time\":1603869482784,\"error_log\":\"/var/lib/ambari-agent/data/errors-84.txt\",\"exit_code\":0,\"host_name\":\"wn4-hdisdk.q5mr2xigwonuvfp2zgngdrpuud.ex.internal.cloudapp.net\",\"id\":\"84\",\"output_log\":\"/var/lib/ambari-agent/data/output-84.txt\",\"request_id\":\"32\",\"role\":\"run_customscriptaction\",\"stage_id\":\"0\",\"start_time\":1603869477933,\"status\":\"COMPLETED\",\"stderr\":null,\"stdout\":null,\"structured_out\":null}}]}"}' + headers: + cache-control: + - no-cache + content-length: + - '4232' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:18:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: '{"scriptActions": [{"name": "script5baf", "uri": "https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh", "roles": ["headnode", "workernode"]}], "persistOnSuccess": false}' headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['215'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '215' + Content-Type: + - application/json + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/executeScriptActions?api-version=2018-06-01-preview response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/15f48253-799b-4888-980a-79865a88fac7-0-r?api-version=2018-06-01-preview'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Tue, 25 Dec 2018 13:01:17 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/operationresults/15f48253-799b-4888-980a-79865a88fac7-0-r?api-version=2018-06-01-preview'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 202, message: Accepted} + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/1551a93f-aa63-4d3e-b2aa-947f5a777118-0-r?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 07:18:43 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/operationresults/1551a93f-aa63-4d3e-b2aa-947f5a777118-0-r?api-version=2018-06-01-preview + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/1551a93f-aa63-4d3e-b2aa-947f5a777118-0-r?api-version=2018-06-01-preview + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:19:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/azureasyncoperations/15f48253-799b-4888-980a-79865a88fac7-0-r?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/operationresults/1551a93f-aa63-4d3e-b2aa-947f5a777118-0-r?api-version=2018-06-01-preview response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:02:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 07:19:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptExecutionHistory?api-version=2018-06-01-preview response: - body: {string: '{"value":[{"scriptExecutionId":941364775564860,"name":"script5baf","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2018-12-25T13:01:27.6373635Z","endTime":"2018-12-25T13:01:37.8873813Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]},{"scriptExecutionId":941363171040909,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2018-12-25T12:58:47.2879471Z","endTime":"2018-12-25T13:00:48.5031196Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]}]}'} - headers: - cache-control: [no-cache] - content-length: ['918'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:02:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"value":[{"scriptExecutionId":1522631234161433,"name":"script5baf","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2020-10-28T07:18:45.1821208Z","endTime":"2020-10-28T07:18:55.3233009Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]},{"scriptExecutionId":1522629969204185,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2020-10-28T07:16:38.7409633Z","endTime":"2020-10-28T07:18:29.9070432Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]}]}' + headers: + cache-control: + - no-cache + content-length: + - '920' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:19:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptExecutionHistory/941364775564860/promote?api-version=2018-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptExecutionHistory/1522631234161433/promote?api-version=2018-06-01-preview response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Tue, 25 Dec 2018 13:02:20 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 07:19:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptActions?api-version=2018-06-01-preview response: - body: {string: '{"value":[{"name":"script5baf","uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"applicationName":null}]}'} - headers: - cache-control: [no-cache] - content-length: ['212'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:02:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"value":[{"name":"script5baf","uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"applicationName":null}]}' + headers: + cache-control: + - no-cache + content-length: + - '212' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:19:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python/3.7.1 (Windows-10-10.0.14393-SP0) msrest/0.6.2 msrest_azure/0.4.34 - azure-mgmt-hdinsight/0.2.0 Azure-SDK-For-Python] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-hdinsight/7.0.0b1 Python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdipy-c5331825/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactionsc5331825/scriptExecutionHistory?api-version=2018-06-01-preview response: - body: {string: '{"value":[{"scriptExecutionId":941364775564860,"name":"script5baf","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2018-12-25T13:01:27.6373635Z","endTime":"2018-12-25T13:01:37.8873813Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]},{"scriptExecutionId":941363171040909,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2018-12-25T12:58:47.2879471Z","endTime":"2018-12-25T13:00:48.5031196Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]}]}'} - headers: - cache-control: [no-cache] - content-length: ['918'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 25 Dec 2018 13:02:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-hdi-matched-rule: [ClusterResourcesAndSubResources] - x-ms-hdi-routed-to: [RegionalRp] - x-ms-hdi-served-by: [northcentralus] - status: {code: 200, message: OK} + body: + string: '{"value":[{"scriptExecutionId":1522631234161433,"name":"script5baf","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2020-10-28T07:18:45.1821208Z","endTime":"2020-10-28T07:18:55.3233009Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]},{"scriptExecutionId":1522629969204185,"name":"script1","applicationName":null,"uri":"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh","parameters":"","roles":["headnode","workernode"],"startTime":"2020-10-28T07:16:38.7409633Z","endTime":"2020-10-28T07:18:29.9070432Z","status":"Succeeded","operation":"PostClusterCreateScriptActionRequest","executionSummary":[{"status":"COMPLETED","instanceCount":5}]}]}' + headers: + cache-control: + - no-cache + content-length: + - '920' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 07:19:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-hdi-matched-rule: + - ClusterResourcesAndSubResources + x-ms-hdi-routed-to: + - RegionalRp + x-ms-hdi-served-by: + - northcentralus + status: + code: 200 + message: OK version: 1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/test/test_mgmt_hdinsight.py b/sdk/hdinsight/azure-mgmt-hdinsight/test/test_mgmt_hdinsight.py index 47a77e84ead7..950956738ee1 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/test/test_mgmt_hdinsight.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/test/test_mgmt_hdinsight.py @@ -63,10 +63,11 @@ def setUp(self): def test_create_humboldt_cluster(self, resource_group, location, storage_account, storage_account_key): cluster_name = self.get_resource_name('hdisdk-humboldt') create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) + @unittest.skip('(BadRequest) Premium Cluster Tier available only for ESP Clusters.') @ResourceGroupPreparer(name_prefix='hdipy-', location=LOCATION) @StorageAccountPreparer(name_prefix='hdipy', location=LOCATION) def test_create_humboldt_cluster_with_premium_tier(self, resource_group, location, storage_account, @@ -74,7 +75,7 @@ def test_create_humboldt_cluster_with_premium_tier(self, resource_group, locatio cluster_name = self.get_resource_name('hdisdk-premium') create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) create_params.properties.tier = Tier.premium - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -87,7 +88,8 @@ def test_create_with_empty_extended_parameters(self, resource_group, location, s # try to create cluster and ensure it throws try: - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, + create_params) cluster = create_poller.result() self.assertTrue(False, 'should not have made it here') except Exception: @@ -104,7 +106,7 @@ def test_create_humboldt_cluster_with_custom_vm_sizes(self, resource_group, loca zookeepernode = next( item for item in create_params.properties.compute_profile.roles if item.name == 'zookeepernode') zookeepernode.hardware_profile = HardwareProfile(vm_size="Medium") - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -116,7 +118,7 @@ def test_create_linux_spark_cluster_with_component_version(self, resource_group, create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) create_params.properties.cluster_definition.kind = 'Spark' create_params.properties.cluster_definition.Component_version = {'Spark': '2.2'} - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -133,7 +135,7 @@ def test_create_kafka_cluster_with_managed_disks(self, resource_group, location, disks_per_node=8 ) ] - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -164,7 +166,8 @@ def test_create_kafka_cluster_with_disk_encryption(self, resource_group, locatio ) update_params = VaultCreateOrUpdateParameters(location=location, properties=vault.properties) - vault = self.vault_mgmt_client.vaults.begin_create_or_update(resource_group.name, vault.name, update_params).result() + vault = self.vault_mgmt_client.vaults.begin_create_or_update(resource_group.name, vault.name, + update_params).result() self.assertIsNotNone(vault) # create keyclient @@ -200,7 +203,7 @@ def test_create_kafka_cluster_with_disk_encryption(self, resource_group, locatio key_version=vault_key.properties.version, msi_resource_id=msi_id ) - cluster = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params).result() + cluster = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params).result() self.validate_cluster(cluster_name, create_params, cluster) # check disk encryption properties @@ -245,7 +248,7 @@ def test_create_with_adls_gen1(self, resource_group, location, storage_account, ) ) - cluster = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params).result() + cluster = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params).result() self.validate_cluster(cluster_name, create_params, cluster) @ResourceGroupPreparer(name_prefix='hdipy-', location=LOCATION) @@ -267,7 +270,7 @@ def test_create_with_adls_gen2(self, resource_group, location, storage_account, ) ) - cluster = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params).result() + cluster = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params).result() self.validate_cluster(cluster_name, create_params, cluster) @unittest.skip("This test depends on ADLS Gen1. Now there is something wrong with ADLS Gen1.") @@ -291,7 +294,7 @@ def test_create_with_additional_storage(self, resource_group, location, storage_ # Add data lake storage gen1 access create_params = self.get_cluster_create_params_for_adls_gen1(location, cluster_name, create_params) - cluster = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params).result() + cluster = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params).result() self.validate_cluster(cluster_name, create_params, cluster) @ResourceGroupPreparer(name_prefix='hdipy-', location=LOCATION) @@ -313,10 +316,11 @@ def test_create_rserver_cluster(self, resource_group, location, storage_account, ) ) ) - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) + @unittest.skip("HDInsight will not support to create MLService cluster after 1/1/2021.") @ResourceGroupPreparer(name_prefix='hdipy-', location=LOCATION) @StorageAccountPreparer(name_prefix='hdipy', location=LOCATION) def test_create_mlservices_cluster(self, resource_group, location, storage_account, storage_account_key): @@ -337,7 +341,7 @@ def test_create_mlservices_cluster(self, resource_group, location, storage_accou ) ) ) - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -353,8 +357,8 @@ def test_list_clusters_in_resource_group(self, resource_group, location, storage create_params1 = self.get_cluster_create_params(location, cluster_name1, storage_account, storage_account_key) create_params2 = self.get_cluster_create_params(location, cluster_name2, storage_account, storage_account_key) - self.hdinsight_client.clusters.create(resource_group.name, cluster_name1, create_params1).wait() - self.hdinsight_client.clusters.create(resource_group.name, cluster_name2, create_params2).wait() + self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name1, create_params1).wait() + self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name2, create_params2).wait() cluster_list = list(self.hdinsight_client.clusters.list_by_resource_group(rg_name)) self.assertTrue(any(c.name == cluster_name1 for c in cluster_list)) @@ -374,20 +378,22 @@ def test_list_clusters_in_subscription(self, resource_group, location, storage_a create_params1 = self.get_cluster_create_params(location, cluster_name1, storage_account, storage_account_key) create_params2 = self.get_cluster_create_params(location, cluster_name2, storage_account, storage_account_key) - self.hdinsight_client.clusters.create(resource_group.name, cluster_name1, create_params1).wait() - self.hdinsight_client.clusters.create(resource_group.name, cluster_name2, create_params2).wait() + self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name1, create_params1).wait() + self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name2, create_params2).wait() cluster_list = list(self.hdinsight_client.clusters.list()) self.assertTrue(any(c.name == cluster_name1 for c in cluster_list)) self.assertTrue(any(c.name == cluster_name2 for c in cluster_list)) - @ResourceGroupPreparer(name_prefix='hdipy-', location=LOCATION) + @unittest.skip(''' (Conflict) Delete application operation cannot be performed on this cluster at this time as it + is not in 'Running' state. It is possible that the cluster is undergoing other update operations. Please retry later.''') + @ResourceGroupPreparer(name_prefix='hdipy1', location=LOCATION) @StorageAccountPreparer(name_prefix='hdipy', location=LOCATION) def test_hue_on_running_cluster(self, resource_group, location, storage_account, storage_account_key): cluster_name = self.get_resource_name('hdisdk-applications-hue') create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) create_params.properties.cluster_version = "3.6" - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -417,8 +423,8 @@ def test_hue_on_running_cluster(self, resource_group, location, storage_account, ) ) - self.hdinsight_client.applications.create(resource_group.name, cluster_name, application_name, - application).wait() + self.hdinsight_client.applications.begin_create(resource_group.name, cluster_name, application_name, + application).wait() application_list = list(self.hdinsight_client.applications.list_by_cluster(resource_group.name, cluster_name)) self.assertGreater(len(application_list), 0) application_match = [item for item in application_list if item.name == application_name] @@ -429,7 +435,7 @@ def test_hue_on_running_cluster(self, resource_group, location, storage_account, import time time.sleep(120) - self.hdinsight_client.applications.delete(resource_group.name, cluster_name, application_name).wait() + self.hdinsight_client.applications.begin_delete(resource_group.name, cluster_name, application_name).wait() application_list = list(self.hdinsight_client.applications.list_by_cluster(resource_group.name, cluster_name)) self.assertEqual(len(application_list), 0) @@ -463,7 +469,7 @@ def test_get_configurations(self, resource_group, location, storage_account, sto create_params.properties.cluster_definition.configurations[mapred_site] = mapred_config create_params.properties.cluster_definition.configurations[yarn_site] = yarn_config - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -491,7 +497,7 @@ def test_gateway_settings(self, resource_group, location, storage_account, stora rg_name = resource_group.name cluster_name = self.get_resource_name('hdisdk-http') create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -503,7 +509,7 @@ def test_gateway_settings(self, resource_group, location, storage_account, stora new_password = 'NewPassword1!' update_params = UpdateGatewaySettingsParameters(is_credential_enabled=True, user_name=user_name, password=new_password) - self.hdinsight_client.clusters.update_gateway_settings(rg_name, cluster_name, update_params).wait() + self.hdinsight_client.clusters.begin_update_gateway_settings(rg_name, cluster_name, update_params).wait() gateway_settings = self.hdinsight_client.clusters.get_gateway_settings(rg_name, cluster_name) self.validate_gateway_settings(gateway_settings, user_name, new_password) @@ -527,7 +533,7 @@ def test_oms_on_running_cluster(self, resource_group, location, storage_account, create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) create_params.properties.cluster_definition.kind = 'Spark' create_params.properties.cluster_version = "3.6" - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -552,6 +558,7 @@ def test_oms_on_running_cluster(self, resource_group, location, storage_account, self.assertFalse(monitoring_status.cluster_monitoring_enabled) self.assertIsNone(monitoring_status.workspace_id) + @unittest.skip('(BadRequest) \'targetInstanceCount\' has an invalid value. It must be greater than zero') @ResourceGroupPreparer(name_prefix='hdipy-', location=LOCATION) @StorageAccountPreparer(name_prefix='hdipy', location=LOCATION) def test_resize_cluster(self, resource_group, location, storage_account, storage_account_key): @@ -560,7 +567,7 @@ def test_resize_cluster(self, resource_group, location, storage_account, storage create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) workernode_params = next( item for item in create_params.properties.compute_profile.roles if item.name == 'workernode') - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -568,7 +575,8 @@ def test_resize_cluster(self, resource_group, location, storage_account, storage workernode = next(item for item in cluster.properties.compute_profile.roles if item.name == 'workernode') self.assertEqual(workernode_params.target_instance_count, workernode.target_instance_count) - self.hdinsight_client.clusters.resize(rg_name, cluster_name, workernode_params.target_instance_count + 1).wait() + self.hdinsight_client.clusters.begin_resize(rg_name, cluster_name, + workernode_params.target_instance_count + 1).wait() cluster = self.hdinsight_client.clusters.get(rg_name, cluster_name) workernode = next(item for item in cluster.properties.compute_profile.roles if item.name == 'workernode') self.assertEqual(workernode_params.target_instance_count + 1, workernode.target_instance_count) @@ -579,7 +587,7 @@ def test_script_actions_on_running_cluster(self, resource_group, location, stora rg_name = resource_group.name cluster_name = self.get_resource_name('hdisdk-scriptactions') create_params = self.get_cluster_create_params(location, cluster_name, storage_account, storage_account_key) - create_poller = self.hdinsight_client.clusters.create(resource_group.name, cluster_name, create_params) + create_poller = self.hdinsight_client.clusters.begin_create(resource_group.name, cluster_name, create_params) cluster = create_poller.result() self.validate_cluster(cluster_name, create_params, cluster) @@ -588,7 +596,8 @@ def test_script_actions_on_running_cluster(self, resource_group, location, stora # Execute script actions, and persist on success. script_action_params = self.get_execute_script_action_params(script_name, install_giraph) - self.hdinsight_client.clusters.execute_script_actions(rg_name, cluster_name, True, script_action_params).wait() + self.hdinsight_client.clusters.begin_execute_script_actions(rg_name, cluster_name, True, + script_action_params).wait() # List script actions and validate script is persisted. script_action_list = list(self.hdinsight_client.script_actions.list_by_cluster(rg_name, cluster_name)) @@ -623,7 +632,8 @@ def test_script_actions_on_running_cluster(self, resource_group, location, stora # Execute script actions, but don't persist on success. script_action_params = self.get_execute_script_action_params("script5baf", install_giraph) - self.hdinsight_client.clusters.execute_script_actions(rg_name, cluster_name, False, script_action_params).wait() + self.hdinsight_client.clusters.begin_execute_script_actions(rg_name, cluster_name, False, + script_action_params).wait() # List script action history and validate the new script also appears. list_history_response = list( @@ -781,7 +791,7 @@ def get_cluster_create_params(self, location, cluster_name, storage_account=None def validate_cluster(self, cluster_name, create_parameters, cluster_response): self.assertEqual(cluster_name, cluster_response.name) - self.assertEqual(create_parameters.properties.tier, cluster_response.properties.tier) + self.assertEqual(create_parameters.properties.tier.lower(), cluster_response.properties.tier.lower()) self.assertIsNotNone(cluster_response.etag) self.assertTrue(cluster_response.id.endswith(cluster_name)) self.assertEqual("Running", cluster_response.properties.cluster_state)