diff --git a/eng/mgmt/mgmtmetadata/hdinsight_resource-manager.txt b/eng/mgmt/mgmtmetadata/hdinsight_resource-manager.txt index 9d887a37363f..8159617e2e63 100644 --- a/eng/mgmt/mgmtmetadata/hdinsight_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/hdinsight_resource-manager.txt @@ -1,14 +1,14 @@ -Installing AutoRest version: latest +Installing AutoRest version: v2 AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=F:\source\azure-sdk-for-net\sdk -2020-01-15 08:14:49 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\source\azure-sdk-for-net\sdk +2020-06-09 03:20:20 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 3ee786a44139e0be0613cb705f78d66b5166fc78 +Commit: c94d2623e95db48fcdff105c5c03fab75ebe9b56 AutoRest information -Requested version: latest -Bootstrapper version: autorest@2.0.4407 +Requested version: v2 +Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/HDInsightManagementClient.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/HDInsightManagementClient.cs index cabb882248d8..2b8f56e2d118 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/HDInsightManagementClient.cs +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/HDInsightManagementClient.cs @@ -116,6 +116,11 @@ public partial class HDInsightManagementClient : ServiceClient public virtual IOperations Operations { get; private set; } + /// + /// Gets the IVirtualMachinesOperations. + /// + public virtual IVirtualMachinesOperations VirtualMachines { get; private set; } + /// /// Initializes a new instance of the HDInsightManagementClient class. /// @@ -365,6 +370,7 @@ private void Initialize() ScriptActions = new ScriptActionsOperations(this); ScriptExecutionHistory = new ScriptExecutionHistoryOperations(this); Operations = new Operations(this); + VirtualMachines = new VirtualMachinesOperations(this); BaseUri = new System.Uri("https://management.azure.com"); ApiVersion = "2018-06-01-preview"; AcceptLanguage = "en-US"; diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IHDInsightManagementClient.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IHDInsightManagementClient.cs index 0f99a5c2f882..6c126e3d63b6 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IHDInsightManagementClient.cs +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IHDInsightManagementClient.cs @@ -111,5 +111,10 @@ public partial interface IHDInsightManagementClient : System.IDisposable /// IOperations Operations { get; } + /// + /// Gets the IVirtualMachinesOperations. + /// + IVirtualMachinesOperations VirtualMachines { get; } + } } diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IVirtualMachinesOperations.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IVirtualMachinesOperations.cs new file mode 100644 index 000000000000..a1cdac6f39ae --- /dev/null +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/IVirtualMachinesOperations.cs @@ -0,0 +1,102 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.HDInsight +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// VirtualMachinesOperations operations. + /// + public partial interface IVirtualMachinesOperations + { + /// + /// Lists the HDInsight clusters hosts + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListHostsWithHttpMessagesAsync(string resourceGroupName, string clusterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task RestartHostsWithHttpMessagesAsync(string resourceGroupName, string clusterName, IList hosts, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginRestartHostsWithHttpMessagesAsync(string resourceGroupName, string clusterName, IList hosts, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs new file mode 100644 index 000000000000..492cc396eda3 --- /dev/null +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs @@ -0,0 +1,51 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.HDInsight.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The cluster host information. + /// + public partial class HostInfo + { + /// + /// Initializes a new instance of the HostInfo class. + /// + public HostInfo() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HostInfo class. + /// + /// The host name + public HostInfo(string name = default(string)) + { + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the host name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + } +} diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs index 0c65349602ae..9b7521193503 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs @@ -27,16 +27,17 @@ public static IEnumerable> ApiInfo_HDInsightManage new Tuple("HDInsight", "Operations", "2018-06-01-preview"), new Tuple("HDInsight", "ScriptActions", "2018-06-01-preview"), new Tuple("HDInsight", "ScriptExecutionHistory", "2018-06-01-preview"), + new Tuple("HDInsight", "VirtualMachines", "2018-06-01-preview"), }.AsEnumerable(); } } // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4407"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=F:\\source\\azure-sdk-for-net\\sdk"; + public static readonly String AutoRestVersion = "v2"; + public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; + public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/hdinsight/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\source\\azure-sdk-for-net\\sdk"; public static readonly String GithubForkName = "Azure"; public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "3ee786a44139e0be0613cb705f78d66b5166fc78"; + public static readonly String GithubCommidId = "c94d2623e95db48fcdff105c5c03fab75ebe9b56"; public static readonly String CodeGenerationErrors = ""; public static readonly String GithubRepoName = "azure-rest-api-specs"; // END: Code Generation Metadata Section diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/VirtualMachinesOperations.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/VirtualMachinesOperations.cs new file mode 100644 index 000000000000..1fd478c90fdd --- /dev/null +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/VirtualMachinesOperations.cs @@ -0,0 +1,454 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.HDInsight +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// VirtualMachinesOperations operations. + /// + internal partial class VirtualMachinesOperations : IServiceOperations, IVirtualMachinesOperations + { + /// + /// Initializes a new instance of the VirtualMachinesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal VirtualMachinesOperations(HDInsightManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the HDInsightManagementClient + /// + public HDInsightManagementClient Client { get; private set; } + + /// + /// Lists the HDInsight clusters hosts + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListHostsWithHttpMessagesAsync(string resourceGroupName, string clusterName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (clusterName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "clusterName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("clusterName", clusterName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListHosts", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/listHosts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{clusterName}", System.Uri.EscapeDataString(clusterName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task RestartHostsWithHttpMessagesAsync(string resourceGroupName, string clusterName, IList hosts, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginRestartHostsWithHttpMessagesAsync(resourceGroupName, clusterName, hosts, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task BeginRestartHostsWithHttpMessagesAsync(string resourceGroupName, string clusterName, IList hosts, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (clusterName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "clusterName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (hosts == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "hosts"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("clusterName", clusterName); + tracingParameters.Add("hosts", hosts); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginRestartHosts", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{clusterName}", System.Uri.EscapeDataString(clusterName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(hosts != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(hosts, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/VirtualMachinesOperationsExtensions.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/VirtualMachinesOperationsExtensions.cs new file mode 100644 index 000000000000..b0d2484d946c --- /dev/null +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/VirtualMachinesOperationsExtensions.cs @@ -0,0 +1,153 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.HDInsight +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for VirtualMachinesOperations. + /// + public static partial class VirtualMachinesOperationsExtensions + { + /// + /// Lists the HDInsight clusters hosts + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + public static IList ListHosts(this IVirtualMachinesOperations operations, string resourceGroupName, string clusterName) + { + return operations.ListHostsAsync(resourceGroupName, clusterName).GetAwaiter().GetResult(); + } + + /// + /// Lists the HDInsight clusters hosts + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The cancellation token. + /// + public static async Task> ListHostsAsync(this IVirtualMachinesOperations operations, string resourceGroupName, string clusterName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListHostsWithHttpMessagesAsync(resourceGroupName, clusterName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + public static void RestartHosts(this IVirtualMachinesOperations operations, string resourceGroupName, string clusterName, IList hosts) + { + operations.RestartHostsAsync(resourceGroupName, clusterName, hosts).GetAwaiter().GetResult(); + } + + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + /// + /// The cancellation token. + /// + public static async Task RestartHostsAsync(this IVirtualMachinesOperations operations, string resourceGroupName, string clusterName, IList hosts, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.RestartHostsWithHttpMessagesAsync(resourceGroupName, clusterName, hosts, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + public static void BeginRestartHosts(this IVirtualMachinesOperations operations, string resourceGroupName, string clusterName, IList hosts) + { + operations.BeginRestartHostsAsync(resourceGroupName, clusterName, hosts).GetAwaiter().GetResult(); + } + + /// + /// Restarts the specified HDInsight cluster hosts. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the cluster. + /// + /// + /// The list of hosts to restart + /// + /// + /// The cancellation token. + /// + public static async Task BeginRestartHostsAsync(this IVirtualMachinesOperations operations, string resourceGroupName, string clusterName, IList hosts, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginRestartHostsWithHttpMessagesAsync(resourceGroupName, clusterName, hosts, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Microsoft.Azure.Management.HDInsight.csproj b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Microsoft.Azure.Management.HDInsight.csproj index fb3a73eb23ff..8855234fb261 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Microsoft.Azure.Management.HDInsight.csproj +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Microsoft.Azure.Management.HDInsight.csproj @@ -7,12 +7,13 @@ Microsoft.Azure.Management.HDInsight Azure HDInsight Management SDK Library Microsoft.Azure.Management.HDInsight - 5.3.0 + 5.4.0 Microsoft Azure HDInsight Management;HDInsight;HDInsight Management diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Properties/AssemblyInfo.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Properties/AssemblyInfo.cs index 5a0c62921ff8..fe0f51bdc1e1 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Properties/AssemblyInfo.cs +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Properties/AssemblyInfo.cs @@ -22,7 +22,7 @@ [assembly: AssemblyTitle("Microsoft Azure HDInsight Management Library")] [assembly: AssemblyDescription("Provides management functionality for Microsoft Azure HDInsight.")] [assembly: AssemblyVersion("5.0.0.0")] -[assembly: AssemblyFileVersion("5.3.0.0")] +[assembly: AssemblyFileVersion("5.4.0.0")] [assembly: InternalsVisibleTo("Microsoft.Azure.Management.HDInsight.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/VirtualMachineOperationTests.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/VirtualMachineOperationTests.cs new file mode 100644 index 000000000000..98b41e51cfc0 --- /dev/null +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/ScenarioTests/VirtualMachineOperationTests.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using Microsoft.Azure.Management.HDInsight; +using Microsoft.Azure.Management.HDInsight.Models; +using Microsoft.Azure.Management.KeyVault.Models; +using Microsoft.Azure.Management.Storage.Models; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using Xunit; +using static Management.HDInsight.Tests.HDInsightManagementTestUtilities; + +namespace Management.HDInsight.Tests +{ + public class VirtualMachineOperationTests: HDInsightManagementTestBase + { + [Fact] + public void TestListAndRestartHosts() + { + TestInitialize(); + + string clusterName = TestUtilities.GenerateName("hdisdk-nodereboot"); + var createParams = CommonData.PrepareClusterCreateParamsForWasb(); + createParams.Location = "South Central US"; + var cluster = HDInsightClient.Clusters.Create(CommonData.ResourceGroupName, clusterName, createParams); + ValidateCluster(clusterName, createParams, cluster); + + var hosts = HDInsightClient.VirtualMachines.ListHosts(CommonData.ResourceGroupName, clusterName); + Assert.NotEmpty(hosts); + + var restartHosts = hosts.Where(host => host.Name.StartsWith("wn")).Take(1).Select(host => host.Name).ToList(); + + HDInsightClient.VirtualMachines.RestartHosts(CommonData.ResourceGroupName, cluster.Name, restartHosts); + } + } +} diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/SessionRecords/VirtualMachineOperationTests/TestListAndRestartHosts.json b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/SessionRecords/VirtualMachineOperationTests/TestListAndRestartHosts.json new file mode 100644 index 000000000000..69aba01b61a6 --- /dev/null +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/tests/SessionRecords/VirtualMachineOperationTests/TestListAndRestartHosts.json @@ -0,0 +1,2078 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563?api-version=2018-06-01-preview", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"South Central US\",\r\n \"properties\": {\r\n \"clusterVersion\": \"3.6\",\r\n \"osType\": \"Linux\",\r\n \"tier\": \"Standard\",\r\n \"clusterDefinition\": {\r\n \"kind\": \"Hadoop\",\r\n \"configurations\": {\r\n \"gateway\": {\r\n \"restAuthCredential.isEnabled\": \"true\",\r\n \"restAuthCredential.username\": \"admin14\",\r\n \"restAuthCredential.password\": \"Password1!7786\"\r\n }\r\n }\r\n },\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Large\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\",\r\n \"password\": \"Password1!224\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Large\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\",\r\n \"password\": \"Password1!224\"\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Small\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\",\r\n \"password\": \"Password1!224\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdicsharpstorage2529.blob.core.windows.net\",\r\n \"isDefault\": true,\r\n \"container\": \"default5364\",\r\n \"key\": \"JlEryX9blx89k874h/jSKpc4Hzouxpc5Vs1qEk4zZPRi/7KhhE992X6aZtEfAyhlJyGxOnX7Y00ipISmkZFGIg==\"\r\n }\r\n ]\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "322cd810-5eff-4696-8d77-7bd99e35d9ab" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1894" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:03:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"485985cb-6881-48b8-be47-2604d5abf26c\"" + ], + "x-ms-hdi-clusteruri": [ + "https://management.azure.com/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563?api-version=2018-06-01-preview" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com:443/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview" + ], + "x-ms-request-id": [ + "ec7e885c-d8da-4f20-87f4-9b6d8eb86d21" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "d6383232-6a68-4b67-9b50-e894230a143f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050346Z:d6383232-6a68-4b67-9b50-e894230a143f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1740" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563\",\r\n \"name\": \"hdisdk-nodereboot6563\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"South Central US\",\r\n \"etag\": \"485985cb-6881-48b8-be47-2604d5abf26c\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"clusterVersion\": \"3.6.1000.67\",\r\n \"clusterHdpVersion\": \"\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2006061944.json\",\r\n \"kind\": \"Hadoop\",\r\n \"componentVersion\": {\r\n \"Hadoop\": \"2.7\"\r\n }\r\n },\r\n \"clusterId\": \"e643f9aa26004ec5944439cda314872c\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a4_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\"\r\n }\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a4_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\"\r\n }\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\"\r\n }\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"InProgress\",\r\n \"clusterState\": \"Accepted\",\r\n \"createdDate\": \"2020-06-09T05:03:44.007\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 20\r\n },\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdicsharpstorage2529.blob.core.windows.net\",\r\n \"resourceId\": null,\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"default5364\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"minSupportedTlsVersion\": \"1.2\",\r\n \"excludedServicesConfig\": {\r\n \"m_Item1\": \"default\",\r\n \"m_Item2\": \"\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:04:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e227db26-ba9a-4157-8fc4-dc5d6298c688" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "4c595f38-a1e6-4707-9315-caa8fe04762d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050417Z:4c595f38-a1e6-4707-9315-caa8fe04762d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:04:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7c8dd7cc-3817-4783-adf6-8df531f4d9e1" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "c639c894-7a0d-440b-8aaf-3f844e255182" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050448Z:c639c894-7a0d-440b-8aaf-3f844e255182" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:05:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e23e0d83-4bf1-4a4c-8148-af8729893f51" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "6d1fdcd2-1716-4b1d-8a94-f952d381f73e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050518Z:6d1fdcd2-1716-4b1d-8a94-f952d381f73e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:05:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a3ef7c69-1444-4b39-884a-57511d3cb8b5" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "81f02fbb-4dfb-4f84-9f16-b8687278dadf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050549Z:81f02fbb-4dfb-4f84-9f16-b8687278dadf" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:06:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "242bdfc4-f485-40cb-a956-6639288874bd" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "96a9564f-d575-4d37-b2e6-40cb7c63aed2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050619Z:96a9564f-d575-4d37-b2e6-40cb7c63aed2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:06:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "26de84cc-3d92-4b1b-bc33-da2c417229c8" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "e710c0ec-5b9d-4537-8b46-9220405f188b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050650Z:e710c0ec-5b9d-4537-8b46-9220405f188b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:07:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "413b96cd-e8fb-4978-beff-bf133cf77e76" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "f84f511e-c6e5-47e4-a616-b15707d29a3d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050721Z:f84f511e-c6e5-47e4-a616-b15707d29a3d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:07:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a62c6217-435c-49c8-882e-72bf4979f38f" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "c2649e45-f01f-49af-9654-545883919b02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050751Z:c2649e45-f01f-49af-9654-545883919b02" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:08:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b96e5462-03c4-467c-9f33-ab96f8800f7a" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "040439e7-b6c7-4f7f-8e6e-7d3b65438738" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050822Z:040439e7-b6c7-4f7f-8e6e-7d3b65438738" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:08:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "791d98e1-2fde-484a-8278-19a9ed81d180" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "8dfc6705-4787-4521-9efb-d69efed0c5dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050852Z:8dfc6705-4787-4521-9efb-d69efed0c5dd" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:09:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "76d1e8a2-819a-4da1-a7ea-21247e0cb8d8" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "2832f829-59c5-484d-982d-2ee66d3cb043" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050923Z:2832f829-59c5-484d-982d-2ee66d3cb043" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:09:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fbcbca2a-8f77-4efd-a1d4-229953cf044f" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "b68ed044-958f-4aec-ace4-24b3458dfbd2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T050954Z:b68ed044-958f-4aec-ace4-24b3458dfbd2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:10:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c9852a8e-8599-4128-b251-65afd53cdb89" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "91aa3581-87bf-4e7d-84a1-8661e0f0cac2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051025Z:91aa3581-87bf-4e7d-84a1-8661e0f0cac2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:10:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d354f336-f74f-40af-b36b-25799f671522" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "bd1bd75e-4f1c-421b-af0a-00137d38e1da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051056Z:bd1bd75e-4f1c-421b-af0a-00137d38e1da" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:11:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5fa2fbe0-3f4a-4979-86db-9291ca2c6a1b" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "d1cb3c5c-5312-418d-b32d-ce18f951cdf4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051126Z:d1cb3c5c-5312-418d-b32d-ce18f951cdf4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:11:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "02fa66df-4f6b-49ca-b1a9-1b6ab999eff1" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "a9417902-246e-41e8-82be-7ab7ed68828b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051157Z:a9417902-246e-41e8-82be-7ab7ed68828b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:12:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7ccacba8-7600-419d-b219-2439e75a55bb" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "0837e1aa-0b41-4b13-9d24-00f7a6bd3359" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051227Z:0837e1aa-0b41-4b13-9d24-00f7a6bd3359" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:12:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5f0d622c-fe5a-4d7c-97c7-212b52987024" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "0ab99159-621c-4f06-8514-25a0b2d81511" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051258Z:0ab99159-621c-4f06-8514-25a0b2d81511" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:13:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7613d869-68fa-4b69-9136-3833821d7daf" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "21753128-0143-47fd-87b8-937cd26f2922" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051329Z:21753128-0143-47fd-87b8-937cd26f2922" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:13:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ed7adee2-f788-43c8-bd6c-f75f73c091c0" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "5aee94c6-89b5-4110-bbc9-398334e64636" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051359Z:5aee94c6-89b5-4110-bbc9-398334e64636" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:14:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4da83c8c-c13f-4116-aaf9-6930b25b1e89" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "e55fa199-78c8-4660-b124-b675074d03d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051430Z:e55fa199-78c8-4660-b124-b675074d03d4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:15:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a212e129-36b2-468c-89b9-c9cd87376460" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "eccf06c5-da0f-40c0-a8bc-d454c1d93821" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051500Z:eccf06c5-da0f-40c0-a8bc-d454c1d93821" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:15:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1025038f-254b-44e6-89aa-b62f3d4089a3" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "a45d643a-3745-41eb-af28-f3335993f676" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051531Z:a45d643a-3745-41eb-af28-f3335993f676" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:16:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d2063cc5-444f-4bf2-9c4e-4b00218b8309" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "899ce1ec-9a08-4d5d-bdd3-6887fcb3cffa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051602Z:899ce1ec-9a08-4d5d-bdd3-6887fcb3cffa" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:16:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "216c2824-6b04-4fe5-8511-24e379f6d716" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "500182b2-859b-434e-b9f0-8607455b6c16" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-routing-request-id": [ + "AUSTRALIAEAST:20200609T051633Z:500182b2-859b-434e-b9f0-8607455b6c16" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:17:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f3e05dfc-4ce4-4254-862f-1fd1c02d4933" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "da996e7c-afc0-42a1-aee1-dc2d6d115c1e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T051725Z:da996e7c-afc0-42a1-aee1-dc2d6d115c1e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:17:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "06c9a3ff-a2ed-423a-89d7-4a8f5767c6e4" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "a557f103-fc92-497b-84ef-406c77a84fb2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T051757Z:a557f103-fc92-497b-84ef-406c77a84fb2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:18:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "83b59b5a-a852-468b-b176-428a24571da1" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "f7fe46ef-ecf3-494f-860f-c4c602492477" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T051829Z:f7fe46ef-ecf3-494f-860f-c4c602492477" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:18:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2a258424-273b-451e-b422-f4c4102ef97d" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "e43718c2-0e59-45b5-af54-9904da4966d7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T051859Z:e43718c2-0e59-45b5-af54-9904da4966d7" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:19:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b31332a0-6a94-4884-ad3a-60c6b5d7594b" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "cc2b5d85-b4a4-4d02-83ef-319179ae62ee" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T051930Z:cc2b5d85-b4a4-4d02-83ef-319179ae62ee" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/create?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:19:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "00213155-7a1b-458a-8246-bfc486247c08" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "fd72b5f7-91eb-41f4-a82e-57d32e1d24b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T052000Z:fd72b5f7-91eb-41f4-a82e-57d32e1d24b4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:20:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "aaab84b3-d04b-4fca-b4a7-4694d31e52bb" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "38241a5f-8d85-42bf-aee9-e5c89cb4a6f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T052001Z:38241a5f-8d85-42bf-aee9-e5c89cb4a6f4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1975" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563\",\r\n \"name\": \"hdisdk-nodereboot6563\",\r\n \"type\": \"Microsoft.HDInsight/clusters\",\r\n \"location\": \"South Central US\",\r\n \"etag\": \"485985cb-6881-48b8-be47-2604d5abf26c\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"clusterVersion\": \"3.6.1000.67\",\r\n \"clusterHdpVersion\": \"2.6.5.3025-2\",\r\n \"osType\": \"Linux\",\r\n \"clusterDefinition\": {\r\n \"blueprint\": \"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2006061944.json\",\r\n \"kind\": \"Hadoop\",\r\n \"componentVersion\": {\r\n \"Hadoop\": \"2.7\"\r\n }\r\n },\r\n \"clusterId\": \"e643f9aa26004ec5944439cda314872c\",\r\n \"computeProfile\": {\r\n \"roles\": [\r\n {\r\n \"name\": \"headnode\",\r\n \"targetInstanceCount\": 2,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a4_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\"\r\n }\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"workernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a4_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\"\r\n }\r\n },\r\n \"encryptDataDisks\": false\r\n },\r\n {\r\n \"name\": \"zookeepernode\",\r\n \"targetInstanceCount\": 3,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"standard_a2_v2\"\r\n },\r\n \"osProfile\": {\r\n \"linuxOperatingSystemProfile\": {\r\n \"username\": \"sshuser5105\"\r\n }\r\n },\r\n \"encryptDataDisks\": false\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"clusterState\": \"Running\",\r\n \"createdDate\": \"2020-06-09T05:03:44.007\",\r\n \"quotaInfo\": {\r\n \"coresUsed\": 20\r\n },\r\n \"connectivityEndpoints\": [\r\n {\r\n \"name\": \"SSH\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"hdisdk-nodereboot6563-ssh.azurehdinsight.net\",\r\n \"port\": 22\r\n },\r\n {\r\n \"name\": \"HTTPS\",\r\n \"protocol\": \"TCP\",\r\n \"location\": \"hdisdk-nodereboot6563.azurehdinsight.net\",\r\n \"port\": 443\r\n }\r\n ],\r\n \"tier\": \"standard\",\r\n \"encryptionInTransitProperties\": {\r\n \"isEncryptionInTransitEnabled\": false\r\n },\r\n \"storageProfile\": {\r\n \"storageaccounts\": [\r\n {\r\n \"name\": \"hdicsharpstorage2529.blob.core.windows.net\",\r\n \"resourceId\": null,\r\n \"msiResourceId\": null,\r\n \"key\": null,\r\n \"fileSystem\": null,\r\n \"container\": \"default5364\",\r\n \"saskey\": null,\r\n \"isDefault\": true,\r\n \"fileshare\": null\r\n }\r\n ]\r\n },\r\n \"minSupportedTlsVersion\": \"1.2\",\r\n \"excludedServicesConfig\": {\r\n \"m_Item1\": \"default\",\r\n \"m_Item2\": \"\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/listHosts?api-version=2018-06-01-preview", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "47e141bd-57bc-4d95-a7e3-636d2ba5405b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:20:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "9f3fdd7c-e7ab-47e1-9ee6-1284f16e1411" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "9f3fdd7c-e7ab-47e1-9ee6-1284f16e1411" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T052002Z:9f3fdd7c-e7ab-47e1-9ee6-1284f16e1411" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "221" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "[\r\n {\r\n \"name\": \"gw0-hdisdk\"\r\n },\r\n {\r\n \"name\": \"gw2-hdisdk\"\r\n },\r\n {\r\n \"name\": \"hn0-hdisdk\"\r\n },\r\n {\r\n \"name\": \"hn1-hdisdk\"\r\n },\r\n {\r\n \"name\": \"wn0-hdisdk\"\r\n },\r\n {\r\n \"name\": \"wn1-hdisdk\"\r\n },\r\n {\r\n \"name\": \"wn3-hdisdk\"\r\n },\r\n {\r\n \"name\": \"zk0-hdisdk\"\r\n },\r\n {\r\n \"name\": \"zk2-hdisdk\"\r\n },\r\n {\r\n \"name\": \"zk3-hdisdk\"\r\n }\r\n]", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/restartHosts?api-version=2018-06-01-preview", + "RequestMethod": "POST", + "RequestBody": "[\r\n \"wn0-hdisdk\"\r\n]", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e61f962-9ae0-4d96-ae86-3d0a87a61e39" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "20" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:20:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com:443/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/9ffe6ba0-2d67-40f2-a329-b6ba7151bbbd-0-r?api-version=2018-06-01-preview" + ], + "x-ms-correlation-request-id": [ + "1c08e21c-41ae-4689-a2c3-1b1581e09bf9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "1c08e21c-41ae-4689-a2c3-1b1581e09bf9" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T052003Z:1c08e21c-41ae-4689-a2c3-1b1581e09bf9" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/62623879-70d2-4274-9cf7-accf11253f11/resourceGroups/hdicsharprg9382/providers/Microsoft.HDInsight/clusters/hdisdk-nodereboot6563/azureasyncoperations/9ffe6ba0-2d67-40f2-a329-b6ba7151bbbd-0-r?api-version=2018-06-01-preview", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.HDInsight.HDInsightManagementClient/5.4.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 09 Jun 2020 05:20:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "34c3cb5d-7002-4583-b207-9451b4f0b31a" + ], + "x-ms-hdi-served-by": [ + "southcentralus" + ], + "x-ms-correlation-request-id": [ + "0c8349fd-27d8-469b-bb78-1d90b9cc4164" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-routing-request-id": [ + "KOREASOUTH:20200609T052033Z:0c8349fd-27d8-469b-bb78-1d90b9cc4164" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "22" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + } + ], + "Names": { + ".ctor": [ + "admin14", + "Password1!7786", + "sshuser5105", + "Password1!224", + "2a985aa6-e67b-41b7-b15a-b970860da3b9", + "hdicsharprg9382", + "hdicsharpstorage2529", + "hdicsharpmsi6501", + "hdicsharpvault7345", + "hdicsharpadls3824", + "default5364", + "storageaccountkey1482" + ], + "TestInitialize": [ + "62623879-70d2-4274-9cf7-accf11253f11" + ], + "TestListAndRestartHosts": [ + "hdisdk-nodereboot6563" + ] + }, + "Variables": { + "SubscriptionId": "62623879-70d2-4274-9cf7-accf11253f11" + } +}