diff --git a/eng/mgmt/mgmtmetadata/azsadmin_resource-manager_fabric.txt b/eng/mgmt/mgmtmetadata/azsadmin_resource-manager_fabric.txt new file mode 100644 index 000000000000..3c8a59192546 --- /dev/null +++ b/eng/mgmt/mgmtmetadata/azsadmin_resource-manager_fabric.txt @@ -0,0 +1,14 @@ +Installing AutoRest version: latest +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/azsadmin/resource-manager/fabric/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder= +2019-09-23 09:00:29 UTC +Azure-rest-api-specs repository information +GitHub fork: Azure +Branch: master +Commit: 9029f3a9c75ca983ce97511b57cfba8810f45562 +AutoRest information +Requested version: latest +Bootstrapper version: autorest@2.0.4283 diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/AzSdk.RP.props b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/AzSdk.RP.props new file mode 100644 index 000000000000..896ea1ea1710 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/AzSdk.RP.props @@ -0,0 +1,7 @@ + + + + Fabric.Admin_2016-05-01;Fabric.Admin_2019-05-01;Fabric.Admin_2018-10-01; + $(PackageTags);$(CommonTags);$(AzureApiTag); + + \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperations.cs new file mode 100644 index 000000000000..f8423111bd21 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperations.cs @@ -0,0 +1,637 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + 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; + + /// + /// ApplicationOperationResultsOperations operations. + /// + internal partial class ApplicationOperationResultsOperations : IServiceOperations, IApplicationOperationResultsOperations + { + /// + /// Initializes a new instance of the ApplicationOperationResultsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApplicationOperationResultsOperations(FabricAdminClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the FabricAdminClient + /// + public FabricAdminClient Client { get; private set; } + + /// + /// Returns the status of an application operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (operation == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operation"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("operation", operation); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", 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.Fabric.Admin/fabricLocations/{location}/applicationOperationResults/{operation}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{operation}", System.Uri.EscapeDataString(operation)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", 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.Fabric.Admin/fabricLocations/{location}/applicationOperationResults").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + 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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperationsExtensions.cs new file mode 100644 index 000000000000..7f628a1c329b --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ApplicationOperationResultsOperationsExtensions.cs @@ -0,0 +1,152 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApplicationOperationResultsOperations. + /// + public static partial class ApplicationOperationResultsOperationsExtensions + { + /// + /// Returns the status of an application operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + public static ApplicationOperationResult Get(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, string operation) + { + return operations.GetAsync(resourceGroupName, location, operation).GetAwaiter().GetResult(); + } + + /// + /// Returns the status of an application operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, string operation, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, operation, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage List(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListAsync(resourceGroupName, location, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IApplicationOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IApplicationOperationResultsOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IApplicationOperationResultsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ComputeOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ComputeOperationResultsOperations.cs new file mode 100644 index 000000000000..d5874a726e58 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ComputeOperationResultsOperations.cs @@ -0,0 +1,637 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + 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; + + /// + /// ComputeOperationResultsOperations operations. + /// + internal partial class ComputeOperationResultsOperations : IServiceOperations, IComputeOperationResultsOperations + { + /// + /// Initializes a new instance of the ComputeOperationResultsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ComputeOperationResultsOperations(FabricAdminClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the FabricAdminClient + /// + public FabricAdminClient Client { get; private set; } + + /// + /// Returns the status of a compute operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (operation == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operation"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("operation", operation); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", 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.Fabric.Admin/fabricLocations/{location}/computeOperationResults/{operation}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{operation}", System.Uri.EscapeDataString(operation)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", 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.Fabric.Admin/fabricLocations/{location}/computeOperationResults").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + 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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ComputeOperationResultsOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ComputeOperationResultsOperationsExtensions.cs new file mode 100644 index 000000000000..74dde037deca --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ComputeOperationResultsOperationsExtensions.cs @@ -0,0 +1,152 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ComputeOperationResultsOperations. + /// + public static partial class ComputeOperationResultsOperationsExtensions + { + /// + /// Returns the status of a compute operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + public static ComputeOperationResult Get(this IComputeOperationResultsOperations operations, string resourceGroupName, string location, string operation) + { + return operations.GetAsync(resourceGroupName, location, operation).GetAwaiter().GetResult(); + } + + /// + /// Returns the status of a compute operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IComputeOperationResultsOperations operations, string resourceGroupName, string location, string operation, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, operation, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage List(this IComputeOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListAsync(resourceGroupName, location, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IComputeOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IComputeOperationResultsOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IComputeOperationResultsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StoragePoolsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/DrivesOperations.cs similarity index 89% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StoragePoolsOperations.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/DrivesOperations.cs index 9ff150f6193e..1d44924e0297 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StoragePoolsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/DrivesOperations.cs @@ -24,12 +24,12 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin using System.Threading.Tasks; /// - /// StoragePoolsOperations operations. + /// DrivesOperations operations. /// - internal partial class StoragePoolsOperations : IServiceOperations, IStoragePoolsOperations + internal partial class DrivesOperations : IServiceOperations, IDrivesOperations { /// - /// Initializes a new instance of the StoragePoolsOperations class. + /// Initializes a new instance of the DrivesOperations class. /// /// /// Reference to the service client. @@ -37,7 +37,7 @@ internal partial class StoragePoolsOperations : IServiceOperations /// Thrown when a required parameter is null /// - internal StoragePoolsOperations(FabricAdminClient client) + internal DrivesOperations(FabricAdminClient client) { if (client == null) { @@ -52,7 +52,7 @@ internal StoragePoolsOperations(FabricAdminClient client) public FabricAdminClient Client { get; private set; } /// - /// Return the requested a storage pool. + /// Return the requested a storage drive. /// /// /// Name of the resource group. @@ -60,11 +60,14 @@ internal StoragePoolsOperations(FabricAdminClient client) /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. + /// + /// Name of the storage drive. /// /// /// Headers that will be added to request. @@ -87,7 +90,7 @@ internal StoragePoolsOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, string storagePool, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string drive, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -101,18 +104,19 @@ internal StoragePoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (storageSubSystem == null) + if (scaleUnit == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); + throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); } - if (storagePool == null) + if (storageSubSystem == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "storagePool"); + throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); } - if (Client.ApiVersion == null) + if (drive == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "drive"); } + string apiVersion = "2019-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -122,23 +126,26 @@ internal StoragePoolsOperations(FabricAdminClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("scaleUnit", scaleUnit); tracingParameters.Add("storageSubSystem", storageSubSystem); - tracingParameters.Add("storagePool", storagePool); + tracingParameters.Add("drive", drive); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", 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.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools/{storagePool}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/drives/{drive}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); _url = _url.Replace("{storageSubSystem}", System.Uri.EscapeDataString(storageSubSystem)); - _url = _url.Replace("{storagePool}", System.Uri.EscapeDataString(storagePool)); + _url = _url.Replace("{drive}", System.Uri.EscapeDataString(drive)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -233,7 +240,7 @@ internal StoragePoolsOperations(FabricAdminClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -246,7 +253,7 @@ internal StoragePoolsOperations(FabricAdminClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -266,7 +273,7 @@ internal StoragePoolsOperations(FabricAdminClient client) } /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// Name of the resource group. @@ -274,6 +281,9 @@ internal StoragePoolsOperations(FabricAdminClient client) /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// @@ -301,7 +311,7 @@ internal StoragePoolsOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -315,14 +325,15 @@ internal StoragePoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (storageSubSystem == null) + if (scaleUnit == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); + throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); } - if (Client.ApiVersion == null) + if (storageSubSystem == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); } + string apiVersion = "2019-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -333,16 +344,19 @@ internal StoragePoolsOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("scaleUnit", scaleUnit); tracingParameters.Add("storageSubSystem", storageSubSystem); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", 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.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/drives").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); _url = _url.Replace("{storageSubSystem}", System.Uri.EscapeDataString(storageSubSystem)); List _queryParameters = new List(); if (odataQuery != null) @@ -353,9 +367,9 @@ internal StoragePoolsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -450,7 +464,7 @@ internal StoragePoolsOperations(FabricAdminClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -463,7 +477,7 @@ internal StoragePoolsOperations(FabricAdminClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -483,7 +497,7 @@ internal StoragePoolsOperations(FabricAdminClient client) } /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// The NextLink from the previous successful call to List operation. @@ -509,7 +523,7 @@ internal StoragePoolsOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -623,7 +637,7 @@ internal StoragePoolsOperations(FabricAdminClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -636,7 +650,7 @@ internal StoragePoolsOperations(FabricAdminClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StoragePoolsOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/DrivesOperationsExtensions.cs similarity index 65% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StoragePoolsOperationsExtensions.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/DrivesOperationsExtensions.cs index d481c35eee46..3b79b3270bdb 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StoragePoolsOperationsExtensions.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/DrivesOperationsExtensions.cs @@ -18,12 +18,12 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin using System.Threading.Tasks; /// - /// Extension methods for StoragePoolsOperations. + /// Extension methods for DrivesOperations. /// - public static partial class StoragePoolsOperationsExtensions + public static partial class DrivesOperationsExtensions { /// - /// Return the requested a storage pool. + /// Return the requested a storage drive. /// /// /// The operations group for this extension method. @@ -34,19 +34,22 @@ public static partial class StoragePoolsOperationsExtensions /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. + /// + /// Name of the storage drive. /// - public static StoragePool Get(this IStoragePoolsOperations operations, string resourceGroupName, string location, string storageSubSystem, string storagePool) + public static Drive Get(this IDrivesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string drive) { - return operations.GetAsync(resourceGroupName, location, storageSubSystem, storagePool).GetAwaiter().GetResult(); + return operations.GetAsync(resourceGroupName, location, scaleUnit, storageSubSystem, drive).GetAwaiter().GetResult(); } /// - /// Return the requested a storage pool. + /// Return the requested a storage drive. /// /// /// The operations group for this extension method. @@ -57,25 +60,28 @@ public static StoragePool Get(this IStoragePoolsOperations operations, string re /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. + /// + /// Name of the storage drive. /// /// /// The cancellation token. /// - public static async Task GetAsync(this IStoragePoolsOperations operations, string resourceGroupName, string location, string storageSubSystem, string storagePool, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAsync(this IDrivesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string drive, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, storageSubSystem, storagePool, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, storageSubSystem, drive, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// The operations group for this extension method. @@ -86,19 +92,22 @@ public static StoragePool Get(this IStoragePoolsOperations operations, string re /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// /// /// OData parameters to apply to the operation. /// - public static IPage List(this IStoragePoolsOperations operations, string resourceGroupName, string location, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery)) + public static IPage List(this IDrivesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery)) { - return operations.ListAsync(resourceGroupName, location, storageSubSystem, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, location, scaleUnit, storageSubSystem, odataQuery).GetAwaiter().GetResult(); } /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// The operations group for this extension method. @@ -109,6 +118,9 @@ public static StoragePool Get(this IStoragePoolsOperations operations, string re /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// @@ -118,16 +130,16 @@ public static StoragePool Get(this IStoragePoolsOperations operations, string re /// /// The cancellation token. /// - public static async Task> ListAsync(this IStoragePoolsOperations operations, string resourceGroupName, string location, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListAsync(this IDrivesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, storageSubSystem, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, storageSubSystem, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// The operations group for this extension method. @@ -135,13 +147,13 @@ public static StoragePool Get(this IStoragePoolsOperations operations, string re /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListNext(this IStoragePoolsOperations operations, string nextPageLink) + public static IPage ListNext(this IDrivesOperations operations, string nextPageLink) { return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// The operations group for this extension method. @@ -152,7 +164,7 @@ public static IPage ListNext(this IStoragePoolsOperations operation /// /// The cancellation token. /// - public static async Task> ListNextAsync(this IStoragePoolsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListNextAsync(this IDrivesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewayPoolsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewayPoolsOperations.cs index 9e057387c868..d7b62caa71a3 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewayPoolsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewayPoolsOperations.cs @@ -102,10 +102,7 @@ internal EdgeGatewayPoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "edgeGatewayPool"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal EdgeGatewayPoolsOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("edgeGatewayPool", edgeGatewayPool); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal EdgeGatewayPoolsOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{edgeGatewayPool}", System.Uri.EscapeDataString(edgeGatewayPool)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -303,10 +301,7 @@ internal EdgeGatewayPoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,6 +312,7 @@ internal EdgeGatewayPoolsOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -335,9 +331,9 @@ internal EdgeGatewayPoolsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewaysOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewaysOperations.cs index ea486d02e933..1a67f14bc3de 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewaysOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/EdgeGatewaysOperations.cs @@ -102,10 +102,7 @@ internal EdgeGatewaysOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "edgeGateway"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal EdgeGatewaysOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("edgeGateway", edgeGateway); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal EdgeGatewaysOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{edgeGateway}", System.Uri.EscapeDataString(edgeGateway)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -303,10 +301,7 @@ internal EdgeGatewaysOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,6 +312,7 @@ internal EdgeGatewaysOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -335,9 +331,9 @@ internal EdgeGatewaysOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricAdminClient.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricAdminClient.cs index 39de30002787..4a878b23268d 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricAdminClient.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricAdminClient.cs @@ -53,11 +53,6 @@ public partial class FabricAdminClient : ServiceClient, IFabr /// public string SubscriptionId { get; set; } - /// - /// Client API Version. - /// - public string ApiVersion { get; private set; } - /// /// The preferred language for the response. /// @@ -76,6 +71,16 @@ public partial class FabricAdminClient : ServiceClient, IFabr /// public bool? GenerateClientRequestId { get; set; } + /// + /// Gets the IApplicationOperationResultsOperations. + /// + public virtual IApplicationOperationResultsOperations ApplicationOperationResults { get; private set; } + + /// + /// Gets the IComputeOperationResultsOperations. + /// + public virtual IComputeOperationResultsOperations ComputeOperationResults { get; private set; } + /// /// Gets the IFabricOperations. /// @@ -121,21 +126,6 @@ public partial class FabricAdminClient : ServiceClient, IFabr /// public virtual ILogicalNetworksOperations LogicalNetworks { get; private set; } - /// - /// Gets the IStoragePoolsOperations. - /// - public virtual IStoragePoolsOperations StoragePools { get; private set; } - - /// - /// Gets the IStorageSystemsOperations. - /// - public virtual IStorageSystemsOperations StorageSystems { get; private set; } - - /// - /// Gets the IVolumesOperations. - /// - public virtual IVolumesOperations Volumes { get; private set; } - /// /// Gets the ILogicalSubnetsOperations. /// @@ -146,6 +136,11 @@ public partial class FabricAdminClient : ServiceClient, IFabr /// public virtual IMacAddressPoolsOperations MacAddressPools { get; private set; } + /// + /// Gets the INetworkOperationResultsOperations. + /// + public virtual INetworkOperationResultsOperations NetworkOperationResults { get; private set; } + /// /// Gets the IScaleUnitsOperations. /// @@ -161,6 +156,26 @@ public partial class FabricAdminClient : ServiceClient, IFabr /// public virtual ISlbMuxInstancesOperations SlbMuxInstances { get; private set; } + /// + /// Gets the IStorageOperationResultsOperations. + /// + public virtual IStorageOperationResultsOperations StorageOperationResults { get; private set; } + + /// + /// Gets the IStorageSubSystemsOperations. + /// + public virtual IStorageSubSystemsOperations StorageSubSystems { get; private set; } + + /// + /// Gets the IDrivesOperations. + /// + public virtual IDrivesOperations Drives { get; private set; } + + /// + /// Gets the IVolumesOperations. + /// + public virtual IVolumesOperations Volumes { get; private set; } + /// /// Initializes a new instance of the FabricAdminClient class. /// @@ -402,6 +417,8 @@ public FabricAdminClient(System.Uri baseUri, ServiceClientCredentials credential /// private void Initialize() { + ApplicationOperationResults = new ApplicationOperationResultsOperations(this); + ComputeOperationResults = new ComputeOperationResultsOperations(this); Fabric = new FabricOperations(this); EdgeGateways = new EdgeGatewaysOperations(this); EdgeGatewayPools = new EdgeGatewayPoolsOperations(this); @@ -411,16 +428,17 @@ private void Initialize() InfraRoleInstances = new InfraRoleInstancesOperations(this); IpPools = new IpPoolsOperations(this); LogicalNetworks = new LogicalNetworksOperations(this); - StoragePools = new StoragePoolsOperations(this); - StorageSystems = new StorageSystemsOperations(this); - Volumes = new VolumesOperations(this); LogicalSubnets = new LogicalSubnetsOperations(this); MacAddressPools = new MacAddressPoolsOperations(this); + NetworkOperationResults = new NetworkOperationResultsOperations(this); ScaleUnits = new ScaleUnitsOperations(this); ScaleUnitNodes = new ScaleUnitNodesOperations(this); SlbMuxInstances = new SlbMuxInstancesOperations(this); + StorageOperationResults = new StorageOperationResultsOperations(this); + StorageSubSystems = new StorageSubSystemsOperations(this); + Drives = new DrivesOperations(this); + Volumes = new VolumesOperations(this); BaseUri = new System.Uri("https://adminmanagement.local.azurestack.external"); - ApiVersion = "2016-05-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricLocationsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricLocationsOperations.cs index 29e2e841c8d2..307f2183bc39 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricLocationsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricLocationsOperations.cs @@ -95,10 +95,7 @@ internal FabricLocationsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "fabricLocation"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -108,6 +105,7 @@ internal FabricLocationsOperations(FabricAdminClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("fabricLocation", fabricLocation); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -118,9 +116,9 @@ internal FabricLocationsOperations(FabricAdminClient client) _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{fabricLocation}", System.Uri.EscapeDataString(fabricLocation)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -287,10 +285,7 @@ internal FabricLocationsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -300,6 +295,7 @@ internal FabricLocationsOperations(FabricAdminClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -317,9 +313,9 @@ internal FabricLocationsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricOperations.cs index 718eb5685173..a9285c97b81a 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FabricOperations.cs @@ -65,21 +65,12 @@ internal FabricOperations(FabricAdminClient client) /// /// 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>> ListOperationsWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -87,6 +78,7 @@ internal FabricOperations(FabricAdminClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListOperations", tracingParameters); } @@ -94,9 +86,9 @@ internal FabricOperations(FabricAdminClient client) var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.Fabric.Admin/operations").ToString(); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FileSharesOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FileSharesOperations.cs index 43b4c9168e9f..6dc30af039a7 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FileSharesOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/FileSharesOperations.cs @@ -102,10 +102,7 @@ internal FileSharesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "fileShare"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal FileSharesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("fileShare", fileShare); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal FileSharesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{fileShare}", System.Uri.EscapeDataString(fileShare)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -303,10 +301,7 @@ internal FileSharesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,6 +312,7 @@ internal FileSharesOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -335,9 +331,9 @@ internal FileSharesOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IApplicationOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IApplicationOperationResultsOperations.cs new file mode 100644 index 000000000000..5659317e5848 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IApplicationOperationResultsOperations.cs @@ -0,0 +1,106 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApplicationOperationResultsOperations operations. + /// + public partial interface IApplicationOperationResultsOperations + { + /// + /// Returns the status of an application operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all application operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IComputeOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IComputeOperationResultsOperations.cs new file mode 100644 index 000000000000..0cabd89b59f3 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IComputeOperationResultsOperations.cs @@ -0,0 +1,106 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ComputeOperationResultsOperations operations. + /// + public partial interface IComputeOperationResultsOperations + { + /// + /// Returns the status of a compute operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all compute operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStoragePoolsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IDrivesOperations.cs similarity index 74% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStoragePoolsOperations.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IDrivesOperations.cs index 4a2a0cc475c8..1b2ae6792195 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStoragePoolsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IDrivesOperations.cs @@ -20,12 +20,12 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin using System.Threading.Tasks; /// - /// StoragePoolsOperations operations. + /// DrivesOperations operations. /// - public partial interface IStoragePoolsOperations + public partial interface IDrivesOperations { /// - /// Return the requested a storage pool. + /// Return the requested a storage drive. /// /// /// Name of the resource group. @@ -33,11 +33,14 @@ public partial interface IStoragePoolsOperations /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. + /// + /// Name of the storage drive. /// /// /// The headers that will be added to request. @@ -54,9 +57,9 @@ public partial interface IStoragePoolsOperations /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, string storagePool, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string drive, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// Name of the resource group. @@ -64,6 +67,9 @@ public partial interface IStoragePoolsOperations /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// @@ -85,9 +91,9 @@ public partial interface IStoragePoolsOperations /// /// Thrown when a required parameter is null /// - Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Returns a list of all storage pools for a location. + /// Returns a list of all storage drives at a location. /// /// /// The NextLink from the previous successful call to List operation. @@ -107,6 +113,6 @@ public partial interface IStoragePoolsOperations /// /// Thrown when a required parameter is null /// - Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IFabricAdminClient.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IFabricAdminClient.cs index 2397b199ba56..7ed868e4b103 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IFabricAdminClient.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IFabricAdminClient.cs @@ -47,11 +47,6 @@ public partial interface IFabricAdminClient : System.IDisposable /// string SubscriptionId { get; set; } - /// - /// Client API Version. - /// - string ApiVersion { get; } - /// /// The preferred language for the response. /// @@ -71,6 +66,16 @@ public partial interface IFabricAdminClient : System.IDisposable bool? GenerateClientRequestId { get; set; } + /// + /// Gets the IApplicationOperationResultsOperations. + /// + IApplicationOperationResultsOperations ApplicationOperationResults { get; } + + /// + /// Gets the IComputeOperationResultsOperations. + /// + IComputeOperationResultsOperations ComputeOperationResults { get; } + /// /// Gets the IFabricOperations. /// @@ -116,21 +121,6 @@ public partial interface IFabricAdminClient : System.IDisposable /// ILogicalNetworksOperations LogicalNetworks { get; } - /// - /// Gets the IStoragePoolsOperations. - /// - IStoragePoolsOperations StoragePools { get; } - - /// - /// Gets the IStorageSystemsOperations. - /// - IStorageSystemsOperations StorageSystems { get; } - - /// - /// Gets the IVolumesOperations. - /// - IVolumesOperations Volumes { get; } - /// /// Gets the ILogicalSubnetsOperations. /// @@ -141,6 +131,11 @@ public partial interface IFabricAdminClient : System.IDisposable /// IMacAddressPoolsOperations MacAddressPools { get; } + /// + /// Gets the INetworkOperationResultsOperations. + /// + INetworkOperationResultsOperations NetworkOperationResults { get; } + /// /// Gets the IScaleUnitsOperations. /// @@ -156,5 +151,25 @@ public partial interface IFabricAdminClient : System.IDisposable /// ISlbMuxInstancesOperations SlbMuxInstances { get; } + /// + /// Gets the IStorageOperationResultsOperations. + /// + IStorageOperationResultsOperations StorageOperationResults { get; } + + /// + /// Gets the IStorageSubSystemsOperations. + /// + IStorageSubSystemsOperations StorageSubSystems { get; } + + /// + /// Gets the IDrivesOperations. + /// + IDrivesOperations Drives { get; } + + /// + /// Gets the IVolumesOperations. + /// + IVolumesOperations Volumes { get; } + } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/INetworkOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/INetworkOperationResultsOperations.cs new file mode 100644 index 000000000000..403c955f587c --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/INetworkOperationResultsOperations.cs @@ -0,0 +1,106 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// NetworkOperationResultsOperations operations. + /// + public partial interface INetworkOperationResultsOperations + { + /// + /// Returns the status of a network operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IScaleUnitsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IScaleUnitsOperations.cs index 14c7f2618455..9f7f88b207b5 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IScaleUnitsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IScaleUnitsOperations.cs @@ -25,7 +25,7 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin public partial interface IScaleUnitsOperations { /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// Name of the resource group. @@ -54,6 +54,34 @@ public partial interface IScaleUnitsOperations /// Task ScaleOutWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, ScaleOutScaleUnitParametersList nodeList, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Add a new scale unit. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + /// + /// 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 CreateFromJsonWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Returns the requested scale unit. /// /// @@ -110,7 +138,7 @@ public partial interface IScaleUnitsOperations /// Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// Name of the resource group. @@ -139,6 +167,34 @@ public partial interface IScaleUnitsOperations /// Task BeginScaleOutWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, ScaleOutScaleUnitParametersList nodeList, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Add a new scale unit. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + /// + /// 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 BeginCreateFromJsonWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Returns a list of all scale units at a location. /// /// diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageOperationResultsOperations.cs new file mode 100644 index 000000000000..610c0923b45e --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageOperationResultsOperations.cs @@ -0,0 +1,106 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// StorageOperationResultsOperations operations. + /// + public partial interface IStorageOperationResultsOperations + { + /// + /// Returns the status of a storage operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageSystemsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageSubSystemsOperations.cs similarity index 76% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageSystemsOperations.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageSubSystemsOperations.cs index 2340c6060f82..3d244af7416b 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageSystemsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IStorageSubSystemsOperations.cs @@ -20,9 +20,9 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin using System.Threading.Tasks; /// - /// StorageSystemsOperations operations. + /// StorageSubSystemsOperations operations. /// - public partial interface IStorageSystemsOperations + public partial interface IStorageSubSystemsOperations { /// /// Return the requested storage subsystem. @@ -33,6 +33,9 @@ public partial interface IStorageSystemsOperations /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// @@ -51,7 +54,7 @@ public partial interface IStorageSystemsOperations /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Returns a list of all storage subsystems for a location. /// @@ -61,6 +64,9 @@ public partial interface IStorageSystemsOperations /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// OData parameters to apply to the operation. /// @@ -79,7 +85,7 @@ public partial interface IStorageSystemsOperations /// /// Thrown when a required parameter is null /// - Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Returns a list of all storage subsystems for a location. /// @@ -101,6 +107,6 @@ public partial interface IStorageSystemsOperations /// /// Thrown when a required parameter is null /// - Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IVolumesOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IVolumesOperations.cs index 483016454a06..5e0bd3b6ecc7 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IVolumesOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IVolumesOperations.cs @@ -33,12 +33,12 @@ public partial interface IVolumesOperations /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// Name of the storage volume. /// @@ -57,7 +57,7 @@ public partial interface IVolumesOperations /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, string storagePool, string volume, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string volume, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Returns a list of all storage volumes at a location. /// @@ -67,12 +67,12 @@ public partial interface IVolumesOperations /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// OData parameters to apply to the operation. /// @@ -91,7 +91,7 @@ public partial interface IVolumesOperations /// /// Thrown when a required parameter is null /// - Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, string storagePool, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Returns a list of all storage volumes at a location. /// diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRoleInstancesOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRoleInstancesOperations.cs index 9ffe19b09ef9..f594997c1b59 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRoleInstancesOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRoleInstancesOperations.cs @@ -202,10 +202,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "infraRoleInstance"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -216,6 +213,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("infraRoleInstance", infraRoleInstance); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -227,9 +225,9 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{infraRoleInstance}", System.Uri.EscapeDataString(infraRoleInstance)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -403,10 +401,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -417,6 +412,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -435,9 +431,9 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -612,10 +608,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "infraRoleInstance"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -626,6 +619,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("infraRoleInstance", infraRoleInstance); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginPowerOff", tracingParameters); } @@ -637,9 +631,9 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{infraRoleInstance}", System.Uri.EscapeDataString(infraRoleInstance)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -796,10 +790,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "infraRoleInstance"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -810,6 +801,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("infraRoleInstance", infraRoleInstance); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginPowerOn", tracingParameters); } @@ -821,9 +813,9 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{infraRoleInstance}", System.Uri.EscapeDataString(infraRoleInstance)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -980,10 +972,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "infraRoleInstance"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -994,6 +983,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("infraRoleInstance", infraRoleInstance); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginShutdown", tracingParameters); } @@ -1005,9 +995,9 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{infraRoleInstance}", System.Uri.EscapeDataString(infraRoleInstance)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -1164,10 +1154,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "infraRoleInstance"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1178,6 +1165,7 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("infraRoleInstance", infraRoleInstance); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginReboot", tracingParameters); } @@ -1189,9 +1177,9 @@ internal InfraRoleInstancesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{infraRoleInstance}", System.Uri.EscapeDataString(infraRoleInstance)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRolesOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRolesOperations.cs index b48526af1472..138cae482437 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRolesOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/InfraRolesOperations.cs @@ -102,10 +102,7 @@ internal InfraRolesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "infraRole"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal InfraRolesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("infraRole", infraRole); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal InfraRolesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{infraRole}", System.Uri.EscapeDataString(infraRole)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -303,10 +301,7 @@ internal InfraRolesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,6 +312,7 @@ internal InfraRolesOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -335,9 +331,9 @@ internal InfraRolesOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -537,10 +533,7 @@ internal InfraRolesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "infraRole"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -551,6 +544,7 @@ internal InfraRolesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("infraRole", infraRole); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginRestart", tracingParameters); } @@ -562,9 +556,9 @@ internal InfraRolesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{infraRole}", System.Uri.EscapeDataString(infraRole)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IpPoolsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IpPoolsOperations.cs index fafd558f9187..f6b438f53d83 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IpPoolsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/IpPoolsOperations.cs @@ -102,10 +102,7 @@ internal IpPoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ipPool"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal IpPoolsOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("ipPool", ipPool); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal IpPoolsOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{ipPool}", System.Uri.EscapeDataString(ipPool)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -331,10 +329,7 @@ internal IpPoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -345,6 +340,7 @@ internal IpPoolsOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -363,9 +359,9 @@ internal IpPoolsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -546,14 +542,11 @@ internal IpPoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "ipPool"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } if (pool == null) { throw new ValidationException(ValidationRules.CannotBeNull, "pool"); } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -564,6 +557,7 @@ internal IpPoolsOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("ipPool", ipPool); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("pool", pool); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); @@ -576,9 +570,9 @@ internal IpPoolsOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{ipPool}", System.Uri.EscapeDataString(ipPool)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalNetworksOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalNetworksOperations.cs index ab8b76e13dbd..fed0813cf5e0 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalNetworksOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalNetworksOperations.cs @@ -102,10 +102,7 @@ internal LogicalNetworksOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "logicalNetwork"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal LogicalNetworksOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("logicalNetwork", logicalNetwork); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal LogicalNetworksOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{logicalNetwork}", System.Uri.EscapeDataString(logicalNetwork)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -303,10 +301,7 @@ internal LogicalNetworksOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,6 +312,7 @@ internal LogicalNetworksOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -335,9 +331,9 @@ internal LogicalNetworksOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalSubnetsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalSubnetsOperations.cs index 8976ec86cf54..feb56340436c 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalSubnetsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/LogicalSubnetsOperations.cs @@ -109,10 +109,7 @@ internal LogicalSubnetsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "logicalSubnet"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -124,6 +121,7 @@ internal LogicalSubnetsOperations(FabricAdminClient client) tracingParameters.Add("location", location); tracingParameters.Add("logicalNetwork", logicalNetwork); tracingParameters.Add("logicalSubnet", logicalSubnet); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -136,9 +134,9 @@ internal LogicalSubnetsOperations(FabricAdminClient client) _url = _url.Replace("{logicalNetwork}", System.Uri.EscapeDataString(logicalNetwork)); _url = _url.Replace("{logicalSubnet}", System.Uri.EscapeDataString(logicalSubnet)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -319,10 +317,7 @@ internal LogicalSubnetsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "logicalNetwork"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -334,6 +329,7 @@ internal LogicalSubnetsOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("logicalNetwork", logicalNetwork); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -353,9 +349,9 @@ internal LogicalSubnetsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/MacAddressPoolsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/MacAddressPoolsOperations.cs index ce143fbed1ae..e471541e2eba 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/MacAddressPoolsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/MacAddressPoolsOperations.cs @@ -102,10 +102,7 @@ internal MacAddressPoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "macAddressPool"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal MacAddressPoolsOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("macAddressPool", macAddressPool); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal MacAddressPoolsOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{macAddressPool}", System.Uri.EscapeDataString(macAddressPool)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -303,10 +301,7 @@ internal MacAddressPoolsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,6 +312,7 @@ internal MacAddressPoolsOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -335,9 +331,9 @@ internal MacAddressPoolsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/ApplicationOperationResult.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/ApplicationOperationResult.cs new file mode 100644 index 000000000000..1edca7bababf --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/ApplicationOperationResult.cs @@ -0,0 +1,72 @@ +// +// 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.AzureStack.Management.Fabric.Admin.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Application operation result description. + /// + [Rest.Serialization.JsonTransformation] + public partial class ApplicationOperationResult : Resource + { + /// + /// Initializes a new instance of the ApplicationOperationResult class. + /// + public ApplicationOperationResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApplicationOperationResult class. + /// + /// URI of the resource. + /// Name of the resource. + /// Type of resource. + /// The region where the resource is + /// located. + /// List of key-value pairs. + /// List of operation result instances. + /// Success or failure of + /// operation. + public ApplicationOperationResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList instances = default(IList), string provisioningState = default(string)) + : base(id, name, type, location, tags) + { + Instances = instances; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets list of operation result instances. + /// + [JsonProperty(PropertyName = "properties.instances")] + public IList Instances { get; set; } + + /// + /// Gets or sets success or failure of operation. + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; set; } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StoragePool.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/ComputeOperationResult.cs similarity index 53% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StoragePool.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/ComputeOperationResult.cs index 7b3e8d2aa4b1..f1fd879c01b6 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StoragePool.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/ComputeOperationResult.cs @@ -18,21 +18,21 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin.Models using System.Linq; /// - /// Representation of a storage pool resource. + /// Compute operation result description. /// [Rest.Serialization.JsonTransformation] - public partial class StoragePool : Resource + public partial class ComputeOperationResult : Resource { /// - /// Initializes a new instance of the StoragePool class. + /// Initializes a new instance of the ComputeOperationResult class. /// - public StoragePool() + public ComputeOperationResult() { CustomInit(); } /// - /// Initializes a new instance of the StoragePool class. + /// Initializes a new instance of the ComputeOperationResult class. /// /// URI of the resource. /// Name of the resource. @@ -40,12 +40,14 @@ public StoragePool() /// The region where the resource is /// located. /// List of key-value pairs. - /// Amount of space in the storage pool in - /// GB. - public StoragePool(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), int? sizeGB = default(int?)) + /// List of operation result instances. + /// Success or failure of + /// operation. + public ComputeOperationResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList instances = default(IList), string provisioningState = default(string)) : base(id, name, type, location, tags) { - SizeGB = sizeGB; + Instances = instances; + ProvisioningState = provisioningState; CustomInit(); } @@ -55,10 +57,16 @@ public StoragePool() partial void CustomInit(); /// - /// Gets or sets amount of space in the storage pool in GB. + /// Gets or sets list of operation result instances. /// - [JsonProperty(PropertyName = "properties.sizeGB")] - public int? SizeGB { get; set; } + [JsonProperty(PropertyName = "properties.instances")] + public IList Instances { get; set; } + + /// + /// Gets or sets success or failure of operation. + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; set; } } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/CreateFromJsonScaleUnitParametersList.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/CreateFromJsonScaleUnitParametersList.cs new file mode 100644 index 000000000000..c6b4dcdddad0 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/CreateFromJsonScaleUnitParametersList.cs @@ -0,0 +1,122 @@ +// +// 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.AzureStack.Management.Fabric.Admin.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A list of input data that allows for creating the new scale unit. + /// + public partial class CreateFromJsonScaleUnitParametersList + { + /// + /// Initializes a new instance of the + /// CreateFromJsonScaleUnitParametersList class. + /// + public CreateFromJsonScaleUnitParametersList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// CreateFromJsonScaleUnitParametersList class. + /// + /// Cluster name for the new scale + /// unit. + /// List of nodes in the scale + /// unit. + /// The ASN for the cluster's rack + /// TOR. + /// The software ASN for the cluster's + /// rack. + /// The list of IP addresses used for + /// TOR communication. + /// The information associated with + /// the infrastructure network that will be subdivided into + /// subnets. + /// The information associated with the + /// storage network that will be subdivided into subnets. + /// The network QOS priority + /// setting. + public CreateFromJsonScaleUnitParametersList(string clusterName = default(string), IList physicalNodes = default(IList), string torSwitchBgpAsn = default(string), string softwareBgpAsn = default(string), IList torSwitchBgpPeerIp = default(IList), NetworkDefinitionParameter infrastructureNetwork = default(NetworkDefinitionParameter), NetworkDefinitionParameter storageNetwork = default(NetworkDefinitionParameter), int? netQosPriority = default(int?)) + { + ClusterName = clusterName; + PhysicalNodes = physicalNodes; + TorSwitchBgpAsn = torSwitchBgpAsn; + SoftwareBgpAsn = softwareBgpAsn; + TorSwitchBgpPeerIp = torSwitchBgpPeerIp; + InfrastructureNetwork = infrastructureNetwork; + StorageNetwork = storageNetwork; + NetQosPriority = netQosPriority; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets cluster name for the new scale unit. + /// + [JsonProperty(PropertyName = "clusterName")] + public string ClusterName { get; set; } + + /// + /// Gets or sets list of nodes in the scale unit. + /// + [JsonProperty(PropertyName = "physicalNodes")] + public IList PhysicalNodes { get; set; } + + /// + /// Gets or sets the ASN for the cluster's rack TOR. + /// + [JsonProperty(PropertyName = "torSwitchBgpAsn")] + public string TorSwitchBgpAsn { get; set; } + + /// + /// Gets or sets the software ASN for the cluster's rack. + /// + [JsonProperty(PropertyName = "softwareBgpAsn")] + public string SoftwareBgpAsn { get; set; } + + /// + /// Gets or sets the list of IP addresses used for TOR communication. + /// + [JsonProperty(PropertyName = "torSwitchBgpPeerIp")] + public IList TorSwitchBgpPeerIp { get; set; } + + /// + /// Gets or sets the information associated with the infrastructure + /// network that will be subdivided into subnets. + /// + [JsonProperty(PropertyName = "infrastructureNetwork")] + public NetworkDefinitionParameter InfrastructureNetwork { get; set; } + + /// + /// Gets or sets the information associated with the storage network + /// that will be subdivided into subnets. + /// + [JsonProperty(PropertyName = "storageNetwork")] + public NetworkDefinitionParameter StorageNetwork { get; set; } + + /// + /// Gets or sets the network QOS priority setting. + /// + [JsonProperty(PropertyName = "netQosPriority")] + public int? NetQosPriority { get; set; } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/DeploymentJsonPhysicalNodeParameters.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/DeploymentJsonPhysicalNodeParameters.cs new file mode 100644 index 000000000000..7dba0c37a693 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/DeploymentJsonPhysicalNodeParameters.cs @@ -0,0 +1,63 @@ +// +// 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.AzureStack.Management.Fabric.Admin.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Description of a bare metal node used for scale unit scale out + /// operations. + /// + public partial class DeploymentJsonPhysicalNodeParameters + { + /// + /// Initializes a new instance of the + /// DeploymentJsonPhysicalNodeParameters class. + /// + public DeploymentJsonPhysicalNodeParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// DeploymentJsonPhysicalNodeParameters class. + /// + /// BMC address of the physical + /// machine. + /// Computer name of the physical machine. + public DeploymentJsonPhysicalNodeParameters(string bMCIPAddress = default(string), string name = default(string)) + { + BMCIPAddress = bMCIPAddress; + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets BMC address of the physical machine. + /// + [JsonProperty(PropertyName = "bmcIpAddress")] + public string BMCIPAddress { get; set; } + + /// + /// Gets or sets computer name of the physical machine. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/Drive.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/Drive.cs new file mode 100644 index 000000000000..ccf2a48ad69d --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/Drive.cs @@ -0,0 +1,190 @@ +// +// 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.AzureStack.Management.Fabric.Admin.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Representation of a drive resource. + /// + [Rest.Serialization.JsonTransformation] + public partial class Drive : Resource + { + /// + /// Initializes a new instance of the Drive class. + /// + public Drive() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Drive class. + /// + /// URI of the resource. + /// Name of the resource. + /// Type of resource. + /// The region where the resource is + /// located. + /// List of key-value pairs. + /// Node that the drive is physically + /// connected. + /// Serial number of the drive. + /// Health status of the drive. + /// Operational status of the + /// drive. + /// Intended usage of the drive. + /// Indicate where the hardware is + /// located. + /// Model of the drive. + /// The firmware version of the + /// drive. + /// Indicate whether the drive's + /// identification LEDs are active or not. + /// The name of the drive's + /// manufacturer. + /// The storage pool where the drive is + /// located. + /// Media type of the drive. + /// Total capacity in GB of the drive. + /// Detailed description for + /// HealthStatus/OperationalStatus. Empty if + /// HealthStatus/OperationalStatus is Healthy/Ok. + /// Detailed recommended action for + /// HealthStatus/OperationalStatus. Empty if + /// HealthStatus/OperationalStatus is Healthy/Ok. + public Drive(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string storageNode = default(string), string serialNumber = default(string), string healthStatus = default(string), string operationalStatus = default(string), string usage = default(string), string physicalLocation = default(string), string model = default(string), string firmwareVersion = default(string), bool? isIndicationEnabled = default(bool?), string manufacturer = default(string), string storagePool = default(string), string mediaType = default(string), int? capacityGB = default(int?), string description = default(string), string action = default(string)) + : base(id, name, type, location, tags) + { + StorageNode = storageNode; + SerialNumber = serialNumber; + HealthStatus = healthStatus; + OperationalStatus = operationalStatus; + Usage = usage; + PhysicalLocation = physicalLocation; + Model = model; + FirmwareVersion = firmwareVersion; + IsIndicationEnabled = isIndicationEnabled; + Manufacturer = manufacturer; + StoragePool = storagePool; + MediaType = mediaType; + CapacityGB = capacityGB; + Description = description; + Action = action; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets node that the drive is physically connected. + /// + [JsonProperty(PropertyName = "properties.storageNode")] + public string StorageNode { get; private set; } + + /// + /// Gets serial number of the drive. + /// + [JsonProperty(PropertyName = "properties.serialNumber")] + public string SerialNumber { get; private set; } + + /// + /// Gets health status of the drive. + /// + [JsonProperty(PropertyName = "properties.healthStatus")] + public string HealthStatus { get; private set; } + + /// + /// Gets operational status of the drive. + /// + [JsonProperty(PropertyName = "properties.operationalStatus")] + public string OperationalStatus { get; private set; } + + /// + /// Gets intended usage of the drive. + /// + [JsonProperty(PropertyName = "properties.usage")] + public string Usage { get; private set; } + + /// + /// Gets indicate where the hardware is located. + /// + [JsonProperty(PropertyName = "properties.physicalLocation")] + public string PhysicalLocation { get; private set; } + + /// + /// Gets model of the drive. + /// + [JsonProperty(PropertyName = "properties.model")] + public string Model { get; private set; } + + /// + /// Gets the firmware version of the drive. + /// + [JsonProperty(PropertyName = "properties.firmwareVersion")] + public string FirmwareVersion { get; private set; } + + /// + /// Gets indicate whether the drive's identification LEDs are active or + /// not. + /// + [JsonProperty(PropertyName = "properties.isIndicationEnabled")] + public bool? IsIndicationEnabled { get; private set; } + + /// + /// Gets the name of the drive's manufacturer. + /// + [JsonProperty(PropertyName = "properties.manufacturer")] + public string Manufacturer { get; private set; } + + /// + /// Gets the storage pool where the drive is located. + /// + [JsonProperty(PropertyName = "properties.storagePool")] + public string StoragePool { get; private set; } + + /// + /// Gets media type of the drive. + /// + [JsonProperty(PropertyName = "properties.mediaType")] + public string MediaType { get; private set; } + + /// + /// Gets total capacity in GB of the drive. + /// + [JsonProperty(PropertyName = "properties.capacityGB")] + public int? CapacityGB { get; private set; } + + /// + /// Gets detailed description for HealthStatus/OperationalStatus. Empty + /// if HealthStatus/OperationalStatus is Healthy/Ok. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; private set; } + + /// + /// Gets detailed recommended action for + /// HealthStatus/OperationalStatus. Empty if + /// HealthStatus/OperationalStatus is Healthy/Ok. + /// + [JsonProperty(PropertyName = "properties.action")] + public string Action { get; private set; } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/FabricLocation.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/FabricLocation.cs index e4f1a8e14342..6db2bd05540a 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/FabricLocation.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/FabricLocation.cs @@ -10,14 +10,17 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin.Models { + using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// - /// Place holder for fabric location. + /// Fabric Location resource. /// + [Rest.Serialization.JsonTransformation] public partial class FabricLocation : Resource { /// @@ -37,11 +40,41 @@ public FabricLocation() /// The region where the resource is /// located. /// List of key-value pairs. - /// Empty object. - public FabricLocation(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), object properties = default(object)) + /// The IP addresses of the privileged + /// endpoints. + /// The IP address of the time server. + /// The deployment id of the + /// stamp. + /// First external IP address of + /// the DNS server. + /// Second external IP Address of + /// the DNS server. + /// Value for whether an + /// exclusive admin operation is running. + /// Name of the running + /// exclusive admin operation. + /// Last known stamp start + /// time for the start up action plan. + /// Last known stamp stop time + /// for the start up action plan. + /// Last known stamp start + /// time for the shut down action plan + /// Last known stamp stop time + /// for the shut down action plan. + public FabricLocation(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList pepIpAddresses = default(IList), string timeServer = default(string), string stampInformationId = default(string), string externalDsnIPAddress01 = default(string), string externalDsnIPAddress02 = default(string), bool? exclusiveAdminOperationRunning = default(bool?), string exclusiveAdminOperationName = default(string), System.DateTime? startUpActionPlanStartTime = default(System.DateTime?), System.DateTime? startUpActionPlanEndTime = default(System.DateTime?), System.DateTime? shutDownActionPlanStartTime = default(System.DateTime?), System.DateTime? shutDownActionPlanEndTime = default(System.DateTime?)) : base(id, name, type, location, tags) { - Properties = properties; + PepIpAddresses = pepIpAddresses; + TimeServer = timeServer; + StampInformationId = stampInformationId; + ExternalDsnIPAddress01 = externalDsnIPAddress01; + ExternalDsnIPAddress02 = externalDsnIPAddress02; + ExclusiveAdminOperationRunning = exclusiveAdminOperationRunning; + ExclusiveAdminOperationName = exclusiveAdminOperationName; + StartUpActionPlanStartTime = startUpActionPlanStartTime; + StartUpActionPlanEndTime = startUpActionPlanEndTime; + ShutDownActionPlanStartTime = shutDownActionPlanStartTime; + ShutDownActionPlanEndTime = shutDownActionPlanEndTime; CustomInit(); } @@ -51,10 +84,75 @@ public FabricLocation() partial void CustomInit(); /// - /// Gets or sets empty object. + /// Gets or sets the IP addresses of the privileged endpoints. /// - [JsonProperty(PropertyName = "properties")] - public object Properties { get; set; } + [JsonProperty(PropertyName = "properties.pepIpAddresses")] + public IList PepIpAddresses { get; set; } + + /// + /// Gets or sets the IP address of the time server. + /// + [JsonProperty(PropertyName = "properties.timeServer")] + public string TimeServer { get; set; } + + /// + /// Gets or sets the deployment id of the stamp. + /// + [JsonProperty(PropertyName = "properties.stampInformationId")] + public string StampInformationId { get; set; } + + /// + /// Gets or sets first external IP address of the DNS server. + /// + [JsonProperty(PropertyName = "properties.externalDsnIPAddress01")] + public string ExternalDsnIPAddress01 { get; set; } + + /// + /// Gets or sets second external IP Address of the DNS server. + /// + [JsonProperty(PropertyName = "properties.externalDsnIPAddress02")] + public string ExternalDsnIPAddress02 { get; set; } + + /// + /// Gets or sets value for whether an exclusive admin operation is + /// running. + /// + [JsonProperty(PropertyName = "properties.exclusiveAdminOperationRunning")] + public bool? ExclusiveAdminOperationRunning { get; set; } + + /// + /// Gets or sets name of the running exclusive admin operation. + /// + [JsonProperty(PropertyName = "properties.exclusiveAdminOperationName")] + public string ExclusiveAdminOperationName { get; set; } + + /// + /// Gets or sets last known stamp start time for the start up action + /// plan. + /// + [JsonProperty(PropertyName = "properties.startUpActionPlanStartTime")] + public System.DateTime? StartUpActionPlanStartTime { get; set; } + + /// + /// Gets or sets last known stamp stop time for the start up action + /// plan. + /// + [JsonProperty(PropertyName = "properties.startUpActionPlanEndTime")] + public System.DateTime? StartUpActionPlanEndTime { get; set; } + + /// + /// Gets or sets last known stamp start time for the shut down action + /// plan + /// + [JsonProperty(PropertyName = "properties.shutDownActionPlanStartTime")] + public System.DateTime? ShutDownActionPlanStartTime { get; set; } + + /// + /// Gets or sets last known stamp stop time for the shut down action + /// plan. + /// + [JsonProperty(PropertyName = "properties.shutDownActionPlanEndTime")] + public System.DateTime? ShutDownActionPlanEndTime { get; set; } } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/NetworkDefinitionParameter.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/NetworkDefinitionParameter.cs new file mode 100644 index 000000000000..09951c93ab54 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/NetworkDefinitionParameter.cs @@ -0,0 +1,62 @@ +// +// 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.AzureStack.Management.Fabric.Admin.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A definition of the network received from a new cluster operation. + /// + public partial class NetworkDefinitionParameter + { + /// + /// Initializes a new instance of the NetworkDefinitionParameter class. + /// + public NetworkDefinitionParameter() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkDefinitionParameter class. + /// + /// The subnet IP mask in the example format + /// 10.0.0.0/25. + /// The Vlan ID of the subnet. + public NetworkDefinitionParameter(IList subnet = default(IList), IList vlanId = default(IList)) + { + Subnet = subnet; + VlanId = vlanId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the subnet IP mask in the example format 10.0.0.0/25. + /// + [JsonProperty(PropertyName = "subnet")] + public IList Subnet { get; set; } + + /// + /// Gets or sets the Vlan ID of the subnet. + /// + [JsonProperty(PropertyName = "vlanId")] + public IList VlanId { get; set; } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageSystem.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/NetworkOperationResult.cs similarity index 53% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageSystem.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/NetworkOperationResult.cs index e61ad4ab73b3..fed8e93ca059 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageSystem.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/NetworkOperationResult.cs @@ -18,21 +18,21 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin.Models using System.Linq; /// - /// Representation of a storage system resource. + /// Network operation result description. /// [Rest.Serialization.JsonTransformation] - public partial class StorageSystem : Resource + public partial class NetworkOperationResult : Resource { /// - /// Initializes a new instance of the StorageSystem class. + /// Initializes a new instance of the NetworkOperationResult class. /// - public StorageSystem() + public NetworkOperationResult() { CustomInit(); } /// - /// Initializes a new instance of the StorageSystem class. + /// Initializes a new instance of the NetworkOperationResult class. /// /// URI of the resource. /// Name of the resource. @@ -40,11 +40,14 @@ public StorageSystem() /// The region where the resource is /// located. /// List of key-value pairs. - /// Total capacity of the system. - public StorageSystem(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), int? totalCapacityGB = default(int?)) + /// List of operation result instances. + /// Success or failure of + /// operation. + public NetworkOperationResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList instances = default(IList), string provisioningState = default(string)) : base(id, name, type, location, tags) { - TotalCapacityGB = totalCapacityGB; + Instances = instances; + ProvisioningState = provisioningState; CustomInit(); } @@ -54,10 +57,16 @@ public StorageSystem() partial void CustomInit(); /// - /// Gets or sets total capacity of the system. + /// Gets or sets list of operation result instances. /// - [JsonProperty(PropertyName = "properties.totalCapacityGB")] - public int? TotalCapacityGB { get; set; } + [JsonProperty(PropertyName = "properties.instances")] + public IList Instances { get; set; } + + /// + /// Gets or sets success or failure of operation. + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; set; } } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageOperationResult.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageOperationResult.cs new file mode 100644 index 000000000000..1489aa012d64 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageOperationResult.cs @@ -0,0 +1,72 @@ +// +// 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.AzureStack.Management.Fabric.Admin.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Storage operation result description. + /// + [Rest.Serialization.JsonTransformation] + public partial class StorageOperationResult : Resource + { + /// + /// Initializes a new instance of the StorageOperationResult class. + /// + public StorageOperationResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageOperationResult class. + /// + /// URI of the resource. + /// Name of the resource. + /// Type of resource. + /// The region where the resource is + /// located. + /// List of key-value pairs. + /// List of operation result instances. + /// Success or failure of + /// operation. + public StorageOperationResult(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), IList instances = default(IList), string provisioningState = default(string)) + : base(id, name, type, location, tags) + { + Instances = instances; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets list of operation result instances. + /// + [JsonProperty(PropertyName = "properties.instances")] + public IList Instances { get; set; } + + /// + /// Gets or sets success or failure of operation. + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; set; } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageSubSystem.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageSubSystem.cs new file mode 100644 index 000000000000..bb94bede1eed --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/StorageSubSystem.cs @@ -0,0 +1,99 @@ +// +// 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.AzureStack.Management.Fabric.Admin.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Representation of a storage system resource. + /// + [Rest.Serialization.JsonTransformation] + public partial class StorageSubSystem : Resource + { + /// + /// Initializes a new instance of the StorageSubSystem class. + /// + public StorageSubSystem() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageSubSystem class. + /// + /// URI of the resource. + /// Name of the resource. + /// Type of resource. + /// The region where the resource is + /// located. + /// List of key-value pairs. + /// Total capacity in GB of the + /// subsystem. + /// Remaining capacity in GB of the + /// subsystem. + /// Health status of the subsystem. + /// Operational status of the + /// subsystem. + /// Rebalance status of the + /// subsystem. + public StorageSubSystem(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), int? totalCapacityGB = default(int?), int? remainingCapacityGB = default(int?), string healthStatus = default(string), string operationalStatus = default(string), string rebalanceStatus = default(string)) + : base(id, name, type, location, tags) + { + TotalCapacityGB = totalCapacityGB; + RemainingCapacityGB = remainingCapacityGB; + HealthStatus = healthStatus; + OperationalStatus = operationalStatus; + RebalanceStatus = rebalanceStatus; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets total capacity in GB of the subsystem. + /// + [JsonProperty(PropertyName = "properties.totalCapacityGB")] + public int? TotalCapacityGB { get; set; } + + /// + /// Gets or sets remaining capacity in GB of the subsystem. + /// + [JsonProperty(PropertyName = "properties.remainingCapacityGB")] + public int? RemainingCapacityGB { get; set; } + + /// + /// Gets or sets health status of the subsystem. + /// + [JsonProperty(PropertyName = "properties.healthStatus")] + public string HealthStatus { get; set; } + + /// + /// Gets or sets operational status of the subsystem. + /// + [JsonProperty(PropertyName = "properties.operationalStatus")] + public string OperationalStatus { get; set; } + + /// + /// Gets or sets rebalance status of the subsystem. + /// + [JsonProperty(PropertyName = "properties.rebalanceStatus")] + public string RebalanceStatus { get; set; } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/Volume.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/Volume.cs index 17d9a304fba9..152b8175700e 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/Volume.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/Models/Volume.cs @@ -40,16 +40,33 @@ public Volume() /// The region where the resource is /// located. /// List of key-value pairs. - /// Filesystem type. - /// Amount of free space in GB. - /// Total amount of space in GB. + /// Total capacity in GB of the + /// volume. + /// Remaining capacity in GB of the + /// volume. + /// Health status of the volume. + /// Operational status of the + /// volume. + /// Repair status of the volume. Empty if no + /// repair job running, something like 'Running, 90%' when + /// repairing. + /// Detailed description for + /// HealthStatus/OperationalStatus. Empty if + /// HealthStatus/OperationalStatus is Healthy/Ok. + /// Detailed recommended action for + /// HealthStatus/OperationalStatus. Empty if + /// HealthStatus/OperationalStatus is Healthy/Ok. /// Volume label. - public Volume(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string fileSystem = default(string), int? remainingSizeGB = default(int?), int? sizeGB = default(int?), string volumeLabel = default(string)) + public Volume(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), int? totalCapacityGB = default(int?), int? remainingCapacityGB = default(int?), string healthStatus = default(string), string operationalStatus = default(string), string repairStatus = default(string), string description = default(string), string action = default(string), string volumeLabel = default(string)) : base(id, name, type, location, tags) { - FileSystem = fileSystem; - RemainingSizeGB = remainingSizeGB; - SizeGB = sizeGB; + TotalCapacityGB = totalCapacityGB; + RemainingCapacityGB = remainingCapacityGB; + HealthStatus = healthStatus; + OperationalStatus = operationalStatus; + RepairStatus = repairStatus; + Description = description; + Action = action; VolumeLabel = volumeLabel; CustomInit(); } @@ -60,28 +77,56 @@ public Volume() partial void CustomInit(); /// - /// Gets or sets filesystem type. + /// Gets total capacity in GB of the volume. /// - [JsonProperty(PropertyName = "properties.fileSystem")] - public string FileSystem { get; set; } + [JsonProperty(PropertyName = "properties.totalCapacityGB")] + public int? TotalCapacityGB { get; private set; } /// - /// Gets or sets amount of free space in GB. + /// Gets remaining capacity in GB of the volume. /// - [JsonProperty(PropertyName = "properties.remainingSizeGB")] - public int? RemainingSizeGB { get; set; } + [JsonProperty(PropertyName = "properties.remainingCapacityGB")] + public int? RemainingCapacityGB { get; private set; } /// - /// Gets or sets total amount of space in GB. + /// Gets health status of the volume. /// - [JsonProperty(PropertyName = "properties.sizeGB")] - public int? SizeGB { get; set; } + [JsonProperty(PropertyName = "properties.healthStatus")] + public string HealthStatus { get; private set; } /// - /// Gets or sets volume label. + /// Gets operational status of the volume. + /// + [JsonProperty(PropertyName = "properties.operationalStatus")] + public string OperationalStatus { get; private set; } + + /// + /// Gets repair status of the volume. Empty if no repair job running, + /// something like 'Running, 90%' when repairing. + /// + [JsonProperty(PropertyName = "properties.repairStatus")] + public string RepairStatus { get; private set; } + + /// + /// Gets detailed description for HealthStatus/OperationalStatus. Empty + /// if HealthStatus/OperationalStatus is Healthy/Ok. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; private set; } + + /// + /// Gets detailed recommended action for + /// HealthStatus/OperationalStatus. Empty if + /// HealthStatus/OperationalStatus is Healthy/Ok. + /// + [JsonProperty(PropertyName = "properties.action")] + public string Action { get; private set; } + + /// + /// Gets volume label. /// [JsonProperty(PropertyName = "properties.volumeLabel")] - public string VolumeLabel { get; set; } + public string VolumeLabel { get; private set; } } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/NetworkOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/NetworkOperationResultsOperations.cs new file mode 100644 index 000000000000..e3c0da2e2ea0 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/NetworkOperationResultsOperations.cs @@ -0,0 +1,637 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + 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; + + /// + /// NetworkOperationResultsOperations operations. + /// + internal partial class NetworkOperationResultsOperations : IServiceOperations, INetworkOperationResultsOperations + { + /// + /// Initializes a new instance of the NetworkOperationResultsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal NetworkOperationResultsOperations(FabricAdminClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the FabricAdminClient + /// + public FabricAdminClient Client { get; private set; } + + /// + /// Returns the status of a network operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (operation == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operation"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("operation", operation); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", 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.Fabric.Admin/fabricLocations/{location}/networkOperationResults/{operation}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{operation}", System.Uri.EscapeDataString(operation)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", 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.Fabric.Admin/fabricLocations/{location}/networkOperationResults").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + 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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/NetworkOperationResultsOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/NetworkOperationResultsOperationsExtensions.cs new file mode 100644 index 000000000000..05d47b01f816 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/NetworkOperationResultsOperationsExtensions.cs @@ -0,0 +1,152 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for NetworkOperationResultsOperations. + /// + public static partial class NetworkOperationResultsOperationsExtensions + { + /// + /// Returns the status of a network operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + public static NetworkOperationResult Get(this INetworkOperationResultsOperations operations, string resourceGroupName, string location, string operation) + { + return operations.GetAsync(resourceGroupName, location, operation).GetAwaiter().GetResult(); + } + + /// + /// Returns the status of a network operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this INetworkOperationResultsOperations operations, string resourceGroupName, string location, string operation, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, operation, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage List(this INetworkOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListAsync(resourceGroupName, location, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this INetworkOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this INetworkOperationResultsOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all network operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this INetworkOperationResultsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitNodesOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitNodesOperations.cs index 84f602f3c0a7..9fe42e80da79 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitNodesOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitNodesOperations.cs @@ -255,10 +255,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnitNode"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -269,6 +266,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnitNode", scaleUnitNode); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -280,9 +278,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnitNode}", System.Uri.EscapeDataString(scaleUnitNode)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -456,10 +454,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -470,6 +465,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -488,9 +484,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -665,10 +661,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnitNode"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -679,6 +672,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnitNode", scaleUnitNode); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginShutdown", tracingParameters); } @@ -690,9 +684,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnitNode}", System.Uri.EscapeDataString(scaleUnitNode)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -849,10 +843,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnitNode"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -863,6 +854,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnitNode", scaleUnitNode); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginPowerOff", tracingParameters); } @@ -874,9 +866,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnitNode}", System.Uri.EscapeDataString(scaleUnitNode)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -1033,10 +1025,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnitNode"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1047,6 +1036,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnitNode", scaleUnitNode); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginPowerOn", tracingParameters); } @@ -1058,9 +1048,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnitNode}", System.Uri.EscapeDataString(scaleUnitNode)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -1217,10 +1207,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnitNode"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1231,6 +1218,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnitNode", scaleUnitNode); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginStartMaintenanceMode", tracingParameters); } @@ -1242,9 +1230,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnitNode}", System.Uri.EscapeDataString(scaleUnitNode)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -1401,10 +1389,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnitNode"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1415,6 +1400,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnitNode", scaleUnitNode); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginStopMaintenanceMode", tracingParameters); } @@ -1426,9 +1412,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnitNode}", System.Uri.EscapeDataString(scaleUnitNode)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -1588,14 +1574,11 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnitNode"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } if (bareMetalNode == null) { throw new ValidationException(ValidationRules.CannotBeNull, "bareMetalNode"); } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1606,6 +1589,7 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnitNode", scaleUnitNode); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("bareMetalNode", bareMetalNode); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginRepair", tracingParameters); @@ -1618,9 +1602,9 @@ internal ScaleUnitNodesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnitNode}", System.Uri.EscapeDataString(scaleUnitNode)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperations.cs index 36de594aff87..6e9f72e84bd7 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperations.cs @@ -52,7 +52,7 @@ internal ScaleUnitsOperations(FabricAdminClient client) public FabricAdminClient Client { get; private set; } /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// Name of the resource group. @@ -79,6 +79,34 @@ internal ScaleUnitsOperations(FabricAdminClient client) return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Add a new scale unit. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task CreateFromJsonWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginCreateFromJsonWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, creationData, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Returns the requested scale unit. /// @@ -130,10 +158,7 @@ internal ScaleUnitsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -144,6 +169,7 @@ internal ScaleUnitsOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("scaleUnit", scaleUnit); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -155,9 +181,9 @@ internal ScaleUnitsOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -331,10 +357,7 @@ internal ScaleUnitsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -345,6 +368,7 @@ internal ScaleUnitsOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -363,9 +387,9 @@ internal ScaleUnitsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -493,7 +517,7 @@ internal ScaleUnitsOperations(FabricAdminClient client) } /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// Name of the resource group. @@ -547,10 +571,7 @@ internal ScaleUnitsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "nodeList"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -562,20 +583,21 @@ internal ScaleUnitsOperations(FabricAdminClient client) tracingParameters.Add("location", location); tracingParameters.Add("scaleUnit", scaleUnit); tracingParameters.Add("nodeList", nodeList); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginScaleOut", 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.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/ScaleOut").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/scaleOut").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -690,6 +712,202 @@ internal ScaleUnitsOperations(FabricAdminClient client) return _result; } + /// + /// Add a new scale unit. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + /// + /// 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 BeginCreateFromJsonWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData, 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (scaleUnit == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); + } + if (creationData == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "creationData"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("scaleUnit", scaleUnit); + tracingParameters.Add("creationData", creationData); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateFromJson", 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.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/createFromJson").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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(creationData != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(creationData, 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 CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + /// /// Returns a list of all scale units at a location. /// diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperationsExtensions.cs index 071602e3534b..7292fe34ea1c 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperationsExtensions.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/ScaleUnitsOperationsExtensions.cs @@ -23,7 +23,7 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin public static partial class ScaleUnitsOperationsExtensions { /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// The operations group for this extension method. @@ -46,7 +46,7 @@ public static void ScaleOut(this IScaleUnitsOperations operations, string resour } /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// The operations group for this extension method. @@ -71,6 +71,55 @@ public static void ScaleOut(this IScaleUnitsOperations operations, string resour (await operations.ScaleOutWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, nodeList, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Add a new scale unit. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + public static void CreateFromJson(this IScaleUnitsOperations operations, string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData) + { + operations.CreateFromJsonAsync(resourceGroupName, location, scaleUnit, creationData).GetAwaiter().GetResult(); + } + + /// + /// Add a new scale unit. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + /// + /// The cancellation token. + /// + public static async Task CreateFromJsonAsync(this IScaleUnitsOperations operations, string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.CreateFromJsonWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, creationData, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Returns the requested scale unit. /// @@ -164,7 +213,7 @@ public static ScaleUnit Get(this IScaleUnitsOperations operations, string resour } /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// The operations group for this extension method. @@ -187,7 +236,7 @@ public static void BeginScaleOut(this IScaleUnitsOperations operations, string r } /// - /// Add a new scale unit. + /// Scales out a scale unit. /// /// /// The operations group for this extension method. @@ -212,6 +261,55 @@ public static void BeginScaleOut(this IScaleUnitsOperations operations, string r (await operations.BeginScaleOutWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, nodeList, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Add a new scale unit. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + public static void BeginCreateFromJson(this IScaleUnitsOperations operations, string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData) + { + operations.BeginCreateFromJsonAsync(resourceGroupName, location, scaleUnit, creationData).GetAwaiter().GetResult(); + } + + /// + /// Add a new scale unit. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Name of the scale units. + /// + /// + /// A list of input data that allows for creating the new scale unit. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateFromJsonAsync(this IScaleUnitsOperations operations, string resourceGroupName, string location, string scaleUnit, CreateFromJsonScaleUnitParametersList creationData, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginCreateFromJsonWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, creationData, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Returns a list of all scale units at a location. /// diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SdkInfo_FabricAdminClient.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SdkInfo_FabricAdminClient.cs index d18f6b0a8c7d..ae6b32d29396 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SdkInfo_FabricAdminClient.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SdkInfo_FabricAdminClient.cs @@ -19,6 +19,9 @@ public static IEnumerable> ApiInfo_FabricAdminClie { return new Tuple[] { + new Tuple("Fabric.Admin", "ApplicationOperationResults", "2016-05-01"), + new Tuple("Fabric.Admin", "ComputeOperationResults", "2016-05-01"), + new Tuple("Fabric.Admin", "Drives", "2019-05-01"), new Tuple("Fabric.Admin", "EdgeGatewayPools", "2016-05-01"), new Tuple("Fabric.Admin", "EdgeGateways", "2016-05-01"), new Tuple("Fabric.Admin", "Fabric", "2016-05-01"), @@ -30,12 +33,13 @@ public static IEnumerable> ApiInfo_FabricAdminClie new Tuple("Fabric.Admin", "LogicalNetworks", "2016-05-01"), new Tuple("Fabric.Admin", "LogicalSubnets", "2016-05-01"), new Tuple("Fabric.Admin", "MacAddressPools", "2016-05-01"), + new Tuple("Fabric.Admin", "NetworkOperationResults", "2016-05-01"), new Tuple("Fabric.Admin", "ScaleUnitNodes", "2016-05-01"), new Tuple("Fabric.Admin", "ScaleUnits", "2016-05-01"), new Tuple("Fabric.Admin", "SlbMuxInstances", "2016-05-01"), - new Tuple("Fabric.Admin", "StoragePools", "2016-05-01"), - new Tuple("Fabric.Admin", "StorageSystems", "2016-05-01"), - new Tuple("Fabric.Admin", "Volumes", "2016-05-01"), + new Tuple("Fabric.Admin", "StorageOperationResults", "2016-05-01"), + new Tuple("Fabric.Admin", "StorageSubSystems", "2018-10-01"), + new Tuple("Fabric.Admin", "Volumes", "2019-05-01"), }.AsEnumerable(); } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SlbMuxInstancesOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SlbMuxInstancesOperations.cs index b5f0eecb8664..9a9a6443f691 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SlbMuxInstancesOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/SlbMuxInstancesOperations.cs @@ -102,10 +102,7 @@ internal SlbMuxInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "slbMuxInstance"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -116,6 +113,7 @@ internal SlbMuxInstancesOperations(FabricAdminClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); tracingParameters.Add("slbMuxInstance", slbMuxInstance); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } @@ -127,9 +125,9 @@ internal SlbMuxInstancesOperations(FabricAdminClient client) _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); _url = _url.Replace("{slbMuxInstance}", System.Uri.EscapeDataString(slbMuxInstance)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -303,10 +301,7 @@ internal SlbMuxInstancesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2016-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,6 +312,7 @@ internal SlbMuxInstancesOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } @@ -335,9 +331,9 @@ internal SlbMuxInstancesOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageOperationResultsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageOperationResultsOperations.cs new file mode 100644 index 000000000000..78a231fd595f --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageOperationResultsOperations.cs @@ -0,0 +1,637 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + 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; + + /// + /// StorageOperationResultsOperations operations. + /// + internal partial class StorageOperationResultsOperations : IServiceOperations, IStorageOperationResultsOperations + { + /// + /// Initializes a new instance of the StorageOperationResultsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal StorageOperationResultsOperations(FabricAdminClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the FabricAdminClient + /// + public FabricAdminClient Client { get; private set; } + + /// + /// Returns the status of a storage operation. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// 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> GetWithHttpMessagesAsync(string resourceGroupName, string location, string operation, 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + if (operation == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operation"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("operation", operation); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", 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.Fabric.Admin/fabricLocations/{location}/storageOperationResults/{operation}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{operation}", System.Uri.EscapeDataString(operation)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// 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>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), 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 (location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "location"); + } + string apiVersion = "2016-05-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("location", location); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", 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.Fabric.Admin/fabricLocations/{location}/storageOperationResults").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// 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>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + 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("GET"); + _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 && (int)_statusCode != 404) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + 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; + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageOperationResultsOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageOperationResultsOperationsExtensions.cs new file mode 100644 index 000000000000..721752b59f04 --- /dev/null +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageOperationResultsOperationsExtensions.cs @@ -0,0 +1,152 @@ +// +// 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.AzureStack.Management.Fabric.Admin +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for StorageOperationResultsOperations. + /// + public static partial class StorageOperationResultsOperationsExtensions + { + /// + /// Returns the status of a storage operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + public static StorageOperationResult Get(this IStorageOperationResultsOperations operations, string resourceGroupName, string location, string operation) + { + return operations.GetAsync(resourceGroupName, location, operation).GetAwaiter().GetResult(); + } + + /// + /// Returns the status of a storage operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// Operation identifier. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IStorageOperationResultsOperations operations, string resourceGroupName, string location, string operation, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, operation, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage List(this IStorageOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListAsync(resourceGroupName, location, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// Name of the resource group. + /// + /// + /// Location of the resource. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IStorageOperationResultsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IStorageOperationResultsOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Returns a list of all storage operation results at a location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IStorageOperationResultsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSystemsOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSubSystemsOperations.cs similarity index 90% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSystemsOperations.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSubSystemsOperations.cs index a4967373adec..bb794bcd323e 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSystemsOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSubSystemsOperations.cs @@ -24,12 +24,12 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin using System.Threading.Tasks; /// - /// StorageSystemsOperations operations. + /// StorageSubSystemsOperations operations. /// - internal partial class StorageSystemsOperations : IServiceOperations, IStorageSystemsOperations + internal partial class StorageSubSystemsOperations : IServiceOperations, IStorageSubSystemsOperations { /// - /// Initializes a new instance of the StorageSystemsOperations class. + /// Initializes a new instance of the StorageSubSystemsOperations class. /// /// /// Reference to the service client. @@ -37,7 +37,7 @@ internal partial class StorageSystemsOperations : IServiceOperations /// Thrown when a required parameter is null /// - internal StorageSystemsOperations(FabricAdminClient client) + internal StorageSubSystemsOperations(FabricAdminClient client) { if (client == null) { @@ -60,6 +60,9 @@ internal StorageSystemsOperations(FabricAdminClient client) /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// @@ -84,7 +87,7 @@ internal StorageSystemsOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -98,14 +101,15 @@ internal StorageSystemsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (storageSubSystem == null) + if (scaleUnit == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); + throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); } - if (Client.ApiVersion == null) + if (storageSubSystem == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); } + string apiVersion = "2018-10-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -115,21 +119,24 @@ internal StorageSystemsOperations(FabricAdminClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("scaleUnit", scaleUnit); tracingParameters.Add("storageSubSystem", storageSubSystem); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", 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.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); _url = _url.Replace("{storageSubSystem}", System.Uri.EscapeDataString(storageSubSystem)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -224,7 +231,7 @@ internal StorageSystemsOperations(FabricAdminClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -237,7 +244,7 @@ internal StorageSystemsOperations(FabricAdminClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -265,6 +272,9 @@ internal StorageSystemsOperations(FabricAdminClient client) /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// OData parameters to apply to the operation. /// @@ -289,7 +299,7 @@ internal StorageSystemsOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -303,10 +313,11 @@ internal StorageSystemsOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (Client.ApiVersion == null) + if (scaleUnit == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); } + string apiVersion = "2018-10-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -317,15 +328,18 @@ internal StorageSystemsOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("scaleUnit", scaleUnit); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", 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.Fabric.Admin/fabricLocations/{location}/storageSubSystems").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); List _queryParameters = new List(); if (odataQuery != null) { @@ -335,9 +349,9 @@ internal StorageSystemsOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -432,7 +446,7 @@ internal StorageSystemsOperations(FabricAdminClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -445,7 +459,7 @@ internal StorageSystemsOperations(FabricAdminClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -491,7 +505,7 @@ internal StorageSystemsOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -605,7 +619,7 @@ internal StorageSystemsOperations(FabricAdminClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -618,7 +632,7 @@ internal StorageSystemsOperations(FabricAdminClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSystemsOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSubSystemsOperationsExtensions.cs similarity index 69% rename from sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSystemsOperationsExtensions.cs rename to sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSubSystemsOperationsExtensions.cs index 5edbef1834c7..d56587fb6fef 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSystemsOperationsExtensions.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/StorageSubSystemsOperationsExtensions.cs @@ -18,9 +18,9 @@ namespace Microsoft.AzureStack.Management.Fabric.Admin using System.Threading.Tasks; /// - /// Extension methods for StorageSystemsOperations. + /// Extension methods for StorageSubSystemsOperations. /// - public static partial class StorageSystemsOperationsExtensions + public static partial class StorageSubSystemsOperationsExtensions { /// /// Return the requested storage subsystem. @@ -34,12 +34,15 @@ public static partial class StorageSystemsOperationsExtensions /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - public static StorageSystem Get(this IStorageSystemsOperations operations, string resourceGroupName, string location, string storageSubSystem) + public static StorageSubSystem Get(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem) { - return operations.GetAsync(resourceGroupName, location, storageSubSystem).GetAwaiter().GetResult(); + return operations.GetAsync(resourceGroupName, location, scaleUnit, storageSubSystem).GetAwaiter().GetResult(); } /// @@ -54,15 +57,18 @@ public static StorageSystem Get(this IStorageSystemsOperations operations, strin /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// /// /// The cancellation token. /// - public static async Task GetAsync(this IStorageSystemsOperations operations, string resourceGroupName, string location, string storageSubSystem, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAsync(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, storageSubSystem, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, storageSubSystem, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -80,12 +86,15 @@ public static StorageSystem Get(this IStorageSystemsOperations operations, strin /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// OData parameters to apply to the operation. /// - public static IPage List(this IStorageSystemsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery)) + public static IPage List(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, ODataQuery odataQuery = default(ODataQuery)) { - return operations.ListAsync(resourceGroupName, location, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, location, scaleUnit, odataQuery).GetAwaiter().GetResult(); } /// @@ -100,15 +109,18 @@ public static StorageSystem Get(this IStorageSystemsOperations operations, strin /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// OData parameters to apply to the operation. /// /// /// The cancellation token. /// - public static async Task> ListAsync(this IStorageSystemsOperations operations, string resourceGroupName, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListAsync(this IStorageSubSystemsOperations operations, string resourceGroupName, string location, string scaleUnit, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -123,7 +135,7 @@ public static StorageSystem Get(this IStorageSystemsOperations operations, strin /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListNext(this IStorageSystemsOperations operations, string nextPageLink) + public static IPage ListNext(this IStorageSubSystemsOperations operations, string nextPageLink) { return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } @@ -140,7 +152,7 @@ public static IPage ListNext(this IStorageSystemsOperations opera /// /// The cancellation token. /// - public static async Task> ListNextAsync(this IStorageSystemsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListNextAsync(this IStorageSubSystemsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperations.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperations.cs index 81a40b791b54..b17b665cab21 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperations.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperations.cs @@ -60,12 +60,12 @@ internal VolumesOperations(FabricAdminClient client) /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// Name of the storage volume. /// @@ -90,7 +90,7 @@ internal VolumesOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, string storagePool, string volume, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string volume, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -104,22 +104,19 @@ internal VolumesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (storageSubSystem == null) + if (scaleUnit == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); + throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); } - if (storagePool == null) + if (storageSubSystem == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "storagePool"); + throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); } if (volume == null) { throw new ValidationException(ValidationRules.CannotBeNull, "volume"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } + string apiVersion = "2019-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -129,25 +126,26 @@ internal VolumesOperations(FabricAdminClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("scaleUnit", scaleUnit); tracingParameters.Add("storageSubSystem", storageSubSystem); - tracingParameters.Add("storagePool", storagePool); tracingParameters.Add("volume", volume); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", 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.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools/{storagePool}/volumes/{volume}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/volumes/{volume}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); _url = _url.Replace("{storageSubSystem}", System.Uri.EscapeDataString(storageSubSystem)); - _url = _url.Replace("{storagePool}", System.Uri.EscapeDataString(storagePool)); _url = _url.Replace("{volume}", System.Uri.EscapeDataString(volume)); List _queryParameters = new List(); - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { @@ -283,12 +281,12 @@ internal VolumesOperations(FabricAdminClient client) /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// OData parameters to apply to the operation. /// @@ -313,7 +311,7 @@ internal VolumesOperations(FabricAdminClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string storageSubSystem, string storagePool, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -327,18 +325,15 @@ internal VolumesOperations(FabricAdminClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "location"); } - if (storageSubSystem == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); - } - if (storagePool == null) + if (scaleUnit == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "storagePool"); + throw new ValidationException(ValidationRules.CannotBeNull, "scaleUnit"); } - if (Client.ApiVersion == null) + if (storageSubSystem == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "storageSubSystem"); } + string apiVersion = "2019-05-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -349,19 +344,20 @@ internal VolumesOperations(FabricAdminClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("location", location); + tracingParameters.Add("scaleUnit", scaleUnit); tracingParameters.Add("storageSubSystem", storageSubSystem); - tracingParameters.Add("storagePool", storagePool); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", 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.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools/{storagePool}/volumes").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/volumes").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{location}", System.Uri.EscapeDataString(location)); + _url = _url.Replace("{scaleUnit}", System.Uri.EscapeDataString(scaleUnit)); _url = _url.Replace("{storageSubSystem}", System.Uri.EscapeDataString(storageSubSystem)); - _url = _url.Replace("{storagePool}", System.Uri.EscapeDataString(storagePool)); List _queryParameters = new List(); if (odataQuery != null) { @@ -371,9 +367,9 @@ internal VolumesOperations(FabricAdminClient client) _queryParameters.Add(_odataFilter); } } - if (Client.ApiVersion != null) + if (apiVersion != null) { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } if (_queryParameters.Count > 0) { diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperationsExtensions.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperationsExtensions.cs index a4935ccfc326..299c840854cb 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperationsExtensions.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Generated/VolumesOperationsExtensions.cs @@ -34,18 +34,18 @@ public static partial class VolumesOperationsExtensions /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// Name of the storage volume. /// - public static Volume Get(this IVolumesOperations operations, string resourceGroupName, string location, string storageSubSystem, string storagePool, string volume) + public static Volume Get(this IVolumesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string volume) { - return operations.GetAsync(resourceGroupName, location, storageSubSystem, storagePool, volume).GetAwaiter().GetResult(); + return operations.GetAsync(resourceGroupName, location, scaleUnit, storageSubSystem, volume).GetAwaiter().GetResult(); } /// @@ -60,21 +60,21 @@ public static Volume Get(this IVolumesOperations operations, string resourceGrou /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// Name of the storage volume. /// /// /// The cancellation token. /// - public static async Task GetAsync(this IVolumesOperations operations, string resourceGroupName, string location, string storageSubSystem, string storagePool, string volume, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAsync(this IVolumesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, string volume, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, storageSubSystem, storagePool, volume, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, storageSubSystem, volume, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -92,18 +92,18 @@ public static Volume Get(this IVolumesOperations operations, string resourceGrou /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// OData parameters to apply to the operation. /// - public static IPage List(this IVolumesOperations operations, string resourceGroupName, string location, string storageSubSystem, string storagePool, ODataQuery odataQuery = default(ODataQuery)) + public static IPage List(this IVolumesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery)) { - return operations.ListAsync(resourceGroupName, location, storageSubSystem, storagePool, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, location, scaleUnit, storageSubSystem, odataQuery).GetAwaiter().GetResult(); } /// @@ -118,21 +118,21 @@ public static Volume Get(this IVolumesOperations operations, string resourceGrou /// /// Location of the resource. /// + /// + /// Name of the scale units. + /// /// /// Name of the storage system. /// - /// - /// Storage pool name. - /// /// /// OData parameters to apply to the operation. /// /// /// The cancellation token. /// - public static async Task> ListAsync(this IVolumesOperations operations, string resourceGroupName, string location, string storageSubSystem, string storagePool, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListAsync(this IVolumesOperations operations, string resourceGroupName, string location, string scaleUnit, string storageSubSystem, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, storageSubSystem, storagePool, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, location, scaleUnit, storageSubSystem, odataQuery, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Microsoft.AzureStack.Management.Fabric.Admin.csproj b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Microsoft.AzureStack.Management.Fabric.Admin.csproj index 2b7244d80650..abe985175ae5 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Microsoft.AzureStack.Management.Fabric.Admin.csproj +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Microsoft.AzureStack.Management.Fabric.Admin.csproj @@ -7,13 +7,18 @@ Microsoft.AzureStack.Management.Fabric.Admin Provides developers with libraries for the fabric admin under AzureStack to manage fabric infrastructure. - 1.8.0-preview + 2.9.0-preview Microsoft.AzureStack.Management.Fabric.Admin Microsoft Azure Stack;Fabric;REST HTTP client;azurestack;netcore452 true diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Properties/AssemblyInfo.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Properties/AssemblyInfo.cs index 946bb9d6e4c8..8d51fbf09e24 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Properties/AssemblyInfo.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/Properties/AssemblyInfo.cs @@ -15,5 +15,5 @@ [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.8.0.0")] +[assembly: AssemblyVersion("2.9.0.0")] +[assembly: AssemblyFileVersion("2.9.0.0")] diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/generate.ps1 b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/generate.ps1 index 67c5ced4c4f7..6438b9867930 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/generate.ps1 +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/src/generate.ps1 @@ -1 +1 @@ -Start-AutoRestCodeGeneration -ResourceProvider "azsadmin/resource-manager/fabric" -AutoRestVersion "latest" -SdkRootDirectory $PSScriptRoot -ConfigFileTag "package-2018-10-01" \ No newline at end of file +Start-AutoRestCodeGeneration -ResourceProvider "azsadmin/resource-manager/fabric" -AutoRestVersion "latest" -SdkRootDirectory $PSScriptRoot \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Microsoft.AzureStack.Management.Fabric.Tests.csproj b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Microsoft.AzureStack.Management.Fabric.Tests.csproj index 03fdd292df1a..6a94207adf1d 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Microsoft.AzureStack.Management.Fabric.Tests.csproj +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Microsoft.AzureStack.Management.Fabric.Tests.csproj @@ -5,7 +5,7 @@ Fabric.Admin.Tests Fabric.Admin.Tests Class Library Fabric.Admin.Tests - 1.0.0 + 2.9.0-preview true diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Properties/AssemblyInfo.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Properties/AssemblyInfo.cs index 83ce96d56a21..9407d99d939a 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Properties/AssemblyInfo.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/Properties/AssemblyInfo.cs @@ -15,5 +15,5 @@ [assembly: Guid("1b24bc4a-6e4d-4feb-b5d5-c9684c60a308")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("2.9.0.0")] +[assembly: AssemblyFileVersion("2.9.0.0")] diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllDrives.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllDrives.json index 78d748ae33de..64bc4191f2aa 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllDrives.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllDrives.json @@ -1,49 +1,510 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "32b7a436-4d2a-4ed4-99fa-006532e938fb" + "769dd894-2482-48f9-88b5-d4363129596e" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "d1a3b3d1-570d-457a-959e-cc04fc824f58" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvo3NQtT1+hBQrtXXBiJem4rb5O5CFwdH3bftKuICyff3gNHMB+EfmBdeUDbQGDi5IlY3MqtEFXDDJ/xPP+aiZT+X8w5TRf/dvkfUgU+G5WPE7T0PVwcxdgpFG3cGQ6SrhKKaDl3ahP49Mqhbz53sZ" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14768" + ], + "x-ms-request-id": [ + "d1a3b3d1-570d-457a-959e-cc04fc824f58" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065728Z:d1a3b3d1-570d-457a-959e-cc04fc824f58" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:28 GMT" + ], + "Content-Length": [ + "550" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "17268d8a-98ba-4b59-bf9a-19e6610f30e9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "5f9f8fec-5724-40ee-9181-bd8ce5e81465" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvBN7lC10HgwO/LguYGUJgHao7BByOPucHpC5io68Bw77XIQoHqO6RrESJiuom/LBILaExaPJrWv4QvxHSOy3QdXDxoUnOenIBZn76hjhuR6onLPWC9OrI6aQmXfVGA7Q9mZug/i9KYuBCjY4SHyUG" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14767" + ], + "x-ms-request-id": [ + "5f9f8fec-5724-40ee-9181-bd8ce5e81465" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065728Z:5f9f8fec-5724-40ee-9181-bd8ce5e81465" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:28 GMT" + ], + "Content-Length": [ + "622" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "546f5b0a-04cf-44f8-baeb-34988b2af6a9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "c728546b-221a-49ca-865b-475970f932fa" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvM16cUt2xpRa2uMb33GbP16w5dYtrNI/rj/AgnX4v+ZWDIHecSh92SOOm4R/0ST2NCm+e6FwQS+7gkw1mw1VxnRkhvghgBx3QRyMkcbFX83eUrhOVszW2WbMJgfARK6dTyUozra2aj26BW5b3nWWy" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14766" + ], + "x-ms-request-id": [ + "c728546b-221a-49ca-865b-475970f932fa" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065729Z:c728546b-221a-49ca-865b-475970f932fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:28 GMT" + ], + "Content-Length": [ + "517" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c6ea1a42-b4e1-4f5e-8652-0e67f183d1df" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "7d3179c6-c644-41fc-aecc-0186e67adcf5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvRQJIRBS7qTit1VSVGeCEgVxzj6+WfiNPvtGMgMxMLVgDQpC4rD3T+ATM9IN3V7hTp0vNTegJx7U8aB5r5TrEVyVbC0sPYRkoi6ue4FtDpsphp8TcmpfevLKbhJvza9YWPYUj2D86ot0zTvDGRLn5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14765" + ], + "x-ms-request-id": [ + "7d3179c6-c644-41fc-aecc-0186e67adcf5" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065729Z:7d3179c6-c644-41fc-aecc-0186e67adcf5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:29 GMT" + ], + "Content-Length": [ + "14541" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G5E6\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 10\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300424\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 2\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0GANS\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 14\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E89S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 4\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0JS7L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 8\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G55L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 6\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300430\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 0\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300427\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 1\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G9A0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 15\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G7K1\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 16\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E6E9\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 5\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E2Y0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 9\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E37S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 11\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300395\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 3\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E8H3\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 17\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0DJPD\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 7\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B1db4b11c-34c9-a17d-3eee-a8317c8cc091%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCMWRiNGIxMWMtMzRjOS1hMTdkLTNlZWUtYTgzMTdjOGNjMDkxJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "605443a8-9edd-4fcb-a95e-8ede28057679" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "30750d98-2e43-49f6-9be7-dce069b9a0a2" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvCXgIfv25K2eGWNv7V/X5Vz2K868ptbAzZ4rGc4e7+Bolqgx4+aou9svo0PagKUaWfNCYCYJhzuEAFzQoQ5K/kg57TiqNf69ReSV9xM0dgStZreDhLGB9CNQNHIqURJStSCEFtzyfbYc/c4sUuHra" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14764" + ], + "x-ms-request-id": [ + "30750d98-2e43-49f6-9be7-dce069b9a0a2" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065730Z:30750d98-2e43-49f6-9be7-dce069b9a0a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:29 GMT" + ], + "Content-Length": [ + "907" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G5E6\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 10\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B2ee1cc60-9581-e352-e564-de7eda4fadec%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCMmVlMWNjNjAtOTU4MS1lMzUyLWU1NjQtZGU3ZWRhNGZhZGVjJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "db63dc99-c8c7-49c6-bfe6-1473ad3f7b55" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "cd10fc27-89ab-4edc-86ce-4595c6cc1dbc" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv1bkZmTaMKHVJf0EjXBe8KBH4gzDnp4MzaKdZnsb+FNhLHlx0m8LxOOsX4KfOTulsulChYG7dB+r11LS6n7jJDxs0MaiUvSL1XydOnf4D+M6mHnV+bzbGzQ5K3tzix2h68HEW0bolFbIvL5VY4490" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14763" + ], + "x-ms-request-id": [ + "cd10fc27-89ab-4edc-86ce-4595c6cc1dbc" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065730Z:cd10fc27-89ab-4edc-86ce-4595c6cc1dbc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:29 GMT" + ], + "Content-Length": [ + "909" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300424\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 2\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B2f8e5222-7f5c-3324-b37f-5a3f184ea746%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCMmY4ZTUyMjItN2Y1Yy0zMzI0LWIzN2YtNWEzZjE4NGVhNzQ2JTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d377d59a-8ea6-424c-a74c-a9a31acbf55d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "c849eaf5-3aea-4239-8d6d-9cb722456562" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv9M02xTdGfLlkRnutCAWaK4pIwwXw+gDMMh94Y8zQ46OQdmWP2az6WQvPKgAzclGn9KxVdbrWjgw3Mut6uaMPy5D0O2OTrmtvgWx9UlizBNM6MNAY6fq74HXNAhMqMU/K1yYYu4A2mtXQMupcdBs0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14762" + ], + "x-ms-request-id": [ + "c849eaf5-3aea-4239-8d6d-9cb722456562" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065730Z:c849eaf5-3aea-4239-8d6d-9cb722456562" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Date": [ - "Wed, 31 Oct 2018 09:38:22 GMT" + "Tue, 24 Sep 2019 06:57:30 GMT" + ], + "Content-Length": [ + "907" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0GANS\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 14\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B37df6de4-b60e-477d-a714-2d46621320ce%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCMzdkZjZkZTQtYjYwZS00NzdkLWE3MTQtMmQ0NjYyMTMyMGNlJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "afb5d0a9-b26e-4a8d-8434-18bfe5fd46cd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "0d8c3f36-5fc9-43a1-972b-3134686df2c5" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv817HaDWp4mIU4RJTEHtPvk9uKj+fAGYg2nZS9HUX2RGrmhnrkhd9FdtLa+GFa1iVf1IjiykCqakhBEKxhjWzfUs4FcaAW2HLm37SQACsAFOMrU78tvQBsUbSn4GdO1mwbTFchwIAMd3D2WDX1PjW" - ], - "x-ms-correlation-request-id": [ - "16c82fe6-f241-4f3b-ba08-6a74d9d99486" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvFkVaX2k3kJKQPd+G78gVXqJAYQP6o+GKMNRtMy040A/3oVbXJCph/3EZ5lNxMPBG/umvDO1PUGCYd66zbNHtg+bdwcGWwhFRojXhLRXNBS4/Dzn48lrHNDQs28of2m1KfbYu7Rwo4H0GTbm0I+Jr" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13786" + "14761" ], "x-ms-request-id": [ - "16c82fe6-f241-4f3b-ba08-6a74d9d99486" + "0d8c3f36-5fc9-43a1-972b-3134686df2c5" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093823Z:16c82fe6-f241-4f3b-ba08-6a74d9d99486" + "LOCAL:20190924T065731Z:0d8c3f36-5fc9-43a1-972b-3134686df2c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +512,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:30 GMT" + ], "Content-Length": [ - "263" + "906" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +525,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E89S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 4\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCM2I3ZWQ1MTItOWZkZS0xY2ZjLTY2ZTktZjY2ZmJmMzRkYmYxJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6436e80f-e6f3-4c3a-9888-7ccf08ce7757" + "fd1b751f-9dcf-4563-8492-022b14f778d7" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:23 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "b62377b8-642a-414f-97fb-000d525f3e1d" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvm/Tdo+UM4ZM4f80p9cQ5oZhYBUSxUzI7lNshxFi6QJwdH+6W2+vIkHokxoRhTmFcRSgyOebAiFspOxWsX98NGFEqu+aMZgJc3DbB8N2jvAq3Ut5ek9yOjdeELTZzHNotmDvY4C0OcH+IfWG8IuiA" - ], - "x-ms-correlation-request-id": [ - "e6af6ca7-3f71-4b82-8685-df89bcae40ff" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvn5gw5btiCV81xik5qssv7XwUl7EfQOlgCXEwtaREVVKuRSREo22Ae0202O2Fywc10R/2EKf5y85mxXwAz6HuwZUp45Yj+3CBKL4DAVBiYx+a0+ZipDROR0E3RX6KViHc7zDcdTvC+XtQ42y0YpoW" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13785" + "14760" ], "x-ms-request-id": [ - "e6af6ca7-3f71-4b82-8685-df89bcae40ff" + "b62377b8-642a-414f-97fb-000d525f3e1d" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093823Z:e6af6ca7-3f71-4b82-8685-df89bcae40ff" + "LOCAL:20190924T065731Z:b62377b8-642a-414f-97fb-000d525f3e1d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +578,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:30 GMT" + ], "Content-Length": [ - "620" + "906" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +591,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0JS7L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 8\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B3fa409f0-e235-bd72-b9af-cb8251766c11%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCM2ZhNDA5ZjAtZTIzNS1iZDcyLWI5YWYtY2I4MjUxNzY2YzExJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4561427c-6d94-4467-8469-ff62edce6981" + "9841f754-2cbc-4113-924b-042b43bbec4d" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:23 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "c5f9d157-93c3-48b9-8aba-c926e65b37ca" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvW1Z5lLt3Vzw4bLKAmcycEX4QyavjEuYCe4XOKKoyVq/sCy77T58Om338baAvMcugC6QjxX5L4DENG6n7ZjR5E3US72yASYKHpyalpv5n/Mj/LcQnQN1L+1+Ui1vzQ74X5e2LRTjqgQ3u9G0EKvT6" - ], - "x-ms-correlation-request-id": [ - "4d5cd850-d693-41ec-a222-7729e729ca12" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvzGTlmpXstUNYhzKWpJuKrJwp06B+Mi336PtZxF/61R1V6i92lfLhvnvZ+1aau2XJ6+hNbgD9i1KncRdUYKK0wdX71MTHOCVP5ykVEm6IW4Eu+AZdWcESSzczcFLLoslhouH2KaFsZbVZ/dkHWh4F" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13784" + "14759" ], "x-ms-request-id": [ - "4d5cd850-d693-41ec-a222-7729e729ca12" + "c5f9d157-93c3-48b9-8aba-c926e65b37ca" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093823Z:4d5cd850-d693-41ec-a222-7729e729ca12" + "LOCAL:20190924T065732Z:c5f9d157-93c3-48b9-8aba-c926e65b37ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +644,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:32 GMT" + ], "Content-Length": [ - "515" + "906" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +657,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G55L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 6\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzP2FwaS12ZXJzaW9uPTIwMTgtMTAtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B41ed3018-e3a2-951e-5249-445527626c7b%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCNDFlZDMwMTgtZTNhMi05NTFlLTUyNDktNDQ1NTI3NjI2YzdiJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5fecde94-efc7-48bf-83aa-2497241d25c1" + "6de571dc-1281-4bc1-91f9-0493999252bd" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:23 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "39a9e698-e389-49eb-9edc-682759fd5b7f" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvgOFa6pMpPkQyZwd7PGTk74PCRmBpSPNBYUY8M28395sfVkKvEtYLcFt3l/DFqCkJBKVxIvgHqi0hga95HRyC6hNEaLEwwE8LSsvQ8LJW3nOwe1L1clD7SZOc2JRVpcbsTf5Ox7RhJ+2nZ4rfq60l" - ], - "x-ms-correlation-request-id": [ - "de53dcb4-dc2c-42b1-ad7c-0052f1b33881" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRveMjTqr0CgBJCFex/E9r29ko4d+t6OKj07iobNxqO/aR/A6JYVbQwkdsLYQBjLNRIgtiflFlMjEk36hDXq5O3bRJ37/83jjCFsMf+UkgQzOpJ77+TZ0QrTMYaujLIFY00RHxVOl0pcpPjPoR93MiA" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13783" + "14758" ], "x-ms-request-id": [ - "de53dcb4-dc2c-42b1-ad7c-0052f1b33881" + "39a9e698-e389-49eb-9edc-682759fd5b7f" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093824Z:de53dcb4-dc2c-42b1-ad7c-0052f1b33881" + "LOCAL:20190924T065732Z:39a9e698-e389-49eb-9edc-682759fd5b7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +710,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:32 GMT" + ], "Content-Length": [ - "4973" + "909" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,53 +723,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"007a1f8e05dd97022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 2 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"004b70e0092598022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 6 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0005e3ae06f097022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 3 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0069605d091d98022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 5 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00eb090104c397022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 1 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00582db6081298022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 4 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300430\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 0\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/17e7660d-36a7-39a4-9215-8912a6099329?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLzE3ZTc2NjBkLTM2YTctMzlhNC05MjE1LTg5MTJhNjA5OTMyOT9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B49c1bac5-6593-73fd-f3e2-eab7c019005f%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCNDljMWJhYzUtNjU5My03M2ZkLWYzZTItZWFiN2MwMTkwMDVmJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9af98bd7-d31e-4576-8670-2d708aa8bf98" + "b278c2d9-9a2b-4512-9c1f-9dde79cdc3dc" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:23 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "52389940-e271-4f5e-a62e-66e22fdf93c6" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvnLgLPwesgrnyqikJYRkf7/wHUckRcaSKibooqEJPXJ1345jW6Q9Q+ychi9NNcsCeOODgd4hYawyK5RBM91XWy1BqB3FNh3VMyh/3N6llAt9xGCA40QBxm3pD0lbgc82XbcUd+m53kRA7V1tRtH67" - ], - "x-ms-correlation-request-id": [ - "9ef1a3bf-0774-4bc6-98cb-a1729699e52c" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQDD1b3dmFjfv+B11ZWCi7lOomGo6eA1L7KfRpRkz/bvOvVVYEwH6vOUIIFNGWSShNJij0rMeBjsdDuFTwJqNBmtlyIGPUYEPVg5hNQFNkcP4PvSdlV89T0OCN+ZV4OW/AQouEYWPO77pGgGeQBWm" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13782" + "14757" ], "x-ms-request-id": [ - "9ef1a3bf-0774-4bc6-98cb-a1729699e52c" + "52389940-e271-4f5e-a62e-66e22fdf93c6" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093824Z:9ef1a3bf-0774-4bc6-98cb-a1729699e52c" + "LOCAL:20190924T065733Z:52389940-e271-4f5e-a62e-66e22fdf93c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,8 +776,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:32 GMT" + ], "Content-Length": [ - "826" + "909" ], "Content-Type": [ "application/json; charset=utf-8" @@ -317,53 +789,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"007a1f8e05dd97022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 2 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300427\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 1\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/32e17f2a-7982-acb5-617e-15c72e6d50e6?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLzMyZTE3ZjJhLTc5ODItYWNiNS02MTdlLTE1YzcyZTZkNTBlNj9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B4fa702c2-1712-e5f1-b670-53d319272f8c%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCNGZhNzAyYzItMTcxMi1lNWYxLWI2NzAtNTNkMzE5MjcyZjhjJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ee8a3b39-7acc-4c95-9f16-a91ccbedb829" + "ef75b2d8-85eb-4c7c-8265-930cb7b41a85" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:23 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "fdb53a1b-ca71-425d-a71a-0b29bbf0bad8" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0Bd3uZv/dGCrR205kT8HAwaB0zbhKMMI1WqGfovybbZu15RE1bCiM1fXraY+BO4bhSLnX04UuSippZQSG5Zh1lQUAlMzFa6XbCa4pfg0YjZKzlwYoNsTn7pGSAhglK9YPzaV0ii43JRpaor5QhoE" - ], - "x-ms-correlation-request-id": [ - "97b65d3d-573a-4eeb-8972-ead7b3d1ab3a" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvjJIKKLcnBpefOSGcKmcrB0jJVIVwp3fSC83RZp3yPpgXZBRtql941hOjZRswngReGBX3T2fIU2URf36WtXx1pUwafQuTcp/wxWMxQVimZSPs8k0C9QOR7jxJzqm8S6Kbheji7V9c2ZHsGKYX9DEH" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13781" + "14756" ], "x-ms-request-id": [ - "97b65d3d-573a-4eeb-8972-ead7b3d1ab3a" + "fdb53a1b-ca71-425d-a71a-0b29bbf0bad8" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093824Z:97b65d3d-573a-4eeb-8972-ead7b3d1ab3a" + "LOCAL:20190924T065733Z:fdb53a1b-ca71-425d-a71a-0b29bbf0bad8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -371,8 +842,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:33 GMT" + ], "Content-Length": [ - "826" + "907" ], "Content-Type": [ "application/json; charset=utf-8" @@ -381,53 +855,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"004b70e0092598022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 6 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G9A0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 15\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/7655049b-26ad-177b-cd33-e27c4b5116bd?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLzc2NTUwNDliLTI2YWQtMTc3Yi1jZDMzLWUyN2M0YjUxMTZiZD9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B625ccf1f-3c75-99b3-95f1-cced455198c1%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCNjI1Y2NmMWYtM2M3NS05OWIzLTk1ZjEtY2NlZDQ1NTE5OGMxJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d6cf50cd-a2f1-4136-8128-c343c78149df" + "e51d7545-c874-4616-869c-f4d256b04daf" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:23 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "efcc3a7e-600e-48dc-8785-951c94063b28" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvg3Lm80yvuEJF/oL4kk2aUoqwW/TvLVE++ZyuN9Zx9cIwSRXEYzKfvo7YUx/On+6OAUa3UuAWxyEOiXK4PCQdjXo12EmZwIS4gYDsgb5F0So7keH8iminukARdSLSnIu9RVXExlq2+jta0540nHX6" - ], - "x-ms-correlation-request-id": [ - "54030d9d-cd0e-432e-95b0-e7f8dcbcb212" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvXw5CaFQlm546H42BN5OMDXqZz2Z0aWVTk8WvF2kWiB6ZDl1gha11+O+D7XX2wChmT12y/9jfwYPSIGwmiAKGXIEwTGGAW++2jgqu8rFPm/2ULsHeBYhnD8AAuW1B4HKoaxEkTmvsvnRUe0mQgX+b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13780" + "14755" ], "x-ms-request-id": [ - "54030d9d-cd0e-432e-95b0-e7f8dcbcb212" + "efcc3a7e-600e-48dc-8785-951c94063b28" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093824Z:54030d9d-cd0e-432e-95b0-e7f8dcbcb212" + "LOCAL:20190924T065733Z:efcc3a7e-600e-48dc-8785-951c94063b28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -435,8 +908,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:33 GMT" + ], "Content-Length": [ - "826" + "907" ], "Content-Type": [ "application/json; charset=utf-8" @@ -445,53 +921,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0005e3ae06f097022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 3 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G7K1\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 16\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/92abda1a-8a17-7015-ca12-a263d4156560?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLzkyYWJkYTFhLThhMTctNzAxNS1jYTEyLWEyNjNkNDE1NjU2MD9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B87cff7bf-ab9b-4617-8979-a9499109275d%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCODdjZmY3YmYtYWI5Yi00NjE3LTg5NzktYTk0OTkxMDkyNzVkJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3e4c5f98-f4d6-41ca-9c6a-b16bc615f1cb" + "91cc13d7-bc46-4a35-ae33-b9ff2ed8032e" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:24 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "16d77bc4-92d4-4d4f-8f00-546dca4c254e" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvF1p6rZ2x9/EHC7qaEYOHjNVmR0onlzaHlruPfXYs941Njdsgwnkf0hj3nC4qNj4ql7WMH2IBXgEQHp9faHUjNepFp3tUXDXexuKu9eNtrfLjkc/xWtDf+Z6LR5Pu61lt+kxMtwNBmPwEdWSSQUFB" - ], - "x-ms-correlation-request-id": [ - "60981494-7ddb-45d0-b6a2-bf1413e2a3a8" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuPQOGUMYlgbDJ6RXrlmM/GQXbRxPfO+xDUH5FVo/atz7Z7xg5NZyYEsXn47mTQPGq7oa2Zofu8XJ2b598OMJLzZrIpfBaka2S/oyZdjjGSXJ17f06umfZn4bbbjva4SKnDgOtI4BiMr7Gb+3dPl+" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13779" + "14754" ], "x-ms-request-id": [ - "60981494-7ddb-45d0-b6a2-bf1413e2a3a8" + "16d77bc4-92d4-4d4f-8f00-546dca4c254e" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093824Z:60981494-7ddb-45d0-b6a2-bf1413e2a3a8" + "LOCAL:20190924T065734Z:16d77bc4-92d4-4d4f-8f00-546dca4c254e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -499,8 +974,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:33 GMT" + ], "Content-Length": [ - "826" + "906" ], "Content-Type": [ "application/json; charset=utf-8" @@ -509,53 +987,118 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0069605d091d98022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 5 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E6E9\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 5\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/a654528c-60bb-18e1-457c-51b7cdb7e14a?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzL2E2NTQ1MjhjLTYwYmItMThlMS00NTdjLTUxYjdjZGI3ZTE0YT9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7Bac430331-233e-7d17-1201-e8d2876d214b%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCYWM0MzAzMzEtMjMzZS03ZDE3LTEyMDEtZThkMjg3NmQyMTRiJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e742a43a-5421-4b0b-b11d-6bc037011f9f" + "2534f716-f429-47fb-bcf4-3b27551158e6" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:24 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "5b44f7e5-b25a-4e44-9c28-f8202002449f" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRva9s8p2GV4+Qx7mOlb+wZYIQl/VtRniA6C/Ge0EiSKao1TLnhlIBaaiCEFOBEiZfcKpTctrWBEjXS4CSqAzIqLcJXi1UJX6C8dW6XF/Q+qPLax+2uQlr5ZPiLvtWpYwHk8/e4IiQUK7/4HgMaz5Og" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+9CDGwnybWamjyVs+J6KHqwfeJbbiIMbiCYEZjow3kTMr3cPuYjD+h/zKS+W1QRSSoPa9bv/BY5NwcQVez4pWyPtAIZgMeKHtObvhrotf4cAKQM7ON3GUxXyG3CeoGCnpv0OkitHWShP0D8woTzf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14753" + ], + "x-ms-request-id": [ + "5b44f7e5-b25a-4e44-9c28-f8202002449f" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065734Z:5b44f7e5-b25a-4e44-9c28-f8202002449f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:34 GMT" + ], + "Content-Length": [ + "906" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E2Y0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 9\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7Bb1434010-afaa-3f7c-55b5-8e93aaa40a25%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCYjE0MzQwMTAtYWZhYS0zZjdjLTU1YjUtOGU5M2FhYTQwYTI1JTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5343c0de-4e79-4cac-889f-c28c8cb1bd4b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" ], "x-ms-correlation-request-id": [ - "0b7e6c85-28d0-4d91-89bd-bfa0b4edc605" + "f60a5b1b-e792-4c16-aa5b-87b96084d0a6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvBuEH/PfpynJHZz7dNQ6aWur6Z5G2FASYyFhHryRk1EMhdQXT+JMymWDBG0bktQuLq7RYZRTapVvcFqWbYBpNnFXfbX0w/NAQdp/lU8b3LjX2uM19zH4vGFZx6gpn9NVHQz1qNGR+/oN0YhqrenLC" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13778" + "14752" ], "x-ms-request-id": [ - "0b7e6c85-28d0-4d91-89bd-bfa0b4edc605" + "f60a5b1b-e792-4c16-aa5b-87b96084d0a6" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093825Z:0b7e6c85-28d0-4d91-89bd-bfa0b4edc605" + "LOCAL:20190924T065735Z:f60a5b1b-e792-4c16-aa5b-87b96084d0a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -563,8 +1106,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:34 GMT" + ], "Content-Length": [ - "826" + "907" ], "Content-Type": [ "application/json; charset=utf-8" @@ -573,53 +1119,184 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00eb090104c397022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 1 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E37S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 11\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/f9e93461-284c-9c7e-9dce-c9f395349cb0?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzL2Y5ZTkzNDYxLTI4NGMtOWM3ZS05ZGNlLWM5ZjM5NTM0OWNiMD9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7Bc62c7d61-4796-9855-72ac-5356335747bd%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCYzYyYzdkNjEtNDc5Ni05ODU1LTcyYWMtNTM1NjMzNTc0N2JkJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a4aebddb-0375-4fc0-abe2-cf09e8c481ac" + "7c3a754c-54dd-4fe1-bd96-f9420dfb2c66" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], + "Pragma": [ + "no-cache" + ], + "x-ms-correlation-request-id": [ + "2ba0e60f-39b6-47c5-bde3-43c98e866917" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv7Btn5E+s2Y8rvdCKuGqElAnRSmRfsxWK7RoRMuvl2iXVct2jMP8/rn/hPWAIYZMUeS4eNt/LM6Co1F554B2NdPDenXTWyriM/jmRUtaXZz6ExpKW+dCAX0Pv7WsiAprSsE+QhCOlGaKG9ekqN1/V" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14751" + ], + "x-ms-request-id": [ + "2ba0e60f-39b6-47c5-bde3-43c98e866917" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065735Z:2ba0e60f-39b6-47c5-bde3-43c98e866917" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Date": [ - "Wed, 31 Oct 2018 09:38:24 GMT" + "Tue, 24 Sep 2019 06:57:34 GMT" + ], + "Content-Length": [ + "909" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300395\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 3\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7Bd16358a9-7fe3-2430-8a9d-fb32d364411f%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCZDE2MzU4YTktN2ZlMy0yNDMwLThhOWQtZmIzMmQzNjQ0MTFmJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2fbe8253-f131-41a0-b139-87d2dfd7f05c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "b73fce78-55fa-4b23-979c-ceaf5e93fc5d" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvomj5b//nzcejY5Khh6hVcJF1aJJIbtkxIqZr6ut4lOdgoszQOdseA4DznRpM6tvIRfpg4qtv+rWLLB9tKxTFgwgCnruxsZkiCrLQSYGLekmc/mxa882je1qvK/97jCRuivpAne7dGueNPrj7h8a8" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv4I5cScMOg/YbxT9sgp3GzHHbbiv38+cZFV0tKCwf6E0gnzdFjDDzIQMnaGJlAg4VE07nVYt5nqcmEiX0axFqchAyGAYgGNuSGPkmC7QSnzwLXdyQkLOw0QKicUsZ/TWPUzLLvZfw7WDd7GGZhWkj" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14750" + ], + "x-ms-request-id": [ + "b73fce78-55fa-4b23-979c-ceaf5e93fc5d" + ], + "x-ms-routing-request-id": [ + "LOCAL:20190924T065736Z:b73fce78-55fa-4b23-979c-ceaf5e93fc5d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 24 Sep 2019 06:57:36 GMT" + ], + "Content-Length": [ + "907" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E8H3\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 17\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7Bdb010f4c-64b1-102d-0cde-4d42d9410946%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCZGIwMTBmNGMtNjRiMS0xMDJkLTBjZGUtNGQ0MmQ5NDEwOTQ2JTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c5742478-ed39-4656-a627-1e03468756e1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" ], "x-ms-correlation-request-id": [ - "a7553422-4551-4c7e-8c4b-23ae620b00ab" + "91c26ef2-6cf3-481a-8dda-481965417264" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "WWW-Authenticate": [ + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvY4HO7TImSYF9qw9elG4qFaIE3N7i/bhdeQ89Yqk8YATcgUuIOuB1g0ZEiv9V9eyI/GyvxfFWvUgvJeiDmo1f0MFp8C12EF/1XGJXcHgXSoebr0myPSsfKja1hL5/gO7LvSKXeCVHjxSIB50a5Mdu" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13777" + "14749" ], "x-ms-request-id": [ - "a7553422-4551-4c7e-8c4b-23ae620b00ab" + "91c26ef2-6cf3-481a-8dda-481965417264" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093825Z:a7553422-4551-4c7e-8c4b-23ae620b00ab" + "LOCAL:20190924T065736Z:91c26ef2-6cf3-481a-8dda-481965417264" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -627,8 +1304,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:36 GMT" + ], "Content-Length": [ - "826" + "906" ], "Content-Type": [ "application/json; charset=utf-8" @@ -637,12 +1317,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00582db6081298022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 4 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0DJPD\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 7\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllFabricLocations.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllFabricLocations.json index 45029eb4248d..08d9cd137aba 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllFabricLocations.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllFabricLocations.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "94fd0f33-a5a1-4ee2-83b9-5713ad9f6f95" + "8fccf87f-e754-49df-8698-61501917e8ff" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:34 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "bf4ae58d-3d99-4d63-8545-87b4bb50e8b2" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvXt7JkyAQ2T6NtangxW0cw9gpw8Tvvq+xGFBUs4FVHxvQAYZCAslQAVZwMg7AAfcxg/3fMKEVtHjyLdjGHQ+rOEh8RSs2L99BLnrYWtTJHRZplHh2HfzJ9SMORbkofgnHXGqN1Ie6i4SN2ovuUKxt" - ], - "x-ms-correlation-request-id": [ - "b547387f-84f7-4c30-b543-2183bbcff674" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRveeA26QR9psbalmS+u34gReO1GMP7e1VeM3gBcoGWa1PmjF/bDaQnDMbIKlWy4ErX0un9MZTFPK4kDSZU9gRn2NhhJN0JeK3vq/JynHQbhiXbIV0gaK4+s9Bz7pR5mys0MfhM8bb6qIbpmEeNx0gI" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13790" + "14783" ], "x-ms-request-id": [ - "b547387f-84f7-4c30-b543-2183bbcff674" + "bf4ae58d-3d99-4d63-8545-87b4bb50e8b2" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093234Z:b547387f-84f7-4c30-b543-2183bbcff674" + "LOCAL:20190924T065713Z:bf4ae58d-3d99-4d63-8545-87b4bb50e8b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:13 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "14725ca6-77f5-4622-8146-b8f6806be0a4" + "bc607499-d830-403d-9370-3e98968964bf" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:34 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "1351d5fb-619a-444f-9cc6-48f60c032d5e" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHXwHLjZapwhq8NiLTuqyDpkEwi9zGo9VEy3f1JKzB4/7HjKscPhWsGnadVq11Z1zlelyZbwOmKFn/HKBQBnQvFV8l6lFusOWbwjcTWOyMd9gS5bvp3VgNDcyag1c9c/2ne5hn0E7JT/lLRX5ktk1" - ], - "x-ms-correlation-request-id": [ - "33345e22-47c6-4a85-9889-2cc223bdfea5" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+oVrbh34QidilK+BegYFteHfI1fdmTryzUqiwab9GzupNmbQ71ZiBgWDlS0ebreuHJw6OylVT8xx6/63u8a5UzTk2guZAV98EhMX5SecQczMNZzdcqdBfispERRLw6OvF1uDsdwzTBNDUv+VnyRx" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13789" + "14782" ], "x-ms-request-id": [ - "33345e22-47c6-4a85-9889-2cc223bdfea5" + "1351d5fb-619a-444f-9cc6-48f60c032d5e" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093234Z:33345e22-47c6-4a85-9889-2cc223bdfea5" + "LOCAL:20190924T065713Z:1351d5fb-619a-444f-9cc6-48f60c032d5e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:13 GMT" + ], "Content-Length": [ - "251" + "538" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,12 +129,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnitNodes.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnitNodes.json index c2118615ebc8..f65714ea0ac6 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnitNodes.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnitNodes.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1f096f9d-94f6-4747-b4e8-1f2503843f7d" + "3909472c-07de-4c1b-9c4a-6322f4d7440d" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:05 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "48e257a7-d96d-4f30-a68e-85a6a8502e95" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvR6Lxa6BaSEGIGQy//+ebJNrjJMo8Kxj6w0ylhC0sJt5u6luFqKJgboDu/CM7anbe8wAxM8SgDwfrn4iNgiARAuuscoJDylE8bTGBRFlpFsEYGu3r7SpleF90sVrAt6onLjbIxKXqFsU4P6sjeEFr" - ], - "x-ms-correlation-request-id": [ - "97d5151c-2d6b-49bd-acd5-7322087cdfe7" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5DcSy+qW/L330MDv/mQaoAUNbbnit9zqKFIxWkRyPdxZQrfPrBzHjeXt/4kZ3+VlUgO9RUXxkEhEhFfh4EembS80njjp5JvyEd6qJ+7lfFsztLdi3c4E3GW8oHQFMGw6sNOktR53+KlaTAoUqUTG" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13852" + "14708" ], "x-ms-request-id": [ - "97d5151c-2d6b-49bd-acd5-7322087cdfe7" + "48e257a7-d96d-4f30-a68e-85a6a8502e95" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093806Z:97d5151c-2d6b-49bd-acd5-7322087cdfe7" + "LOCAL:20190924T070513Z:48e257a7-d96d-4f30-a68e-85a6a8502e95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:13 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "19802db1-12b8-42f7-8f8d-890a3a80a9f7" + "0d15c9b2-94de-4478-b25b-bb5dbcd188a1" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:05 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "cdc991d6-d72b-4a36-934d-fb69faf9d7fd" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5UBmQk7VLWed3gVt2rBi1xkJi/lqKhlKLpQlwPwJxgU3PaPAUwgFG75b4wSBGZ+VVW5/ajSmUbtlZMPl2BJKvK/lXgW/n+R8oBieDshO2w3bQiNTi8ISiCa2/j/I1Mwj+zaHJYkq/GLY60bukLrB" - ], - "x-ms-correlation-request-id": [ - "83200bd1-2f67-4044-9e9f-a8f1532d17f0" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvR67mZmdQRKU3eA+qWEWFftOLxPDYNAY+YgDgJChe0rnlNiHddnPJBLhywuoxoKcHAaLg4SVcfrEeaKqjhN/O3WxpvhIWZj3C+19OFcyWQE7ifmL+AfOIbM+1U/KeZl3km1S7rXrLN9PNI8/5qW0w" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13851" + "14707" ], "x-ms-request-id": [ - "83200bd1-2f67-4044-9e9f-a8f1532d17f0" + "cdc991d6-d72b-4a36-934d-fb69faf9d7fd" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093806Z:83200bd1-2f67-4044-9e9f-a8f1532d17f0" + "LOCAL:20190924T070513Z:cdc991d6-d72b-4a36-934d-fb69faf9d7fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:13 GMT" + ], "Content-Length": [ - "864" + "530" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\",\r\n \"name\": \"local/WSE-H9-2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"RequiresRemediation\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"lastOperationFailureReason\": \"The operation has failed. Please try again in a few minutes. If the problem persists, then drain and restart the scale unit node. If that doesn't address the issue then contact customer support before attempting a repair.\",\r\n \"lastOperationName\": \"StartMaintenanceMode\",\r\n \"lastOperationState\": \"Failed\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\",\r\n \"name\": \"local/HC1n22r0412\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Adding\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvV1NFLUg5LTI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjIycjA0MTI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1827ba43-7e47-42cb-98e0-61b3bbaa8ac9" + "dd8a2b56-39a2-4ec5-b4ed-a37cb5aff8da" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:05 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "b213cdf5-5583-4ea1-80eb-69447eeb25f2" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvh+a+4E4InhHBxaYj7+N68vdlr2FKjr2qhmQtQIc9OrVVGiRk9HTCzONoEHmhWGmp9RTtaOxBKeFJ9+kdwhJEDfmU0vsJdMpimw6WKlQOb9hUwYl7BGnXVH9M4Dlc/pyan0hqi9km8Vi36q9P2wxD" - ], - "x-ms-correlation-request-id": [ - "f4a44889-d223-4c04-a887-b710a9c30fee" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYVHFGEWKCvnObTJFQYTXOU2F4Pcm91I0Xui8fuBnNOvWpJI2WnZFxsUHGIribNpyiwBsIPNd1hRl0gOxND1jhmgp7xh6CLczFyeSgiwtHmDrfaShiUrTv/axUeBaFY4g/+/mOnY9jwqbphkH8nlt" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13850" + "14706" ], "x-ms-request-id": [ - "f4a44889-d223-4c04-a887-b710a9c30fee" + "b213cdf5-5583-4ea1-80eb-69447eeb25f2" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093806Z:f4a44889-d223-4c04-a887-b710a9c30fee" + "LOCAL:20190924T070513Z:b213cdf5-5583-4ea1-80eb-69447eeb25f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:13 GMT" + ], "Content-Length": [ - "852" + "518" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,12 +195,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\",\r\n \"name\": \"local/WSE-H9-2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"RequiresRemediation\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"lastOperationFailureReason\": \"The operation has failed. Please try again in a few minutes. If the problem persists, then drain and restart the scale unit node. If that doesn't address the issue then contact customer support before attempting a repair.\",\r\n \"lastOperationName\": \"StartMaintenanceMode\",\r\n \"lastOperationState\": \"Failed\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\",\r\n \"name\": \"local/HC1n22r0412\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Adding\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n }\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnits.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnits.json index dc8dce2d7222..1f373fa756cc 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnits.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnits.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "677d7c96-e262-4979-af88-6736ea14da3a" + "0ebc852a-9d3a-421d-86e2-f06dbdf388b6" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:46 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "240102b8-70b6-4a0c-8b5e-90ed86a64c60" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0bG3hC07V8S+110d53VBWqYZxn1F77y/cJsXaPaM32fEyiLDxBqGwgFnGF2G2VOZdC4/o9AeYWkfNVkO6EZL45JYOhupW99m8BynwCT6Bf/ZwoLbGtVJw72N2RhitdoL58GSdHKjPlC2oxLIJexe" - ], - "x-ms-correlation-request-id": [ - "83371b6c-2697-4581-9915-db0988fe0462" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuUMelsaqjnA3NrUeNC3LE28P3dRVc9/JPgjuDhqaiWX46CsNYFCyXsgp8x3A1PaQwPzzoRd3GUzAcn6RPj1npDhf42aQKx3dsWXKO5bGfQwvCW7tZldrL+wQ5S08705cjk9LZN5zmR+SuuZqB77v" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13668" + "14743" ], "x-ms-request-id": [ - "83371b6c-2697-4581-9915-db0988fe0462" + "240102b8-70b6-4a0c-8b5e-90ed86a64c60" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093847Z:83371b6c-2697-4581-9915-db0988fe0462" + "LOCAL:20190924T065742Z:240102b8-70b6-4a0c-8b5e-90ed86a64c60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:42 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "42603f4c-6f89-42d7-bc6e-61a275d9008d" + "227c8e0c-eb6f-4b1c-9faf-54f251d38672" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:46 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "78e692c6-7231-44b1-ada9-7f07b9a006b0" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvs2u4kG03ODlf2NEBV4rCOxjSq4yayeMTwsO7Z3STV+3bTenh/rpggl8qOH1A0eeZSQnavjaCtQkslMLFiapLMPyReNlhD4zs1mOB9TiT83JxYjFcNambC7lO5G3W1YELIB/7gsdn6BPelpxCiCyX" - ], - "x-ms-correlation-request-id": [ - "d086188e-5e85-4e85-9b69-95b693edf255" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvj7ZrAauxdGuo4THcxrVnz98RygSOzXaZrJT+oV71rabIN4gfv01RGIXuyKKeC2jxV7iIb1HFnD38MoAn+yvGOrbClsA9VvJuVtxsdaWnAaXgbM1BkWIpJ0DvEJDCdRYmwBdi4am5dYdotCAjZ3AB" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13667" + "14742" ], "x-ms-request-id": [ - "d086188e-5e85-4e85-9b69-95b693edf255" + "78e692c6-7231-44b1-ada9-7f07b9a006b0" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093847Z:d086188e-5e85-4e85-9b69-95b693edf255" + "LOCAL:20190924T065742Z:78e692c6-7231-44b1-ada9-7f07b9a006b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:42 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8c60b0eb-75af-4560-b8a1-306126a8c248" + "1022aa8f-2dc1-42d3-aad9-04df380e538b" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:47 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "273ba33f-5a58-4e52-9426-f83742d012d3" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0hB0ENwWhE7WmHAKw/FN2QX6BdvWLuBMesAH/xCzaC4NBX7UqPT8vwZ6FlgwQaBDLkF2V/gQisAkF09TeKu6Ovup3A6gGBAomIj1LGDdW9ZL0A/kTj497pOPxZcRdpiIBa8X4WafSfqMo7jlW9La" - ], - "x-ms-correlation-request-id": [ - "3bd8d922-24b9-49f6-93d1-c077d1744bba" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+w67OSqDiQpHnY6u2vbTZbOv+cYxyvB5VFBJixLNR6Yz0XitdXAvTv/3IJn8JKhSAFRXqBnLAYaQ6ZRsRg3XLyM0d5v7aidud1Nfi8PsUGlHiNtFJJfsh7/cE5t4c2z+XY5CGn9n8IirhBKiZkOU" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13666" + "14741" ], "x-ms-request-id": [ - "3bd8d922-24b9-49f6-93d1-c077d1744bba" + "273ba33f-5a58-4e52-9426-f83742d012d3" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093847Z:3bd8d922-24b9-49f6-93d1-c077d1744bba" + "LOCAL:20190924T065742Z:273ba33f-5a58-4e52-9426-f83742d012d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:42 GMT" + ], "Content-Length": [ - "608" + "610" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,12 +195,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStoragePools.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStoragePools.json deleted file mode 100644 index 4e866739d075..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStoragePools.json +++ /dev/null @@ -1,264 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "5758909e-da5d-41a2-acff-932126f8c196" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:18 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2+T0HyS+vF5uVUUpIkycY3Jem5oAGXCMnKLRdDgkskJ4aYFyqn7HOy57qqKbNmjJbDcC5NTIXiKonWqQNnGmmRNixQhE0sbMBCL26wqQ2kMXUboTwTQD/1hd8I0M/TjWHSzUvKDpk40HoITi/4oL" - ], - "x-ms-correlation-request-id": [ - "0217cf41-d7ee-4fdc-8426-737b81ceac3d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13810" - ], - "x-ms-request-id": [ - "0217cf41-d7ee-4fdc-8426-737b81ceac3d" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093819Z:0217cf41-d7ee-4fdc-8426-737b81ceac3d" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "263" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7a922fbe-6635-4f57-b72e-bc299dab7150" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:18 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvXg8ZxQai6s8iSwA9Fkgf6lMvT+w3lrxIZS2bfByb8V1TE9ATWaN9B4y1xuz9VMGNTADRb/b+nNyxqpxbGsdDF6A74WRuH3Y1zzqCpohpSDsEKLG/soJnbi+Q4BXa5ngKKYtkH0oh2koDKenjjWfH" - ], - "x-ms-correlation-request-id": [ - "db329203-0ef0-4432-8744-fbec0ed2a5d7" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13809" - ], - "x-ms-request-id": [ - "db329203-0ef0-4432-8744-fbec0ed2a5d7" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093819Z:db329203-0ef0-4432-8744-fbec0ed2a5d7" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "375" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "36824c4a-7f68-45af-a40b-12e38afc8da8" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvLv2SKjwl1CVoXF8B92ivXE0ZAlUk2k8+qUWjwCpEW94HI2TiWbav6ah94p5vvKYA0vg9I+w/FVxheYe1Hq6376D5avTPHHE2MluroNAxt3Pt3K8gNAFn6uzJnrx/QUrOPQDwWi0rAgUTzZnQSRsB" - ], - "x-ms-correlation-request-id": [ - "d4c2629e-09fa-4d72-8ce6-312bac4150a2" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13808" - ], - "x-ms-request-id": [ - "d4c2629e-09fa-4d72-8ce6-312bac4150a2" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093819Z:d4c2629e-09fa-4d72-8ce6-312bac4150a2" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "410" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"local/s-cluster.azurestack.local/SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 3343\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools/SU1_Pool?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b088c59b-1418-4c5b-832a-674c22d518be" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwfltWXlntyBc1tp2v4GoUTYl57R1kJFjEp8HGD75g9hrcmlaUGMrNsQ644cgzxO0iE/w+GhgehV/NwWJGaoG5KMSHdfOeeJ1/9mCI+aepWI/hX7ij11HizylrFh7VmIH45fro9MgXAdI2lRNy7id" - ], - "x-ms-correlation-request-id": [ - "7f4ca437-b4ba-4b46-a44f-7a47afbe36ed" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13807" - ], - "x-ms-request-id": [ - "7f4ca437-b4ba-4b46-a44f-7a47afbe36ed" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093819Z:7f4ca437-b4ba-4b46-a44f-7a47afbe36ed" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"local/s-cluster.azurestack.local/SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 3343\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" - } -} \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStorageSubSystems.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStorageSubSystems.json index 4d3d89163395..09704d98e7c6 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStorageSubSystems.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStorageSubSystems.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "df55c09a-ce2c-4910-bebb-4dae1340d502" + "fb61fde6-d3b4-4bcd-b4b3-a8645578dfa7" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:31 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "5c0b4046-0b91-44aa-849e-2e754c3e55b9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14695" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvpQCU5fugxh5XkZ6WsQ3Rsnytypp2HfxucUpOf3zEr4KSSPUMbKq41/t8n9+eR1spedXbpZl5KJOOhi4PG8kEwyURM8F3ehYh2Jqe1JILPVKBgDksnD7C0KbwWfAuqbWcH0jpP99Si8xP0RVxeKdy" - ], - "x-ms-correlation-request-id": [ - "bb53b8c0-d855-4a99-880d-9653ce05ce2a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13805" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJ9VtiDj2TfPE1TioEyDMi88SiKi0rRhJE8lgYbSloeRJMymBHpeoaSh4T4ZUarKAv8JC0bmWdQQw3giy9QqTY+GsjeDE2rgMT4x/gKQMNm8au3ptJE9u3HXBtbnJVCcs4R/6IXJSZm6/avzqS8Ve" ], "x-ms-request-id": [ - "bb53b8c0-d855-4a99-880d-9653ce05ce2a" + "5c0b4046-0b91-44aa-849e-2e754c3e55b9" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093231Z:bb53b8c0-d855-4a99-880d-9653ce05ce2a" + "LOCAL:20190924T070529Z:5c0b4046-0b91-44aa-849e-2e754c3e55b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:29 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4a4b12b4-7cb8-405a-98ab-f9a765e3f05b" + "9620b8a4-294a-4bb4-8495-106c010d59bb" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:31 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "5c578b19-52f3-4750-a571-f1d81f7c32de" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvRP7GpOudHyh1uuZl2tLPw7PAWQiorPzr+W8Y4I5nFaeF8C8vvijvbdgZXN9dPL42R2ZpakXGmKSHaJl8waM0ThQvdzKCurXex+tXxvqQN/vM+d0Rk2PaaMIkCONeveen9B4JBlMwS44/eWMa5Jgp" - ], - "x-ms-correlation-request-id": [ - "7e361538-859c-41dd-92db-e88b6bf94c7a" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvZr+ExHsgLCyA9jRO/B923PR9ICLQ4B6UULxjxpzCAI8R4LS/mQWZN1gkHw/gFagvpfQCzjmb/T4mAHTyGb4Ly/AylY/Qe5GIhHVb2SX4O04+OH36APvIA4TEUTztRR7kqdwnht3fYXyQLR+L2EG6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13804" + "14694" ], "x-ms-request-id": [ - "7e361538-859c-41dd-92db-e88b6bf94c7a" + "5c578b19-52f3-4750-a571-f1d81f7c32de" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093231Z:7e361538-859c-41dd-92db-e88b6bf94c7a" + "LOCAL:20190924T070530Z:5c578b19-52f3-4750-a571-f1d81f7c32de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:29 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7a8b1471-d4e2-4208-86bc-2240c434c757" + "ac6364d2-b228-4ba8-94ac-aed88cec4a0e" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:31 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "6fac3dc4-9e05-4d8b-9d8b-05c98c7fea53" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvPUG1iyauHetXI16QfwZKQgjiBW/QY38Y+XoHdXO3FKVrMhUiuUBwsb1XhsTmG9xaDqDh+BKT5B/FH4juMzOF7zvh9VJK6iTHkyjcUYfvcJGuWTApH2ggEvzKsYUXtzVCRdLwhK1CSml3HQ32tDiV" - ], - "x-ms-correlation-request-id": [ - "e96030a3-ee3b-44c0-aea9-3f9c3d3bbf7a" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv18dNyTuyGCXs+8zM7LJUdcMY4POuM8NnKl2zSEGZt0vlP65PeCMkdyinaPf4lgZW+SwIhgwjmYWfuGOgJh3EZAwH6m8TUDvACjj04S9tZc+81dEF/ECW0hteJDyRGHRw3Vb/S07BMlP3M6scUXjS" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13803" + "14693" ], "x-ms-request-id": [ - "e96030a3-ee3b-44c0-aea9-3f9c3d3bbf7a" + "6fac3dc4-9e05-4d8b-9d8b-05c98c7fea53" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093231Z:e96030a3-ee3b-44c0-aea9-3f9c3d3bbf7a" + "LOCAL:20190924T070530Z:6fac3dc4-9e05-4d8b-9d8b-05c98c7fea53" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:29 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9c3e5d86-bafd-4be2-9f2c-2de73a009464" + "e6471dcc-a44b-40de-afec-2b366fc6aaf6" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:31 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "9fe37c86-a711-47b4-95ea-3c0898752ff5" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv4T+j4Qs5TPQ/Csr2yCOIo8azNW0tZZTeRNGjWU2Y+WDRGm86LOIzS/X2cCtmiPlXbDelNcegepFg8sByfGZIGY2Je5tXFM25Wgj4R/dbXG8eoWLq0O9bZmOYzuxvQmCtVthuVK/zi8XOQZ/0E2ec" - ], - "x-ms-correlation-request-id": [ - "94da4966-95b8-4286-a05b-c310accfef9d" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYrWoSCDfEgWRqUVSxncElwBUM1OpZgHdxViNFDTfwsRF1oj+V0jrfzKZ/LmffMuvAjbPnQG2ZHvpJgn0jPdpLN6Xa/y3AQ4ugPTz2YWtfvZAY8AVZziUpG5N5QXEQEpaihlD1u23KgHFKqOwGl36" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13802" + "14692" ], "x-ms-request-id": [ - "94da4966-95b8-4286-a05b-c310accfef9d" + "9fe37c86-a711-47b4-95ea-3c0898752ff5" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093232Z:94da4966-95b8-4286-a05b-c310accfef9d" + "LOCAL:20190924T070530Z:9fe37c86-a711-47b4-95ea-3c0898752ff5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:29 GMT" + ], "Content-Length": [ - "503" + "505" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,12 +261,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStorageSystems.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStorageSystems.json deleted file mode 100644 index 320cdf9f18d9..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllStorageSystems.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "5b779436-7e6c-4955-9956-6909757f47bb" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYsb0R+TNMNMWZE4weHNKsw+OTwESCod+AlW+1my8ZEgjK1xrGL356y+f1voayrtkkMGVMNpeiYK1G41izFnSpe9pdPiJL6YqjFWHAh2jG80k68/GyNnyE5zJLY56/a4zafETfPmbVRKQDYPTtdhZ" - ], - "x-ms-correlation-request-id": [ - "7f1e5595-1426-4953-add5-f9f3a928da4a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13775" - ], - "x-ms-request-id": [ - "7f1e5595-1426-4953-add5-f9f3a928da4a" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093237Z:7f1e5595-1426-4953-add5-f9f3a928da4a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "263" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7ced46fb-da36-4fad-b4c6-7dc03032431e" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHPZHPYsk27VUOTxaICWJ3vty/45ilA0hiNMwFVVUEX520TpteuOD5wMB7Vsaxdc/maCk8BIQ2fyAFOpM6EJVa1sbiQzF+fA/C592EpYaW7EzOLUcSuLk1dJG1F8ZOzmBtJsz4WRsxE/srT2eaGJq" - ], - "x-ms-correlation-request-id": [ - "c3ac1718-71bf-4448-9b8b-04a75e369386" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13774" - ], - "x-ms-request-id": [ - "c3ac1718-71bf-4448-9b8b-04a75e369386" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093237Z:c3ac1718-71bf-4448-9b8b-04a75e369386" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "375" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "8cf8e46e-20e8-48b4-99e3-5d1597e80432" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvfEkZDhlEfSkQRm1uy4Dcec7inxxIRgTkHNF3cwYJCal7GOyb91sR5PrDyU7fzjMeZBcp/de/hRJ078z31PDNAD/jmX0cgP1l9x9yAKUZZ0d2bE1aFwg1iL+2uYVCvxCB/EGySyf8mPPcWoZqrIQJ" - ], - "x-ms-correlation-request-id": [ - "23ac96c8-0b80-4fea-9e71-2bc944aef22b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13773" - ], - "x-ms-request-id": [ - "23ac96c8-0b80-4fea-9e71-2bc944aef22b" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093237Z:23ac96c8-0b80-4fea-9e71-2bc944aef22b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "363" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" - } -} \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllVolumes.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllVolumes.json index 96fa9a858b16..46c139905cc9 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllVolumes.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetAllVolumes.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "66378882-193d-43e6-9484-4c836515d431" + "46df61b8-585f-42be-a363-a564da01beb4" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:15 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "dd110348-0730-4b47-b339-51fe654480e3" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvmTxhQYKkRlTvSmf3UtyJx6KZbVDYJZ2pEh/dtlLzXAF7JPB/UIKZxhUaByIm+LNMGjFXjwKDr3suUgFe/XAjUrAznAlxUVYn6kb8LeQB0uH4AjwXPzlSDChqu720INIoumPMN7QBOu9VhDSHCeMG" - ], - "x-ms-correlation-request-id": [ - "07858c8c-c67c-46c3-8a8e-e57990711415" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvCUgUl+LouHqFFPaVdGByn+4U/sKecM83q1qo1gQhW+A7OLpM9JKB/NpV0xFeCy2LlGhdpX1wYW9KNkHWRrB2LqErHRPr19tOw9goSfgmkKqRZvrC4i+hx6TUA1gisZvtBu2XJWH2OtkI5KqBZ8n5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13824" + "14736" ], "x-ms-request-id": [ - "07858c8c-c67c-46c3-8a8e-e57990711415" + "dd110348-0730-4b47-b339-51fe654480e3" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093816Z:07858c8c-c67c-46c3-8a8e-e57990711415" + "LOCAL:20190924T065747Z:dd110348-0730-4b47-b339-51fe654480e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:47 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d4d8aebe-0b4f-4b9d-9173-a4d8fc120db2" + "7a060aee-5598-41a5-b30a-daaa5e750bd9" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:15 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "3de345be-18b8-4a79-85cc-85668407f582" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvawn32C5B1R4qAJoY0K/Yq5IDHi3fNpW7CROp0FxIKD4kec61O7dmr6AJtJrHqNPBX3EsMsxPbX4W7VioMjsEIFh9geZSWRp0GrI5o920m6KprqxEwCQ3KF3iKifajN1n6Q//xsa5/vwQnIn/1syz" - ], - "x-ms-correlation-request-id": [ - "c9974af0-111f-442d-9958-dd51459d650e" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvKSdUTERGD8QDFS+BAoGV8hTfNi2Ov8cBGnvZwWtLadnsCbtfLFRuKCT7p0E8Nt0EItQ32aG94lqJm+hL9LEG8+MfMM6s3F7zIa7NEEN2edeTUGDtEqedR7ltb/2rb2ua+MZdHVKxyKc1L+njmCBz" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13823" + "14735" ], "x-ms-request-id": [ - "c9974af0-111f-442d-9958-dd51459d650e" + "3de345be-18b8-4a79-85cc-85668407f582" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093816Z:c9974af0-111f-442d-9958-dd51459d650e" + "LOCAL:20190924T065747Z:3de345be-18b8-4a79-85cc-85668407f582" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:47 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6fcf782c-0028-470a-bce7-04769d7d577c" + "53b00400-2711-4cf0-b976-0ced21d73672" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:15 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "8918acd7-798f-485a-960c-d142130ad6fc" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvrhYvJAhV1vjX0O9Ak0f+cmPDwvPIICX5+bCnkXmrbiimhc2lWqhCPVpq6myfJSrtsBxsCLy0iONeTCZFry6L8Nos4Gmaitax/dtsJ78yCZEqrrHU/hOVNhcgJDH4pgCQ/mvyzN3mfYmMym2q+Rd8" - ], - "x-ms-correlation-request-id": [ - "dfabff6a-4979-4b49-bd38-bbcfc364664e" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvf4wf9GiI/RScowzl9c4vs1T24slqsHsra/4N6VubvWu73timWdMMAcTk718f6ONMloofUJD/8D/631qSN3NDM0B0QGunEu79PWVDNWApAsPyYw3mQk+4CIf1lZiqfkurVc+ylzJT6sWkCDl5sLow" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13822" + "14734" ], "x-ms-request-id": [ - "dfabff6a-4979-4b49-bd38-bbcfc364664e" + "8918acd7-798f-485a-960c-d142130ad6fc" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093816Z:dfabff6a-4979-4b49-bd38-bbcfc364664e" + "LOCAL:20190924T065747Z:8918acd7-798f-485a-960c-d142130ad6fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:47 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcz9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcz9hcGktdmVyc2lvbj0yMDE5LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "eb8a2183-7511-43c5-8d0e-43da7dda5825" + "0df9b06e-3211-4747-a110-6696d49c8ecf" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:15 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "cc39820b-63fb-4119-97e8-6be78ff9d336" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv9xhyHhTRrAu+FVQTM/fEaPv51zlu+ir8axlOlZ7EPp0zh3K1c2rr5RQ1Q0LDzxavfm31N//Rj+1lFWKPWa658U4lPtHXkizyLqJqMrnVRg02HiZQRfGli6x8+DxycWrOrTD8DZRn8rlOEk7F4VVt" - ], - "x-ms-correlation-request-id": [ - "8548a023-893a-4e2f-8aaf-c2b06cfe4f2d" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvdnksD+NJKIROHO+KUDLkSLBTKLnIENX8U7NAhYBbU0Va9qgWiX6ZUzPZuXh2h+UZhpnvWHDb2dyCbuPOIADzL9fuv5fwaJev5x68o5VvNeusuw9JcP3h2lfEQduUrHf704O5dm1eIhE1U2a2z8/k" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13821" + "14733" ], "x-ms-request-id": [ - "8548a023-893a-4e2f-8aaf-c2b06cfe4f2d" + "cc39820b-63fb-4119-97e8-6be78ff9d336" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093816Z:8548a023-893a-4e2f-8aaf-c2b06cfe4f2d" + "LOCAL:20190924T065748Z:cc39820b-63fb-4119-97e8-6be78ff9d336" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:47 GMT" + ], "Content-Length": [ - "650" + "660" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,53 +261,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/5D3DB5EEC80EB94BB86AAC8F8C6AE67E?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcy81RDNEQjVFRUM4MEVCOTRCQjg2QUFDOEY4QzZBRTY3RT9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/7192d313-c1d3-42dd-b1f6-e280d8c6b10d?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcy83MTkyZDMxMy1jMWQzLTQyZGQtYjFmNi1lMjgwZDhjNmIxMGQ/YXBpLXZlcnNpb249MjAxOS0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6194be59-11d8-4f2c-9841-ba495535fba4" + "825fdd9e-59ee-44ad-9b81-d24c41af3e48" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:17 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "257a889b-34a8-4b43-b39e-2bc197030e5f" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwFBPtombZds10k0/Uws1iqwP5efdZ2sZDZjhpDh47j0dCmTbFNXp4WWgHa953yBDQDBxNS5vBnXWNtvMdquqIY+2d51BTXRKexU0O0SGdUugWmIHmlKBO2rQOdibRXb76lQKn4QYLLVkXvQyWasF" - ], - "x-ms-correlation-request-id": [ - "73236d96-de4b-42d9-84d2-9131df41f719" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvK7J7WKTT/G6egXcv6efC2AOlUy4exkkL6JQuQR5ULQff50ogfhkMQwT9j1BTxbIVapjyoTwSIM85wvzfl0ekgQr0C//bFxILKl/jZQjFPs3S6DwPPGOSiUw2D3EXpo3Lel7IMqQfUq4GDVxkIXTv" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13820" + "14732" ], "x-ms-request-id": [ - "73236d96-de4b-42d9-84d2-9131df41f719" + "257a889b-34a8-4b43-b39e-2bc197030e5f" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093817Z:73236d96-de4b-42d9-84d2-9131df41f719" + "LOCAL:20190924T065748Z:257a889b-34a8-4b43-b39e-2bc197030e5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,8 +314,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:48 GMT" + ], "Content-Length": [ - "638" + "648" ], "Content-Type": [ "application/json; charset=utf-8" @@ -317,12 +327,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetDrive.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetDrive.json index 6c0a6d1db02d..5b004d744b8b 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetDrive.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetDrive.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5a30fc9d-7a0c-48b2-9d82-dfbd8464482a" + "7d79e934-27de-4b59-8080-d809d81e2b33" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:21 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "7c695f98-b7ff-4ebe-8b6d-696e1eaf3f70" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQVCtIczx+CYZDExTdGWexWW8jEVNHoNUJbhy71dXlyjp6L6ZnXSjNZrdzkcAHS02TGUllAY6epZAishLqoHhP2mxuQEGz2c0YcAcLD32fI9tQPkGZS6S3AvdwUKqWTKAZooXl/nZRv+y7Yiu2vqx" - ], - "x-ms-correlation-request-id": [ - "c4051324-9f79-464b-ae07-af8cd34c5deb" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv8SAtPbgek/EuUh933NXgmIFszbhFgkhHsi2OmqbheaSFKVhXbHpW1AayrVv/97zRZaoUTys43RBjSpoF7lKhexQaoxJEpeNV0I+ejY2lBvQ/a0EwLVA8EQmR5XNPSXpgcA60oi4WcQDXf8HUlGHD" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13795" + "14777" ], "x-ms-request-id": [ - "c4051324-9f79-464b-ae07-af8cd34c5deb" + "7c695f98-b7ff-4ebe-8b6d-696e1eaf3f70" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093821Z:c4051324-9f79-464b-ae07-af8cd34c5deb" + "LOCAL:20190924T065722Z:7c695f98-b7ff-4ebe-8b6d-696e1eaf3f70" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:22 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d9fe4e31-48dc-4da2-b653-c69d5c67946e" + "70f269c9-d67d-4f49-a221-af3b18ce6ecf" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:21 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "819f941d-1d9f-424e-9be5-60b19f15b331" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvv1XbSvz4WjsMJgndvioqVnaDshZBQ9KmVBViEKrnc4Wv0YIkvG5ugcFz9KoJjxpzOlzx702Z/Mwcpywun2HEK7aZ/Nrg11bBMRWOAXl1l4FrJiM6RNCDltP2gY/dxYMx6hJHikBCJIWWanU8V96m" - ], - "x-ms-correlation-request-id": [ - "6c38719b-68d1-4ed9-855b-2abd4d6f7c5b" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOIuH0pkmWmma2UolZ4X1+shujX86/Ahvb4d77rQg24r3an/7X0QUS9Ev54x7HqxHc+Nl3a1Hrb2Eet4ARUUaxopMU334uw707SKJV86Q9Zkp4OgfQ8oh6Zo6poEfi4VinYnaNgvj5/bE5uylZJ/Y" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13794" + "14776" ], "x-ms-request-id": [ - "6c38719b-68d1-4ed9-855b-2abd4d6f7c5b" + "819f941d-1d9f-424e-9be5-60b19f15b331" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093822Z:6c38719b-68d1-4ed9-855b-2abd4d6f7c5b" + "LOCAL:20190924T065722Z:819f941d-1d9f-424e-9be5-60b19f15b331" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:22 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3dcd7485-7206-4dd8-a16c-0994c7574ddf" + "9a726ec5-7aa1-4874-9f82-e276afe039b2" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:21 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "1b636afa-6c89-430b-ad29-6ff639057cee" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvvLGs1kvI4kpDY7O/Av4H87iBgDPEDGheK0ZQsb96Db6Lh9/L1KzlQu0pcntb61UZ8vg8lBLB2rgAsAk/WXYzRR6pOn5Ed97bMO6EFfd9HRPGPrESfbP76/JkjqrZ/MxpuIE3Cm4Iz4clusw4Oc2f" - ], - "x-ms-correlation-request-id": [ - "36830c9c-6330-402b-aa73-4a910a1022ef" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvPsUhyU/ToTow/RUWeJPoxqQ0WOH1ToB/QiY5jy8h74UgGdxyzZNRN2qeX08I83UN7qhpntYEwffZBhdLh52cYYRkDKXlFTTB0TYdkWbidcvL4n21KqD79wP2QRAHOnzJIed5s5T9HW2AMO0YWXuy" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13793" + "14775" ], "x-ms-request-id": [ - "36830c9c-6330-402b-aa73-4a910a1022ef" + "1b636afa-6c89-430b-ad29-6ff639057cee" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093822Z:36830c9c-6330-402b-aa73-4a910a1022ef" + "LOCAL:20190924T065723Z:1b636afa-6c89-430b-ad29-6ff639057cee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:22 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzP2FwaS12ZXJzaW9uPTIwMTgtMTAtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0d115795-3105-40d2-943d-5266546916f9" + "782748e0-191c-4273-9642-80ec661e43a2" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:21 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "d815f289-717d-4439-ba04-9e871a0ae213" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvbn8dlougobeum4RG4r/WqdLo4sNV7H/RCUkiLQzLtFno4A5KN+Zw0ULFQYHdSY3lsWeHBSqj7HpbG+SP65y3bwxwiy3DQnJx50h8Gc5PEzLJJH2WFQFu60p05GpMqCKYt3ekffsW/3S3+gG91bZK" - ], - "x-ms-correlation-request-id": [ - "26d4f137-eb82-435b-925f-3af2b701fbd9" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvGQOc6uPzy1cFDaKMqVMOyLzXFzRyMGe7HdUqv9kMZIa71bYHO8QMYatUAK6WUDqpND/WZi/GpwuMCFsn+LKiOjUkzab7OBKl6rVWRWTllHem0gF2dGWGTzEJqY7iaPROdBOL4I7eIcYZj+hYl/oK" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13792" + "14774" ], "x-ms-request-id": [ - "26d4f137-eb82-435b-925f-3af2b701fbd9" + "d815f289-717d-4439-ba04-9e871a0ae213" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093822Z:26d4f137-eb82-435b-925f-3af2b701fbd9" + "LOCAL:20190924T065723Z:d815f289-717d-4439-ba04-9e871a0ae213" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:23 GMT" + ], "Content-Length": [ - "4973" + "14541" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,53 +261,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"007a1f8e05dd97022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 2 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"004b70e0092598022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 6 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0005e3ae06f097022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 3 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0069605d091d98022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 5 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00eb090104c397022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 1 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00582db6081298022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 4 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G5E6\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 10\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300424\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 2\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0GANS\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 14\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E89S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 4\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0JS7L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 8\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G55L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 6\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300430\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 0\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300427\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 1\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G9A0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 15\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G7K1\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 16\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E6E9\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 5\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E2Y0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 9\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E37S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 11\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300395\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 3\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E8H3\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 17\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0DJPD\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 7\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/17e7660d-36a7-39a4-9215-8912a6099329?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLzE3ZTc2NjBkLTM2YTctMzlhNC05MjE1LTg5MTJhNjA5OTMyOT9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/%7Beec93a2f-b3f1-4682-91b3-26bbfb581368%7D%3APD%3A%7B1db4b11c-34c9-a17d-3eee-a8317c8cc091%7D?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzLyU3QmVlYzkzYTJmLWIzZjEtNDY4Mi05MWIzLTI2YmJmYjU4MTM2OCU3RCUzQVBEJTNBJTdCMWRiNGIxMWMtMzRjOS1hMTdkLTNlZWUtYTgzMTdjOGNjMDkxJTdEP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "52702cea-459a-407b-b541-87c5512e4a76" + "f14ae2f2-361c-47ff-af00-b57fb664839e" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:22 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "c89281a8-60e9-4e28-b7fa-1e28fb9df2a4" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJj11BY3h9PmAcxXIdEow88+yHKVGCPPsNpnwfmRnhfXxuAmUjYBg6l+IEJYkf/KblNBiKo1CR+SQFLveLmwDaoCrNEBEzcg1muOBevxzaCXyDRUgGsudGkGulc1t72LP0iY3xyfNVuhqEuWCGPtY" - ], - "x-ms-correlation-request-id": [ - "059c8bb5-c0bf-45d8-a4f1-d92180933680" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvIDJHF+l5S+y8/sjPbXvrI3VM3MyI9C1nLpRk7sSkJr/d9LZIkyZLYu0d0tX+HGFjcY+iKwCsEnk4/dy4wDgCiiRi7FGqX85N7ef/V4EEfqctOuh2ATvcMtOKn8296Fu7UXhST5nLmf0m0FYyyjjD" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13791" + "14773" ], "x-ms-request-id": [ - "059c8bb5-c0bf-45d8-a4f1-d92180933680" + "c89281a8-60e9-4e28-b7fa-1e28fb9df2a4" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093822Z:059c8bb5-c0bf-45d8-a4f1-d92180933680" + "LOCAL:20190924T065724Z:c89281a8-60e9-4e28-b7fa-1e28fb9df2a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,8 +314,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:23 GMT" + ], "Content-Length": [ - "826" + "907" ], "Content-Type": [ "application/json; charset=utf-8" @@ -317,12 +327,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"007a1f8e05dd97022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 2 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G5E6\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 10\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetFabricLocation.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetFabricLocation.json index 6764b0c24422..7b11295df24b 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetFabricLocation.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetFabricLocation.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5df70d3c-efa4-4fff-ae7e-a5ce2eb48ad8" + "d8985677-a696-4106-bd53-b529c1d62f5f" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:33 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "900a6364-ad95-4426-8049-fb30910427da" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvIYkz3k2HtklNeYZWvpWBtbLVyVwglcDhJg9u5Ei72Ems2YTI5Jru0RjCdPf5+m+CGFtn7yb80FgIXJ07EN8Xd6gGYyKLscaS6YOWkBC2mrxNWG/AX4dEIqcHkIBoswwZpnNNulmHF/0bk87yLPLy" - ], - "x-ms-correlation-request-id": [ - "c56ecbd3-a9ba-4bb0-96e4-e22b34252acd" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOrg3x+2ITdp4XQ1KkA2doGPyapVC5kb8e3iqUei08I7JuHHi3DxzFjr8h5UuU2QPR+Ems2swDL4bJcpNi4AR8Yjf12iLoquNMwjoJTtRW8/aKiBJFTpgM222LiVZQA6cwFsUR70JQzQhX/kw6fwh" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13793" + "14786" ], "x-ms-request-id": [ - "c56ecbd3-a9ba-4bb0-96e4-e22b34252acd" + "900a6364-ad95-4426-8049-fb30910427da" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093233Z:c56ecbd3-a9ba-4bb0-96e4-e22b34252acd" + "LOCAL:20190924T065709Z:900a6364-ad95-4426-8049-fb30910427da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:09 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0dfcfa66-cc87-4661-bdab-f13f1b7a7d00" + "4473950b-0d51-4ef7-985c-61583850b3f7" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:33 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "8417ed21-ea4e-4d5b-b25f-67a89dffb6c2" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvcUznpmZsYw2X+ox1eF3gzojSeeLfsTiQeErQlSU3shJzGViZcQ0gSfYVhJAxTlgsJFrE+sJWoOYllSDDFcGtxuyNKz9c4gAF/bRnCWibIYX+w5NjdUIaV8g8gTKTdbzN4bJ+OjkWlpFRTMfdmQKj" - ], - "x-ms-correlation-request-id": [ - "628fdc79-374e-49e2-9846-5ea804ca93dc" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6TSnKzM7NO3aCR2CpeGlfH37aRbgv2GWrFd6KosTOh/zLE+J+ZxmPnPX67KWr1sMitveEldtPEucK7xYK3ey7hLtnKfl9ZQg+g+2dUU8sgN8WzxFSzQ9WFxEWcnNXNgwB1TGGYoGO/8WCNtQVEBN" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13792" + "14785" ], "x-ms-request-id": [ - "628fdc79-374e-49e2-9846-5ea804ca93dc" + "8417ed21-ea4e-4d5b-b25f-67a89dffb6c2" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093234Z:628fdc79-374e-49e2-9846-5ea804ca93dc" + "LOCAL:20190924T065709Z:8417ed21-ea4e-4d5b-b25f-67a89dffb6c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:09 GMT" + ], "Content-Length": [ - "251" + "538" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,12 +129,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildDrive.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildDrive.json index 253251016a65..304cf85ed917 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildDrive.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildDrive.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a8b1a591-edac-46fc-a1a9-267d070ce348" + "d51b2222-8d16-4283-9f97-92e4aef96b26" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:20 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "ef569ccf-a31a-42dc-ba0d-cfa263f0f2ef" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvvhEFwq2ZMOaNLdeEX+eZ1aJgk2+Ewv5PGIY+6oVmhnLfzR68ZXgVjnGCmLVyE+UTVdP/3QolDcgfKDYgZfKAIW2aR1crAI4tAB58izAN2mmoyeRjzkNj02tTUF4rsh+icYhfoEOMHgPlIMgVEXbj" - ], - "x-ms-correlation-request-id": [ - "cb1f1b99-e93b-40b4-82b3-dadb3d100385" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJDcLDDiZOySbKyMfesxiqIXf5n1yKX1qxFGEpaSBsDsNGNJJP21UnaBAT/UQRhwAzzPKqCThlZoV8TArTP6IuVsMCDwxf2xPEqnHku2HBORQ9TTtfN67rfCB8m56VipYiiFUzs+R0p/7k9vUDB8X" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13799" + "14781" ], "x-ms-request-id": [ - "cb1f1b99-e93b-40b4-82b3-dadb3d100385" + "ef569ccf-a31a-42dc-ba0d-cfa263f0f2ef" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093821Z:cb1f1b99-e93b-40b4-82b3-dadb3d100385" + "LOCAL:20190924T065715Z:ef569ccf-a31a-42dc-ba0d-cfa263f0f2ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:14 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8c06b81d-1681-4941-9d53-42fbe59f64ee" + "15de677c-96e6-4fb6-bf90-99bbfe6a7cf0" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:20 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "bd52066c-27b7-4564-8de6-b3f364822102" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvg9i/yNAoRxU7DK5gLD4aeNJxblFuiCuQAawvLsHYaNj+tFX3edbEXWDgpIb4M9Wjar5BKyQFXQE/7cGjqWZWIr6g1EnPcvpjqX6WjaNKl2A3hcOae0mXopEi0ELaM1ZQWkWfNxDa8wOxnvLE4ebF" - ], - "x-ms-correlation-request-id": [ - "65ded831-c41a-4389-b8fd-da6c8969d79b" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2jS4JGnBzM5bFWEhO0QhKf4FF4frdP6ekFD5DEGlpaQ8dauWuTrlQ3gR08teFv5OMAcUqC6ATqRYb0hVJA/LpNAz63SNVOkPNe5m4/86AOL243lqwTQDgGp/Negxlbk2SHKecSNdRfZxDvM4mzvX" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13798" + "14780" ], "x-ms-request-id": [ - "65ded831-c41a-4389-b8fd-da6c8969d79b" + "bd52066c-27b7-4564-8de6-b3f364822102" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093821Z:65ded831-c41a-4389-b8fd-da6c8969d79b" + "LOCAL:20190924T065719Z:bd52066c-27b7-4564-8de6-b3f364822102" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:19 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6b56ce76-8229-4518-ad5c-b60698191f3d" + "2cbb9e30-3ded-45d2-98d2-121835c36f83" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:21 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "853fb0d9-7ee3-4d64-af1d-64145a6b771c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14779" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv774zgvR6+lZzukE2mpjfn4L4z83jADjopTtiDKihw7DHOcTpW604l2pqbyOPefp0qm4l3ZPIbMeq4YzOcT+Qt6etwaONrkUa31MQwBZxYWn8hPQ8RG2DrFbXcp3wfqzQ6jXHSuLjBdlXW2tH6g2A" - ], - "x-ms-correlation-request-id": [ - "c399c190-821d-4c43-880c-531144f42a0a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13797" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvzeN6EY9LdtmWARGw8DUZeSwKbe0xe8P6TRRlcFr/bYi80zzBxpY/J7NVC5A3PDD199/UlSt5Im42ThaX9czl1Prm8ryjwvVNtOgaEtXJR98Xr7wrN0gzLlmug7SlAtx74wijvAA12pAL3AbOflVA" ], "x-ms-request-id": [ - "c399c190-821d-4c43-880c-531144f42a0a" + "853fb0d9-7ee3-4d64-af1d-64145a6b771c" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093821Z:c399c190-821d-4c43-880c-531144f42a0a" + "LOCAL:20190924T065720Z:853fb0d9-7ee3-4d64-af1d-64145a6b771c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:20 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/invailddrivename?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzL2ludmFpbGRkcml2ZW5hbWU/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/invailddrivename?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzL2ludmFpbGRkcml2ZW5hbWU/YXBpLXZlcnNpb249MjAxOS0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "664c59da-70e7-47df-928d-cdddae95dbbd" + "3a756b23-849f-4264-a47c-885aea7425bc" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:21 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "dc4775c2-b34f-4aa7-8697-d8dacd44a95c" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvO0PQKQCC470u+T39sNG/DhZ/qsndxGkArAtIOVVNhxmPReLBoOIByXwRor75wyaW3cDQmwL6UIjWdvtsyyxiRsyRZ1ZzUIvKRTZvMUT6w7+tbDoF1xO5SQbYbBYGmpsvulnKwvuoag8gvKTQ7v3n" - ], - "x-ms-correlation-request-id": [ - "fb82315d-7d99-4197-9551-6fdad2740e20" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvX0qR1QLMe8x6nMNjAH2/YPK2tvFanmpfVUHhyDYddGoqPMP/As4zrc1388RwvSIAvgokpLjwUOnoKb+J+tZihDgvvW5lhgk/rvzjW9f1LJSuDbV2s9p8VPKi3ZvoI5J/pi+S76JTG8+GkB2DwI56" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13796" + "14778" ], "x-ms-request-id": [ - "fb82315d-7d99-4197-9551-6fdad2740e20" + "dc4775c2-b34f-4aa7-8697-d8dacd44a95c" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093821Z:fb82315d-7d99-4197-9551-6fdad2740e20" + "LOCAL:20190924T065721Z:dc4775c2-b34f-4aa7-8697-d8dacd44a95c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,11 +248,14 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 06:57:20 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", @@ -256,6 +264,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildStorageSubSystem.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildStorageSubSystem.json index 90e4a5781cac..24ac9cdfe2ce 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildStorageSubSystem.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildStorageSubSystem.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "191bb11b-67b5-46c1-a1bf-75f0976423e5" + "c2914af5-6768-4ced-9bc1-f2367fbe9203" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:29 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "82fe0da1-9f9d-47cc-a06f-707e68c78658" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQdOEBgbqK0HQ6QmMNiYVNuz/eJ6cu8WBrpAr8AIxHs5+drjJ6V+D4ep87nMEJ+1DF01cCBByG+6iq4LYCxAqHHhILKfzfbNVcQZ5lltflJDU/o/1OttekRmupmt5PE1ayqj7xc5SUIEleuy1Y0dy" - ], - "x-ms-correlation-request-id": [ - "3c4ec4c6-53e2-4bf3-bcdf-13354e528302" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvXSq+uNGnB+umH7hC5eUGUuedg6urLjwbU6L9Tir+ubDRxLEty6gLXC1Kfe+4jgLF/GZMP78WzEIriDPuOkZ+/jXFKqXpzdKClllx5WD7BqJFSKsrOyug1WbXow0iJK/ch0MLZGNpPd38oARU9CBQ" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13812" + "14702" ], "x-ms-request-id": [ - "3c4ec4c6-53e2-4bf3-bcdf-13354e528302" + "82fe0da1-9f9d-47cc-a06f-707e68c78658" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093229Z:3c4ec4c6-53e2-4bf3-bcdf-13354e528302" + "LOCAL:20190924T070524Z:82fe0da1-9f9d-47cc-a06f-707e68c78658" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:24 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c49d1c05-cbf5-4d1a-82c6-1daec735d8b0" + "2d47a8f2-e761-4480-a61c-dcdb1e239fb3" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:30 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "92c37789-e75a-4a4b-854e-e6e41ae6a034" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvh9KRSnUyXaGkv9OPJqMzJniUrttxIyWFuYWyDSPYmb09Kg4QOHiEZjCcks8oyAaRYJuTNdqO5yzMgC6ZVRA6QzJ5BhNQEs8LRVXz404QyAkWUV93RhJgYQBpkDmQejhHK7U+oYhxdcK1GcVuR5ag" - ], - "x-ms-correlation-request-id": [ - "baa571c3-90f6-43e9-ba43-7ca1f2231025" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv9yJmsCAh0E2Lg5oAKLHE3mDZKBpmAVq6TpavrJpKtGfgZlutmLF9Obf4WAR+pMnoj747C64CB10H1yw423BMjuIF5ueU/msZ+xV327zHgAeyciKLzzlcyiW6Hfy4/tQE5dPRdvmkwQSWmXZQcnpV" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13811" + "14701" ], "x-ms-request-id": [ - "baa571c3-90f6-43e9-ba43-7ca1f2231025" + "92c37789-e75a-4a4b-854e-e6e41ae6a034" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093230Z:baa571c3-90f6-43e9-ba43-7ca1f2231025" + "LOCAL:20190924T070525Z:92c37789-e75a-4a4b-854e-e6e41ae6a034" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:24 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/invaildstoragesubsystemname?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvaW52YWlsZHN0b3JhZ2VzdWJzeXN0ZW1uYW1lP2FwaS12ZXJzaW9uPTIwMTgtMTAtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/invaildstoragesubsystemname?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvaW52YWlsZHN0b3JhZ2VzdWJzeXN0ZW1uYW1lP2FwaS12ZXJzaW9uPTIwMTgtMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "809b4920-785a-4058-b31e-77d069df83f1" + "c0bfb7b0-8cd3-4b75-ac10-6c47162353d3" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:30 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "8d4d7824-52f6-4e84-8cc9-a7ae9253a3ca" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYQhcPe+CpoUW6nqHG2aY0pFqJWFGULeJtLPDFxSVsh/gwp3Lo4+TvwftraqHiwyKN/9dNE/EDPeoXhFUfs6qA76O/bByn8xhwcw8QtKV3Tys/471aR5yq93ujLt3jjFnSeZgvxwGF8YWTjN6LqIV" - ], - "x-ms-correlation-request-id": [ - "7c474d8a-38b5-40b3-ab0a-0b3f27fe117f" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvBXEMW6ugAjLBUTYtob4xbfWtHYN3NgscNi+83jE4ct0vSSWIAkXgzZ9bvhbEse98kryC9U9jwDseq/GgKrYsg2y3aP2htw6VXLoUUixVT5fhVswDLbX6TOMwK7Vwsh+bqeKHzUmlf6Lyx/ukPupQ" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13810" + "14700" ], "x-ms-request-id": [ - "7c474d8a-38b5-40b3-ab0a-0b3f27fe117f" + "8d4d7824-52f6-4e84-8cc9-a7ae9253a3ca" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093230Z:7c474d8a-38b5-40b3-ab0a-0b3f27fe117f" + "LOCAL:20190924T070525Z:8d4d7824-52f6-4e84-8cc9-a7ae9253a3ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,11 +182,14 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 07:05:24 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", @@ -192,6 +198,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildVolume.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildVolume.json index 4b6dc6f40aee..aeb8c30ef0c1 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildVolume.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetInvaildVolume.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c04030d1-0fae-4364-8759-ed3d7967705d" + "09d4f45d-ef0a-457a-be52-6c49df52fd02" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:17 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "d150637a-bcc4-4247-8cc6-4968af48b5de" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvcYzhEfY9yeZfy6IAbNtEuV05MkETg1iAKDXBFrtuJOPXZOv9biQNAF3yp5lCLhfwFElLMErYEU+4LayiLS7wvqNQ25G2ghgvtQcuY1gUciqcsijcvkKwxyUMmlhYljeK5/pPwjyUlsikLsivX5vZ" - ], - "x-ms-correlation-request-id": [ - "7faab78d-8ed7-4d5c-8be2-41f5408b67cb" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvg0LfYcjNAJFJpnay+Q7sUShH0O5M3rojSq3jWNIsSdOR7Kp+tX78KTC0vthXLOdsRtjRVQPAbqzxnfE/6CSZrzerDouig2avs8yRMWNTaL8M0JsN9+vO98IN2yDtWIpPgSYQ1GKOQ3hOhyoIkdAk" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13819" + "14731" ], "x-ms-request-id": [ - "7faab78d-8ed7-4d5c-8be2-41f5408b67cb" + "d150637a-bcc4-4247-8cc6-4968af48b5de" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093817Z:7faab78d-8ed7-4d5c-8be2-41f5408b67cb" + "LOCAL:20190924T065750Z:d150637a-bcc4-4247-8cc6-4968af48b5de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:50 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9341e7bb-78d7-45e0-b64e-e2b680144e89" + "de9243d1-ffd1-4663-a67b-f2722406fb8b" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:17 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "36b03e06-06e1-4562-a9cf-a38167d8d71b" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvoIYCp5TGdZlBDnZNLOacDSdXIGX7ibJUL5EZ7Pg887CtwgZAH248/4b7V4oY70LtiMJt9mct/Z8hI069mhfr3+B1FeRon2kW0gNux174sPLdjZZhZCuuCqbEqI47oVRb03+Ir++nwhyZFCEB96j3" - ], - "x-ms-correlation-request-id": [ - "1e1befe3-b5c5-48e7-a31c-88fac72d8b4a" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvA8/Kdtn1hMSXVQZjmWn98mBumZUbdlykupw74GqcZnDwkCaxH2rI8xmjdsDgOalgkjXJnZG4lnNEJXxKIhhRUn6ZNa7VL0oOVVnElUPiJOAV7Y9+XxsrPx5K859vg9K+zC3byyGzfTH4AajkM9jC" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13818" + "14730" ], "x-ms-request-id": [ - "1e1befe3-b5c5-48e7-a31c-88fac72d8b4a" + "36b03e06-06e1-4562-a9cf-a38167d8d71b" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093817Z:1e1befe3-b5c5-48e7-a31c-88fac72d8b4a" + "LOCAL:20190924T065750Z:36b03e06-06e1-4562-a9cf-a38167d8d71b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:50 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "191c611d-14b9-47f6-9ec8-ece4ee295696" + "66066247-4d3a-4009-b43f-93adbd1936ac" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:17 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "2f234c04-ad37-4afd-b64b-23cca595c324" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvNv/cWc4hN684gS/tMsrHS6cIXOg/GBZqd3eIJuJlTvHa0I8iE+z2l+yhDOrWa//7GD7CGpUNe8gw9MY4x24ZtRiQLkWy/wbQ9eX75YT2+a3CWPOYla/tWdBKdzyw2hHA5Y5diOr/Xp6L4dVDoIUd" - ], - "x-ms-correlation-request-id": [ - "24f9c783-b75a-4b88-a3b6-cc21828c8370" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvZmcRHVnx0w7sZCWZr8uEG9kW4ibjvKOJ4N6VI9yGYcULwNvrxoTxVIsYfAHh9+x1AVRqqLe/MKrrjCSt+o7NSrKwdFJvaThrxi4eFGx34nhp9OOhkKskveuue6Rd29sndfh90kxL88+alYhgt7xo" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13817" + "14729" ], "x-ms-request-id": [ - "24f9c783-b75a-4b88-a3b6-cc21828c8370" + "2f234c04-ad37-4afd-b64b-23cca595c324" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093817Z:24f9c783-b75a-4b88-a3b6-cc21828c8370" + "LOCAL:20190924T065750Z:2f234c04-ad37-4afd-b64b-23cca595c324" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:50 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/invaildvolumename?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcy9pbnZhaWxkdm9sdW1lbmFtZT9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/invaildvolumename?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcy9pbnZhaWxkdm9sdW1lbmFtZT9hcGktdmVyc2lvbj0yMDE5LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f8760ad6-cded-4694-a1ba-157de3e0dd11" + "cae3f999-9bd9-4880-a08c-235c03047035" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:17 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "444a6cbb-4c8a-4865-bb19-23681dfc86fb" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwgArD6M3Qyn/k9ZDcqwt2PR/Kyo4WHXSMo73H0p9N7L2eELYEXuftZXRPaNpmubOpv/Wx+9El93ZviLKqjtxE4GDNW3/wGQmkw+AwWsV6O9j2NeRWDVGzzuei3nqXYrXXtDLevTsawho6xj0eNEY" - ], - "x-ms-correlation-request-id": [ - "c88f9605-57ff-48c7-b1c1-55c0513682d3" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvX0qR1QLMe8x6nMNjAH2/YPK2tvFanmpfVUHhyDYddGoqPMP/As4zrc1388RwvSIAvgokpLjwUOnoKb+J+tZihDgvvW5lhgk/rvzjW9f1LJSuDbV2s9p8VPKi3ZvoI5J/pi+S76JTG8+GkB2DwI56" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13816" + "14725" ], "x-ms-request-id": [ - "c88f9605-57ff-48c7-b1c1-55c0513682d3" + "444a6cbb-4c8a-4865-bb19-23681dfc86fb" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093817Z:c88f9605-57ff-48c7-b1c1-55c0513682d3" + "LOCAL:20190924T065909Z:444a6cbb-4c8a-4865-bb19-23681dfc86fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,11 +248,14 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 06:59:09 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", @@ -256,6 +264,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnit.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnit.json index 15272886c5e4..9da4b60373cf 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnit.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnit.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4e0b916b-5260-471a-8f5e-8d0934acdf90" + "1e783594-1ee8-4fe5-ba1e-704e7317917f" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:46 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "a39b185d-4034-49ed-8059-439634a52a25" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvj6MUPVF01sY+r2i3N8RjnxRX6CEAC4v/aqIqGoDKWif7nS7xEUofRRf2MFEvizva9YLuVCS1QJfDGkiErSpj8s0NKUQTwC17buauS9mYujEfmpzLiE+BFpV0jsQMtPuQz8H9tL+bqwRGLkg31Og+" - ], - "x-ms-correlation-request-id": [ - "8007438c-254e-4e42-8f3f-8124023631c7" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv/33KXjEyLiwj0WQlU0+SVJLFjCmHajkvFNEJyuE4N4HyynEeYon/09qw+QKOXV8830Iiv2XDjGnexy7IPM05KHDAy6J5wR49tN/TFJbh7pV8NUULFBmHOfOqccloxyKjJjSjaHWQ/Cmp06sbU81j" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13671" + "14746" ], "x-ms-request-id": [ - "8007438c-254e-4e42-8f3f-8124023631c7" + "a39b185d-4034-49ed-8059-439634a52a25" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093847Z:8007438c-254e-4e42-8f3f-8124023631c7" + "LOCAL:20190924T065740Z:a39b185d-4034-49ed-8059-439634a52a25" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:40 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3fa2e77e-5d36-499d-a205-39b5b58619ea" + "dbce5674-b2cd-4b02-8887-763915b96043" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:46 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "9ebee5fb-c03f-46d2-8158-7f325da27495" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvc/gcoqMCCPOZ6XzemtnqawfsnH5BcE6RFdQpMYya08xedfoZRrgjgOR7obEfqQgAXdV+qq2pUoChKrMiSqiZHI7bJwwL/DLwb+XwChhuFVmXml3mJyv3xm3TInwHVdT1CA7mJpZRSzHuJsTPCMG/" - ], - "x-ms-correlation-request-id": [ - "40687089-42e9-4891-8158-4d11272cdf51" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQ3S19kqXWT+oaBA1uMz+syYHQFDH9p1ROKz4b8U9PG9hcyZ4ieQk37nhnB9fwfBlmAozfMuT9R9AFnRRLbUTWhP5Ner4sHAUth5mu9kjITE1JM9vxBn265onPtZcaPZaKlCudnTcu1Fp4HeSx5Ov" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13670" + "14745" ], "x-ms-request-id": [ - "40687089-42e9-4891-8158-4d11272cdf51" + "9ebee5fb-c03f-46d2-8158-7f325da27495" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093847Z:40687089-42e9-4891-8158-4d11272cdf51" + "LOCAL:20190924T065740Z:9ebee5fb-c03f-46d2-8158-7f325da27495" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:40 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d2299ed3-b441-4417-9911-ba61547968a0" + "0887fbbc-d17c-4522-9e63-1ca365236460" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:46 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "9ba3500a-1b2d-42af-b9e5-07e6b4a14daa" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvt3KjmjWSSpLhMTVMjXkblF83mzIp7VJdbgkChx3ccJdyC0Xzh4+rav7u99svzKC376VcGzDbKqeiP0K7B8xjBUlpDK8foRk8wiQ9cKE/N/RgTU0fofM3VTfikZdU0THi4YLRe4EKXGIgsphqP5r8" - ], - "x-ms-correlation-request-id": [ - "fcaf0870-674d-42df-a0cd-3fd45a256c7e" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRveFvJcttJ2AwNgl1CWdb8q3DFLeElE5We18zVdCEDnIahry9pFbujFieA+PNfo7wSvHI09mayLRorMfTU9QFRrgbx37I776WxF2xgRHoyL8xDfVS5U3nDcsHIqsQazAwYIXLkDdWq3X354rb0NzmB" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13669" + "14744" ], "x-ms-request-id": [ - "fcaf0870-674d-42df-a0cd-3fd45a256c7e" + "9ba3500a-1b2d-42af-b9e5-07e6b4a14daa" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093847Z:fcaf0870-674d-42df-a0cd-3fd45a256c7e" + "LOCAL:20190924T065740Z:9ba3500a-1b2d-42af-b9e5-07e6b4a14daa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:40 GMT" + ], "Content-Length": [ - "608" + "610" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,12 +195,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNode.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNode.json index a6ed42a86048..4a80b4a80748 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNode.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNode.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6db1c83a-4fb0-41ab-ba2b-b50a42614b70" + "d2ace053-6e26-45b2-9c94-d1fd52f4a011" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:04 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "e3f57829-2723-47ca-a17a-fcbd44e4f674" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvodlBBJfF9U+Tj3sOpDqrRtm25biCT4P1WhwMJq72zyMycRLeqNsZ7BMoCK6dlvDByEB4g+vzTLNqZWC4Do+AktU/803E3CorafXeHoZnM+mchWvXLuKgN+5d5yNjK15JTPOGAveWIFh3JYU1Yi+4" - ], - "x-ms-correlation-request-id": [ - "45887047-498e-4cd5-b9af-b2dd8bceed95" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0ndf9h0t0ND2RRLmS3/F7HQ/gXDg/P2yRiUl60KHVicHB8Pg9WTj139j5jtjiC2QLF/alI/chrpr5hWXwFTAAoLy3/14PmH2nFeu4Xn7xlOgtHfoyTQeC9CWoSOooeOjuxdANHXSx5bpE90aLGg3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13855" + "14711" ], "x-ms-request-id": [ - "45887047-498e-4cd5-b9af-b2dd8bceed95" + "e3f57829-2723-47ca-a17a-fcbd44e4f674" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093805Z:45887047-498e-4cd5-b9af-b2dd8bceed95" + "LOCAL:20190924T070511Z:e3f57829-2723-47ca-a17a-fcbd44e4f674" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:10 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "70b7cc0d-a4c3-49fd-8e18-2b5a5e2f91f2" + "709c7dc5-29c9-4e5e-83bc-05993e3bd55e" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:04 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "7c98a690-bc96-4ccc-90aa-9ec02be974fe" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv4ylwwA7gEwx1Cyr3RAUtzatTu4qimhx2pIDfKSk+Re+Q6ozpQ0WVQiDnL8bx+MeDtViMvfHnn+v8p9SFHSxVin+oSSsUeW2xnd57aQswgMkXOceJjqGRJ7VaxrJPF4PnnyFJ3cu8lbOjTKU2lcUC" - ], - "x-ms-correlation-request-id": [ - "219b07b2-1caa-4743-ad77-939ccd03ca86" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv7oHS/Egcjg6KmJK9NUDLdi6RQhqmoVXEoTIkSRkke+0fcs2HCfOlWBf7+dEnQpeeOXsWoMRncJtbJCG+XUotv9ioifEW+MUWKhANlVqJH3YrPDPPLmIclNgNiLNg3xI2jBBSZ3J21BmXrUc22Ciy" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13854" + "14710" ], "x-ms-request-id": [ - "219b07b2-1caa-4743-ad77-939ccd03ca86" + "7c98a690-bc96-4ccc-90aa-9ec02be974fe" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093805Z:219b07b2-1caa-4743-ad77-939ccd03ca86" + "LOCAL:20190924T070511Z:7c98a690-bc96-4ccc-90aa-9ec02be974fe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:11 GMT" + ], "Content-Length": [ - "864" + "530" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\",\r\n \"name\": \"local/WSE-H9-2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"RequiresRemediation\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"lastOperationFailureReason\": \"The operation has failed. Please try again in a few minutes. If the problem persists, then drain and restart the scale unit node. If that doesn't address the issue then contact customer support before attempting a repair.\",\r\n \"lastOperationName\": \"StartMaintenanceMode\",\r\n \"lastOperationState\": \"Failed\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\",\r\n \"name\": \"local/HC1n22r0412\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Adding\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvV1NFLUg5LTI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjIycjA0MTI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c89418b4-ba40-49c7-babe-923cbf8f596f" + "f0ea42c0-1f24-4954-a262-b3b3acc165db" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:05 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "a5e623b8-b4f3-4916-8812-ab09d8cf099b" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvh7b6/TpXK+uBCHrLc1nrtweWEwF8L0/XCaWb2LT1C1gc6UkZPsZ06QOOw8N6HRfXqEX9hlxDZ8alwxYtJyT45cy6YzXeXQ2CW31fF20McdfaxVlY21yvTnBQcxMk823Lk25Q6aXvruMHAtrVJMxy" - ], - "x-ms-correlation-request-id": [ - "af0d89a0-125b-4727-a3b7-920e737daad8" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvNMFnet901tETaZ9BQX+VzUqWCAFQSM0BVe0PW4QFuvV9B2elduVxeWW7eyi4vkNCgFaLMjMNWV3Cs31AAjswpab21yF7qJBfeyBXykgfM0+f9JfGErtOPb5EGtEXCect3NTLFa8fKkXG0Zq5rYmO" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13853" + "14709" ], "x-ms-request-id": [ - "af0d89a0-125b-4727-a3b7-920e737daad8" + "a5e623b8-b4f3-4916-8812-ab09d8cf099b" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093805Z:af0d89a0-125b-4727-a3b7-920e737daad8" + "LOCAL:20190924T070511Z:a5e623b8-b4f3-4916-8812-ab09d8cf099b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:11 GMT" + ], "Content-Length": [ - "852" + "518" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,12 +195,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\",\r\n \"name\": \"local/WSE-H9-2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"RequiresRemediation\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"lastOperationFailureReason\": \"The operation has failed. Please try again in a few minutes. If the problem persists, then drain and restart the scale unit node. If that doesn't address the issue then contact customer support before attempting a repair.\",\r\n \"lastOperationName\": \"StartMaintenanceMode\",\r\n \"lastOperationState\": \"Failed\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\",\r\n \"name\": \"local/HC1n22r0412\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Adding\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n }\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNodeOnTenantVM.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNodeOnTenantVM.json index ce1e24e31155..db86ac06bf86 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNodeOnTenantVM.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNodeOnTenantVM.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c59258cf-9c9c-4245-9b2c-ffb2896cba52" + "d1306252-bc5e-49e4-9b21-12bf3de48921" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:33:41 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "c5adfb64-ea1e-40f2-85b9-669f2e986856" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvnO/OHex7T5y8CqnW9+cXLx57fK0A29+R87L13660dH/HfeoEZavxW+guYGEUz4GQV7moPqJvRYBKM4AcgH/Ts9NI2aF8WDNactoJBJSrjp20sR/uyeNDJIThTbQhOGUdu8+mDsZnk5hnntGuGVU5" - ], - "x-ms-correlation-request-id": [ - "38c30b0c-5696-41c8-9d00-2d9576cc6e1c" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvenTRW9WPoiYpDS+onUmIbNb7Ggf2bGX30GSNU6HRuQDfngERHJRpAmopP3tXHGXlsW4//L3+iEXSSA/glRIxTwoSCHhVLTNSA4NHAePd02j9T41TqoStC5vpQCmox56fvYIK0o0Ltja1EPHnY6Qk" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13757" + "14722" ], "x-ms-request-id": [ - "38c30b0c-5696-41c8-9d00-2d9576cc6e1c" + "c5adfb64-ea1e-40f2-85b9-669f2e986856" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093341Z:38c30b0c-5696-41c8-9d00-2d9576cc6e1c" + "LOCAL:20190924T070023Z:c5adfb64-ea1e-40f2-85b9-669f2e986856" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:00:23 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5bd25dfe-5c31-4fc2-84bd-21e6b2130e26" + "caa1431b-4d9c-4664-8759-9692c1f55445" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:33:41 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "f5a9cc6f-e750-4ed9-98bc-87175fff4beb" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvqvy0fdYflxYAay+UdhSIK0drpqGRMbbB/2PIsBAX9+SflgzINw0LcOqqN+f9ipznS1rQoCH0LX3+id76mhWP2Mn1+CoaRjgCDc4uqNYsPSR678MPRuW4/xkWUKi3ymJlbC8UoT/Njb/M/cL3mXI6" - ], - "x-ms-correlation-request-id": [ - "cbc7d9e0-7067-4317-91fd-1cd52794d7f6" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvLniJNet8NcU1Iac1hP+nEE5NxB0A17YD7XM0c7ySOc15huLOfHhGi88xINffLlu0G/ntPpuVXTcl8zr0V1FOQWb7nEFhjh5o4WhUhCtjSGNRXhwyPt+kfOeQCQAeLcYSrRWbe0k7eo3P58/Wk+6g" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13756" + "14721" ], "x-ms-request-id": [ - "cbc7d9e0-7067-4317-91fd-1cd52794d7f6" + "f5a9cc6f-e750-4ed9-98bc-87175fff4beb" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093341Z:cbc7d9e0-7067-4317-91fd-1cd52794d7f6" + "LOCAL:20190924T070031Z:f5a9cc6f-e750-4ed9-98bc-87175fff4beb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,11 +116,14 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 07:00:31 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", @@ -128,6 +132,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStoragePool.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStoragePool.json deleted file mode 100644 index f6735e1d84e5..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStoragePool.json +++ /dev/null @@ -1,264 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "6896d837-387c-4957-af6d-caf216aa157d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvi2tv0hNYZzsTI/uqd5Q4+tqO+hhcwFrooDQGFdKOsqyQ74luidDJL5tJkhKOJbn4bjM3wc9eLxaPanXwgiDwVAftdjDeWQPYr9Ta43L9PxRRKNrwDCX5DIswsnRe0E3tltyrd6SpdVivnnA62UcB" - ], - "x-ms-correlation-request-id": [ - "d9a3e72d-f4d2-445a-b4e5-1fc2177e7b3c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13803" - ], - "x-ms-request-id": [ - "d9a3e72d-f4d2-445a-b4e5-1fc2177e7b3c" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093820Z:d9a3e72d-f4d2-445a-b4e5-1fc2177e7b3c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "263" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "955e416b-c8f4-4176-9c37-15ce68145552" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvIU40w/s7DZD4hvZ4oe8ca2mbEcALq7/AttE1RkL/K8vrW89vD8pA9a//qgqqwkTYerxcg3g6Tb3z1NvxrN1KTii9rh2jsiwpenfHgX3GMZeGO4Xt3cdIwwWaTkXj2NWmtVK/yrco3PvwJOosUFa0" - ], - "x-ms-correlation-request-id": [ - "1fa10aed-8fba-465a-a689-69ef8c48357a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13802" - ], - "x-ms-request-id": [ - "1fa10aed-8fba-465a-a689-69ef8c48357a" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093820Z:1fa10aed-8fba-465a-a689-69ef8c48357a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "375" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "d584e4ff-ee9f-4261-b735-02c49eb928aa" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv01yHoeowzctopTjUUzsBSHty6ZhtDzg1oPLXJ/kdqO4AeckJl3T9sONvPMTcojCOgICy74R1UDx7Htz3PC5D0zPu+WCqeduw94pZvpCzlvtivpDE7/3feEfaUWWIlee7UExO7U3f3O/7JM3HaiqZ" - ], - "x-ms-correlation-request-id": [ - "78136a51-e6cd-4143-a7a9-f8f6153aa3c6" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13801" - ], - "x-ms-request-id": [ - "78136a51-e6cd-4143-a7a9-f8f6153aa3c6" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093820Z:78136a51-e6cd-4143-a7a9-f8f6153aa3c6" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "410" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"local/s-cluster.azurestack.local/SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 3343\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools/SU1_Pool?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "7f8816e6-7245-45a1-97e2-95f6fb412622" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRveeukhu3aCSNBQk8xIERVRFsG2RZQVzfAzzz3ToZldK8A/jE+i/Tr9YY4M8q272GLMzfBDUIeKQixeM+pDr8Y5kWfvrdFNMqBrnBLOm+kK+aYr0EYmKCgkilmBtD1LwVy5y/PyUozW1ATsELkqzah" - ], - "x-ms-correlation-request-id": [ - "af3631a9-6514-4bf6-8fec-9640b3429bd0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13800" - ], - "x-ms-request-id": [ - "af3631a9-6514-4bf6-8fec-9640b3429bd0" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093820Z:af3631a9-6514-4bf6-8fec-9640b3429bd0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"local/s-cluster.azurestack.local/SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 3343\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" - } -} \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStorageSubSystem.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStorageSubSystem.json index 43904233ed4f..336187fa1344 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStorageSubSystem.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStorageSubSystem.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8b69fa6d-ed51-4d53-924c-24a805d58c47" + "35436951-a80f-4efb-8fce-53a9d8da7667" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:30 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "39ad4726-7e8c-4dc8-bfc9-8964fe56ae02" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv7+sZgLiLeSklevIanVgro7oWU88OhdCJQZC7JmbFCId+0WzfrlOAxL9SdFCxQ89Du032gwK/ZwGn0q3god/gGbaer+zOFAbUakKPDpsOPGOPKd/bo3Kgw70VS9tY3GExrf2D2gsJZxT0xAiMHpk3" - ], - "x-ms-correlation-request-id": [ - "f184bd74-f06b-4f75-b77c-ba1459372dc8" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvUUXnQ1I9Flaor2Pk6DcofjOyrc/SCmAxXhz+QDK85C/HO8ihMMipMucebEB4AVwzUdIwi1uPfUI0eq92e4dp800Zt5/7sncDk+4HBqH8mNgpJqcxwpuGrbZLt1LbSYfCb1V4gRanrser6J3YHX1v" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13809" + "14699" ], "x-ms-request-id": [ - "f184bd74-f06b-4f75-b77c-ba1459372dc8" + "39ad4726-7e8c-4dc8-bfc9-8964fe56ae02" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093230Z:f184bd74-f06b-4f75-b77c-ba1459372dc8" + "LOCAL:20190924T070527Z:39ad4726-7e8c-4dc8-bfc9-8964fe56ae02" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:27 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f6ff1cd2-5fc3-4550-912a-e833a942cd51" + "3b517f4b-a367-4914-a88c-8804757e1fe7" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:30 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "4a1e2337-a278-4119-8573-cbfbba9e76e9" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvGtsz8WH05zKX2UXHMAXGaKirDGCO+ZKJI/TrW7CYMQGLN0EHCIlk2o4BCPJT71uXmlafJxTqkzr5SPyaYVIaLAhP4nJ8Zr0K1iGXuT+NopKrF7vjDkAMuYrSe1N5lGt71YC22XPBId2D+r1RuRDU" - ], - "x-ms-correlation-request-id": [ - "a65ebad6-9088-4e74-abe1-d2df7cb252dc" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvofzoOkyjRQ/UdcjPws8WgmgNOwVvxVFoNu5ltBeiGftrvauIUy1ZyjaNTFqTTC7lv9UlgOBzdllB4wndj9sPYZuJWEEujnK/7j2Q1uSWDYPlSaEtEjp5aLjs5/j9XpJnTdnNOuBNXKwKaog8rZju" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13808" + "14698" ], "x-ms-request-id": [ - "a65ebad6-9088-4e74-abe1-d2df7cb252dc" + "4a1e2337-a278-4119-8573-cbfbba9e76e9" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093230Z:a65ebad6-9088-4e74-abe1-d2df7cb252dc" + "LOCAL:20190924T070527Z:4a1e2337-a278-4119-8573-cbfbba9e76e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:27 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "689d6f6c-0193-47a1-9a0e-2ee12ce69ce3" + "562e3881-28fe-47bd-b534-cecd17460ec6" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:30 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "a5568a5c-d8a4-4f8b-833d-6eec773a045a" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvcb+qc89oxCSbdo2DWzUcfq1TeNPElS+lPApJ25t0hmHgsZP8cWw/nSGwsV72ekHBwyskkTz9x5ycLGlnNvay27V1HowX9mDoh5zHB5F6itBwTws/mmmsZkxP4qsTLnbTD3S5kdjkUHb2XCzQK93s" - ], - "x-ms-correlation-request-id": [ - "3d320f11-c731-4540-8768-3dd51fcfaf21" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvVCNGhvGa7aBhDBX0ad5TAw+H/N1H44zRVCJJiBA7LVDnb13asRj9Qc+JZjvjwdmLBGbiCng9OrjxiO5ifjX14cm8gprGLWorS5ykFMDhuX+rI8BZ5A0l7R5frqBDdHV0aqgaQWUIFb8YsvnamvpX" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13807" + "14697" ], "x-ms-request-id": [ - "3d320f11-c731-4540-8768-3dd51fcfaf21" + "a5568a5c-d8a4-4f8b-833d-6eec773a045a" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093230Z:3d320f11-c731-4540-8768-3dd51fcfaf21" + "LOCAL:20190924T070527Z:a5568a5c-d8a4-4f8b-833d-6eec773a045a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:27 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "51ed626e-d926-4f42-a4ec-7cb073de1a28" + "e69ef0cb-760c-4d21-bbb8-4548f0852ba1" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:31 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "b919cfb7-e17e-4a59-bd57-b41695dc993e" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOxMb3lUMDD/J0Xp3J+kJRQuM1vAOCwm7cjjlN/P+oM7BZuAqvZggXvK3qsa2z7xpm6woVjXYvdCkvg1BmD/4+iVXua/qIDXhSE9m00ZZGONf10m4Nob6jyBawQDukP8OpuV+UaAGmFthVFCMN0s/" - ], - "x-ms-correlation-request-id": [ - "53202039-ecd3-4237-adf8-5e4c3cccb670" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvGEDW/Rs4UGPLSsM2lIWo/CWK/eTdiHGMhrmhucNAqBj2/wvrBIIge5O5sPAXUo/8CkZcFvKQUbDPKU7PPZIijcyn0LSAPejfRW3joiJkuTaZB66/a3y/cqEEOpTqB4s+CJsU8QhpBu2lEeJ3Coe6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13806" + "14696" ], "x-ms-request-id": [ - "53202039-ecd3-4237-adf8-5e4c3cccb670" + "b919cfb7-e17e-4a59-bd57-b41695dc993e" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093231Z:53202039-ecd3-4237-adf8-5e4c3cccb670" + "LOCAL:20190924T070528Z:b919cfb7-e17e-4a59-bd57-b41695dc993e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:27 GMT" + ], "Content-Length": [ - "503" + "505" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,12 +261,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStorageSystem.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStorageSystem.json deleted file mode 100644 index 1d78440f2994..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetStorageSystem.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "fc053ee4-16e5-4126-8a32-559958bc6e8d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvZF2h9sHPXF1Zv8n8Mpd85UVEgEBKgFxlF8D5QwmBErO6VZTZ91LwDjqrzPHUpJ2ssb/AorWUZlIDGX9zssRdogla0YbssxZc9A3QRJbGvB+GBrWCtE4ZXMJD9EAV68Vo5TU9Y3zoK4kyGR54V/2d" - ], - "x-ms-correlation-request-id": [ - "e7871c85-be93-43d2-922b-cc8a9d180279" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13772" - ], - "x-ms-request-id": [ - "e7871c85-be93-43d2-922b-cc8a9d180279" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093237Z:e7871c85-be93-43d2-922b-cc8a9d180279" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "263" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "a2563254-bf13-4702-bab2-5d4badddd614" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvmif2qLeYt9/WKdDQCNgDWoILGtjs47weWh0sg8L4tlcDCy49F5eAuzeGQAHKdxjx5x+mWmudpqOvUZO63+gMefWy3GRwzxDFDdOUA25BABp1tWIFmwC4ZPxH9mrAVU4l+vBpU/PF8v45Bt6HGjFp" - ], - "x-ms-correlation-request-id": [ - "8aa8348e-453c-41f2-a054-ec01728500cc" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13771" - ], - "x-ms-request-id": [ - "8aa8348e-453c-41f2-a054-ec01728500cc" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093238Z:8aa8348e-453c-41f2-a054-ec01728500cc" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "375" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "c4f72821-6a23-43ab-a7cd-70e47ca7e924" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQQTro/0mP0sQ7kfTSdKqHsY9WtC/oHENTkif7/s8qOwSbngbr6ySR9Ww9acUG+UFD5bc6Gqxl+syot3F0jy6UXDEgtRhMmoOSuP8Dm5/q1c2Y0bhqyc6votbmPct+VYiRhT7+pgHhbSQk2PAqnUq" - ], - "x-ms-correlation-request-id": [ - "074fa213-e609-4fa2-8445-f7ab2aac1a36" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13770" - ], - "x-ms-request-id": [ - "074fa213-e609-4fa2-8445-f7ab2aac1a36" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093238Z:074fa213-e609-4fa2-8445-f7ab2aac1a36" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "363" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" - } -} \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetVolume.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetVolume.json index c7fcdfa3707d..30b7c1217e34 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetVolume.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestGetVolume.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d6615838-2ad3-4015-8271-43ad09b1d3d9" + "c7c84e48-631f-4f0d-b15e-97b7f45b006b" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:17 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "76037d9b-b33b-4818-8ccc-a9d52e4f1adc" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvew40kjkmNtDjf45HuFWAJlQ6ULmIihTqJrC0zek7cxcUNV/HOquYLg1dbcYYaqIwsaSJ/CRmE2QpLCte0+UizGd2eSN680Jbxl2ehXiUUBwFDnixvZ7IcfnEv8ejyXYnQLoyeDselO52WL8QIluZ" - ], - "x-ms-correlation-request-id": [ - "8da68c14-0873-4c90-a80a-32a17d7d093f" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuKwUyLWelwj2jJlg3z7Xai0assa2O3Rh4YxIMfy9ZzuxLkTLeSBVpL63D3FbLxMkJjUKpVhePiLGWlDodBYtYebWVkaICtK3U8ow2FaGXJUSGtDdTtXrfezXsbUQN9NztAvWQVCJjZWlBxNMGjSF" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13815" + "14724" ], "x-ms-request-id": [ - "8da68c14-0873-4c90-a80a-32a17d7d093f" + "76037d9b-b33b-4818-8ccc-a9d52e4f1adc" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093818Z:8da68c14-0873-4c90-a80a-32a17d7d093f" + "LOCAL:20190924T065911Z:76037d9b-b33b-4818-8ccc-a9d52e4f1adc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:59:11 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6ca50594-eed3-4743-b345-2c99060911b2" + "e229d6c7-664c-4339-b332-b101118c5e16" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:18 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "594ed9e9-4248-4c11-9200-5fc20d68463f" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwgQP6HoGy7ga0ndG01h6PTkynefK0vqBg7kfsMV53U8RKGxA7VYw48BugzYzG7hOFvhGDQiDhkNBDhhTtEvo12ZqaOkdApBgyDk/+uhyGXlBM99aFRLzenuqNJX14aLvR07D5oOV50qbF6hE7mQd" - ], - "x-ms-correlation-request-id": [ - "50983244-f116-4675-a895-0bbaaa81f36f" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkfQ4a5Kvn+gCBzbTEfKxOEENn/lQPNqgmbhiI+GG6ltke1tlp8/iDfd8zFoO1sdV7fs212R5q40HjVY9EAhIsd1nW9LKcarkiJDMelpqthihVkxAWBPfs8GsGwt/aIDm30K+vtdHvzWsy7xH2r9q" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13814" + "14723" ], "x-ms-request-id": [ - "50983244-f116-4675-a895-0bbaaa81f36f" + "594ed9e9-4248-4c11-9200-5fc20d68463f" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093818Z:50983244-f116-4675-a895-0bbaaa81f36f" + "LOCAL:20190924T065911Z:594ed9e9-4248-4c11-9200-5fc20d68463f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:59:11 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7dd3b29a-52a0-4cd1-bd22-4a6a56a39c46" + "74453442-2460-4e5e-9ce7-46fc7e854888" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:18 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "b823363b-a899-4ad0-b236-ada0015eb5a8" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvis3ImFc+VLNHNmZ6D83WDVBsPpNZ9WcAUrIhaJvtx1R4cre5tfrCHkr5qmBdRx8X5Mbp3+SbE5bbdy2dk37tJ0Blmc6TGVkrkAZ+PRx98Xb5ILvU5+W3bRaq/j5rBeN/GZ07zA0u6YM7s6OMGOPJ" - ], - "x-ms-correlation-request-id": [ - "4ad97ede-81ac-4f2c-ae33-e15ed41737cf" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvzk2SWLM9lNZ26CvZhdrsSoOZGTDV7BQgQUVwQPHQd5CTmQEBJvu0rWiBbw107O/fSfnkk5ErqcMjEJx6nYaQWAeg6w6rGHMCjueA54+4rAMSXqBdXdyxRpgYaWGbDT/VhW2MyIdu119uGcAntVT0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13813" + "14722" ], "x-ms-request-id": [ - "4ad97ede-81ac-4f2c-ae33-e15ed41737cf" + "b823363b-a899-4ad0-b236-ada0015eb5a8" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093818Z:4ad97ede-81ac-4f2c-ae33-e15ed41737cf" + "LOCAL:20190924T065918Z:b823363b-a899-4ad0-b236-ada0015eb5a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:59:18 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcz9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcz9hcGktdmVyc2lvbj0yMDE5LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ef0dbe13-8273-4b8b-a236-f13720b4b62a" + "fcdd7215-848c-4eaa-8f30-04d9f26b0bad" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:18 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "252d7bce-9880-4637-a99b-8dcce97315ba" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvKIGCAwa/3SDAbA+5TMd7Q1FSfRVaymfjabC9+8LKl7vbaW6CRhfSa43ovJTiykLxMQCBKR0+ggbSypeDiD+YKGdUvtqG8CXxJONQWomWqBlqru5NdTMI4NvyicIA8fEdTmkTnETEIYR70fkmC+8F" - ], - "x-ms-correlation-request-id": [ - "737f569c-1b89-4805-ba13-d305a590d2ae" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvna9hyJD4FTeLeLEn4ku/veB2nsO44WXizORTZKaQfW9+WDHYLCViQMKllhadtJHn9A8wmlDRLKx0fwoSnRUXoZZ1J38cFZo3C4k87HwT4+x7MYJxwQazNZhXIcCXuX46kiOjyluG7dscwVzMnbFf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13812" + "14721" ], "x-ms-request-id": [ - "737f569c-1b89-4805-ba13-d305a590d2ae" + "252d7bce-9880-4637-a99b-8dcce97315ba" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093818Z:737f569c-1b89-4805-ba13-d305a590d2ae" + "LOCAL:20190924T065918Z:252d7bce-9880-4637-a99b-8dcce97315ba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:59:18 GMT" + ], "Content-Length": [ - "650" + "660" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,53 +261,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/5D3DB5EEC80EB94BB86AAC8F8C6AE67E?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcy81RDNEQjVFRUM4MEVCOTRCQjg2QUFDOEY4QzZBRTY3RT9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/7192d313-c1d3-42dd-b1f6-e280d8c6b10d?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcy83MTkyZDMxMy1jMWQzLTQyZGQtYjFmNi1lMjgwZDhjNmIxMGQ/YXBpLXZlcnNpb249MjAxOS0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cb2e495a-159b-4ae9-8409-dd155f232897" + "02b5ba37-e22c-41ee-ba73-885c27bc5a54" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:18 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "23fa0ccc-3eaf-4f93-ad6c-9f166aade34d" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvG6ISRJg3PyWYdloRZHHb8+w0y0eej1D+F6SQgSJl7nTo0Qnx+OzU6sji1hhTO1GdvAG9tEA690Alh/CpUBQYuLPFSk8BwEpz0gZFYe1cqe1WvSKSwPmnD7EyAnNWPMWR+ebj8HnJz7K5O7N/ak4Z" - ], - "x-ms-correlation-request-id": [ - "a3d7ac17-81b8-4b71-a7c3-ab58153e6aa4" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvXlkozZekTDKfDNzDKDnwf9PQm4ASJUa+o1OFnDLYGGq9roW3kKbIl4j3xLxNHWaLCKQrN17jzNDlPX50FlUTNTmKjdHu2PFhGFkqZRAX1fD+WWc/J/T8I/GHqDzFe6rpcd7U/cDggEVxZEk4YK7l" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13811" + "14720" ], "x-ms-request-id": [ - "a3d7ac17-81b8-4b71-a7c3-ab58153e6aa4" + "23fa0ccc-3eaf-4f93-ad6c-9f166aade34d" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093818Z:a3d7ac17-81b8-4b71-a7c3-ab58153e6aa4" + "LOCAL:20190924T065918Z:23fa0ccc-3eaf-4f93-ad6c-9f166aade34d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,8 +314,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:59:18 GMT" + ], "Content-Length": [ - "638" + "648" ], "Content-Type": [ "application/json; charset=utf-8" @@ -317,12 +327,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListDrives.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListDrives.json index dbc9804e1b3b..57ded3f58082 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListDrives.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListDrives.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "233dbc9b-611a-47c5-be5b-4c8e82ed8596" + "f9930268-42fe-430d-9a43-360ada6add9a" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:22 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "ed431899-6261-494b-b3b7-037f42bbd748" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvf37nciH78gQ2nNNblCWmUEkx2fULEC5Mnkpf//mZbYYCbOascy2/9dTPafAWdpapj0Qh5dCDIBohF5Of5z1RB1hAB3+9tMxPEUN7Wn6css9PmgNfQDq8Pqm77IJCr205v3JLw9T2/VBiW8QWeiFs" - ], - "x-ms-correlation-request-id": [ - "c0492fb1-f14c-4705-b161-7565a53f6fde" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHOqi9WPN4fvHGJ4PwnuDPM3K5i/TuvsxdeQ9Yw9jA+cOaGabh0m+y9kiN7yQaGNex/BywyeOQpVjc5R8/mVMnXjn0PnhP5kWR8WWUi0gIXPa5ws+QYtTVj1KRc0zPSXuvRL1/wLjO53PMs4XP+Zp" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13790" + "14772" ], "x-ms-request-id": [ - "c0492fb1-f14c-4705-b161-7565a53f6fde" + "ed431899-6261-494b-b3b7-037f42bbd748" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093822Z:c0492fb1-f14c-4705-b161-7565a53f6fde" + "LOCAL:20190924T065725Z:ed431899-6261-494b-b3b7-037f42bbd748" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:25 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7e5a1197-0035-40bb-93d6-9b51e5cc4042" + "49735703-a261-4415-bd74-4827e50ef381" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:22 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "d0a356c8-bd33-43cc-893a-0d385a3a38b1" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvnwyVPL+Q+UtQ0rAmhNS9D6+K+a3FAnNVw/GtGJ/UJKxI6h4onPOa9UbPZq6il9GRKkMN2ZYHKanFYiTUByEG+jOfRlvbFfwF+LNPnX/n4Q0J5ct60qKAVcggrJoCeuseZP4rztX27MGS3NDXq6NP" - ], - "x-ms-correlation-request-id": [ - "197a8a8d-728e-4cf8-9adf-7571069e5c01" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkkCu9c/0eKATBHiCLNN23lN/O7+kYNeP2pX1b7W9Km5UGEL/ZeZauvgU5/Y9SHXuE5c9pJYLzym0BDgVLWlXvP+zE083FrK/yzXRt31jp48eyavvQXtcyVBIj/anlYQwihqV7WHJgvpubEB0xPWx" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13789" + "14771" ], "x-ms-request-id": [ - "197a8a8d-728e-4cf8-9adf-7571069e5c01" + "d0a356c8-bd33-43cc-893a-0d385a3a38b1" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093823Z:197a8a8d-728e-4cf8-9adf-7571069e5c01" + "LOCAL:20190924T065726Z:d0a356c8-bd33-43cc-893a-0d385a3a38b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:25 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "053ca596-1935-492a-8a79-aeae1253cbb6" + "b67823a8-c2a1-462a-9774-99dd7fe9d921" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:22 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "646c0f0c-891b-49c3-9edc-24683fc6d368" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvIWy632dkBg1VrAjZWlH8CwyywqMNzk5tGcbsOiKaVsxWuShwCENFmbYwhlzD/LQ0byHZ+A9pSl2a9gxt6o0RoxtwcHWUGttzU+Yi8kelgFn/XhfjauC28HucO+z16+OHoZtUjXNKSHVbLQ2gvAH6" - ], - "x-ms-correlation-request-id": [ - "ee2e967c-dbaf-4464-9145-c6f24eb13ed7" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv3ARLv2l78a3Pwt+3ZfZt0BIoYn0iFarBJwRRRfpD9MdUlmVNMULoVvoGqPQV53LSY/o8W+Kcu9uFsxTSbo+zXvbCq+bhCiv7RppVFYcP/2Yae2u1Mpmkkjd0um7uqO5Ol0Phc2pxstf7/VCowV0f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13788" + "14770" ], "x-ms-request-id": [ - "ee2e967c-dbaf-4464-9145-c6f24eb13ed7" + "646c0f0c-891b-49c3-9edc-24683fc6d368" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093823Z:ee2e967c-dbaf-4464-9145-c6f24eb13ed7" + "LOCAL:20190924T065726Z:646c0f0c-891b-49c3-9edc-24683fc6d368" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:25 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzP2FwaS12ZXJzaW9uPTIwMTgtMTAtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvZHJpdmVzP2FwaS12ZXJzaW9uPTIwMTktMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d3f6faa3-ee99-416a-884b-e1897d80804f" + "73d83992-a317-4e8e-88a0-f75d7b80935f" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:22 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "7a2cf6a6-9062-46aa-a48b-45cf8ef0e981" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvyeUEo3d7qDmlauCLRpSuWr0XAVStev2zkn0yLhHX+N2IUdWfacRZMgHl8xXmIzAPFKWe7cURWGEtulczfjXYCf0ghNSDt35VMx0ozUqYw+UofquC7m6FLlvt6Az44m9EEVVKyD1/Df52bod6tJQg" - ], - "x-ms-correlation-request-id": [ - "83edabd2-c1c1-4b26-afb7-a3ec136ab065" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvj5l4nGDvbch00uRhEDqNiiU5dZ7mOIbAylj5ZHQBu/EY5g8IVyFLxvM6Baw60vPeOzR7qJxKb2QyHBatsnXfC8jNSsN2DnNHmsPzXJCRFL8ED03/to43lXgiZZrElmFt4rajTnRiE7sr2pilxzCG" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13787" + "14769" ], "x-ms-request-id": [ - "83edabd2-c1c1-4b26-afb7-a3ec136ab065" + "7a2cf6a6-9062-46aa-a48b-45cf8ef0e981" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093823Z:83edabd2-c1c1-4b26-afb7-a3ec136ab065" + "LOCAL:20190924T065726Z:7a2cf6a6-9062-46aa-a48b-45cf8ef0e981" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:26 GMT" + ], "Content-Length": [ - "4973" + "14541" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,12 +261,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/17e7660d-36a7-39a4-9215-8912a6099329\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"007a1f8e05dd97022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 2 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/32e17f2a-7982-acb5-617e-15c72e6d50e6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"004b70e0092598022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 6 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7655049b-26ad-177b-cd33-e27c4b5116bd\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0005e3ae06f097022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 3 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/92abda1a-8a17-7015-ca12-a263d4156560\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"0069605d091d98022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 5 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/a654528c-60bb-18e1-457c-51b7cdb7e14a\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00eb090104c397022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 1 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/f9e93461-284c-9c7e-9dce-c9f395349cb0\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/WSE-H9-2\",\r\n \"serialNumber\": \"00582db6081298022100b751f4a0a38c\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Auto-Select\",\r\n \"canPool\": false,\r\n \"cannotPoolReason\": \"In a Pool\",\r\n \"physicalLocation\": \"Integrated : Adapter 0 : Port 1 : Target 4 : LUN 0\",\r\n \"model\": \"PERC H710\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 558,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{1db4b11c-34c9-a17d-3eee-a8317c8cc091}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G5E6\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 10\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2ee1cc60-9581-e352-e564-de7eda4fadec}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300424\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 2\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{2f8e5222-7f5c-3324-b37f-5a3f184ea746}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0GANS\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 14\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{37df6de4-b60e-477d-a714-2d46621320ce}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E89S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 4\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3b7ed512-9fde-1cfc-66e9-f66fbf34dbf1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0JS7L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 8\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{3fa409f0-e235-bd72-b9af-cb8251766c11}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G55L\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 6\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{41ed3018-e3a2-951e-5249-445527626c7b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300430\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 0\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{49c1bac5-6593-73fd-f3e2-eab7c019005f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300427\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 1\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{4fa702c2-1712-e5f1-b670-53d319272f8c}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G9A0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 15\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{625ccf1f-3c75-99b3-95f1-cced455198c1}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0G7K1\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 16\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{87cff7bf-ab9b-4617-8979-a9499109275d}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E6E9\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 5\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{ac430331-233e-7d17-1201-e8d2876d214b}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E2Y0\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 9\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{b1434010-afaa-3f7c-55b5-8e93aaa40a25}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E37S\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 11\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{c62c7d61-4796-9855-72ac-5356335747bd}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S2CXNAAH300395\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Cache\",\r\n \"physicalLocation\": \"Slot 3\",\r\n \"model\": \"MZ7KM1T6HAJM00D3\",\r\n \"firmwareVersion\": \"GB48\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"SSD\",\r\n \"capacityGB\": 1490,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{d16358a9-7fe3-2430-8a9d-fb32d364411f}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0E8H3\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 17\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/drives/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/{eec93a2f-b3f1-4682-91b3-26bbfb581368}:PD:{db010f4c-64b1-102d-0cde-4d42d9410946}\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"storageNode\": \"local/HC1n22r0412\",\r\n \"serialNumber\": \"S4D0DJPD\",\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"usage\": \"Capacity\",\r\n \"physicalLocation\": \"Slot 7\",\r\n \"model\": \"ST6000NM0024-1HT\",\r\n \"firmwareVersion\": \"MA33\",\r\n \"isIndicationEnabled\": false,\r\n \"manufacturer\": \"ATA\",\r\n \"storagePool\": \"SU1_Pool\",\r\n \"mediaType\": \"HDD\",\r\n \"capacityGB\": 5589,\r\n \"description\": \"\",\r\n \"action\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListFabricLocations.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListFabricLocations.json index a07cfc54a67b..abe2f2f5d8a4 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListFabricLocations.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListFabricLocations.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "727d5bf1-0d83-425f-82ee-ba38b079ee29" + "23dd9568-6861-4e39-bc1a-804aca047829" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:33 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "874ec18f-fdcc-44df-8640-f2a15f2f496f" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYNWCvm0fDjmXfqtKKJspj6wtgP/ZCmrtqN+6G6EKkh57MVjy/vb9mHWyLyp4l4ZSrm20celHtSjtm1Ez7b8kniawhlTFv1mIitQvm6t2KjS3d+YvaAi2miWq4hG0vfv//cUeezXOQu1WJ0wpE+Xc" - ], - "x-ms-correlation-request-id": [ - "11f0195d-a6f7-4bca-8c10-c71e9a4aa311" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQfdsF+YIpm6wB+glW3aAqJLen3HjT4ZOmryxp3YVd/+t0YmfZEi52LgeIOBQL9+IPMAJQaref4uHLp/6IQl0f+jjzwHgmluIKkONUpCrGmuk0ba8CwlSG4kwWGpeq1HK0LloqMnf/PoJTglHxcO8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13791" + "14784" ], "x-ms-request-id": [ - "11f0195d-a6f7-4bca-8c10-c71e9a4aa311" + "874ec18f-fdcc-44df-8640-f2a15f2f496f" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093234Z:11f0195d-a6f7-4bca-8c10-c71e9a4aa311" + "LOCAL:20190924T065711Z:874ec18f-fdcc-44df-8640-f2a15f2f496f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:11 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,12 +63,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListOperations.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListOperations.json index 458a159d813d..1e25b1841a31 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListOperations.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListOperations.json @@ -7,43 +7,42 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0c6bcd30-c5ac-4e64-aeb8-a10672869ede" + "39afc23c-9fbf-41b2-b9fe-75d32b293531" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:08 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "42fb3ecf-97d4-446d-b584-5baf9fa866e7" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv9obZlGYy9Oksd4jgJ7fsM/itHz+2skcT12NzOps9eA6lFsMhRc19ZO6TqFl2y+9SDFQSjt6R9ubVadws0CoCuPMni5XKknbesTCxXrYkwhRxSg+uh5g9nn6Qm4ERELagsHpaFqnyH14VzBgveA1F" - ], - "x-ms-correlation-request-id": [ - "c18f7afe-b7cb-4da0-a1fd-487c385b06e1" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvASzuhayfB8qKlkzfJ8Eco1KnZqjCaG7/vAGdiBNKvfmSTQmDEuKycZnUsZkT4KV4z7Of1v67SKuyh2YdqRR/DEAZ2EPqcfmPhyEBjHkbHKY6p4YzXoFi1rYx5U7HF4hrL0I+a4R08RuqqIrw0fAg" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "14725" + "14932" ], "x-ms-request-id": [ - "c18f7afe-b7cb-4da0-a1fd-487c385b06e1" + "42fb3ecf-97d4-446d-b584-5baf9fa866e7" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093808Z:c18f7afe-b7cb-4da0-a1fd-487c385b06e1" + "LOCAL:20190924T070516Z:42fb3ecf-97d4-446d-b584-5baf9fa866e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:16 GMT" + ], "Content-Length": [ - "3191" + "18500" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,12 +63,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnits/ScaleOut\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit\",\r\n \"operation\": \"Add a Node to a Scale Unit\",\r\n \"description\": \"Add a Node to a Scale Unit\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnits/CreateFromJson\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit\",\r\n \"operation\": \"Add a Scale Unit\",\r\n \"description\": \"Add a Scale Unit\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnitNodes/PowerOff\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Power off Scale Unit Node\",\r\n \"description\": \"Powers off a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnitNodes/PowerOn\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Power on Scale Unit Node\",\r\n \"description\": \"Powers on a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnitNodes/ShutDown\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Shut down Scale Unit Node\",\r\n \"description\": \"Shuts down a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnitNodes/StartMaintenanceMode\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Start maintenance Scale Unit Node\",\r\n \"description\": \"Starts maintenance on a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnitNodes/StopMaintenanceMode\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Stop maintenance Scale Unit Node\",\r\n \"description\": \"Stops maintenance on a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/scaleUnitNodes/Repair\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Repair Scale Unit Node\",\r\n \"description\": \"Repairs a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/infraRoleInstances/PowerOff\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Power off Infrastructure Role Instance\",\r\n \"description\": \"Powers off an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/infraRoleInstances/PowerOn\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Power on Infrastructure Role Instance\",\r\n \"description\": \"Powers on an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/infraRoleInstances/Shutdown\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Shutdown an Infrastructure Role Instance\",\r\n \"description\": \"Shutdown an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/infraRoleInstances/Reboot\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Reboot an Infrastructure Role Instance\",\r\n \"description\": \"Reboot an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/ipPools/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"IP Pool\",\r\n \"operation\": \"Create or update IP Pool\",\r\n \"description\": \"Creates or updates an IP Pool\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role\",\r\n \"operation\": \"Get infrastructure roles\",\r\n \"description\": \"Gets the infrastructure roles\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles/restart/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role\",\r\n \"operation\": \"Restart infrastructure role\",\r\n \"description\": \"Restart the infrastructure role\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/applicationOperationResults/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Application Service Operation Result\",\r\n \"operation\": \"Get application service operation results\",\r\n \"description\": \"Gets the application service operation results\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Fabric Resource Provider Operations\",\r\n \"operation\": \"Get the Fabric Resource Provider operations\",\r\n \"description\": \"Lists the operations support by the Fabric Resource Provider\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Metric Definitions\",\r\n \"operation\": \"Read Metric Definitions\",\r\n \"description\": \"Read Metric Definitions\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"VolumeRemainingCapacity\",\r\n \"displayName\": \"Volume Remaining Capacity (Preview)\",\r\n \"displayDescription\": \"Remaining storage capacity of the volume\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1H\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Capacity\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeType\",\r\n \"displayName\": \"Volume Type\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeLabel\",\r\n \"displayName\": \"Volume Label\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeVMDiskProvisionedCapacity\",\r\n \"displayName\": \"Volume VM Disk Provisioned Capacity (Preview)\",\r\n \"displayDescription\": \"Total provisioned size of page blobs and managed disks/snapshots\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1H\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Capacity\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeType\",\r\n \"displayName\": \"Volume Type\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeLabel\",\r\n \"displayName\": \"Volume Label\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeVMDiskUsedCapacity\",\r\n \"displayName\": \"Volume VM Disk Used Capacity (Preview)\",\r\n \"displayDescription\": \"Total used size of page blobs, managed disks/snapshots and virtual machine images\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1H\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Capacity\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeType\",\r\n \"displayName\": \"Volume Type\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeLabel\",\r\n \"displayName\": \"Volume Label\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOtherUsedCapacity\",\r\n \"displayName\": \"Volume Other Used Capacity (Preview)\",\r\n \"displayDescription\": \"Total used size of block blobs, append blobs, tables, queues and blob metadata\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1H\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Capacity\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeType\",\r\n \"displayName\": \"Volume Type\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeLabel\",\r\n \"displayName\": \"Volume Label\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeTotalCapacity\",\r\n \"displayName\": \"Volume Total Capacity (Preview)\",\r\n \"displayDescription\": \"Total storage capacity of the volume\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"supportedTimeGrainTypes\": [\r\n \"PT1H\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Capacity\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeType\",\r\n \"displayName\": \"Volume Type\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeLabel\",\r\n \"displayName\": \"Volume Label\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsLatencyAverage\",\r\n \"displayName\": \"Volume Operations Latency Average (Preview)\",\r\n \"displayDescription\": \"Average latency of all operations to or from the volume\",\r\n \"unit\": \"Milliseconds\",\r\n \"aggregationType\": \"Average\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsLatencyRead\",\r\n \"displayName\": \"Volume Operations Latency Read (Preview)\",\r\n \"displayDescription\": \"Average latency of read operations from this volume\",\r\n \"unit\": \"Milliseconds\",\r\n \"aggregationType\": \"Average\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsLatencyWrite\",\r\n \"displayName\": \"Volume Operations Latency Write (Preview)\",\r\n \"displayDescription\": \"Average latency of write operations to this volume\",\r\n \"unit\": \"Milliseconds\",\r\n \"aggregationType\": \"Average\",\r\n \"supportedAggregationTypes\": [\r\n \"Average\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsTotal\",\r\n \"displayName\": \"Volume Operations Total (Preview)\",\r\n \"displayDescription\": \"Total number of read or write operations completed by the volume\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsRead\",\r\n \"displayName\": \"Volume Operations Read (Preview)\",\r\n \"displayDescription\": \"Number of read operations completed by this volume\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsWrite\",\r\n \"displayName\": \"Volume Operations Write (Preview)\",\r\n \"displayDescription\": \"Number of write operations completed by this volume\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsThroughputTotal\",\r\n \"displayName\": \"Volume Operations Throughput Total (Preview)\",\r\n \"displayDescription\": \"Total quantity of data read from or written to the volume\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsThroughputRead\",\r\n \"displayName\": \"Volume Operations Throughput Read (Preview)\",\r\n \"displayDescription\": \"Quantity of data read from this volume\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n },\r\n {\r\n \"name\": \"VolumeOperationsThroughputWrite\",\r\n \"displayName\": \"Volume Operations Throughput Write (Preview)\",\r\n \"displayDescription\": \"Quantity of data written to this volume.\",\r\n \"unit\": \"Bytes\",\r\n \"aggregationType\": \"Total\",\r\n \"supportedAggregationTypes\": [\r\n \"Total\"\r\n ],\r\n \"enableRegionalMdmAccount\": false,\r\n \"fillGapWithZero\": false,\r\n \"category\": \"Volume Performance\",\r\n \"dimensions\": [\r\n {\r\n \"name\": \"ScaleUnit\",\r\n \"displayName\": \"Scale Unit\",\r\n \"toBeExportedForShoebox\": false\r\n },\r\n {\r\n \"name\": \"VolumeName\",\r\n \"displayName\": \"Volume Name\",\r\n \"toBeExportedForShoebox\": false\r\n }\r\n ],\r\n \"resourceIdDimensionNameOverride\": \"Region\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Fabric Location\",\r\n \"operation\": \"Get fabric locations\",\r\n \"description\": \"Gets the fabric locations\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit\",\r\n \"operation\": \"Get scale units\",\r\n \"description\": \"Gets the scale units\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/scaleOut/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit\",\r\n \"operation\": \"Add a Node to a Scale Unit\",\r\n \"description\": \"Add a Node to a Scale Unit\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/createFromJson/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit\",\r\n \"operation\": \"Add a Scale Unit\",\r\n \"description\": \"Add a Scale Unit\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Get scale unit nodes\",\r\n \"description\": \"Gets the scale unit nodes\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes/powerOff/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Power off Scale Unit Node\",\r\n \"description\": \"Powers off a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes/powerOn/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Power on Scale Unit Node\",\r\n \"description\": \"Powers on a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes/shutDown/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Shut down Scale Unit Node\",\r\n \"description\": \"Shuts down a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes/startMaintenanceMode/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Start maintenance Scale Unit Node\",\r\n \"description\": \"Starts maintenance on a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes/stopMaintenanceMode/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Stop maintenance Scale Unit Node\",\r\n \"description\": \"Stops maintenance on a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes/repair/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Scale Unit Node\",\r\n \"operation\": \"Repair Scale Unit Node\",\r\n \"description\": \"Repairs a Scale Unit Node\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Get infrastructure role instances\",\r\n \"description\": \"Gets the infrastructure role instances\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances/powerOff/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Power off Infrastructure Role Instance\",\r\n \"description\": \"Powers off an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances/powerOn/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Power on Infrastructure Role Instance\",\r\n \"description\": \"Powers on an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances/shutdown/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Shutdown an Infrastructure Role Instance\",\r\n \"description\": \"Shutdown an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances/reboot/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Infrastructure Role Instance\",\r\n \"operation\": \"Reboot an Infrastructure Role Instance\",\r\n \"description\": \"Reboot an Infrastructure Role Instance\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/computeOperationResults/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Compute Service Operation Result\",\r\n \"operation\": \"Get compute service operation results\",\r\n \"description\": \"Gets the compute service operation results\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"IP Pool\",\r\n \"operation\": \"Get IP Pools\",\r\n \"description\": \"Gets the IP Pools\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"IP Pool\",\r\n \"operation\": \"Create or update IP Pool\",\r\n \"description\": \"Creates or updates an IP Pool\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Logical Network\",\r\n \"operation\": \"Get logical networks\",\r\n \"description\": \"Gets the logical networks\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Logical Subnet\",\r\n \"operation\": \"Get logical subnets\",\r\n \"description\": \"Gets the logical subnets\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/macAddressPools/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"MAC Address Pool\",\r\n \"operation\": \"Get MAC address pools\",\r\n \"description\": \"Gets the MAC address pools\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Edge Gateway Pool\",\r\n \"operation\": \"Get edge gateway pools\",\r\n \"description\": \"Gets the edge gateway pools\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGateways/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Edge Gateway Pool\",\r\n \"operation\": \"Get edge gateway pools\",\r\n \"description\": \"Gets the edge gateway pools\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Edge Gateway Pool\",\r\n \"operation\": \"Get edge gateway pools\",\r\n \"description\": \"Gets the edge gateway pools\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/networkOperationResults/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Network Service Operation Result\",\r\n \"operation\": \"Get network service operation results\",\r\n \"description\": \"Gets the network service operation results\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"File Shares\",\r\n \"operation\": \"Read File Shares\",\r\n \"description\": \"Read any file shares\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Storage Subsystems\",\r\n \"operation\": \"Read Storage Subsystems\",\r\n \"description\": \"Read any storage subsystems\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Storage Pools\",\r\n \"operation\": \"Read Storage Pools\",\r\n \"description\": \"Read any storage pools\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Volumes\",\r\n \"operation\": \"Read Volumes\",\r\n \"description\": \"Read any volumes\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Storage Subsystems\",\r\n \"operation\": \"Read Storage Subsystems\",\r\n \"description\": \"Read any storage subsystems\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Drives\",\r\n \"operation\": \"Read Drives\",\r\n \"description\": \"Read any drives\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Volumes\",\r\n \"operation\": \"Read Volumes\",\r\n \"description\": \"Read any volumes\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Fabric.Admin/fabricLocations/storageOperationResults/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Fabric Resource Provider\",\r\n \"resource\": \"Storage Service Operation Result\",\r\n \"operation\": \"Read Storage Service Operation Results\",\r\n \"description\": \"Read any storage service operation results\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnitNodes.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnitNodes.json index 05f9a0dc478b..8205567a8e90 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnitNodes.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnitNodes.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8fadd34e-a827-4f7e-8a04-ca10f3f947a9" + "c6253c67-318f-4eae-93c1-7de5c1e4b319" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:04 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "8b720bb5-97d6-4cd3-8f3d-51d45498b71c" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvduHq8z8w2OEKAXHGA72Gzc2YzCVsPHBpPZtHPJn5t+Gjnz8kSR9Zae0pFCiaQsONG7ZEIWb3rDNkpoFLK2b3qbYpwDe4CICXDU6uMsy5a3JNoX7Qbo3fDL2jS97oVryIMSgD3WjjaQg7eDoTgeuP" - ], - "x-ms-correlation-request-id": [ - "25ccb26e-4c60-4b91-b7ea-5bdb6b1c6030" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5sTjH2B2Z9W5LNPOuyTBwawl6MiXomBpUs9cOPG/tIf436sStmgRFm1HiJT7ZvZROKWUXRE0hk/jnousY6CwyvzNvZwUusaq6aFap+ega+IL7N7i8Jxe5pwQbO1eHP3Eyx6Q3aUsg2l9VyAIDKeP" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13857" + "14713" ], "x-ms-request-id": [ - "25ccb26e-4c60-4b91-b7ea-5bdb6b1c6030" + "8b720bb5-97d6-4cd3-8f3d-51d45498b71c" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093805Z:25ccb26e-4c60-4b91-b7ea-5bdb6b1c6030" + "LOCAL:20190924T070509Z:8b720bb5-97d6-4cd3-8f3d-51d45498b71c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:09 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7941287e-8572-4a6a-95e7-68613e157ae7" + "e304fed0-a0e2-4e49-be63-a59ac7e56d92" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:04 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "0af72bb7-575d-4201-990b-1020eb9d1270" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvFj7q2HYjuMnDmExfKyuuV+5WV9r1tP2+OY8ecOeSPXeWcHFGSQvTlJs7GS84qttvi8Djoc8hF3MX6vjI13AOea/1PHKrGm7MCwUiN7+VF6OXVvJ/K2DlI/Jsd/aVynudHfL9CGnjNpXhYw8+yM1Y" - ], - "x-ms-correlation-request-id": [ - "a02c6e4e-46a0-4726-9c75-7d223008575d" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvu/K6zVpTzJQLD6bGmOu9Quf/u9clOn2g0djLeAK3AChVgplC7uTytBfNGkImlEkoqtrSQjx/CxXTnmARk5nH1Gx0lI3PLYsvs1/PlViJmc3zeJJnDsJq4Opf5QiwTyALkdLv8lwAIT5P3aGG4Qri" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13856" + "14712" ], "x-ms-request-id": [ - "a02c6e4e-46a0-4726-9c75-7d223008575d" + "0af72bb7-575d-4201-990b-1020eb9d1270" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093805Z:a02c6e4e-46a0-4726-9c75-7d223008575d" + "LOCAL:20190924T070509Z:0af72bb7-575d-4201-990b-1020eb9d1270" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:09 GMT" + ], "Content-Length": [ - "864" + "530" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,12 +129,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\",\r\n \"name\": \"local/WSE-H9-2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"RequiresRemediation\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"lastOperationFailureReason\": \"The operation has failed. Please try again in a few minutes. If the problem persists, then drain and restart the scale unit node. If that doesn't address the issue then contact customer support before attempting a repair.\",\r\n \"lastOperationName\": \"StartMaintenanceMode\",\r\n \"lastOperationState\": \"Failed\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\",\r\n \"name\": \"local/HC1n22r0412\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Adding\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnits.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnits.json index 150b1efcffb5..9c10d743084e 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnits.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListScaleUnits.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2838798d-c224-46ae-a1e2-685deb855979" + "5fd874b7-2051-4f84-aa4a-cf52b40e4b8f" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:45 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "68c0ae2d-85d3-4b6c-ac04-1501ceb78c9c" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvFv/6arcHzLEyjxRTL7TS7wS1wuE1m2//JXaSPAVT9rLAbACMCpHBulWW150Z1VVgsjiAG/MoWf5wDgWPR+MZIXvD54zBLpsw3xNNkHiDuo+aNC+DcECPK0E/c9iRguTuBrtHTvtOmx/wFteMDkyl" - ], - "x-ms-correlation-request-id": [ - "af64661b-9312-46f1-a35a-1df1eef43f4c" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHGGDWhds6oiqXj2k/8TBZv+DOZjGdrNev5I1v5OcLA0rKpUiFv7pg3gP35EXKFd5cffAYnYhl93SuoA1mdIpAkDhCFL/Nzb2XK2r/vPGlSIrmQKfOUR+414w1y3eW5U9cTQQmPibPTsPkukWK8Z6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13673" + "14748" ], "x-ms-request-id": [ - "af64661b-9312-46f1-a35a-1df1eef43f4c" + "68c0ae2d-85d3-4b6c-ac04-1501ceb78c9c" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093846Z:af64661b-9312-46f1-a35a-1df1eef43f4c" + "LOCAL:20190924T065738Z:68c0ae2d-85d3-4b6c-ac04-1501ceb78c9c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:38 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cbb9dd7d-72ae-4cc9-9e5b-a6b4bf31de2c" + "af86d8c3-b060-4ccb-97e2-8ae88eaffa99" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:45 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "4572ae5a-5647-40d4-b35c-e58c13007a01" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv7opCi94Zg6/OQ/ACbFbUjEXn9Au27U6wSB3jFIVpJIkazJoS1EeRpKjcTc+b1b+5XDqg+nLRTTLaVPYn85d5tmkK1JiIC3IbZkjCcX8rhRDVxYWZ4WOROfyek3H0COsx3jKB8OI4ZEkxY3cVMTX/" - ], - "x-ms-correlation-request-id": [ - "c25377ae-7407-4add-a560-5c6c563148d7" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvU0koq1t4WYlxANipXsdlMFJ2ZMcx+U2DNUy9hLMEoV/QDuPY88q/6JzXwsf9/6ETSxeFTyNNGrUmvTNU4R6mpkEADG/WGmz/kLkwR5bope9FNpmSSx+idgQ1Y64YdJX3XYuYZg9tumSvTjnMwKRX" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13672" + "14747" ], "x-ms-request-id": [ - "c25377ae-7407-4add-a560-5c6c563148d7" + "4572ae5a-5647-40d4-b35c-e58c13007a01" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093846Z:c25377ae-7407-4add-a560-5c6c563148d7" + "LOCAL:20190924T065738Z:4572ae5a-5647-40d4-b35c-e58c13007a01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:38 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,12 +129,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStoragePools.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStoragePools.json deleted file mode 100644 index 83adae64a5b2..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStoragePools.json +++ /dev/null @@ -1,200 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "12be86f8-ad4a-42a6-91e4-d75de58a50e8" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuaLhwGtrcYmq/1ZqiIFgCBIjye9dzkgVYq3nnxbDYWyEYEcs/IN3pqZg1xOAtKcfM067/ipCOrwsteQUhaDHK5b5nMfaWo26ZVBvdKKd2CIPDelTH6tLoKFiVjQhxV/7TyleOMDoDUKyc860kcK9" - ], - "x-ms-correlation-request-id": [ - "c319d037-179a-4700-980a-3d7cf12dc7a1" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13806" - ], - "x-ms-request-id": [ - "c319d037-179a-4700-980a-3d7cf12dc7a1" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093819Z:c319d037-179a-4700-980a-3d7cf12dc7a1" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "263" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "71146b59-e7e4-4966-a41f-cde72e3b3f8a" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+Ijqt8qzeXZzXwUn9XrmD7nQRt0ALDPue89SoE9Y5WAtFjTltVjYDYbwOSG56KMSzwFjCuSus6kc2Th5SdAVT092/KCAbJPC4p4FztIK6eDODnWfp3RcuveqTv/dm+8+RKTd1xXyeIXpTeAjGKth" - ], - "x-ms-correlation-request-id": [ - "1073a9aa-0b41-4552-b626-0cd932ee0bc3" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13805" - ], - "x-ms-request-id": [ - "1073a9aa-0b41-4552-b626-0cd932ee0bc3" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093819Z:1073a9aa-0b41-4552-b626-0cd932ee0bc3" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "375" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "13fe210b-4b82-4791-bf2e-f9a81d3bd847" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvTgTJfcR4vjbjnaME2v3AIS7UbGrRGSm+OxSjoZHC5ejFl9RRaQcBGfOOu6rgnmn+Paagag8bPeOL65YnK6+4aKm1luUcLnY9iBHINMeQ0hNB3RO/dGL7we6nvuYrhmIYU0PKzloK20Fat34RfLbv" - ], - "x-ms-correlation-request-id": [ - "622cadc7-7a68-4c70-a800-b9e1e1c484d8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13804" - ], - "x-ms-request-id": [ - "622cadc7-7a68-4c70-a800-b9e1e1c484d8" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093820Z:622cadc7-7a68-4c70-a800-b9e1e1c484d8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "410" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"local/s-cluster.azurestack.local/SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 3343\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" - } -} \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStorageSubSystems.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStorageSubSystems.json index fc900d2b3c9b..547722d945ef 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStorageSubSystems.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStorageSubSystems.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c8c624eb-87bc-44b8-9daf-426736d7b82d" + "cebeae9d-1c7f-46d3-a9e1-57e2dad221f8" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:24 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "cf7ebed0-eae2-4faf-9109-400f5d88f72c" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv3XCZBgm8cX30YP7oZyGl5Ndtr1d7DHRfcSXT+3V+iAim8lQV7TnNSy4BP6DWGIEHBF7oPGAQ29MZCdMQlqTJ7jxLvA2YwN5ygq88nH49cgXjTKMU5nUvk8JZBBJoYpAoVevDw0UfbFP+eVQBLCv2" - ], - "x-ms-correlation-request-id": [ - "318ac710-f933-4708-97c6-dd07e853477c" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvnuMAGN6Uhj0PldoKXVtf6CDWQ4yslhDFfzHyLaVE+TWCozTtpUt3aEkCmw1dpgxYLnBgtwe5dXBf/ETgMByojMDomeb3yoc6dLY+8LVVidW6AkD9q+w1lyuMurWI9sCYg7Dj/vpHgq7woZsST0xJ" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13815" + "14705" ], "x-ms-request-id": [ - "318ac710-f933-4708-97c6-dd07e853477c" + "cf7ebed0-eae2-4faf-9109-400f5d88f72c" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093224Z:318ac710-f933-4708-97c6-dd07e853477c" + "LOCAL:20190924T070518Z:cf7ebed0-eae2-4faf-9109-400f5d88f72c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:18 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4b11a1e5-1849-48a0-83ae-c6e515685a07" + "5d900bdf-6066-4b8a-a81a-383549c77789" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:29 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "291f57de-0578-4509-a5a2-735d4cff86ed" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5PJbxJzeJ/cc3UClTYjY8xNpPpcBfoKPN1t1g/236dRUb4jU9ljMwEMslhgbDpAFaUih/jE6V7mewT4Wf/q5394WVBB+k38UiunsayK6NvOu3pMQ6Teac0s2QcjOnvwBElOnwUquAE+HI0KpmgEd" - ], - "x-ms-correlation-request-id": [ - "9614c655-2113-4198-b32b-7f6e6a876910" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvrFdBaZo2lgCqQQ5YuM61PGsJ9ekbTWgYgE814ujk85HtHRGH+QNlaWQlaK93QapmeqP8zXvewf6Qj/LRuSguwCQy1fHF/r96ZFKeHS7jGi/FVTS/bHJXbCUfO3E0QTT83Gw+kYnJZQiT952Fp2qk" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13814" + "14704" ], "x-ms-request-id": [ - "9614c655-2113-4198-b32b-7f6e6a876910" + "291f57de-0578-4509-a5a2-735d4cff86ed" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093229Z:9614c655-2113-4198-b32b-7f6e6a876910" + "LOCAL:20190924T070522Z:291f57de-0578-4509-a5a2-735d4cff86ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:22 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "08538f6c-0f47-4370-95ad-e319fa99338e" + "5583f106-b244-48f5-adc6-ef565404fa59" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:29 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "ec4bca8d-d6a4-4204-9afd-6231358b2533" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14703" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvUY/XDeyb0EIJeW46W7n14Wp6HzbSMw+IGX1IWxkvRbgCoEtOHFd7dIHNIyigCkJx5B7vMn7BpX2COe46S937xcHfRNq9G3pA0AmEfDcSesJz0jMV7hGTL+ZB9igGO4MHRPgHe9abphh03xoj9+ya" - ], - "x-ms-correlation-request-id": [ - "7ac9aac7-6258-4285-a2cf-9efdde7eb52f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13813" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOgJ455HMp7kLxWOKmdlATjwUyDPLmzkmsPmp/vNb29KX4oXOVPfMMjM2HC7Gc3c4EYOv0ATO6XZ8mDCYqkPhoBBx3MByW7y/nYa4E6wMTD5YLFOryCSNGanq5iBjbE1hGSMEKYL3t21m0zFicltC" ], "x-ms-request-id": [ - "7ac9aac7-6258-4285-a2cf-9efdde7eb52f" + "ec4bca8d-d6a4-4204-9afd-6231358b2533" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093229Z:7ac9aac7-6258-4285-a2cf-9efdde7eb52f" + "LOCAL:20190924T070523Z:ec4bca8d-d6a4-4204-9afd-6231358b2533" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:22 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,12 +195,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStorageSystems.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStorageSystems.json deleted file mode 100644 index 8bdab4a18e69..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListStorageSystems.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "b40e5c49-7a28-4cc6-a2dc-171bfbec4a32" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvX966rNEKkLU0FeR+WzsTRYlYdoPkLZ+5JdxV3BrVlXsXkA8Iajn0oV31S3V2dRBgljeMUppkFRNXaILJCa7BqBdDM8KW1KAh41O+64S4evL+WFJ2/J3yta1WOvnWEm+AL+nkR4ZDrL6UZVrWHrF7" - ], - "x-ms-correlation-request-id": [ - "da0f420c-1a37-4d60-af45-5ac34120fe97" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13769" - ], - "x-ms-request-id": [ - "da0f420c-1a37-4d60-af45-5ac34120fe97" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093238Z:da0f420c-1a37-4d60-af45-5ac34120fe97" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "263" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "8bf957d6-c992-4767-a6c6-a63c1c345f6d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 31 Oct 2018 09:32:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv54Tz4JIgyLBmRScke9yLeAyyiUZqp43O68LVnjLtMXqwXw+P6pstumbyBhozbusf/netaj2dlV58COo2mhccpftcqChjkrdsdfz1YVhJBS4raZpPj7ZkRXUMilMutZADx3rG0hLIp+T9dF/uEtJt" - ], - "x-ms-correlation-request-id": [ - "155ab876-e6f6-47f5-ad38-ce960fbda7e5" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13768" - ], - "x-ms-request-id": [ - "155ab876-e6f6-47f5-ad38-ce960fbda7e5" - ], - "x-ms-routing-request-id": [ - "LOCAL:20181031T093238Z:155ab876-e6f6-47f5-ad38-ce960fbda7e5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Content-Length": [ - "375" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011\r\n }\r\n }\r\n ]\r\n}", - "StatusCode": 200 - } - ], - "Names": {}, - "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" - } -} \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListVolumes.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListVolumes.json index 8074cbee6df5..175eca339081 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListVolumes.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestListVolumes.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4e4ac4f5-68f4-4d29-9581-cd5054fed353" + "995c4567-6262-42f4-9a76-9f2d6e198bda" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:10 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "f6927af9-a41c-44f4-a581-901235d18d69" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv92mver5RxmzbLWmtPAaN1ptzAGUEpfbtPYMLrMZWBCCTe9toO35ziOcy0wfFXWnVLe+jDlAqp/IifGYZF+Z2ts2zmNGzmSv7fPcfaKVqseD+whshkM/4F71uKQlyqzeBCHo1pptFdt1tT/BmJgHW" - ], - "x-ms-correlation-request-id": [ - "50dd4aae-b6b2-405f-a31c-e09e423e67e2" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvd8JL8gKwUr9JyO/uYjL0HPhmlaorWhPF9T6ecyc0BYrJ4GyH+Pb7OdD10bjvSwnFhL2g4hPqPRJag4hkN+ejaf8lXjZHmOa0XgQdBN2z5HEmkmNLmahJgHmkYli53ghF+Ejyt6MvIiWbUosO4Nrf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13828" + "14740" ], "x-ms-request-id": [ - "50dd4aae-b6b2-405f-a31c-e09e423e67e2" + "f6927af9-a41c-44f4-a581-901235d18d69" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093810Z:50dd4aae-b6b2-405f-a31c-e09e423e67e2" + "LOCAL:20190924T065744Z:f6927af9-a41c-44f4-a581-901235d18d69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:44 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c3d21b1a-8977-4fa7-aabe-6534d652eadf" + "50aab305-8eeb-405c-a5ae-191ec05d6197" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:14 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "c9bae0ad-1ced-4e0b-9541-ef87439c8199" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+a2b54HT0Nm56MgeBbUtMyH5myp7yvtJGwCpsXvDssaunFMwkHsjtntjxCpRMxYVZBfWT5aeW6PaOurixQceZYRnsqb8AbWSeGhePKB2ENxu0bLSxxXAMhhE5mRZiQEbNdxg8G059A5h1cdye9na" - ], - "x-ms-correlation-request-id": [ - "8cf46bec-ab09-40b3-b2e3-737db1732ceb" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6SW1wtKIaMvEgqOnkCOXn6u59a2Z9r1VVt2RZi77SwbLCLuwdOUZ3I8rG28rchZtya1Dlrh9xo9yoBo3cSj4iKMMQvOOEaTws/Pma7fzvKgpz8vuyBkA3ohJHaZyVBCCsYVtNR7RnPXAAKFb4b9y" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13827" + "14739" ], "x-ms-request-id": [ - "8cf46bec-ab09-40b3-b2e3-737db1732ceb" + "c9bae0ad-1ced-4e0b-9541-ef87439c8199" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093815Z:8cf46bec-ab09-40b3-b2e3-737db1732ceb" + "LOCAL:20190924T065744Z:c9bae0ad-1ced-4e0b-9541-ef87439c8199" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:44 GMT" + ], "Content-Length": [ - "620" + "622" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,53 +129,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"name\": \"local/s-cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n },\r\n \"isMultiNode\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems?api-version=2018-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxOC0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2227387e-9f3b-4bb5-8dc6-af7f9f150a47" + "536471ee-f5d3-41cc-804e-4e7a5eb3e9e9" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:14 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "dad851ae-6784-43e2-b44a-1d6eeb558162" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvfrboTvnTYuH7DFHi+CLDBFnqbLollE3sq6cyESd6rU8lN91NkiFNuVBYzpvpsX315mmPbWWIIxOalO5jJWpmqVAjsu0H8QnvyfG9S2fujyDKJsH1bfyPO1CHuaUcMd+gHJJmUmp6HNVNcK31py90" - ], - "x-ms-correlation-request-id": [ - "6e277217-864e-41b2-b036-af2ba5c79cb5" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6hoECniGCmFxXqYeTmSVYWwqbuTv9xXe9ndT8J3BuPQfNT0YLI8tNY8Ww+Rf5tNr8rgLhSjYTtnX9hfwMRGw0uQJE2XG8FYdkuvSCrXUqX6i2F5t4quTf13ygP1rgFufdzIWsVLutDvscIZZrPPE" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13826" + "14738" ], "x-ms-request-id": [ - "6e277217-864e-41b2-b036-af2ba5c79cb5" + "dad851ae-6784-43e2-b44a-1d6eeb558162" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093815Z:6e277217-864e-41b2-b036-af2ba5c79cb5" + "LOCAL:20190924T065745Z:dad851ae-6784-43e2-b44a-1d6eeb558162" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,8 +182,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:44 GMT" + ], "Content-Length": [ - "515" + "517" ], "Content-Type": [ "application/json; charset=utf-8" @@ -189,53 +195,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"rebalanceStatus\": \"\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes?api-version=2018-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcz9hcGktdmVyc2lvbj0yMDE4LTEwLTAx", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes?api-version=2019-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9zLWNsdXN0ZXIvc3RvcmFnZVN1YlN5c3RlbXMvcy1jbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvdm9sdW1lcz9hcGktdmVyc2lvbj0yMDE5LTA1LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b78f6172-3d81-496a-8191-09b408fa9345" + "790eb46e-a3ad-403b-a449-2483a650eb24" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:38:14 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "72bbd92f-5269-42f1-ab4f-ea0db84195b0" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6Pka/n/VMr1tjWwKfIsnLPeDHtiVN73+82yN/7fSjTQASplqZT1/CjlEwnmDKpMSyG3a3MdEr1LkVqWlFcpM8BbMrEqVVzTCZGNiOJ5EaQf1WaFZ6xYUGPGsQaojaCAsLdCKeY8pypMP1TBwj3C8" - ], - "x-ms-correlation-request-id": [ - "617f0508-b239-411c-9dd9-06a9ca3fdc94" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvpuIxTusqK1K9/RdSF70eX3wsIH3YASucxP3K4euMpYCelPSaxe7/dlGHuuckSSvma1Yh+UMy2BT/ZyqsOMFVTH2lf1juR2l7FIKFQxEmkzsrLgQQ6Qp7G+PAg+VtJNsBzXhCmMXZsSTIWgJwYH8E" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13825" + "14737" ], "x-ms-request-id": [ - "617f0508-b239-411c-9dd9-06a9ca3fdc94" + "72bbd92f-5269-42f1-ab4f-ea0db84195b0" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093815Z:617f0508-b239-411c-9dd9-06a9ca3fdc94" + "LOCAL:20190924T065745Z:72bbd92f-5269-42f1-ab4f-ea0db84195b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -243,8 +248,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:57:44 GMT" + ], "Content-Length": [ - "650" + "660" ], "Content-Type": [ "application/json; charset=utf-8" @@ -253,12 +261,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/5D3DB5EEC80EB94BB86AAC8F8C6AE67E\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 3011,\r\n \"remainingCapacityGB\": 2632,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/s-cluster/storageSubSystems/s-cluster.azurestack.local/volumes/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"name\": \"local/s-cluster/s-cluster.azurestack.local/7192d313-c1d3-42dd-b1f6-e280d8c6b10d\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 30797,\r\n \"remainingCapacityGB\": 30396,\r\n \"healthStatus\": \"Healthy\",\r\n \"operationalStatus\": \"OK\",\r\n \"repairStatus\": \"\",\r\n \"description\": \"\",\r\n \"action\": \"\",\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOffOnTenantVM.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOffOnTenantVM.json index 10815be2260b..356097933b7a 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOffOnTenantVM.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOffOnTenantVM.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ec846964-4cc0-4cf8-b8da-1347ae5d2dfb" + "d9ae9149-20fd-4583-b487-10ba1a77450d" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:34:42 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "0b831e29-3c3f-4ec7-a80f-62a7ad8af596" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv8cgD3kcpXQwhiOx12uE5iJbgA+IQu73HZVUUWEjAVdLwz4XchFXHHBzHuIAVpGxuitWNGsSYsi7FQ4d1rfQ1/6r/0XPGSnJ3lW5qd0x+WKQh3I/8BY04LSP+/Oa4a0eol5MeMtPa06aF7o/rQQ9m" - ], - "x-ms-correlation-request-id": [ - "6f23c6e0-c4c8-4dbb-bbe3-e5f5f8771c43" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvE2+nUJtlTH82qV68K2QJ4L8IeIBApu8GPbiJJIEGntzWykCQkmKzPJfMYgm2jIT+JVEzjNCsumIjWbZWjQhqbCkq9kYnAAnd23+gJIl5jM9MuegTlavhQ8d22rDAJ0hirv7Mi1vDPq9EFA2X2Pzt" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13753" + "14718" ], "x-ms-request-id": [ - "6f23c6e0-c4c8-4dbb-bbe3-e5f5f8771c43" + "0b831e29-3c3f-4ec7-a80f-62a7ad8af596" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093442Z:6f23c6e0-c4c8-4dbb-bbe3-e5f5f8771c43" + "LOCAL:20190924T070135Z:0b831e29-3c3f-4ec7-a80f-62a7ad8af596" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:01:35 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,59 +63,58 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f/PowerOff?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmL1Bvd2VyT2ZmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f/PowerOff?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmL1Bvd2VyT2ZmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d4a1c84b-ae88-45c1-aeec-0c0cf8720953" + "62c32a3d-4a4c-4f9c-954f-2a81f263aefd" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:34:42 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://adminmanagement.local.azurestack.external/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/d4a1c84b-ae88-45c1-aeec-0c0cf8720953?api-version=2016-05-01" + "https://adminmanagement.local.azurestack.external/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/62c32a3d-4a4c-4f9c-954f-2a81f263aefd?api-version=2016-05-01" ], "Retry-After": [ "60" ], + "x-ms-correlation-request-id": [ + "297e5d2d-41a7-4084-8496-d838c8a8ce13" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvDxQS5iNlMgehPAOFq0OUfZ5bMnr8KZHyZ3a8un07UeqgXDNpdrXPoIvFkGS03BUg31XTV/wEAku00cFV2jz3AlawvEIwSWatj7h8YX97rKrkMqs2j9LIY9kqv4U4G63ao0nFK3Bz687IHhi3y/zL" - ], - "x-ms-correlation-request-id": [ - "2585f8a2-9118-4241-b5d6-187271661113" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvWCSN4vxMG2nTaGQfTgIupNsOl4hWn+q5xU9STSVVvQRbejIlu8wYlW1oS28FB+TVgw0dccAfpVyVvcQ3rxZwDhqt5Gk6zXEz1OQ7NOua+qT8SYontchBandGY9wdJUr+hKavzvnRZukt97GLZkOz" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1166" + "1194" ], "x-ms-request-id": [ - "2585f8a2-9118-4241-b5d6-187271661113" + "297e5d2d-41a7-4084-8496-d838c8a8ce13" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093443Z:2585f8a2-9118-4241-b5d6-187271661113" + "LOCAL:20190924T070135Z:297e5d2d-41a7-4084-8496-d838c8a8ce13" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -121,54 +122,56 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 07:01:35 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/d4a1c84b-ae88-45c1-aeec-0c0cf8720953?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvZDRhMWM4NGItYWU4OC00NWMxLWFlZWMtMGMwY2Y4NzIwOTUzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/62c32a3d-4a4c-4f9c-954f-2a81f263aefd?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNjJjMzJhM2QtNGE0Yy00ZjljLTk1NGYtMmE4MWYyNjNhZWZkP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:35:43 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "6157a3a3-e973-410a-98f2-2798cbc73bcf" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvk7628MFMVJ7hM3TJuIGsZnSIPhU+0Je+jW31C+gMk3l0cxGCfODraCYMydcu0YHXLRBHTMGR1Bn43YOUyRNruZqrVo2dxLVkZMHUcgjrApd4s9lwas+w2VpPZNq3E9DvhonbZRmVJ5Cakz6N+TMP" - ], - "x-ms-correlation-request-id": [ - "734d55a9-25d7-4ce3-9067-a16cb22fb187" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2GuPd4v5T3944ojjRhfsKpSk02Qjw3cAUjr+d9B/zgpkd3Eq7K02GR0wIEwQLMjOmFi4jL+cPTrSVFo7h+Yq0/31AmReGFwYctuiT77ZCEGmxjBWjJUdINKakAK91E4AXT9DM0flGNw9VXPLrypd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13865" + "14717" ], "x-ms-request-id": [ - "734d55a9-25d7-4ce3-9067-a16cb22fb187" + "6157a3a3-e973-410a-98f2-2798cbc73bcf" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093543Z:734d55a9-25d7-4ce3-9067-a16cb22fb187" + "LOCAL:20190924T070235Z:6157a3a3-e973-410a-98f2-2798cbc73bcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -176,6 +179,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:02:35 GMT" + ], "Content-Length": [ "190" ], @@ -192,6 +198,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOnOnTenantVM.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOnOnTenantVM.json index 4c96b0f397d2..85b3162f7cba 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOnOnTenantVM.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestPowerOnOnTenantVM.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f3e3eac0-6a7f-4deb-b8c2-b62694b8df27" + "773b1297-7ba0-4239-b235-97cd3275a7f8" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:33:41 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "cfa57483-992a-41dc-8779-15222c0bd4cb" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvX4tDrJxjLEysktQg4l4LEBq45WP6Vy54sRdK3T5ePXsFZeaFefbjso8sC+eG+hkfKwlBHIlaTZCc+eu+Yag8cNFU5nzVX9DApeTX4/fGzVF+nbYj7rpqn2CQNu5WJ2njN9380qElb6B3O5S/YZ6R" - ], - "x-ms-correlation-request-id": [ - "fd648c50-3592-4c60-bc16-9a34d2f30de8" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvddDhkU6em7TUvxyJKmWokX6sltNhtXPU5X49BY/3VMy/+DY4gTUNe8rKU3c+wcGK6BFfE8fMXSFY9+/M0Qrz8bIE0Kj5h9Ok1L6adcY4TU+P1v9IvVU5qVTfbH/pZXBwPbUtnWMDzsJSUjKaC8cr" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13755" + "14720" ], "x-ms-request-id": [ - "fd648c50-3592-4c60-bc16-9a34d2f30de8" + "cfa57483-992a-41dc-8779-15222c0bd4cb" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093342Z:fd648c50-3592-4c60-bc16-9a34d2f30de8" + "LOCAL:20190924T070032Z:cfa57483-992a-41dc-8779-15222c0bd4cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:00:32 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,59 +63,58 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f/PowerOn?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmL1Bvd2VyT24/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f/PowerOn?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmL1Bvd2VyT24/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f2d755ee-2458-4f06-b571-5f1b4b5f40cf" + "9b79d73d-9eda-4df8-ae83-0ede7c8eb4e1" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:33:42 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://adminmanagement.local.azurestack.external/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/f2d755ee-2458-4f06-b571-5f1b4b5f40cf?api-version=2016-05-01" + "https://adminmanagement.local.azurestack.external/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/9b79d73d-9eda-4df8-ae83-0ede7c8eb4e1?api-version=2016-05-01" ], "Retry-After": [ "60" ], + "x-ms-correlation-request-id": [ + "8a2138ad-b853-4eab-811e-8e96cccf24ab" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvzrhZvWMH0FBJe8OwsJ6QfgvmApX5rGlNbJLDX+fSwvBMK7wC+4KtERweadFQW++ovjC7u4uY0twwTkPuzPm0guHf0nbGmpZsHfAvA/PU/msRgAFDsF/17RURRNxH7eQdJbEUKzbQjhcCk1w578hD" - ], - "x-ms-correlation-request-id": [ - "0fd58d70-cfa2-42ec-8583-c4b377093f1b" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvepNUtX9edb7sQNL1xazravzv6RmSWa57LcBvGGEpKUvIYZtVPxbbnNwiC030WP87nZTg27Dm2L/j07l4ODII8rLnnH5S4rl4xog7qIMjnfCLc6wowj2JD4PBbsNlWQcEgGLwttb4mbtMG/SgUGJL" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1167" + "1195" ], "x-ms-request-id": [ - "0fd58d70-cfa2-42ec-8583-c4b377093f1b" + "8a2138ad-b853-4eab-811e-8e96cccf24ab" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093342Z:0fd58d70-cfa2-42ec-8583-c4b377093f1b" + "LOCAL:20190924T070033Z:8a2138ad-b853-4eab-811e-8e96cccf24ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -121,54 +122,56 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 07:00:32 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/f2d755ee-2458-4f06-b571-5f1b4b5f40cf?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvZjJkNzU1ZWUtMjQ1OC00ZjA2LWI1NzEtNWYxYjRiNWY0MGNmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/9b79d73d-9eda-4df8-ae83-0ede7c8eb4e1?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvOWI3OWQ3M2QtOWVkYS00ZGY4LWFlODMtMGVkZTdjOGViNGUxP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:34:42 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "1d61021d-5d4d-4e61-b2c3-b52c8755ddaa" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6Dn24rkTtGVNtPg3+YeU61fxnad2rf+/n1rIaLCRrIpAwqDMAE1X5ZIeViVh1JtHwuYsvYITcQOA4jnMr0wKDbXew9NQO5hqPiHTDBHyBsejFd9LpMjRJ/Ht57vUzG8zRFSyl76Uo3IoJr/UKoO9" - ], - "x-ms-correlation-request-id": [ - "2d24e3e6-a3e1-42ac-b1c0-fd1e37508586" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvLWhVvKvXALLj9dAmR6IIL7T+SVkopKFOEAgZlQgVA2ChSQE2Gm5zH7sFXaV0UvrxiSb0KuHDj6McYA99PkHMhF5UZoU1d/KMZo7QN+cZ0z4VXlf7IIUUkKE4SuPkg2RfZ370M0t3CpdBg1VJLBTw" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13754" + "14719" ], "x-ms-request-id": [ - "2d24e3e6-a3e1-42ac-b1c0-fd1e37508586" + "1d61021d-5d4d-4e61-b2c3-b52c8755ddaa" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093442Z:2d24e3e6-a3e1-42ac-b1c0-fd1e37508586" + "LOCAL:20190924T070133Z:1d61021d-5d4d-4e61-b2c3-b52c8755ddaa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -176,6 +179,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:01:33 GMT" + ], "Content-Length": [ "190" ], @@ -192,6 +198,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartMaintenanceModeOnTenantVM.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartMaintenanceModeOnTenantVM.json index 9841165a8478..e5d7e39cb379 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartMaintenanceModeOnTenantVM.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartMaintenanceModeOnTenantVM.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "164146ce-076a-4e47-aa4a-77f662f61528" + "2e273083-a131-42ab-866e-116f6a8d504a" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:39 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "087629d5-8faf-463a-94cf-72308461c197" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQuWURg2adOk0fQmnmRImvxLG/JbPSVeoqDsgikDeU5gdLqw6s5mr5onlUjd5JpFtoHr308k9UhPx/gUtKMRIA2JM66vdBKpCBkZP1WLeWQ78Y7Ahkq0kqL7plURTXv09DxudlsQyGmoMFilaRTQL" - ], - "x-ms-correlation-request-id": [ - "5573fe65-78f5-4299-907b-2c8e9194ab5a" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0oP9QUWDIPGfFks7IoOeLz3qKOClPrmi+yXmHzmPWk/HF5+L/1N+xEkNTGFkbHB0rjNkChkV51iN0JMQPbR2KYf5IpN6vXkVTMtfMs/pxfgG9Y62Oo7/w3beSzRZMXk6r1QCS8FC/NV+fh20orHA" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13759" + "14719" ], "x-ms-request-id": [ - "5573fe65-78f5-4299-907b-2c8e9194ab5a" + "087629d5-8faf-463a-94cf-72308461c197" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093240Z:5573fe65-78f5-4299-907b-2c8e9194ab5a" + "LOCAL:20190924T065920Z:087629d5-8faf-463a-94cf-72308461c197" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 06:59:20 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,59 +63,58 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f/StartMaintenanceMode?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmL1N0YXJ0TWFpbnRlbmFuY2VNb2RlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/f858418d-d6b9-4dc3-ae65-c92fb8a0be8f/StartMaintenanceMode?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvZjg1ODQxOGQtZDZiOS00ZGMzLWFlNjUtYzkyZmI4YTBiZThmL1N0YXJ0TWFpbnRlbmFuY2VNb2RlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "91c67b99-0e41-443a-838a-e441fc926aae" + "594b07ca-0a76-4e95-95d3-6fcf6748764a" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:32:41 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://adminmanagement.local.azurestack.external/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/91c67b99-0e41-443a-838a-e441fc926aae?api-version=2016-05-01" + "https://adminmanagement.local.azurestack.external/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/594b07ca-0a76-4e95-95d3-6fcf6748764a?api-version=2016-05-01" ], "Retry-After": [ "60" ], + "x-ms-correlation-request-id": [ + "3f5590a8-a368-4abd-b546-ba5e0092e416" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvRzdk/OXsyXgNoEQIsZCK5ADb7M0W2DDu7QPNwjd89n95gBmWB8WfPjq1geFfw+UDDwK6JECTg+R4pGflJdUR0c4aYp4ntsrihfn+7+UlUDUrWNeBWihwSgQG4LQzuLjqpXXmFvwaJBbIpz+9XzfF" - ], - "x-ms-correlation-request-id": [ - "931cdef8-31cc-4211-a541-2cbc8666f68b" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvA6fiNj2NhRiZxoHW6UWNGfsrSkFl02Z5TEox/k/ttyfdjIvLZL2tUmEqTjN31s5g1FP9Yp6T+CS8IdcD5Na0dXoSxTfSw4upLKgxBn6lmhpo1UyQrjdqQ1umwi79Hotsw0D+JMfmG7dReVmLfxVw" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1168" + "1196" ], "x-ms-request-id": [ - "931cdef8-31cc-4211-a541-2cbc8666f68b" + "3f5590a8-a368-4abd-b546-ba5e0092e416" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093241Z:931cdef8-31cc-4211-a541-2cbc8666f68b" + "LOCAL:20190924T065920Z:3f5590a8-a368-4abd-b546-ba5e0092e416" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -121,54 +122,56 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 06:59:20 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/91c67b99-0e41-443a-838a-e441fc926aae?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvOTFjNjdiOTktMGU0MS00NDNhLTgzOGEtZTQ0MWZjOTI2YWFlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/594b07ca-0a76-4e95-95d3-6fcf6748764a?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNTk0YjA3Y2EtMGE3Ni00ZTk1LTk1ZDMtNmZjZjY3NDg3NjRhP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:33:41 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "8253230e-b828-4f5e-ab87-ad06b041c02f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14723" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvGvw4LTdzdWjWM8Bz8fMyMPqntAfxPgIkhOYMrODEesS1kTwByJLJHEH4ZptIuCtNCkAIHv58N080VhOVhMYSw3wxdXiS4Jjac91NTabusPXY8+9KiSxcbejcZ32gAnrgDuvmxYbEi/SGHGDGMbqr" - ], - "x-ms-correlation-request-id": [ - "bd4581df-d1e6-4010-86a1-018dc41e90d8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "13758" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHUGEc22wqjXCaoxZHwHMgg0JLTqXCbBpwPop/INr/CLjNGvVeMj640zJteHDO2kEgCtbHKJXQIVndOESNL6iFv4ifUIONODmi8KAW68mj1jCeSw5oMRZp/jjMVonZcZcQ/wSSdRCB8hux6F+pwKi" ], "x-ms-request-id": [ - "bd4581df-d1e6-4010-86a1-018dc41e90d8" + "8253230e-b828-4f5e-ab87-ad06b041c02f" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093341Z:bd4581df-d1e6-4010-86a1-018dc41e90d8" + "LOCAL:20190924T070021Z:8253230e-b828-4f5e-ab87-ad06b041c02f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -176,6 +179,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:00:21 GMT" + ], "Content-Length": [ "190" ], @@ -192,6 +198,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartStopMaintenanceModeUnitNode.json b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartStopMaintenanceModeUnitNode.json index 4f991b83f9c7..b0045c588598 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartStopMaintenanceModeUnitNode.json +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/SessionRecords/FabricAdminClient/TestStartStopMaintenanceModeUnitNode.json @@ -1,49 +1,48 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1f3e75fb-a3a7-48e2-980f-0d0d0189b3d0" + "8cf2f7e0-1983-49e3-bcb9-6121c13b7ea9" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:35:43 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "685e69d3-92c5-48b3-91ef-8b9e84a898a1" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvqAYSl47iixX5bFjhvHACamHvtdmFHX4LLwFrF1nOKeJFBSvAZxGH3HIAqMrqGkIG9sg6lxzDREl0VbAOnCJgVzdA1EnbTdH61PTDLP7u0D7xDqXlQMpeIG/H8D9y2VC+vlMo+qVZ8XHcd1eMFA1g" - ], - "x-ms-correlation-request-id": [ - "44c1d548-5ce3-468f-9e02-96539a73985a" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvBuOsFGiY9JUe45DxH9cGBJpEwI4WmEAxQY/aA4bqDu2XUAwaf0wAhdebaR977FBm117BE5rRWb3cmPjTpIxN3El9sHeR3ZPV1PvYT6TzKox0WUgKEyqoL9uAL2rx/M7Mf/Yl52cxJjVI7rm6pJO7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13864" + "14716" ], "x-ms-request-id": [ - "44c1d548-5ce3-468f-9e02-96539a73985a" + "685e69d3-92c5-48b3-91ef-8b9e84a898a1" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093543Z:44c1d548-5ce3-468f-9e02-96539a73985a" + "LOCAL:20190924T070237Z:685e69d3-92c5-48b3-91ef-8b9e84a898a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,8 +50,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:02:36 GMT" + ], "Content-Length": [ - "263" + "550" ], "Content-Type": [ "application/json; charset=utf-8" @@ -61,53 +63,52 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"pepIpAddresses\": [\r\n \"192.168.200.224\"\r\n ],\r\n \"timeServer\": \"10.10.240.20\",\r\n \"stampInformationId\": \"fad287c9-60c3-4107-9fb2-140de7fcf787\",\r\n \"externalDNSIPAddress01\": \"AzS-ns01.local.azurestack.external\",\r\n \"externalDNSIPAddress02\": \"AzS-ns02.local.azurestack.external\",\r\n \"exclusiveAdminOperationRunning\": false\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "38871507-a823-4f3c-8428-eeaa0408d394" + "4f44a3b1-9035-42d9-aa93-ab5c8a90a96e" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:35:43 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "d1b33126-e20c-4628-b65a-45b2fb33416a" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvekaGV92M5cqgigEr6BgGf6VaeKMBwGk+bMALErGy6Y5TUFEzWNpmMsB6ei6xjnqhz+UP0kCvX/487QXpwYJkH5GkeH2mOCr7Dy6wbVf7CsP27Z1sj84oKgtnjS0aw8UvpTyv/S587cTGmovhjUoI" - ], - "x-ms-correlation-request-id": [ - "f5efa903-65f3-4cab-a105-a07b0b70f74b" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvx85w+4oV1yPNC3FiV+IzrwJiVV/TZbJbHR6gX0NLCI44ZNGMLN6tnt8+AuTfoTnXSSiSpBvnlbmZust4IXAzPmydm5StwM3icozYPNsb0uXQhfstYUl2oFgwNVKJzjVgUpogRSGnEFV0fPnUGRTU" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13863" + "14715" ], "x-ms-request-id": [ - "f5efa903-65f3-4cab-a105-a07b0b70f74b" + "d1b33126-e20c-4628-b65a-45b2fb33416a" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093543Z:f5efa903-65f3-4cab-a105-a07b0b70f74b" + "LOCAL:20190924T070245Z:d1b33126-e20c-4628-b65a-45b2fb33416a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -115,8 +116,11 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:02:45 GMT" + ], "Content-Length": [ - "864" + "530" ], "Content-Type": [ "application/json; charset=utf-8" @@ -125,59 +129,58 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2\",\r\n \"name\": \"local/WSE-H9-2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"RequiresRemediation\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 127.956055,\r\n \"cores\": 24\r\n },\r\n \"lastOperationFailureReason\": \"The operation has failed. Please try again in a few minutes. If the problem persists, then drain and restart the scale unit node. If that doesn't address the issue then contact customer support before attempting a repair.\",\r\n \"lastOperationName\": \"StartMaintenanceMode\",\r\n \"lastOperationState\": \"Failed\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412\",\r\n \"name\": \"local/HC1n22r0412\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Adding\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"local/s-cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/s-cluster\",\r\n \"canPowerOff\": false,\r\n \"capacity\": {\r\n \"memoryGB\": 255.90625,\r\n \"cores\": 40\r\n }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/WSE-H9-2/StartMaintenanceMode?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvV1NFLUg5LTIvU3RhcnRNYWludGVuYW5jZU1vZGU/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n22r0412/StartMaintenanceMode?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjIycjA0MTIvU3RhcnRNYWludGVuYW5jZU1vZGU/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "33db1370-625a-4b76-be0b-1df080c5bd33" + "eaf1b746-f9a2-4f08-ac8b-fd405a4eac08" ], - "accept-language": [ + "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:35:43 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://adminmanagement.local.azurestack.external/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/33db1370-625a-4b76-be0b-1df080c5bd33?api-version=2016-05-01" + "https://adminmanagement.local.azurestack.external/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/eaf1b746-f9a2-4f08-ac8b-fd405a4eac08?api-version=2016-05-01" ], "Retry-After": [ "60" ], + "x-ms-correlation-request-id": [ + "b00071fd-339f-43d4-bab1-381c38def20f" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv38U0fHgTuD7T+/jrOU7e1h7LsO5D6V/kTQnnbYZK6Eu/8iwSOstdYkRK4gOjbhVF/nwb7ldHbKBeXucCjjPxxr7SngDZC/C+IFcoLpzCd3FvxGCi6KBXQhqi934gn90PRZ4Jjbxxf9PpE8ZRhX5m" - ], - "x-ms-correlation-request-id": [ - "391b626d-bbf5-4659-b4cf-e9522ce6060e" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvfTvhfWoBqIMFZsW6oVdVuy7XRejcN5BhY7R19ndhq6PCWEqedm4FEXCkO/B8CQinjQubbqc6tjhcc3uyR8niV8ouEyju3v1qz43gzrt/qn4m1tgaVjXrp2BALFYfWf4B12pV8gWE28YIzRLh4NIx" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1168" + "1193" ], "x-ms-request-id": [ - "391b626d-bbf5-4659-b4cf-e9522ce6060e" + "b00071fd-339f-43d4-bab1-381c38def20f" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093544Z:391b626d-bbf5-4659-b4cf-e9522ce6060e" + "LOCAL:20190924T070245Z:b00071fd-339f-43d4-bab1-381c38def20f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -185,60 +188,62 @@ "X-Content-Type-Options": [ "nosniff" ], - "Content-Length": [ - "0" + "Date": [ + "Tue, 24 Sep 2019 07:02:45 GMT" ], "Expires": [ "-1" + ], + "Content-Length": [ + "0" ] }, "ResponseBody": "", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/33db1370-625a-4b76-be0b-1df080c5bd33?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvMzNkYjEzNzAtNjI1YS00Yjc2LWJlMGItMWRmMDgwYzViZDMzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/eaf1b746-f9a2-4f08-ac8b-fd405a4eac08?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvZWFmMWI3NDYtZjlhMi00ZjA4LWFjOGItZmQ0MDVhNGVhYzA4P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Date": [ - "Wed, 31 Oct 2018 09:36:44 GMT" - ], "Pragma": [ "no-cache" ], "Location": [ - "https://adminmanagement.local.azurestack.external/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/33db1370-625a-4b76-be0b-1df080c5bd33?api-version=2016-05-01" + "https://adminmanagement.local.azurestack.external/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/eaf1b746-f9a2-4f08-ac8b-fd405a4eac08?api-version=2016-05-01" ], "Retry-After": [ "60" ], + "x-ms-correlation-request-id": [ + "f0552736-119b-4062-9633-e368726fd13a" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvG/v4P9Mkpnb+wkBBFKl0BdV5FNmHu4TBGVUAULvzaHuOn6OYM+83e0coZCetc9ZqPtqv05ubybVTTgsaGYiW3fzKOGa6Fgp9HZJ6wmTu4fWk+TPLZVaq95193TML+ysYGIIkeR+5DPcvWawtErMk" - ], - "x-ms-correlation-request-id": [ - "ff0520cf-b0d3-49ac-a5a4-2eb28f8b8606" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvhLD8vzePk4AvWcN14fnJiqO87ORuFN6w+LYGbMWfGGsAxeSKOpPeP8HJgseYgeU4VUwE/ilDp3BdyOSShkjf2hrbNou9coWDSvakOKKVto000cmL0NQrh0SxoxW8hKelqeEVHQ4W278w/oThUHz7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13862" + "14714" ], "x-ms-request-id": [ - "ff0520cf-b0d3-49ac-a5a4-2eb28f8b8606" + "f0552736-119b-4062-9633-e368726fd13a" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093644Z:ff0520cf-b0d3-49ac-a5a4-2eb28f8b8606" + "LOCAL:20190924T070346Z:f0552736-119b-4062-9633-e368726fd13a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -246,6 +251,9 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:03:46 GMT" + ], "Content-Length": [ "46" ], @@ -260,49 +268,45 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/5a19f233-79ae-4b7e-855d-04bfcac8bf04/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/33db1370-625a-4b76-be0b-1df080c5bd33?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNWExOWYyMzMtNzlhZS00YjdlLTg1NWQtMDRiZmNhYzhiZjA0L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvMzNkYjEzNzAtNjI1YS00Yjc2LWJlMGItMWRmMDgwYzViZDMzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", + "RequestUri": "/subscriptions/1e9b25d5-0ce8-4561-a7dc-6b1155f11c42/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/eaf1b746-f9a2-4f08-ac8b-fd405a4eac08?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWU5YjI1ZDUtMGNlOC00NTYxLWE3ZGMtNmIxMTU1ZjExYzQyL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvZWFmMWI3NDYtZjlhMi00ZjA4LWFjOGItZmQ0MDVhNGVhYzA4P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26614.01", - "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/0.4.0.0" + "FxVersion/4.6.27817.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.AzureStack.Management.Fabric.Admin.FabricAdminClient/1.9.0.0" ] }, "ResponseHeaders": { "Cache-Control": [ "no-cache" ], - "Connection": [ - "close" - ], - "Date": [ - "Wed, 31 Oct 2018 09:38:04 GMT" - ], "Pragma": [ "no-cache" ], + "x-ms-correlation-request-id": [ + "0052b2cf-af33-4a9b-b8d8-2ce65d6c9aa5" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "WWW-Authenticate": [ - "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOnl2BC4q6rE4zwwCCN+yxD3x/Ey1MqyR5N6IHWm3FilW0Wejh79VXNor2s+J9dSUNl0QgAkkyoQFkiIiV/FAlC/d/j5C3tgIM5G6xo2dcaFpcCbskRUl/F2bA3meIE4hwVsVBwsy8Q4aB4frt4GZ" - ], - "x-ms-correlation-request-id": [ - "24a6b887-2580-47d8-9732-ec6e35f75aab" + "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvLNRXLN4kI4f94iUQsL8d3tB+uH7MQXRFuBTPcW/VyBPIcLtVZUw7c8XDjpZJY9RxLVz5SUQcdSW7ZhaR4skzU3aRKKo6i/5qV+MFdp3V6lWwA5TsAIWaGbaOXv1URGLGhIfy1RbV9KcZwXs9QZ4v" ], "x-ms-failure-cause": [ "service" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "13858" + "14714" ], "x-ms-request-id": [ - "24a6b887-2580-47d8-9732-ec6e35f75aab" + "0052b2cf-af33-4a9b-b8d8-2ce65d6c9aa5" ], "x-ms-routing-request-id": [ - "LOCAL:20181031T093804Z:24a6b887-2580-47d8-9732-ec6e35f75aab" + "LOCAL:20190924T070507Z:0052b2cf-af33-4a9b-b8d8-2ce65d6c9aa5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -310,8 +314,14 @@ "X-Content-Type-Options": [ "nosniff" ], + "Date": [ + "Tue, 24 Sep 2019 07:05:07 GMT" + ], + "Connection": [ + "close" + ], "Content-Length": [ - "314" + "218" ], "Content-Type": [ "application/json" @@ -320,12 +330,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"OperationFailed\",\r\n \"message\": \"The operation has failed. Please try again in a few minutes. If the problem persists, then drain and restart the scale unit node. If that doesn't address the issue then contact customer support before attempting a repair.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"OperationFailed\",\r\n \"message\": \"The operation has failed. Please try again in a few minutes. If that doesn't address the issue then contact customer support.\"\r\n }\r\n}", "StatusCode": 500 } ], "Names": {}, "Variables": { - "SubscriptionId": "5a19f233-79ae-4b7e-855d-04bfcac8bf04" + "SubscriptionId": "1e9b25d5-0ce8-4561-a7dc-6b1155f11c42" } } \ No newline at end of file diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/DriveTests.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/DriveTests.cs index 57a4099b0be1..1f00273db863 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/DriveTests.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/DriveTests.cs @@ -27,10 +27,12 @@ private void AssertDrivesAreSame(Drive expected, Drive found) Assert.Equal(expected.HealthStatus, found.HealthStatus); Assert.Equal(expected.OperationalStatus, found.OperationalStatus); Assert.Equal(expected.Usage, found.Usage); - Assert.Equal(expected.CanPool, found.CanPool); - Assert.Equal(expected.CannotPoolReason, found.CannotPoolReason); Assert.Equal(expected.PhysicalLocation, found.PhysicalLocation); Assert.Equal(expected.Model, found.Model); + Assert.Equal(expected.FirmwareVersion, found.FirmwareVersion); + Assert.Equal(expected.IsIndicationEnabled, found.IsIndicationEnabled); + Assert.Equal(expected.Manufacturer, found.Manufacturer); + Assert.Equal(expected.StoragePool, found.StoragePool); Assert.Equal(expected.MediaType, found.MediaType); Assert.Equal(expected.CapacityGB, found.CapacityGB); Assert.Equal(expected.Description, found.Description); @@ -47,10 +49,12 @@ private void ValidateDrive(Drive instance) Assert.NotNull(instance.HealthStatus); Assert.NotNull(instance.OperationalStatus); Assert.NotNull(instance.Usage); - Assert.NotNull(instance.CanPool); - Assert.NotNull(instance.CannotPoolReason); Assert.NotNull(instance.PhysicalLocation); Assert.NotNull(instance.Model); + Assert.NotNull(instance.FirmwareVersion); + Assert.NotNull(instance.IsIndicationEnabled); + Assert.NotNull(instance.Manufacturer); + Assert.NotNull(instance.StoragePool); Assert.NotNull(instance.MediaType); Assert.NotNull(instance.CapacityGB); Assert.NotNull(instance.Description); diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/Helpers/FabricTestBase.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/Helpers/FabricTestBase.cs index 3e97075fa75a..b87e5fbff82e 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/Helpers/FabricTestBase.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/Helpers/FabricTestBase.cs @@ -40,26 +40,6 @@ protected void OverLogicalNetworks(FabricAdminClient client, Action act) { - OverFabricLocations(client, (fabricLocationName) => { - var storageSystems = client.StorageSystems.List(ResourceGroupName, fabricLocationName); - Common.MapOverIPage(storageSystems, client.StorageSystems.ListNext, (storageSystem) => { - var storageSystemName = ExtractName(storageSystem.Name); - act(fabricLocationName, storageSystemName); - }); - }); - } - - protected void OverStoragePools(FabricAdminClient client, Action act) { - OverStorageSystems(client, (fabricLocationName, storageSystemName) => { - var storageSystems = client.StoragePools.List(ResourceGroupName, fabricLocationName, storageSystemName); - Common.MapOverIPage(storageSystems, client.StoragePools.ListNext, (storagePool) => { - var storagePoolName = ExtractName(storagePool.Name); - act(fabricLocationName, storageSystemName, storagePoolName); - }); - }); - } - protected void OverScaleUnits(FabricAdminClient client, Action act) { OverFabricLocations(client, (fabricLocationName) => { var scaleUnits = client.ScaleUnits.List(ResourceGroupName, fabricLocationName); @@ -88,14 +68,6 @@ public string GetLogicalNetwork(FabricAdminClient client, string fabricLocationN return ExtractName(client.LogicalNetworks.List(ResourceGroupName, fabricLocationName).GetFirst().Name); } - public string GetStorageSystem(FabricAdminClient client, string fabricLocationName) { - return ExtractName(client.StorageSystems.List(ResourceGroupName, fabricLocationName).GetFirst().Name); - } - - public string GetStoragePool(FabricAdminClient client, string fabricLocationName, string storageSystemName) { - return ExtractName(client.StoragePools.List(ResourceGroupName, fabricLocationName, storageSystemName).GetFirst().Name); - } - public string GetScaleUnit(FabricAdminClient client, string fabricLocationName) { return ExtractName(client.ScaleUnits.List(ResourceGroupName, fabricLocationName).GetFirst().Name); } @@ -122,9 +94,6 @@ protected override void ValidateClient(FabricAdminClient client) { Assert.NotNull(client.ScaleUnits); Assert.NotNull(client.ScaleUnitNodes); Assert.NotNull(client.SlbMuxInstances); - - Assert.NotNull(client.StoragePools); - Assert.NotNull(client.StorageSystems); Assert.NotNull(client.StorageSubSystems); Assert.NotNull(client.Volumes); diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/ListOperationsTest.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/ListOperationsTest.cs index 05eeae60d5f0..c75d86fb27ce 100644 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/ListOperationsTest.cs +++ b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/ListOperationsTest.cs @@ -23,7 +23,7 @@ public void TestListOperations() { numOperations += operations.Count(); } Assert.Null(operations.NextPageLink); - Assert.Equal(13, numOperations); + Assert.Equal(39, numOperations); }); } } diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/StoragePoolTests.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/StoragePoolTests.cs deleted file mode 100644 index 0d896a4d4362..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/StoragePoolTests.cs +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// - -namespace Fabric.Tests -{ - using Microsoft.AzureStack.Management.Fabric.Admin; - using Microsoft.AzureStack.Management.Fabric.Admin.Models; - using Xunit; - - public class StoragePoolTests : FabricTestBase - { - - private void AssertStoragePoolsAreSame(StoragePool expected, StoragePool found) { - if (expected == null) - { - Assert.Null(found); - } - else - { - Assert.True(FabricCommon.ResourceAreSame(expected, found)); - Assert.Equal(expected.SizeGB, found.SizeGB); - } - } - - private void ValidateStoragePool(StoragePool instance) { - FabricCommon.ValidateResource(instance); - - Assert.NotNull(instance.SizeGB); - } - - - [Fact] - public void TestListStoragePools() { - RunTest((client) => { - OverStorageSystems(client, (fabricLocationName, storageSystemName) => { - var storagePools = client.StoragePools.List(ResourceGroupName, fabricLocationName, storageSystemName); - Common.MapOverIPage(storagePools, client.StoragePools.ListNext, ValidateStoragePool); - Common.WriteIPagesToFile(storagePools, client.StoragePools.ListNext, "ListStoragePools.txt", ResourceName); - }); - }); - } - - [Fact] - public void TestGetStoragePool() { - RunTest((client) => { - var fabricLocationName = GetLocation(client); - var storageSystemName = GetStorageSystem(client, fabricLocationName); - var storagePool = client.StoragePools.List(ResourceGroupName, fabricLocationName, storageSystemName).GetFirst(); - var storagePoolName = ExtractName(storagePool.Name); - var retrieved = client.StoragePools.Get(ResourceGroupName, fabricLocationName, storageSystemName, storagePoolName); - AssertStoragePoolsAreSame(storagePool, retrieved); - }); - } - - [Fact] - public void TestGetAllStoragePools() { - RunTest((client) => { - OverStorageSystems(client, (fabricLocationName, storageSystemName) => { - var StoragePools = client.StoragePools.List(ResourceGroupName, fabricLocationName, storageSystemName); - Common.MapOverIPage(StoragePools, client.StoragePools.ListNext, (storagePool) => { - var storagePoolName = ExtractName(storagePool.Name); - var retrieved = client.StoragePools.Get(ResourceGroupName, fabricLocationName, storageSystemName, storagePoolName); - AssertStoragePoolsAreSame(storagePool, retrieved); - }); - }); - }); - } - - } -} diff --git a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/StorageSystemTests.cs b/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/StorageSystemTests.cs deleted file mode 100644 index b6fbe8e6b692..000000000000 --- a/sdk/azurestack/Microsoft.AzureStack.Management.Fabric.Admin/tests/src/StorageSystemTests.cs +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// - -namespace Fabric.Tests -{ - using Microsoft.AzureStack.Management.Fabric.Admin; - using Microsoft.AzureStack.Management.Fabric.Admin.Models; - using Xunit; - - public class StorageSystemTests : FabricTestBase - { - - private void AssertStorageSystemsAreSame(StorageSystem expected, StorageSystem found) { - if (expected == null) - { - Assert.Null(found); - } - else - { - Assert.True(FabricCommon.ResourceAreSame(expected, found)); - Assert.Equal(expected.TotalCapacityGB, found.TotalCapacityGB); - } - } - - private void ValidateStorageSystem(StorageSystem instance) { - FabricCommon.ValidateResource(instance); - - Assert.NotNull(instance.TotalCapacityGB); - } - - - [Fact] - public void TestListStorageSystems() { - RunTest((client) => { - OverFabricLocations(client, (fabricLocationName) => { - var subSystems = client.StorageSystems.List(ResourceGroupName, fabricLocationName); - Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, ValidateStorageSystem); - Common.WriteIPagesToFile(subSystems, client.StorageSystems.ListNext, "ListStorageSystems.txt", ResourceName); - }); - }); - } - - [Fact] - public void TestGetStorageSystem() { - RunTest((client) => { - var fabricLocationName = GetLocation(client); - var storageSystem = client.StorageSystems.List(ResourceGroupName, fabricLocationName).GetFirst(); - var storageSystemName = ExtractName(storageSystem.Name); - var retrieved = client.StorageSystems.Get(ResourceGroupName, fabricLocationName, storageSystemName); - AssertStorageSystemsAreSame(storageSystem, retrieved); - }); - } - - [Fact] - public void TestGetAllStorageSystems() { - RunTest((client) => { - OverFabricLocations(client, (fabricLocationName) => { - var subSystems = client.StorageSystems.List(ResourceGroupName, fabricLocationName); - Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, (storageSystem) => { - var storageSystemName = ExtractName(storageSystem.Name); - var retrieved = client.StorageSystems.Get(ResourceGroupName, fabricLocationName, storageSystemName); - AssertStorageSystemsAreSame(storageSystem, retrieved); - }); - }); - }); - } - } -}