diff --git a/src/SDKs/NetApp/AzSdk.RP.props b/src/SDKs/NetApp/AzSdk.RP.props new file mode 100644 index 000000000000..b6e3e70a9b55 --- /dev/null +++ b/src/SDKs/NetApp/AzSdk.RP.props @@ -0,0 +1,7 @@ + + + + NetApp_2017-08-15; + $(PackageTags);$(CommonTags);$(AzureApiTag); + + \ No newline at end of file diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/AccountsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/AccountsOperations.cs new file mode 100644 index 000000000000..a78ebb2b9680 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/AccountsOperations.cs @@ -0,0 +1,1058 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// AccountsOperations operations. + /// + internal partial class AccountsOperations : IServiceOperations, IAccountsOperations + { + /// + /// Initializes a new instance of the AccountsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal AccountsOperations(AzureNetAppFilesManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the AzureNetAppFilesManagementClient + /// + public AzureNetAppFilesManagementClient Client { get; private set; } + + /// + /// Lists all NetApp accounts in the resource group + /// + /// + /// The name of the resource group. + /// + /// + /// 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 resourceGroup, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get the NetApp account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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 resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create or update a NetApp account + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(NetAppAccount body, string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Delete a NetApp account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Patch a NetApp account + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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> UpdateWithHttpMessagesAsync(NetAppAccountPatch body, string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create or update a NetApp account + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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> BeginCreateOrUpdateWithHttpMessagesAsync(NetAppAccount body, string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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 != 201 && (int)_statusCode != 202) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _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; + } + + /// + /// Delete a NetApp account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _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 != 202 && (int)_statusCode != 204) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/AccountsOperationsExtensions.cs b/src/SDKs/NetApp/Management.NetApp/Generated/AccountsOperationsExtensions.cs new file mode 100644 index 000000000000..9ba72292377b --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/AccountsOperationsExtensions.cs @@ -0,0 +1,313 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for AccountsOperations. + /// + public static partial class AccountsOperationsExtensions + { + /// + /// Lists all NetApp accounts in the resource group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + public static IEnumerable List(this IAccountsOperations operations, string resourceGroup) + { + return operations.ListAsync(resourceGroup).GetAwaiter().GetResult(); + } + + /// + /// Lists all NetApp accounts in the resource group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IAccountsOperations operations, string resourceGroup, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroup, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get the NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + public static NetAppAccount Get(this IAccountsOperations operations, string resourceGroup, string accountName) + { + return operations.GetAsync(resourceGroup, accountName).GetAwaiter().GetResult(); + } + + /// + /// Get the NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IAccountsOperations operations, string resourceGroup, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroup, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create or update a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + public static NetAppAccount CreateOrUpdate(this IAccountsOperations operations, NetAppAccount body, string resourceGroup, string accountName) + { + return operations.CreateOrUpdateAsync(body, resourceGroup, accountName).GetAwaiter().GetResult(); + } + + /// + /// Create or update a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IAccountsOperations operations, NetAppAccount body, string resourceGroup, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + public static void Delete(this IAccountsOperations operations, string resourceGroup, string accountName) + { + operations.DeleteAsync(resourceGroup, accountName).GetAwaiter().GetResult(); + } + + /// + /// Delete a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IAccountsOperations operations, string resourceGroup, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroup, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Patch a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + public static NetAppAccount Update(this IAccountsOperations operations, NetAppAccountPatch body, string resourceGroup, string accountName) + { + return operations.UpdateAsync(body, resourceGroup, accountName).GetAwaiter().GetResult(); + } + + /// + /// Patch a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IAccountsOperations operations, NetAppAccountPatch body, string resourceGroup, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(body, resourceGroup, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create or update a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + public static NetAppAccount BeginCreateOrUpdate(this IAccountsOperations operations, NetAppAccount body, string resourceGroup, string accountName) + { + return operations.BeginCreateOrUpdateAsync(body, resourceGroup, accountName).GetAwaiter().GetResult(); + } + + /// + /// Create or update a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IAccountsOperations operations, NetAppAccount body, string resourceGroup, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + public static void BeginDelete(this IAccountsOperations operations, string resourceGroup, string accountName) + { + operations.BeginDeleteAsync(resourceGroup, accountName).GetAwaiter().GetResult(); + } + + /// + /// Delete a NetApp account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this IAccountsOperations operations, string resourceGroup, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/AzureNetAppFilesManagementClient.cs b/src/SDKs/NetApp/Management.NetApp/Generated/AzureNetAppFilesManagementClient.cs new file mode 100644 index 000000000000..16389555606d --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/AzureNetAppFilesManagementClient.cs @@ -0,0 +1,392 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Serialization; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + + /// + /// Microsoft NetApp Azure Resource Provider specification + /// + public partial class AzureNetAppFilesManagementClient : ServiceClient, IAzureNetAppFilesManagementClient, IAzureClient + { + /// + /// The base URI of the service. + /// + public System.Uri BaseUri { get; set; } + + /// + /// Gets or sets json serialization settings. + /// + public JsonSerializerSettings SerializationSettings { get; private set; } + + /// + /// Gets or sets json deserialization settings. + /// + public JsonSerializerSettings DeserializationSettings { get; private set; } + + /// + /// Credentials needed for the client to connect to Azure. + /// + public ServiceClientCredentials Credentials { get; private set; } + + /// + /// Subscription credentials which uniquely identify Microsoft Azure + /// subscription. The subscription ID forms part of the URI for every service + /// call. + /// + public string SubscriptionId { get; set; } + + /// + /// Version of the API to be used with the client request. + /// + public string ApiVersion { get; private set; } + + /// + /// The preferred language for the response. + /// + public string AcceptLanguage { get; set; } + + /// + /// The retry timeout in seconds for Long Running Operations. Default value is + /// 30. + /// + public int? LongRunningOperationRetryTimeout { get; set; } + + /// + /// Whether a unique x-ms-client-request-id should be generated. When set to + /// true a unique x-ms-client-request-id value is generated and included in + /// each request. Default is true. + /// + public bool? GenerateClientRequestId { get; set; } + + /// + /// Gets the IOperations. + /// + public virtual IOperations Operations { get; private set; } + + /// + /// Gets the IAccountsOperations. + /// + public virtual IAccountsOperations Accounts { get; private set; } + + /// + /// Gets the IPoolsOperations. + /// + public virtual IPoolsOperations Pools { get; private set; } + + /// + /// Gets the IVolumesOperations. + /// + public virtual IVolumesOperations Volumes { get; private set; } + + /// + /// Gets the IMountTargetsOperations. + /// + public virtual IMountTargetsOperations MountTargets { get; private set; } + + /// + /// Gets the ISnapshotsOperations. + /// + public virtual ISnapshotsOperations Snapshots { get; private set; } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling AzureNetAppFilesManagementClient.Dispose(). False: will not dispose provided httpClient + protected AzureNetAppFilesManagementClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) + { + Initialize(); + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + protected AzureNetAppFilesManagementClient(params DelegatingHandler[] handlers) : base(handlers) + { + Initialize(); + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Optional. The http client handler used to handle http transport. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + protected AzureNetAppFilesManagementClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers) + { + Initialize(); + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Optional. The base URI of the service. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Thrown when a required parameter is null + /// + protected AzureNetAppFilesManagementClient(System.Uri baseUri, params DelegatingHandler[] handlers) : this(handlers) + { + if (baseUri == null) + { + throw new System.ArgumentNullException("baseUri"); + } + BaseUri = baseUri; + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Optional. The base URI of the service. + /// + /// + /// Optional. The http client handler used to handle http transport. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Thrown when a required parameter is null + /// + protected AzureNetAppFilesManagementClient(System.Uri baseUri, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) + { + if (baseUri == null) + { + throw new System.ArgumentNullException("baseUri"); + } + BaseUri = baseUri; + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Thrown when a required parameter is null + /// + public AzureNetAppFilesManagementClient(ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling AzureNetAppFilesManagementClient.Dispose(). False: will not dispose provided httpClient + /// + /// Thrown when a required parameter is null + /// + public AzureNetAppFilesManagementClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// Optional. The http client handler used to handle http transport. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Thrown when a required parameter is null + /// + public AzureNetAppFilesManagementClient(ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Optional. The base URI of the service. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Thrown when a required parameter is null + /// + public AzureNetAppFilesManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) + { + if (baseUri == null) + { + throw new System.ArgumentNullException("baseUri"); + } + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + BaseUri = baseUri; + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + + /// + /// Initializes a new instance of the AzureNetAppFilesManagementClient class. + /// + /// + /// Optional. The base URI of the service. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// Optional. The http client handler used to handle http transport. + /// + /// + /// Optional. The delegating handlers to add to the http client pipeline. + /// + /// + /// Thrown when a required parameter is null + /// + public AzureNetAppFilesManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) + { + if (baseUri == null) + { + throw new System.ArgumentNullException("baseUri"); + } + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + BaseUri = baseUri; + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + + /// + /// An optional partial-method to perform custom initialization. + /// + partial void CustomInitialize(); + /// + /// Initializes client properties. + /// + private void Initialize() + { + Operations = new Operations(this); + Accounts = new AccountsOperations(this); + Pools = new PoolsOperations(this); + Volumes = new VolumesOperations(this); + MountTargets = new MountTargetsOperations(this); + Snapshots = new SnapshotsOperations(this); + BaseUri = new System.Uri("https://management.azure.com"); + ApiVersion = "2017-08-15"; + AcceptLanguage = "en-US"; + LongRunningOperationRetryTimeout = 30; + GenerateClientRequestId = true; + SerializationSettings = new JsonSerializerSettings + { + Formatting = Newtonsoft.Json.Formatting.Indented, + DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, + DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, + ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, + ContractResolver = new ReadOnlyJsonContractResolver(), + Converters = new List + { + new Iso8601TimeSpanConverter() + } + }; + SerializationSettings.Converters.Add(new TransformationJsonConverter()); + DeserializationSettings = new JsonSerializerSettings + { + DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, + DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, + NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, + ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, + ContractResolver = new ReadOnlyJsonContractResolver(), + Converters = new List + { + new Iso8601TimeSpanConverter() + } + }; + CustomInitialize(); + DeserializationSettings.Converters.Add(new TransformationJsonConverter()); + DeserializationSettings.Converters.Add(new CloudErrorJsonConverter()); + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/IAccountsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/IAccountsOperations.cs new file mode 100644 index 000000000000..67aad073f5c4 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/IAccountsOperations.cs @@ -0,0 +1,202 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// AccountsOperations operations. + /// + public partial interface IAccountsOperations + { + /// + /// Lists all NetApp accounts in the resource group + /// + /// + /// The name of the resource group. + /// + /// + /// 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 resourceGroup, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get the NetApp account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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 resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or update a NetApp account + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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> CreateOrUpdateWithHttpMessagesAsync(NetAppAccount body, string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete a NetApp account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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 DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Patch a NetApp account + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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> UpdateWithHttpMessagesAsync(NetAppAccountPatch body, string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or update a NetApp account + /// + /// + /// NetApp Account object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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> BeginCreateOrUpdateWithHttpMessagesAsync(NetAppAccount body, string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete a NetApp account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/IAzureNetAppFilesManagementClient.cs b/src/SDKs/NetApp/Management.NetApp/Generated/IAzureNetAppFilesManagementClient.cs new file mode 100644 index 000000000000..4b809bdc552e --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/IAzureNetAppFilesManagementClient.cs @@ -0,0 +1,105 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + + /// + /// Microsoft NetApp Azure Resource Provider specification + /// + public partial interface IAzureNetAppFilesManagementClient : System.IDisposable + { + /// + /// The base URI of the service. + /// + System.Uri BaseUri { get; set; } + + /// + /// Gets or sets json serialization settings. + /// + JsonSerializerSettings SerializationSettings { get; } + + /// + /// Gets or sets json deserialization settings. + /// + JsonSerializerSettings DeserializationSettings { get; } + + /// + /// Credentials needed for the client to connect to Azure. + /// + ServiceClientCredentials Credentials { get; } + + /// + /// Subscription credentials which uniquely identify Microsoft Azure + /// subscription. The subscription ID forms part of the URI for every + /// service call. + /// + string SubscriptionId { get; set; } + + /// + /// Version of the API to be used with the client request. + /// + string ApiVersion { get; } + + /// + /// The preferred language for the response. + /// + string AcceptLanguage { get; set; } + + /// + /// The retry timeout in seconds for Long Running Operations. Default + /// value is 30. + /// + int? LongRunningOperationRetryTimeout { get; set; } + + /// + /// Whether a unique x-ms-client-request-id should be generated. When + /// set to true a unique x-ms-client-request-id value is generated and + /// included in each request. Default is true. + /// + bool? GenerateClientRequestId { get; set; } + + + /// + /// Gets the IOperations. + /// + IOperations Operations { get; } + + /// + /// Gets the IAccountsOperations. + /// + IAccountsOperations Accounts { get; } + + /// + /// Gets the IPoolsOperations. + /// + IPoolsOperations Pools { get; } + + /// + /// Gets the IVolumesOperations. + /// + IVolumesOperations Volumes { get; } + + /// + /// Gets the IMountTargetsOperations. + /// + IMountTargetsOperations MountTargets { get; } + + /// + /// Gets the ISnapshotsOperations. + /// + ISnapshotsOperations Snapshots { get; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/IMountTargetsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/IMountTargetsOperations.cs new file mode 100644 index 000000000000..450a521fb3cb --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/IMountTargetsOperations.cs @@ -0,0 +1,58 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// MountTargetsOperations operations. + /// + public partial interface IMountTargetsOperations + { + /// + /// List mount targets + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/IOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/IOperations.cs new file mode 100644 index 000000000000..9bcf74a9acd1 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/IOperations.cs @@ -0,0 +1,46 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Operations operations. + /// + public partial interface IOperations + { + /// + /// Lists all of the available Microsoft.NetApp Rest API operations + /// + /// + /// 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(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/IPoolsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/IPoolsOperations.cs new file mode 100644 index 000000000000..826ac57bf9a5 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/IPoolsOperations.cs @@ -0,0 +1,223 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PoolsOperations operations. + /// + public partial interface IPoolsOperations + { + /// + /// Lists all capacity pools in the NetApp Account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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 resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get a capacity pool + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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 resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or Update a capacity pool + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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> CreateOrUpdateWithHttpMessagesAsync(CapacityPool body, string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Patch a capacity pool + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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> UpdateWithHttpMessagesAsync(CapacityPoolPatch body, string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete a capacity pool + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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 DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or Update a capacity pool + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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> BeginCreateOrUpdateWithHttpMessagesAsync(CapacityPool body, string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete a capacity pool + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/ISnapshotsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/ISnapshotsOperations.cs new file mode 100644 index 000000000000..4da66fdaa213 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/ISnapshotsOperations.cs @@ -0,0 +1,265 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SnapshotsOperations operations. + /// + public partial interface ISnapshotsOperations + { + /// + /// List snapshots + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get a snapshot + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create a snapshot + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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> CreateWithHttpMessagesAsync(Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Patch a snapshot + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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> UpdateWithHttpMessagesAsync(SnapshotPatch body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete snapshot + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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 DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create a snapshot + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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> BeginCreateWithHttpMessagesAsync(Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete snapshot + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/IVolumesOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/IVolumesOperations.cs new file mode 100644 index 000000000000..cc9c8dd3b877 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/IVolumesOperations.cs @@ -0,0 +1,244 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// VolumesOperations operations. + /// + public partial interface IVolumesOperations + { + /// + /// List volumes + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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 resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get a volume + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or update a volume + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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> CreateOrUpdateWithHttpMessagesAsync(Volume body, string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Patch a volume + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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> UpdateWithHttpMessagesAsync(VolumePatch body, string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete a volume + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or update a volume + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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> BeginCreateOrUpdateWithHttpMessagesAsync(Volume body, string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete a volume + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/CapacityPool.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/CapacityPool.cs new file mode 100644 index 000000000000..e32d346560fb --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/CapacityPool.cs @@ -0,0 +1,166 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Capacity pool resource + /// + [Rest.Serialization.JsonTransformation] + public partial class CapacityPool : IResource + { + /// + /// Initializes a new instance of the CapacityPool class. + /// + public CapacityPool() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CapacityPool class. + /// + /// Resource location + /// Resource Id + /// Resource name + /// Resource type + /// Resource tags + /// poolId + /// size + /// serviceLevel + /// Azure lifecycle management + public CapacityPool(string location, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string poolId = default(string), long? size = default(long?), string serviceLevel = default(string), string provisioningState = default(string)) + { + Location = location; + Id = id; + Name = name; + Type = type; + Tags = tags; + PoolId = poolId; + Size = size; + ServiceLevel = serviceLevel; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource location + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + /// + /// Gets poolId + /// + /// + /// UUID v4 used to identify the Pool + /// + [JsonProperty(PropertyName = "properties.poolId")] + public string PoolId { get; private set; } + + /// + /// Gets or sets size + /// + /// + /// Provisioned size of the pool (in bytes). Allowed values are in 4TiB + /// chunks (value must be multiply of 4398046511104). + /// + [JsonProperty(PropertyName = "properties.size")] + public long? Size { get; set; } + + /// + /// Gets or sets serviceLevel + /// + /// + /// The service level of the file system. Possible values include: + /// 'Standard', 'Premium', 'Extreme' + /// + [JsonProperty(PropertyName = "properties.serviceLevel")] + public string ServiceLevel { get; set; } + + /// + /// Gets azure lifecycle management + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Location"); + } + if (PoolId != null) + { + if (PoolId.Length > 36) + { + throw new ValidationException(ValidationRules.MaxLength, "PoolId", 36); + } + if (PoolId.Length < 36) + { + throw new ValidationException(ValidationRules.MinLength, "PoolId", 36); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(PoolId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")) + { + throw new ValidationException(ValidationRules.Pattern, "PoolId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"); + } + } + if (Size > 549755813888000) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "Size", 549755813888000); + } + if (Size < 4398046511104) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "Size", 4398046511104); + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/CapacityPoolPatch.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/CapacityPoolPatch.cs new file mode 100644 index 000000000000..b96b94bc7fff --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/CapacityPoolPatch.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Capacity pool patch resource + /// + public partial class CapacityPoolPatch : IResource + { + /// + /// Initializes a new instance of the CapacityPoolPatch class. + /// + public CapacityPoolPatch() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CapacityPoolPatch class. + /// + /// Resource tags + public CapacityPoolPatch(object tags = default(object)) + { + Tags = tags; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/Dimension.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Dimension.cs new file mode 100644 index 000000000000..caeaeea6098b --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Dimension.cs @@ -0,0 +1,59 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Dimension of blobs, possibly be blob type or access tier. + /// + public partial class Dimension + { + /// + /// Initializes a new instance of the Dimension class. + /// + public Dimension() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Dimension class. + /// + /// Display name of dimension. + /// Display name of dimension. + public Dimension(string name = default(string), string displayName = default(string)) + { + Name = name; + DisplayName = displayName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets display name of dimension. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets display name of dimension. + /// + [JsonProperty(PropertyName = "displayName")] + public string DisplayName { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/Error.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Error.cs new file mode 100644 index 000000000000..e7f0b6b019d6 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Error.cs @@ -0,0 +1,77 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Error response describing why the operation failed. + /// + public partial class Error + { + /// + /// Initializes a new instance of the Error class. + /// + public Error() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Error class. + /// + /// Error code + /// Detailed error message + public Error(string code, string message) + { + Code = code; + Message = message; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets error code + /// + [JsonProperty(PropertyName = "code")] + public string Code { get; set; } + + /// + /// Gets or sets detailed error message + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Code == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Code"); + } + if (Message == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Message"); + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/ErrorException.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/ErrorException.cs new file mode 100644 index 000000000000..4d6990794d10 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/ErrorException.cs @@ -0,0 +1,61 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + + /// + /// Exception thrown for an invalid response with Error information. + /// + public partial class ErrorException : RestException + { + /// + /// Gets information about the associated HTTP request. + /// + public HttpRequestMessageWrapper Request { get; set; } + + /// + /// Gets information about the associated HTTP response. + /// + public HttpResponseMessageWrapper Response { get; set; } + + /// + /// Gets or sets the body object. + /// + public Error Body { get; set; } + + /// + /// Initializes a new instance of the ErrorException class. + /// + public ErrorException() + { + } + + /// + /// Initializes a new instance of the ErrorException class. + /// + /// The exception message. + public ErrorException(string message) + : this(message, null) + { + } + + /// + /// Initializes a new instance of the ErrorException class. + /// + /// The exception message. + /// Inner exception. + public ErrorException(string message, System.Exception innerException) + : base(message, innerException) + { + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/MetricSpecification.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/MetricSpecification.cs new file mode 100644 index 000000000000..e48dcfb07533 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/MetricSpecification.cs @@ -0,0 +1,126 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Metric specification of operation. + /// + public partial class MetricSpecification + { + /// + /// Initializes a new instance of the MetricSpecification class. + /// + public MetricSpecification() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MetricSpecification class. + /// + /// Name of metric specification. + /// Display name of metric + /// specification. + /// Display description of metric + /// specification. + /// Unit could be Bytes or Count. + /// Dimensions of blobs, including blob type + /// and access tier. + /// Aggregation type could be + /// Average. + /// The property to decide fill gap with + /// zero or not. + /// The category this metric specification + /// belong to, could be Capacity. + /// Account Resource + /// Id. + public MetricSpecification(string name = default(string), string displayName = default(string), string displayDescription = default(string), string unit = default(string), IList dimensions = default(IList), string aggregationType = default(string), bool? fillGapWithZero = default(bool?), string category = default(string), string resourceIdDimensionNameOverride = default(string)) + { + Name = name; + DisplayName = displayName; + DisplayDescription = displayDescription; + Unit = unit; + Dimensions = dimensions; + AggregationType = aggregationType; + FillGapWithZero = fillGapWithZero; + Category = category; + ResourceIdDimensionNameOverride = resourceIdDimensionNameOverride; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of metric specification. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets display name of metric specification. + /// + [JsonProperty(PropertyName = "displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets display description of metric specification. + /// + [JsonProperty(PropertyName = "displayDescription")] + public string DisplayDescription { get; set; } + + /// + /// Gets or sets unit could be Bytes or Count. + /// + [JsonProperty(PropertyName = "unit")] + public string Unit { get; set; } + + /// + /// Gets or sets dimensions of blobs, including blob type and access + /// tier. + /// + [JsonProperty(PropertyName = "dimensions")] + public IList Dimensions { get; set; } + + /// + /// Gets or sets aggregation type could be Average. + /// + [JsonProperty(PropertyName = "aggregationType")] + public string AggregationType { get; set; } + + /// + /// Gets or sets the property to decide fill gap with zero or not. + /// + [JsonProperty(PropertyName = "fillGapWithZero")] + public bool? FillGapWithZero { get; set; } + + /// + /// Gets or sets the category this metric specification belong to, + /// could be Capacity. + /// + [JsonProperty(PropertyName = "category")] + public string Category { get; set; } + + /// + /// Gets or sets account Resource Id. + /// + [JsonProperty(PropertyName = "resourceIdDimensionNameOverride")] + public string ResourceIdDimensionNameOverride { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/MountTarget.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/MountTarget.cs new file mode 100644 index 000000000000..ca99908fac25 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/MountTarget.cs @@ -0,0 +1,225 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Mount Target + /// + [Rest.Serialization.JsonTransformation] + public partial class MountTarget + { + /// + /// Initializes a new instance of the MountTarget class. + /// + public MountTarget() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MountTarget class. + /// + /// Resource location + /// fileSystemId + /// Resource Id + /// Resource name + /// Resource tags + /// mountTargetId + /// ipAddress + /// vlanid + /// startIp + /// startIp + /// gateway + /// netmask + /// Azure lifecycle management + public MountTarget(string location, string fileSystemId, string id = default(string), string name = default(string), object tags = default(object), string mountTargetId = default(string), string ipAddress = default(string), int? vlanId = default(int?), string startIp = default(string), string endIp = default(string), string gateway = default(string), string netmask = default(string), string provisioningState = default(string)) + { + Location = location; + Id = id; + Name = name; + Tags = tags; + MountTargetId = mountTargetId; + FileSystemId = fileSystemId; + IpAddress = ipAddress; + VlanId = vlanId; + StartIp = startIp; + EndIp = endIp; + Gateway = gateway; + Netmask = netmask; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource location + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + /// + /// Gets mountTargetId + /// + /// + /// UUID v4 used to identify the MountTarget + /// + [JsonProperty(PropertyName = "properties.mountTargetId")] + public string MountTargetId { get; private set; } + + /// + /// Gets or sets fileSystemId + /// + /// + /// UUID v4 used to identify the MountTarget + /// + [JsonProperty(PropertyName = "properties.fileSystemId")] + public string FileSystemId { get; set; } + + /// + /// Gets ipAddress + /// + /// + /// The mount target's IPv4 address + /// + [JsonProperty(PropertyName = "properties.ipAddress")] + public string IpAddress { get; private set; } + + /// + /// Gets or sets vlanid + /// + /// + /// Vlan Id + /// + [JsonProperty(PropertyName = "properties.vlanId")] + public int? VlanId { get; set; } + + /// + /// Gets or sets startIp + /// + /// + /// The start of IPv4 address range to use when creating a new mount + /// target + /// + [JsonProperty(PropertyName = "properties.startIp")] + public string StartIp { get; set; } + + /// + /// Gets or sets startIp + /// + /// + /// The end of IPv4 address range to use when creating a new mount + /// target + /// + [JsonProperty(PropertyName = "properties.endIp")] + public string EndIp { get; set; } + + /// + /// Gets or sets gateway + /// + /// + /// The gateway of the IPv4 address range to use when creating a new + /// mount target + /// + [JsonProperty(PropertyName = "properties.gateway")] + public string Gateway { get; set; } + + /// + /// Gets or sets netmask + /// + /// + /// The netmask of the IPv4 address range to use when creating a new + /// mount target + /// + [JsonProperty(PropertyName = "properties.netmask")] + public string Netmask { get; set; } + + /// + /// Gets azure lifecycle management + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Location"); + } + if (FileSystemId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "FileSystemId"); + } + if (MountTargetId != null) + { + if (MountTargetId.Length > 36) + { + throw new ValidationException(ValidationRules.MaxLength, "MountTargetId", 36); + } + if (MountTargetId.Length < 36) + { + throw new ValidationException(ValidationRules.MinLength, "MountTargetId", 36); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(MountTargetId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")) + { + throw new ValidationException(ValidationRules.Pattern, "MountTargetId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"); + } + } + if (FileSystemId != null) + { + if (FileSystemId.Length > 36) + { + throw new ValidationException(ValidationRules.MaxLength, "FileSystemId", 36); + } + if (FileSystemId.Length < 36) + { + throw new ValidationException(ValidationRules.MinLength, "FileSystemId", 36); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(FileSystemId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")) + { + throw new ValidationException(ValidationRules.Pattern, "FileSystemId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"); + } + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/NetAppAccount.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/NetAppAccount.cs new file mode 100644 index 000000000000..ac0e16078460 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/NetAppAccount.cs @@ -0,0 +1,108 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// NetApp account resource + /// + [Rest.Serialization.JsonTransformation] + public partial class NetAppAccount : IResource + { + /// + /// Initializes a new instance of the NetAppAccount class. + /// + public NetAppAccount() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetAppAccount class. + /// + /// Resource location + /// Resource Id + /// Resource name + /// Resource type + /// Resource tags + /// Azure lifecycle management + public NetAppAccount(string location, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string provisioningState = default(string)) + { + Location = location; + Id = id; + Name = name; + Type = type; + Tags = tags; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource location + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + /// + /// Gets azure lifecycle management + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Location"); + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/NetAppAccountPatch.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/NetAppAccountPatch.cs new file mode 100644 index 000000000000..95e879c4a0de --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/NetAppAccountPatch.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Linq; + + /// + /// NetApp account patch resource + /// + public partial class NetAppAccountPatch : IResource + { + /// + /// Initializes a new instance of the NetAppAccountPatch class. + /// + public NetAppAccountPatch() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetAppAccountPatch class. + /// + /// Resource tags + public NetAppAccountPatch(object tags = default(object)) + { + Tags = tags; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/Operation.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Operation.cs new file mode 100644 index 000000000000..3558eccfb9e4 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Operation.cs @@ -0,0 +1,82 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Microsoft.NetApp REST API operation definition. + /// + [Rest.Serialization.JsonTransformation] + public partial class Operation + { + /// + /// Initializes a new instance of the Operation class. + /// + public Operation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Operation class. + /// + /// Operation name: + /// {provider}/{resource}/{operation} + /// Display metadata associated with the + /// operation. + /// The origin of operations. + /// One property of operation, + /// include metric specifications. + public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), string origin = default(string), ServiceSpecification serviceSpecification = default(ServiceSpecification)) + { + Name = name; + Display = display; + Origin = origin; + ServiceSpecification = serviceSpecification; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets operation name: {provider}/{resource}/{operation} + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets display metadata associated with the operation. + /// + [JsonProperty(PropertyName = "display")] + public OperationDisplay Display { get; set; } + + /// + /// Gets or sets the origin of operations. + /// + [JsonProperty(PropertyName = "origin")] + public string Origin { get; set; } + + /// + /// Gets or sets one property of operation, include metric + /// specifications. + /// + [JsonProperty(PropertyName = "properties.serviceSpecification")] + public ServiceSpecification ServiceSpecification { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/OperationDisplay.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/OperationDisplay.cs new file mode 100644 index 000000000000..21a016ff3766 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/OperationDisplay.cs @@ -0,0 +1,77 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Display metadata associated with the operation. + /// + public partial class OperationDisplay + { + /// + /// Initializes a new instance of the OperationDisplay class. + /// + public OperationDisplay() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OperationDisplay class. + /// + /// Service provider: Microsoft NetApp. + /// Resource on which the operation is performed + /// etc. + /// Type of operation: get, read, delete, + /// etc. + /// Operation description. + public OperationDisplay(string provider = default(string), string resource = default(string), string operation = default(string), string description = default(string)) + { + Provider = provider; + Resource = resource; + Operation = operation; + Description = description; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets service provider: Microsoft NetApp. + /// + [JsonProperty(PropertyName = "provider")] + public string Provider { get; set; } + + /// + /// Gets or sets resource on which the operation is performed etc. + /// + [JsonProperty(PropertyName = "resource")] + public string Resource { get; set; } + + /// + /// Gets or sets type of operation: get, read, delete, etc. + /// + [JsonProperty(PropertyName = "operation")] + public string Operation { get; set; } + + /// + /// Gets or sets operation description. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/Page.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Page.cs new file mode 100644 index 000000000000..48b8e217fa20 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Page.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + + /// + /// Defines a page in Azure responses. + /// + /// Type of the page content items + [JsonObject] + public class Page : IPage + { + /// + /// Gets the link to the next page. + /// + [JsonProperty("")] + public string NextPageLink { get; private set; } + + [JsonProperty("value")] + private IList Items{ get; set; } + + /// + /// Returns an enumerator that iterates through the collection. + /// + /// A an enumerator that can be used to iterate through the collection. + public IEnumerator GetEnumerator() + { + return Items == null ? System.Linq.Enumerable.Empty().GetEnumerator() : Items.GetEnumerator(); + } + + /// + /// Returns an enumerator that iterates through the collection. + /// + /// A an enumerator that can be used to iterate through the collection. + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/ServiceLevel.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/ServiceLevel.cs new file mode 100644 index 000000000000..876016b5b31c --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/ServiceLevel.cs @@ -0,0 +1,32 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + + /// + /// Defines values for ServiceLevel. + /// + public static class ServiceLevel + { + /// + /// Standard service level + /// + public const string Standard = "Standard"; + /// + /// Premium service level + /// + public const string Premium = "Premium"; + /// + /// Extreme service level + /// + public const string Extreme = "Extreme"; + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/ServiceSpecification.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/ServiceSpecification.cs new file mode 100644 index 000000000000..a2635ec2e841 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/ServiceSpecification.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// One property of operation, include metric specifications. + /// + public partial class ServiceSpecification + { + /// + /// Initializes a new instance of the ServiceSpecification class. + /// + public ServiceSpecification() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ServiceSpecification class. + /// + /// Metric specifications of + /// operation. + public ServiceSpecification(IList metricSpecifications = default(IList)) + { + MetricSpecifications = metricSpecifications; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets metric specifications of operation. + /// + [JsonProperty(PropertyName = "metricSpecifications")] + public IList MetricSpecifications { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/Snapshot.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Snapshot.cs new file mode 100644 index 000000000000..578e0695db9e --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Snapshot.cs @@ -0,0 +1,175 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Snapshot of a Volume + /// + [Rest.Serialization.JsonTransformation] + public partial class Snapshot : IResource + { + /// + /// Initializes a new instance of the Snapshot class. + /// + public Snapshot() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Snapshot class. + /// + /// Resource location + /// fileSystemId + /// Resource Id + /// Resource name + /// Resource type + /// Resource tags + /// snapshotId + /// name + /// Azure lifecycle management + public Snapshot(string location, string fileSystemId, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string snapshotId = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string)) + { + Location = location; + Id = id; + Name = name; + Type = type; + Tags = tags; + SnapshotId = snapshotId; + FileSystemId = fileSystemId; + CreationDate = creationDate; + ProvisioningState = provisioningState; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource location + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + /// + /// Gets snapshotId + /// + /// + /// UUID v4 used to identify the Snapshot + /// + [JsonProperty(PropertyName = "properties.snapshotId")] + public string SnapshotId { get; private set; } + + /// + /// Gets or sets fileSystemId + /// + /// + /// UUID v4 used to identify the FileSystem + /// + [JsonProperty(PropertyName = "properties.fileSystemId")] + public string FileSystemId { get; set; } + + /// + /// Gets name + /// + /// + /// The creation date of the snapshot + /// + [JsonProperty(PropertyName = "properties.creationDate")] + public System.DateTime? CreationDate { get; private set; } + + /// + /// Gets azure lifecycle management + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Location"); + } + if (FileSystemId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "FileSystemId"); + } + if (SnapshotId != null) + { + if (SnapshotId.Length > 36) + { + throw new ValidationException(ValidationRules.MaxLength, "SnapshotId", 36); + } + if (SnapshotId.Length < 36) + { + throw new ValidationException(ValidationRules.MinLength, "SnapshotId", 36); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(SnapshotId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")) + { + throw new ValidationException(ValidationRules.Pattern, "SnapshotId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"); + } + } + if (FileSystemId != null) + { + if (FileSystemId.Length > 36) + { + throw new ValidationException(ValidationRules.MaxLength, "FileSystemId", 36); + } + if (FileSystemId.Length < 36) + { + throw new ValidationException(ValidationRules.MinLength, "FileSystemId", 36); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(FileSystemId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")) + { + throw new ValidationException(ValidationRules.Pattern, "FileSystemId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"); + } + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/SnapshotPatch.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/SnapshotPatch.cs new file mode 100644 index 000000000000..a27245efda9a --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/SnapshotPatch.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Snapshot patch + /// + public partial class SnapshotPatch : IResource + { + /// + /// Initializes a new instance of the SnapshotPatch class. + /// + public SnapshotPatch() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SnapshotPatch class. + /// + /// Resource tags + public SnapshotPatch(object tags = default(object)) + { + Tags = tags; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/Volume.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Volume.cs new file mode 100644 index 000000000000..7f6dc1a906e2 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/Volume.cs @@ -0,0 +1,196 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Volume resource + /// + [Rest.Serialization.JsonTransformation] + public partial class Volume : IResource + { + /// + /// Initializes a new instance of the Volume class. + /// + public Volume() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the Volume class. + /// + /// Resource location + /// Creation Token or File Path + /// serviceLevel + /// Resource Id + /// Resource name + /// Resource type + /// Resource tags + /// FileSystem ID + /// usageThreshold + /// Azure lifecycle management + /// The Azure Resource URI for a delegated + /// subnet. Must have the delegation Microsoft.NetApp/volumes + public Volume(string location, string creationToken, string serviceLevel, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string fileSystemId = default(string), long? usageThreshold = default(long?), string provisioningState = default(string), string subnetId = default(string)) + { + Location = location; + Id = id; + Name = name; + Type = type; + Tags = tags; + FileSystemId = fileSystemId; + CreationToken = creationToken; + ServiceLevel = serviceLevel; + UsageThreshold = usageThreshold; + ProvisioningState = provisioningState; + SubnetId = subnetId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource location + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + /// + /// Gets fileSystem ID + /// + /// + /// Unique FileSystem Identifier. + /// + [JsonProperty(PropertyName = "properties.fileSystemId")] + public string FileSystemId { get; private set; } + + /// + /// Gets or sets creation Token or File Path + /// + /// + /// A unique file path for the volume. Used when creating mount targets + /// + [JsonProperty(PropertyName = "properties.creationToken")] + public string CreationToken { get; set; } + + /// + /// Gets or sets serviceLevel + /// + /// + /// The service level of the file system. Possible values include: + /// 'Standard', 'Premium', 'Extreme' + /// + [JsonProperty(PropertyName = "properties.serviceLevel")] + public string ServiceLevel { get; set; } + + /// + /// Gets or sets usageThreshold + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a + /// soft quota used for alerting only. Minimum size is 100 GiB. Upper + /// limit is 100TiB. + /// + [JsonProperty(PropertyName = "properties.usageThreshold")] + public long? UsageThreshold { get; set; } + + /// + /// Gets azure lifecycle management + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Gets or sets the Azure Resource URI for a delegated subnet. Must + /// have the delegation Microsoft.NetApp/volumes + /// + [JsonProperty(PropertyName = "properties.subnetId")] + public string SubnetId { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Location == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Location"); + } + if (CreationToken == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "CreationToken"); + } + if (ServiceLevel == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServiceLevel"); + } + if (FileSystemId != null) + { + if (FileSystemId.Length > 36) + { + throw new ValidationException(ValidationRules.MaxLength, "FileSystemId", 36); + } + if (FileSystemId.Length < 36) + { + throw new ValidationException(ValidationRules.MinLength, "FileSystemId", 36); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(FileSystemId, "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")) + { + throw new ValidationException(ValidationRules.Pattern, "FileSystemId", "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"); + } + } + if (UsageThreshold > 109951162777600) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "UsageThreshold", 109951162777600); + } + if (UsageThreshold < 107374182400) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "UsageThreshold", 107374182400); + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Models/VolumePatch.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Models/VolumePatch.cs new file mode 100644 index 000000000000..2a6f607a704b --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Models/VolumePatch.cs @@ -0,0 +1,129 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Volume patch resource + /// + [Rest.Serialization.JsonTransformation] + public partial class VolumePatch : IResource + { + /// + /// Initializes a new instance of the VolumePatch class. + /// + public VolumePatch() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the VolumePatch class. + /// + /// Resource location + /// Resource Id + /// Resource name + /// Resource type + /// Resource tags + /// serviceLevel + /// usageThreshold + public VolumePatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string serviceLevel = default(string), long? usageThreshold = default(long?)) + { + Location = location; + Id = id; + Name = name; + Type = type; + Tags = tags; + ServiceLevel = serviceLevel; + UsageThreshold = usageThreshold; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource location + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public object Tags { get; set; } + + /// + /// Gets or sets serviceLevel + /// + /// + /// The service level of the file system. Possible values include: + /// 'Standard', 'Premium', 'Extreme' + /// + [JsonProperty(PropertyName = "properties.serviceLevel")] + public string ServiceLevel { get; set; } + + /// + /// Gets or sets usageThreshold + /// + /// + /// Maximum storage quota allowed for a file system in bytes. This is a + /// soft quota used for alerting only. Minimum size is 100 GiB. Upper + /// limit is 100TiB. + /// + [JsonProperty(PropertyName = "properties.usageThreshold")] + public long? UsageThreshold { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (UsageThreshold > 109951162777600) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "UsageThreshold", 109951162777600); + } + if (UsageThreshold < 107374182400) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "UsageThreshold", 107374182400); + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/MountTargetsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/MountTargetsOperations.cs new file mode 100644 index 000000000000..47f6a89f0c31 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/MountTargetsOperations.cs @@ -0,0 +1,263 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// MountTargetsOperations operations. + /// + internal partial class MountTargetsOperations : IServiceOperations, IMountTargetsOperations + { + /// + /// Initializes a new instance of the MountTargetsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal MountTargetsOperations(AzureNetAppFilesManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the AzureNetAppFilesManagementClient + /// + public AzureNetAppFilesManagementClient Client { get; private set; } + + /// + /// List mount targets + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/MountTargetsOperationsExtensions.cs b/src/SDKs/NetApp/Management.NetApp/Generated/MountTargetsOperationsExtensions.cs new file mode 100644 index 000000000000..0fc342c2e72f --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/MountTargetsOperationsExtensions.cs @@ -0,0 +1,79 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for MountTargetsOperations. + /// + public static partial class MountTargetsOperationsExtensions + { + /// + /// List mount targets + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static IEnumerable List(this IMountTargetsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName) + { + return operations.ListAsync(resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// List mount targets + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IMountTargetsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/Operations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/Operations.cs new file mode 100644 index 000000000000..741f5121bbf2 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/Operations.cs @@ -0,0 +1,222 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Operations operations. + /// + internal partial class Operations : IServiceOperations, IOperations + { + /// + /// Initializes a new instance of the Operations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal Operations(AzureNetAppFilesManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the AzureNetAppFilesManagementClient + /// + public AzureNetAppFilesManagementClient Client { get; private set; } + + /// + /// Lists all of the available Microsoft.NetApp Rest API operations + /// + /// + /// 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(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("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("/") ? "" : "/")), "providers/Microsoft.NetApp/operations").ToString(); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/OperationsExtensions.cs b/src/SDKs/NetApp/Management.NetApp/Generated/OperationsExtensions.cs new file mode 100644 index 000000000000..5bacf16bf73a --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/OperationsExtensions.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for Operations. + /// + public static partial class OperationsExtensions + { + /// + /// Lists all of the available Microsoft.NetApp Rest API operations + /// + /// + /// The operations group for this extension method. + /// + public static IEnumerable List(this IOperations operations) + { + return operations.ListAsync().GetAwaiter().GetResult(); + } + + /// + /// Lists all of the available Microsoft.NetApp Rest API operations + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IOperations operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/PoolsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/PoolsOperations.cs new file mode 100644 index 000000000000..8150d2fe567c --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/PoolsOperations.cs @@ -0,0 +1,1127 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// PoolsOperations operations. + /// + internal partial class PoolsOperations : IServiceOperations, IPoolsOperations + { + /// + /// Initializes a new instance of the PoolsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal PoolsOperations(AzureNetAppFilesManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the AzureNetAppFilesManagementClient + /// + public AzureNetAppFilesManagementClient Client { get; private set; } + + /// + /// Lists all capacity pools in the NetApp Account + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// 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 resourceGroup, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get a capacity pool + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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 resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create or Update a capacity pool + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(CapacityPool body, string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Patch a capacity pool + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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> UpdateWithHttpMessagesAsync(CapacityPoolPatch body, string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Delete a capacity pool + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Create or Update a capacity pool + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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> BeginCreateOrUpdateWithHttpMessagesAsync(CapacityPool body, string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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 != 201 && (int)_statusCode != 202) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _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; + } + + /// + /// Delete a capacity pool + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _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 != 202 && (int)_statusCode != 204) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/PoolsOperationsExtensions.cs b/src/SDKs/NetApp/Management.NetApp/Generated/PoolsOperationsExtensions.cs new file mode 100644 index 000000000000..87354cebb127 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/PoolsOperationsExtensions.cs @@ -0,0 +1,355 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for PoolsOperations. + /// + public static partial class PoolsOperationsExtensions + { + /// + /// Lists all capacity pools in the NetApp Account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + public static IEnumerable List(this IPoolsOperations operations, string resourceGroup, string accountName) + { + return operations.ListAsync(resourceGroup, accountName).GetAwaiter().GetResult(); + } + + /// + /// Lists all capacity pools in the NetApp Account + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IPoolsOperations operations, string resourceGroup, string accountName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroup, accountName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + public static CapacityPool Get(this IPoolsOperations operations, string resourceGroup, string accountName, string poolName) + { + return operations.GetAsync(resourceGroup, accountName, poolName).GetAwaiter().GetResult(); + } + + /// + /// Get a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IPoolsOperations operations, string resourceGroup, string accountName, string poolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroup, accountName, poolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create or Update a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + public static CapacityPool CreateOrUpdate(this IPoolsOperations operations, CapacityPool body, string resourceGroup, string accountName, string poolName) + { + return operations.CreateOrUpdateAsync(body, resourceGroup, accountName, poolName).GetAwaiter().GetResult(); + } + + /// + /// Create or Update a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IPoolsOperations operations, CapacityPool body, string resourceGroup, string accountName, string poolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Patch a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + public static CapacityPool Update(this IPoolsOperations operations, CapacityPoolPatch body, string resourceGroup, string accountName, string poolName) + { + return operations.UpdateAsync(body, resourceGroup, accountName, poolName).GetAwaiter().GetResult(); + } + + /// + /// Patch a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IPoolsOperations operations, CapacityPoolPatch body, string resourceGroup, string accountName, string poolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + public static void Delete(this IPoolsOperations operations, string resourceGroup, string accountName, string poolName) + { + operations.DeleteAsync(resourceGroup, accountName, poolName).GetAwaiter().GetResult(); + } + + /// + /// Delete a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IPoolsOperations operations, string resourceGroup, string accountName, string poolName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Create or Update a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + public static CapacityPool BeginCreateOrUpdate(this IPoolsOperations operations, CapacityPool body, string resourceGroup, string accountName, string poolName) + { + return operations.BeginCreateOrUpdateAsync(body, resourceGroup, accountName, poolName).GetAwaiter().GetResult(); + } + + /// + /// Create or Update a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// Capacity pool object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IPoolsOperations operations, CapacityPool body, string resourceGroup, string accountName, string poolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + public static void BeginDelete(this IPoolsOperations operations, string resourceGroup, string accountName, string poolName) + { + operations.BeginDeleteAsync(resourceGroup, accountName, poolName).GetAwaiter().GetResult(); + } + + /// + /// Delete a capacity pool + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this IPoolsOperations operations, string resourceGroup, string accountName, string poolName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/SdkInfo_MicrosoftNetApp.cs b/src/SDKs/NetApp/Management.NetApp/Generated/SdkInfo_MicrosoftNetApp.cs new file mode 100644 index 000000000000..e0e3c53035c8 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/SdkInfo_MicrosoftNetApp.cs @@ -0,0 +1,32 @@ + +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using System; + using System.Collections.Generic; + using System.Linq; + + internal static partial class SdkInfo + { + public static IEnumerable> ApiInfo_MicrosoftNetApp + { + get + { + return new Tuple[] + { + new Tuple("NetApp", "Accounts", "2017-08-15"), + new Tuple("NetApp", "MountTargets", "2017-08-15"), + new Tuple("NetApp", "Operations", "2017-08-15"), + new Tuple("NetApp", "Pools", "2017-08-15"), + new Tuple("NetApp", "Snapshots", "2017-08-15"), + new Tuple("NetApp", "Volumes", "2017-08-15"), + }.AsEnumerable(); + } + } + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/SnapshotsOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/SnapshotsOperations.cs new file mode 100644 index 000000000000..ba7c32e174c9 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/SnapshotsOperations.cs @@ -0,0 +1,1211 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SnapshotsOperations operations. + /// + internal partial class SnapshotsOperations : IServiceOperations, ISnapshotsOperations + { + /// + /// Initializes a new instance of the SnapshotsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal SnapshotsOperations(AzureNetAppFilesManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the AzureNetAppFilesManagementClient + /// + public AzureNetAppFilesManagementClient Client { get; private set; } + + /// + /// List snapshots + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get a snapshot + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (snapshotName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + tracingParameters.Add("snapshotName", snapshotName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + _url = _url.Replace("{snapshotName}", System.Uri.EscapeDataString(snapshotName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create a snapshot + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateWithHttpMessagesAsync(Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, snapshotName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Patch a snapshot + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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> UpdateWithHttpMessagesAsync(SnapshotPatch body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (snapshotName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + tracingParameters.Add("snapshotName", snapshotName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + _url = _url.Replace("{snapshotName}", System.Uri.EscapeDataString(snapshotName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Delete snapshot + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, snapshotName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Create a snapshot + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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> BeginCreateWithHttpMessagesAsync(Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (snapshotName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + tracingParameters.Add("snapshotName", snapshotName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + _url = _url.Replace("{snapshotName}", System.Uri.EscapeDataString(snapshotName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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 != 201 && (int)_statusCode != 202) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _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; + } + + /// + /// Delete snapshot + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (snapshotName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + tracingParameters.Add("snapshotName", snapshotName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + _url = _url.Replace("{snapshotName}", System.Uri.EscapeDataString(snapshotName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _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 != 202 && (int)_statusCode != 204) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/SnapshotsOperationsExtensions.cs b/src/SDKs/NetApp/Management.NetApp/Generated/SnapshotsOperationsExtensions.cs new file mode 100644 index 000000000000..8229a0a94f4c --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/SnapshotsOperationsExtensions.cs @@ -0,0 +1,439 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for SnapshotsOperations. + /// + public static partial class SnapshotsOperationsExtensions + { + /// + /// List snapshots + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static IEnumerable List(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName) + { + return operations.ListAsync(resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// List snapshots + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + public static Snapshot Get(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName) + { + return operations.GetAsync(resourceGroup, accountName, poolName, volumeName, snapshotName).GetAwaiter().GetResult(); + } + + /// + /// Get a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, snapshotName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + public static Snapshot Create(this ISnapshotsOperations operations, Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName) + { + return operations.CreateAsync(body, resourceGroup, accountName, poolName, volumeName, snapshotName).GetAwaiter().GetResult(); + } + + /// + /// Create a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The cancellation token. + /// + public static async Task CreateAsync(this ISnapshotsOperations operations, Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, snapshotName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Patch a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + public static Snapshot Update(this ISnapshotsOperations operations, SnapshotPatch body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName) + { + return operations.UpdateAsync(body, resourceGroup, accountName, poolName, volumeName, snapshotName).GetAwaiter().GetResult(); + } + + /// + /// Patch a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ISnapshotsOperations operations, SnapshotPatch body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, snapshotName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + public static void Delete(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName) + { + operations.DeleteAsync(resourceGroup, accountName, poolName, volumeName, snapshotName).GetAwaiter().GetResult(); + } + + /// + /// Delete snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, snapshotName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Create a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + public static Snapshot BeginCreate(this ISnapshotsOperations operations, Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName) + { + return operations.BeginCreateAsync(body, resourceGroup, accountName, poolName, volumeName, snapshotName).GetAwaiter().GetResult(); + } + + /// + /// Create a snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// Snapshot object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateAsync(this ISnapshotsOperations operations, Snapshot body, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, snapshotName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + public static void BeginDelete(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName) + { + operations.BeginDeleteAsync(resourceGroup, accountName, poolName, volumeName, snapshotName).GetAwaiter().GetResult(); + } + + /// + /// Delete snapshot + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The name of the mount target + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this ISnapshotsOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, string snapshotName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, snapshotName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/VolumesOperations.cs b/src/SDKs/NetApp/Management.NetApp/Generated/VolumesOperations.cs new file mode 100644 index 000000000000..705b7c976b3b --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/VolumesOperations.cs @@ -0,0 +1,1178 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// VolumesOperations operations. + /// + internal partial class VolumesOperations : IServiceOperations, IVolumesOperations + { + /// + /// Initializes a new instance of the VolumesOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal VolumesOperations(AzureNetAppFilesManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the AzureNetAppFilesManagementClient + /// + public AzureNetAppFilesManagementClient Client { get; private set; } + + /// + /// List volumes + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// 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 resourceGroup, string accountName, string poolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get a volume + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + 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/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create or update a volume + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(Volume body, string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Patch a volume + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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> UpdateWithHttpMessagesAsync(VolumePatch body, string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Delete a volume + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Create or update a volume + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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> BeginCreateOrUpdateWithHttpMessagesAsync(Volume body, string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (body == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "body"); + } + if (body != null) + { + body.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("body", body); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _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(body != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, 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 != 201 && (int)_statusCode != 202) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _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; + } + + /// + /// Delete a volume + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// 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 BeginDeleteWithHttpMessagesAsync(string resourceGroup, string accountName, string poolName, string volumeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroup == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroup"); + } + if (accountName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "accountName"); + } + if (poolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "poolName"); + } + if (volumeName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "volumeName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroup", resourceGroup); + tracingParameters.Add("accountName", accountName); + tracingParameters.Add("poolName", poolName); + tracingParameters.Add("volumeName", volumeName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroup}", System.Uri.EscapeDataString(resourceGroup)); + _url = _url.Replace("{accountName}", System.Uri.EscapeDataString(accountName)); + _url = _url.Replace("{poolName}", System.Uri.EscapeDataString(poolName)); + _url = _url.Replace("{volumeName}", System.Uri.EscapeDataString(volumeName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _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 != 202 && (int)_statusCode != 204) + { + var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Generated/VolumesOperationsExtensions.cs b/src/SDKs/NetApp/Management.NetApp/Generated/VolumesOperationsExtensions.cs new file mode 100644 index 000000000000..cc68cd1b6701 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Generated/VolumesOperationsExtensions.cs @@ -0,0 +1,397 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.NetApp +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for VolumesOperations. + /// + public static partial class VolumesOperationsExtensions + { + /// + /// List volumes + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + public static IEnumerable List(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName) + { + return operations.ListAsync(resourceGroup, accountName, poolName).GetAwaiter().GetResult(); + } + + /// + /// List volumes + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroup, accountName, poolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static Volume Get(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName, string volumeName) + { + return operations.GetAsync(resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// Get a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create or update a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static Volume CreateOrUpdate(this IVolumesOperations operations, Volume body, string resourceGroup, string accountName, string poolName, string volumeName) + { + return operations.CreateOrUpdateAsync(body, resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// Create or update a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IVolumesOperations operations, Volume body, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Patch a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static Volume Update(this IVolumesOperations operations, VolumePatch body, string resourceGroup, string accountName, string poolName, string volumeName) + { + return operations.UpdateAsync(body, resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// Patch a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IVolumesOperations operations, VolumePatch body, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static void Delete(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName, string volumeName) + { + operations.DeleteAsync(resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// Delete a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Create or update a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static Volume BeginCreateOrUpdate(this IVolumesOperations operations, Volume body, string resourceGroup, string accountName, string poolName, string volumeName) + { + return operations.BeginCreateOrUpdateAsync(body, resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// Create or update a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// Volume object supplied in the body of the operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IVolumesOperations operations, Volume body, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(body, resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + public static void BeginDelete(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName, string volumeName) + { + operations.BeginDeleteAsync(resourceGroup, accountName, poolName, volumeName).GetAwaiter().GetResult(); + } + + /// + /// Delete a volume + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the NetApp account + /// + /// + /// The name of the capacity pool + /// + /// + /// The name of the volume + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this IVolumesOperations operations, string resourceGroup, string accountName, string poolName, string volumeName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroup, accountName, poolName, volumeName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/src/SDKs/NetApp/Management.NetApp/Microsoft.Azure.Management.NetApp.csproj b/src/SDKs/NetApp/Management.NetApp/Microsoft.Azure.Management.NetApp.csproj new file mode 100644 index 000000000000..7713f5d90bb4 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Microsoft.Azure.Management.NetApp.csproj @@ -0,0 +1,35 @@ + + + + + + + Microsoft.Azure.Management.NetApp + Provides NetApp storage management capabilities for Microsoft Azure. + Microsoft Azure NetApp Management + Microsoft.Azure.Management.NetApp + 0.9.0-preview + MicrosoftAzure Management;NetApp + + + + + + + net452;netstandard1.4 + + + + + + \ No newline at end of file diff --git a/src/SDKs/NetApp/Management.NetApp/Properties/AssemblyInfo.cs b/src/SDKs/NetApp/Management.NetApp/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..a06bfbcb0b92 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/Properties/AssemblyInfo.cs @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Reflection; +using System.Resources; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Microsoft Azure NetApp Management Library")] +[assembly: AssemblyDescription("Provides management functionality for Azure NetApp Storage.")] + +[assembly: AssemblyVersion("0.9.0.0")] +[assembly: AssemblyFileVersion("0.9.0.0")] + +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Azure .NET SDK")] +[assembly: AssemblyCopyright("${AuthorCopyright}")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + diff --git a/src/SDKs/NetApp/Management.NetApp/generate.ps1 b/src/SDKs/NetApp/Management.NetApp/generate.ps1 new file mode 100644 index 000000000000..d61decabf822 --- /dev/null +++ b/src/SDKs/NetApp/Management.NetApp/generate.ps1 @@ -0,0 +1 @@ +Start-AutoRestCodeGeneration -ResourceProvider "netapp/resource-manager" -AutoRestVersion "latest" \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/Helpers/NetAppManagementTestUtilities.cs b/src/SDKs/NetApp/NetApp.Tests/Helpers/NetAppManagementTestUtilities.cs new file mode 100644 index 000000000000..3c57f06c00d5 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/Helpers/NetAppManagementTestUtilities.cs @@ -0,0 +1,24 @@ +using Microsoft.Azure.Management.NetApp; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Net; +using System.Threading; + +namespace NetApp.Tests.Helpers +{ + public static class NetAppTestUtilities + { + public static AzureNetAppFilesManagementClient GetNetAppManagementClient(MockContext context, RecordedDelegatingHandler handler = null) + { + if (handler != null) + { + handler.IsPassThrough = true; + } + + var client = context.GetServiceClient(handlers: + handler ?? new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + return client; + } + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/Helpers/RecordedDelegatingHandler.cs b/src/SDKs/NetApp/NetApp.Tests/Helpers/RecordedDelegatingHandler.cs new file mode 100644 index 000000000000..c46d4544abb1 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/Helpers/RecordedDelegatingHandler.cs @@ -0,0 +1,89 @@ +using System; +using System.Net; +using System.Net.Http; +using System.Net.Http.Headers; +using System.Threading.Tasks; + +namespace NetApp.Tests.Helpers +{ + public class RecordedDelegatingHandler : DelegatingHandler + { + private HttpResponseMessage _response; + + public RecordedDelegatingHandler() + { + StatusCodeToReturn = HttpStatusCode.Created; + SubsequentStatusCodeToReturn = StatusCodeToReturn; + } + + public RecordedDelegatingHandler(HttpResponseMessage response) + { + StatusCodeToReturn = HttpStatusCode.Created; + SubsequentStatusCodeToReturn = StatusCodeToReturn; + _response = response; + } + + public HttpStatusCode StatusCodeToReturn { get; set; } + + public HttpStatusCode SubsequentStatusCodeToReturn { get; set; } + + public string Request { get; private set; } + + public HttpRequestHeaders RequestHeaders { get; private set; } + + public HttpContentHeaders ContentHeaders { get; private set; } + + public HttpMethod Method { get; private set; } + + public Uri Uri { get; private set; } + + public bool IsPassThrough { get; set; } + + private int counter; + + protected override async Task SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) + { + counter++; + // Save request + if (request.Content == null) + { + Request = string.Empty; + } + else + { + Request = await request.Content.ReadAsStringAsync(); + } + RequestHeaders = request.Headers; + if (request.Content != null) + { + ContentHeaders = request.Content.Headers; + } + Method = request.Method; + Uri = request.RequestUri; + + // Prepare response + if (IsPassThrough) + { + return await base.SendAsync(request, cancellationToken); + } + else + { + if (_response != null && counter == 1) + { + return _response; + } + else + { + var statusCode = StatusCodeToReturn; + if (counter > 1) + { + statusCode = SubsequentStatusCodeToReturn; + } + HttpResponseMessage response = new HttpResponseMessage(statusCode); + response.Content = new StringContent(""); + return response; + } + } + } + } +} diff --git a/src/SDKs/NetApp/NetApp.Tests/Helpers/ResourceUtils.cs b/src/SDKs/NetApp/NetApp.Tests/Helpers/ResourceUtils.cs new file mode 100644 index 000000000000..11f84fd68495 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/Helpers/ResourceUtils.cs @@ -0,0 +1,226 @@ +using Microsoft.Azure.Management.NetApp; +using Microsoft.Azure.Management.NetApp.Models; +using System.Threading; +using Xunit; + +namespace NetApp.Tests.Helpers +{ + public class ResourceUtils + { + public const long gibibyte = 1024L * 1024L * 1024L; + + protected const string subsId = "0661b131-4a11-479b-96bf-2f95acca2f73"; + protected const string vnet = "sdk-tests-rg-vnet"; + public const string location = "eastus"; + public const string resourceGroup = "sdk-tests-rg"; + public const string accountName1 = "sdk-tests-acc1"; + public const string accountName2 = "sdk-tests-acc2"; + public const string poolName1 = "sdk-tests-pool1"; + public const string poolName2 = "sdk-tests-pool2"; + public const string volumeName1 = "sdk-tests-vol1"; + public const string volumeName2 = "sdk-tests-vol2"; + public const string snapshotName1 = "sdk-tests-snap1"; + public const string snapshotName2 = "sdk-tests-snap2"; + + private const int delay = 5000; + private const int retryAttempts = 3; + + public static void CreateAccount(AzureNetAppFilesManagementClient netAppMgmtClient, string accountName = accountName1, string resourceGroup = resourceGroup, string location = location) + { + var netAppAccount = new NetAppAccount() + { + Location = location, + }; + + var resource = netAppMgmtClient.Accounts.CreateOrUpdate(netAppAccount, resourceGroup, accountName); + Assert.Equal(resource.Name, accountName); + + Thread.Sleep(delay); // some robustness against ARM caching + } + + public static CapacityPool CreatePool(AzureNetAppFilesManagementClient netAppMgmtClient, string poolName = poolName1, string accountName = accountName1, string resourceGroup = resourceGroup, string location = location, bool poolOnly = false) + { + if (!poolOnly) + { + CreateAccount(netAppMgmtClient, accountName); + } + + var pool = new CapacityPool + { + Location = location, + Size = 4398046511104, + ServiceLevel = "Premium", + }; + + CapacityPool resource; + try + { + resource = netAppMgmtClient.Pools.CreateOrUpdate(pool, resourceGroup, accountName, poolName); + } + catch + { + // try one more time + resource = netAppMgmtClient.Pools.CreateOrUpdate(pool, resourceGroup, accountName, poolName); + } + Assert.Equal(resource.Name, accountName + '/' + poolName); + + Thread.Sleep(delay); // some robustness against ARM caching + + return resource; + } + + public static Volume CreateVolume(AzureNetAppFilesManagementClient netAppMgmtClient, string volumeName = volumeName1, string poolName = poolName1, string accountName = accountName1, string resourceGroup = resourceGroup, string location = location, bool volumeOnly = false) + { + if (!volumeOnly) + { + CreatePool(netAppMgmtClient, poolName, accountName); + } + + var volume = new Volume + { + Location = location, + UsageThreshold = 100 * gibibyte, + ServiceLevel = "Premium", + CreationToken = volumeName, + SubnetId = "/subscriptions/" + subsId + "/resourceGroups/" + resourceGroup + "/providers/Microsoft.Network/virtualNetworks/" + vnet + "/subnets/default" + }; + + var resource = netAppMgmtClient.Volumes.CreateOrUpdate(volume, resourceGroup, accountName, poolName, volumeName); + Assert.Equal(resource.Name, accountName + '/' + poolName + '/' + volumeName); + + Thread.Sleep(delay); // some robustness against ARM caching + + return resource; + } + + public static void CreateSnapshot(AzureNetAppFilesManagementClient netAppMgmtClient, string snapshotName = snapshotName1, string volumeName = volumeName1, string poolName = poolName1, string accountName = accountName1, string resourceGroup = resourceGroup, string location = location, bool snapshotOnly = false) + { + Volume volume = null; + + if (!snapshotOnly) + { + volume = CreateVolume(netAppMgmtClient, volumeName, poolName, accountName); + } + else + { + volume = netAppMgmtClient.Volumes.Get(resourceGroup, accountName, poolName, volumeName); + } + + var snapshot = new Snapshot + { + Location = location, + FileSystemId = volume?.FileSystemId + }; + + var resource = netAppMgmtClient.Snapshots.Create(snapshot, resourceGroup, accountName, poolName, volumeName, snapshotName); + Assert.Equal(resource.Name, accountName + '/' + poolName + '/' + volumeName + '/' + snapshotName); + } + + public static void DeleteAccount(AzureNetAppFilesManagementClient netAppMgmtClient, string accountName = accountName1, string resourceGroup = resourceGroup, bool deep = false) + { + if (deep) + { + // find and delete all nested resources - not implemented + } + + // now delete the account + netAppMgmtClient.Accounts.Delete(resourceGroup, accountName); + } + + public static void DeletePool(AzureNetAppFilesManagementClient netAppMgmtClient, string poolName = poolName1, string accountName = accountName1, string resourceGroup = resourceGroup, bool deep = false) + { + bool retry = true; + int co = 0; + + if (deep) + { + // find and delete all nested resources - not implemented + } + + // now delete the pool - with retry for test robustness due to ARM caching + // (arm continues to tidy up even after the awaited async op has returned) + while (retry == true) + { + Thread.Sleep(delay); + + try + { + netAppMgmtClient.Pools.Delete(resourceGroup, accountName, poolName); + retry = false; + } + catch + { + co++; + if (co > retryAttempts) + { + retry = false; + } + } + } + } + + public static void DeleteVolume(AzureNetAppFilesManagementClient netAppMgmtClient, string volumeName = volumeName1, string poolName = poolName1, string accountName = accountName1, string resourceGroup = resourceGroup, string location = location, bool deep = false) + { + bool retry = true; + int co = 0; + + if (deep) + { + // find and delete all nested resources - not implemented + } + + // now delete the volume - with retry for test robustness due to ARM caching + // (arm continues to tidy up even after the awaited async op has returned) + while (retry == true) + { + Thread.Sleep(delay); + + try + { + netAppMgmtClient.Volumes.Delete(resourceGroup, accountName, poolName, volumeName); + retry = false; + } + catch + { + co++; + if (co > retryAttempts) + { + retry = false; + } + } + } + } + + public static void DeleteSnapshot(AzureNetAppFilesManagementClient netAppMgmtClient, string snapshotName = snapshotName1, string volumeName = volumeName1, string poolName = poolName1, string accountName = accountName1, string resourceGroup = resourceGroup, string location = location, bool deep = false) + { + bool retry = true; + int co = 0; + + if (deep) + { + // find and delete all nested resources - not implemented + } + + // now delete the snapshot - with retry for test robustness due to ARM caching + // (arm continues to tidy up even after the awaited async op has returned) + while (retry == true) + { + Thread.Sleep(delay); + + try + { + netAppMgmtClient.Snapshots.Delete(resourceGroup, accountName, poolName, volumeName, snapshotName); + retry = false; + } + catch + { + co++; + if (co > retryAttempts) + { + retry = false; + } + } + } + } + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/NetApp.Tests.csproj b/src/SDKs/NetApp/NetApp.Tests/NetApp.Tests.csproj new file mode 100644 index 000000000000..df791b41d36c --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/NetApp.Tests.csproj @@ -0,0 +1,24 @@ + + + + NetApp.Tests + NetApp.Tests Class Library + NetApp.Tests + 1.0.0-preview + true + + + + + + + + + PreserveNewest + + + + + + + \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/Properties/AssemblyInfo.cs b/src/SDKs/NetApp/NetApp.Tests/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..810456935ef4 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/Properties/AssemblyInfo.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("NetApp.Tests")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("NetApp.Tests")] +[assembly: AssemblyCopyright("${AuthorCopyright}")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("424A2AF7-27C3-4D1C-8555-3D4D82EE3DFA")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/SDKs/NetApp/NetApp.Tests/ResourceTests/AccountTests.cs b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/AccountTests.cs new file mode 100644 index 000000000000..0b1f39d7893d --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/AccountTests.cs @@ -0,0 +1,176 @@ +using NetApp.Tests.Helpers; +using Microsoft.Azure.Management.NetApp; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System.IO; +using System.Linq; +using System.Net; +using System.Reflection; +using Xunit; +using System; +using Microsoft.Azure.Management.NetApp.Models; +using System.Collections.Generic; + +namespace NetApp.Tests.ResourceTests +{ + public class AccountTests : TestBase + { + [Fact] + public void CreateDeleteAccount() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account + ResourceUtils.CreateAccount(netAppMgmtClient); + + // get all accounts and check + var accountsBefore = netAppMgmtClient.Accounts.List(ResourceUtils.resourceGroup); + Assert.Single(accountsBefore); + + // remove the account and check + netAppMgmtClient.Accounts.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + + // get all accounts and check + var accountsAfter = netAppMgmtClient.Accounts.List(ResourceUtils.resourceGroup); + Assert.Empty(accountsAfter); + } + } + + [Fact] + public void ListAccounts() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create two accounts + ResourceUtils.CreateAccount(netAppMgmtClient); + ResourceUtils.CreateAccount(netAppMgmtClient, ResourceUtils.accountName2); + + // get the account list and check + var accounts = netAppMgmtClient.Accounts.List(ResourceUtils.resourceGroup); + Assert.Equal(accounts.ElementAt(0).Name, ResourceUtils.accountName1); + Assert.Equal(accounts.ElementAt(1).Name, ResourceUtils.accountName2); + Assert.Equal(2, accounts.Count()); + + // clean up - delete the two accounts + ResourceUtils.DeleteAccount(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient, ResourceUtils.accountName2); + } + } + + [Fact] + public void GetAccountByName() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account + ResourceUtils.CreateAccount(netAppMgmtClient, ResourceUtils.accountName1); + + // get and check the account + var account = netAppMgmtClient.Accounts.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.Equal(account.Name, ResourceUtils.accountName1); + + // clean up - delete the account + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void UpdateAccountNotPermitted() + { + // a put update is not a valid operation + + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account + ResourceUtils.CreateAccount(netAppMgmtClient); + + // Now try and modify it + var netAppAccount = new NetAppAccount() + { + Location = ResourceUtils.location, + }; + + try + { + netAppMgmtClient.Accounts.CreateOrUpdate(netAppAccount, ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.True(false); + } + catch (Exception ex) + { + Assert.Contains("MethodNotAllowed", ex.Message); + } + + // cleanup - remove the account + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetAccountByNameNotFound() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // get and check the account + try + { + var account = netAppMgmtClient.Accounts.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("NotFound", ex.Message); + } + } + } + + [Fact] + public void PatchAccount() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account + ResourceUtils.CreateAccount(netAppMgmtClient); + + var dict = new Dictionary(); + dict.Add("Tag1", "Value1"); + + // Now try and modify it + var netAppAccountPatch = new NetAppAccountPatch() + { + Tags = dict + }; + + var resource = netAppMgmtClient.Accounts.Update(netAppAccountPatch, ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.True(resource.Tags.ToString().Contains("Tag1") && resource.Tags.ToString().Contains("Value1")); + + // cleanup - remove the account + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + private static string GetSessionsDirectoryPath() + { + string executingAssemblyPath = typeof(NetApp.Tests.ResourceTests.AccountTests).GetTypeInfo().Assembly.Location; + return Path.Combine(Path.GetDirectoryName(executingAssemblyPath), "SessionRecords"); + } + } +} diff --git a/src/SDKs/NetApp/NetApp.Tests/ResourceTests/MountTargetTests.cs b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/MountTargetTests.cs new file mode 100644 index 000000000000..12c416b3483f --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/MountTargetTests.cs @@ -0,0 +1,44 @@ +using NetApp.Tests.Helpers; +using Microsoft.Azure.Management.NetApp; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System.IO; +using System.Net; +using System.Reflection; +using Xunit; +using System; + +namespace NetApp.Tests.ResourceTests +{ + public class MountTargetTests : TestBase + { + [Fact] + public void ListMountTargets() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create two volumes under same pool + ResourceUtils.CreateVolume(netAppMgmtClient); + + // get the account list and check + var mountTargets = netAppMgmtClient.MountTargets.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.Single(mountTargets); + + // clean up - delete the volumes, pool and account + netAppMgmtClient.Volumes.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + netAppMgmtClient.Pools.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + netAppMgmtClient.Accounts.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + } + } + + private static string GetSessionsDirectoryPath() + { + string executingAssemblyPath = typeof(NetApp.Tests.ResourceTests.MountTargetTests).GetTypeInfo().Assembly.Location; + return Path.Combine(Path.GetDirectoryName(executingAssemblyPath), "SessionRecords"); + } + } +} diff --git a/src/SDKs/NetApp/NetApp.Tests/ResourceTests/PoolTests.cs b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/PoolTests.cs new file mode 100644 index 000000000000..feedcc7d9ee7 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/PoolTests.cs @@ -0,0 +1,236 @@ +using NetApp.Tests.Helpers; +using Microsoft.Azure.Management.NetApp; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System.IO; +using System.Linq; +using System.Net; +using System.Reflection; +using Xunit; +using System; +using Microsoft.Azure.Management.NetApp.Models; +using System.Collections.Generic; + +namespace NetApp.Tests.ResourceTests +{ + public class PoolTests : TestBase + { + [Fact] + public void CreateDeletePool() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account + ResourceUtils.CreateAccount(netAppMgmtClient); + + // create the pool, get all pools and check + ResourceUtils.CreatePool(netAppMgmtClient, ResourceUtils.poolName1, ResourceUtils.accountName1, poolOnly: true); + var poolsBefore = netAppMgmtClient.Pools.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.Single(poolsBefore); + + // delete the pool and check again + netAppMgmtClient.Pools.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + var poolsAfter = netAppMgmtClient.Pools.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.Empty(poolsAfter); + + // cleanup - remove the account + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void ListPools() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create two pools under same account + ResourceUtils.CreatePool(netAppMgmtClient); + ResourceUtils.CreatePool(netAppMgmtClient, ResourceUtils.poolName2, poolOnly: true); + + // get the account list and check + var pools = netAppMgmtClient.Pools.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.Equal(pools.ElementAt(0).Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1); + Assert.Equal(pools.ElementAt(1).Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName2); + Assert.Equal(2, pools.Count()); + + // clean up - delete the two pools and the account + ResourceUtils.DeletePool(netAppMgmtClient, ResourceUtils.poolName2); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetPoolByName() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account and pool + ResourceUtils.CreatePool(netAppMgmtClient); + + // get and check the pool + var pool = netAppMgmtClient.Pools.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.Equal(pool.Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1); + + // clean up - delete the pool and account + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetPoolByNameNotFound() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create an account + ResourceUtils.CreateAccount(netAppMgmtClient); + + // try and get the non-existent pool + try + { + var pool = netAppMgmtClient.Pools.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("NotFound", ex.Message); + } + + // cleanup - remove the account + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetPoolByNameAccountNotFound() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create an account and pool + ResourceUtils.CreatePool(netAppMgmtClient); + + // get and check the pool in a non-existent account + try + { + var pool = netAppMgmtClient.Pools.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName2, ResourceUtils.poolName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("NotFound", ex.Message); + } + + // cleanup - remove pool and account + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void DeleteAccountWithPoolPresent() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account and pool + ResourceUtils.CreatePool(netAppMgmtClient); + + var poolsBefore = netAppMgmtClient.Pools.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.Single(poolsBefore); + + // try and delete the account + try + { + netAppMgmtClient.Accounts.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("Conflict", ex.Message); + } + + // clean up + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void UpdatePool() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the pool + var pool = ResourceUtils.CreatePool(netAppMgmtClient); + Assert.Equal("Premium", pool.ServiceLevel); + + // update + pool.ServiceLevel = "Standard"; + var updatedPool = netAppMgmtClient.Pools.CreateOrUpdate(pool, ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.Equal("Standard", updatedPool.ServiceLevel); + + // cleanup + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void PatchPool() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the pool + var pool = ResourceUtils.CreatePool(netAppMgmtClient); + Assert.Null(pool.Tags); + + var dict = new Dictionary(); + dict.Add("Tag1", "Value1"); + + // Now try and modify it + var poolPatch = new CapacityPoolPatch() + { + Tags = dict + }; + + var resource = netAppMgmtClient.Pools.Update(poolPatch, ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.True(resource.Tags.ToString().Contains("Tag1") && resource.Tags.ToString().Contains("Value1")); + + // cleanup + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + private static string GetSessionsDirectoryPath() + { + string executingAssemblyPath = typeof(NetApp.Tests.ResourceTests.PoolTests).GetTypeInfo().Assembly.Location; + return Path.Combine(Path.GetDirectoryName(executingAssemblyPath), "SessionRecords"); + } + } +} diff --git a/src/SDKs/NetApp/NetApp.Tests/ResourceTests/SnapshotTests.cs b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/SnapshotTests.cs new file mode 100644 index 000000000000..62e20a5071f4 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/SnapshotTests.cs @@ -0,0 +1,163 @@ +using NetApp.Tests.Helpers; +using Microsoft.Azure.Management.NetApp; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System.IO; +using System.Linq; +using System.Net; +using System.Reflection; +using Xunit; +using System; +using System.Collections.Generic; +using Microsoft.Azure.Management.NetApp.Models; + +namespace NetApp.Tests.ResourceTests +{ + public class SnapshotTests : TestBase + { + [Fact] + public void CreateDeleteSnapshot() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the snapshot + ResourceUtils.CreateSnapshot(netAppMgmtClient); + + // check snapshot exists + var snapshotsBefore = netAppMgmtClient.Snapshots.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.Single(snapshotsBefore); + + // delete the pool and check again + netAppMgmtClient.Snapshots.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1, ResourceUtils.snapshotName1); + var snapshotsAfter = netAppMgmtClient.Snapshots.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.Empty(snapshotsAfter); + + // cleanup - remove the account + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void ListSnapshots() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create two snapshots under same account + ResourceUtils.CreateSnapshot(netAppMgmtClient); + ResourceUtils.CreateSnapshot(netAppMgmtClient, ResourceUtils.snapshotName2, snapshotOnly: true); + + // get the account list and check + var snapshots = netAppMgmtClient.Snapshots.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.Equal(snapshots.ElementAt(0).Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1 + '/' + ResourceUtils.volumeName1 + '/' + ResourceUtils.snapshotName1); + Assert.Equal(snapshots.ElementAt(1).Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1 + '/' + ResourceUtils.volumeName1 + '/' + ResourceUtils.snapshotName2); + Assert.Equal(2, snapshots.Count()); + + // clean up + ResourceUtils.DeleteSnapshot(netAppMgmtClient, ResourceUtils.snapshotName2); + ResourceUtils.DeleteSnapshot(netAppMgmtClient); + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetSnapshotByName() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account and pool + ResourceUtils.CreateSnapshot(netAppMgmtClient); + + // get and check the pool + var snapshot = netAppMgmtClient.Snapshots.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1, ResourceUtils.snapshotName1); + Assert.Equal(snapshot.Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1 + '/' + ResourceUtils.volumeName1 + '/' + ResourceUtils.snapshotName1); + + // clean up + ResourceUtils.DeleteSnapshot(netAppMgmtClient); + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void DeleteVolumeWithSnapshotPresent() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account and pool + ResourceUtils.CreateSnapshot(netAppMgmtClient); + + // try and delete the account + try + { + netAppMgmtClient.Volumes.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("Conflict", ex.Message); + } + + // clean up + ResourceUtils.DeleteSnapshot(netAppMgmtClient); + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void PatchSnapshot() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account + ResourceUtils.CreateSnapshot(netAppMgmtClient); + + var dict = new Dictionary(); + dict.Add("Tag1", "Value1"); + + // Now try and modify it + var snapshotPatch = new SnapshotPatch() + { + Tags = dict + }; + + var resource = netAppMgmtClient.Snapshots.Update(snapshotPatch, ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1, ResourceUtils.snapshotName1); + Assert.True(resource.Tags.ToString().Contains("Tag1") && resource.Tags.ToString().Contains("Value1")); + + // cleanup - remove the account + ResourceUtils.DeleteSnapshot(netAppMgmtClient); + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + private static string GetSessionsDirectoryPath() + { + string executingAssemblyPath = typeof(NetApp.Tests.ResourceTests.SnapshotTests).GetTypeInfo().Assembly.Location; + return Path.Combine(Path.GetDirectoryName(executingAssemblyPath), "SessionRecords"); + } + } +} diff --git a/src/SDKs/NetApp/NetApp.Tests/ResourceTests/VolumeTests.cs b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/VolumeTests.cs new file mode 100644 index 000000000000..5163781ece01 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/ResourceTests/VolumeTests.cs @@ -0,0 +1,264 @@ +using NetApp.Tests.Helpers; +using Microsoft.Azure.Management.NetApp.Models; +using Microsoft.Azure.Management.NetApp; +using Microsoft.Azure.Management.Resources; +using Microsoft.Azure.Test.HttpRecorder; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System.IO; +using System.Linq; +using System.Net; +using System.Reflection; +using Xunit; +using System; + +namespace NetApp.Tests.ResourceTests +{ + public class VolumeTests : TestBase + { + [Fact] + public void CreateDeleteVolume() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create a volume, get all and check + ResourceUtils.CreateVolume(netAppMgmtClient); + var volumesBefore = netAppMgmtClient.Volumes.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.Single(volumesBefore); + + // delete the volume and check again + netAppMgmtClient.Volumes.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + var volumesAfter = netAppMgmtClient.Volumes.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.Empty(volumesAfter); + + // cleanup + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void ListVolumes() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create two volumes under same pool + ResourceUtils.CreateVolume(netAppMgmtClient); + ResourceUtils.CreateVolume(netAppMgmtClient, ResourceUtils.volumeName2, volumeOnly: true); + + // get the account list and check + var volumes = netAppMgmtClient.Volumes.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.Equal(volumes.ElementAt(0).Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1 + '/' + ResourceUtils.volumeName1); + Assert.Equal(volumes.ElementAt(1).Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1 + '/' + ResourceUtils.volumeName2); + Assert.Equal(2, volumes.Count()); + + // clean up - delete the two volumes, the pool and the account + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeleteVolume(netAppMgmtClient, ResourceUtils.volumeName2); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetVolumeByName() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the volume + ResourceUtils.CreateVolume(netAppMgmtClient); + + // retrieve it + var volume = netAppMgmtClient.Volumes.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.Equal(volume.Name, ResourceUtils.accountName1 + '/' + ResourceUtils.poolName1 + '/' + ResourceUtils.volumeName1); + + // clean up - delete the volume, pool and account + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetVolumeByNameNotFound() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create volume + ResourceUtils.CreatePool(netAppMgmtClient); + + // try and get a volume in the pool - none have been created yet + try + { + var volume = netAppMgmtClient.Volumes.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("NotFound", ex.Message); + } + + // cleanup + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void GetVolumeByNamePoolNotFound() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + ResourceUtils.CreateAccount(netAppMgmtClient); + + // try and create a volume before the pool exist + try + { + var volume = netAppMgmtClient.Volumes.Get(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("NotFound", ex.Message); + } + + // cleanup - remove the account + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void CreateVolumePoolNotFound() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + ResourceUtils.CreateAccount(netAppMgmtClient); + + // try and create a volume before the pool exist + try + { + ResourceUtils.CreateVolume(netAppMgmtClient, volumeOnly: true); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("NotFound", ex.Message); + } + + // cleanup - remove the account + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void DeletePoolWithVolumePresent() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the account and pool + ResourceUtils.CreateVolume(netAppMgmtClient); + + var poolsBefore = netAppMgmtClient.Pools.List(ResourceUtils.resourceGroup, ResourceUtils.accountName1); + Assert.Single(poolsBefore); + + // try and delete the pool + try + { + netAppMgmtClient.Pools.Delete(ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1); + Assert.True(false); // expecting exception + } + catch (Exception ex) + { + Assert.Contains("Conflict", ex.Message); + } + + // clean up + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void UpdateVolume() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the volume + var volume = ResourceUtils.CreateVolume(netAppMgmtClient); + Assert.Equal("Premium", volume.ServiceLevel); + //Assert.Equal(100 * ResourceUtils.gibibyte, volume.UsageThreshold); + + // update + volume.ServiceLevel = "Standard"; + //volume.UsageThreshold = 100 * ResourceUtils.gibibyte * 2; + var updatedVolume = netAppMgmtClient.Volumes.CreateOrUpdate(volume, ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.Equal("Standard", updatedVolume.ServiceLevel); + //Assert.Equal(100 * ResourceUtils.gibibyte * 2, updatedVolume.UsageThreshold); + + // cleanup + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + [Fact] + public void PatchVolume() + { + HttpMockServer.RecordsDirectory = GetSessionsDirectoryPath(); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var netAppMgmtClient = NetAppTestUtilities.GetNetAppManagementClient(context, new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK }); + + // create the volume + var volume = ResourceUtils.CreateVolume(netAppMgmtClient); + Assert.Equal("Premium", volume.ServiceLevel); + + // Now try and modify it + var volumePatch = new VolumePatch() + { + ServiceLevel = "Standard" + }; + + // patch + var updatedVolume = netAppMgmtClient.Volumes.Update(volumePatch, ResourceUtils.resourceGroup, ResourceUtils.accountName1, ResourceUtils.poolName1, ResourceUtils.volumeName1); + Assert.Equal("Standard", updatedVolume.ServiceLevel); + + // cleanup + ResourceUtils.DeleteVolume(netAppMgmtClient); + ResourceUtils.DeletePool(netAppMgmtClient); + ResourceUtils.DeleteAccount(netAppMgmtClient); + } + } + + private static string GetSessionsDirectoryPath() + { + string executingAssemblyPath = typeof(NetApp.Tests.ResourceTests.VolumeTests).GetTypeInfo().Assembly.Location; + return Path.Combine(Path.GetDirectoryName(executingAssemblyPath), "SessionRecords"); + } + } +} diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/CreateDeleteAccount.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/CreateDeleteAccount.json new file mode 100644 index 000000000000..e577ae56f1d2 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/CreateDeleteAccount.json @@ -0,0 +1,524 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "91b42edf-b41f-4a3c-b961-5b098239a7b3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A17%3A35.8772987Z'\"" + ], + "x-ms-request-id": [ + "9a9fb9ea-c8f8-44d4-82ac-ed6edbd7ae59" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc844183-f421-46d6-b236-7b45ad4e20f7?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "410791b9-d963-4b36-a1ab-ea9d73869d38" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141736Z:410791b9-d963-4b36-a1ab-ea9d73869d38" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:17:35 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A17%3A35.8772987Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc844183-f421-46d6-b236-7b45ad4e20f7?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kYzg0NDE4My1mNDIxLTQ2ZDYtYjIzNi03YjQ1YWQ0ZTIwZjc/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "46ebe3ce-af66-43fa-91da-e5c4ecc73617" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "182f60f4-ce0b-4fed-8da8-2812ce6cb7dc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141806Z:182f60f4-ce0b-4fed-8da8-2812ce6cb7dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:06 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc844183-f421-46d6-b236-7b45ad4e20f7\",\r\n \"name\": \"dc844183-f421-46d6-b236-7b45ad4e20f7\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:17:35.6981736Z\",\r\n \"endTime\": \"2018-12-27T14:17:36.2763464Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A17%3A36.4988817Z'\"" + ], + "x-ms-request-id": [ + "11a47a9d-f32d-400c-9bed-6337a86ff1b1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "49e493b7-58ec-4734-9b82-3c4936f6c745" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141807Z:49e493b7-58ec-4734-9b82-3c4936f6c745" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:06 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A17%3A36.4988817Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cae3465a-fb27-4609-951f-b08d90191d1a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7e71a721-b6ac-456c-b281-6506efe16178" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "d8a7dc61-7f4d-419f-b39f-192e425724b9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141812Z:d8a7dc61-7f4d-419f-b39f-192e425724b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:11 GMT" + ], + "Content-Length": [ + "347" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A17%3A36.4988817Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "900f399b-c366-4dbd-90fc-58835da537c0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "2d8c8185-ac96-40a8-9e0c-b0ca71483b9d" + ], + "x-ms-correlation-request-id": [ + "2d8c8185-ac96-40a8-9e0c-b0ca71483b9d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141844Z:2d8c8185-ac96-40a8-9e0c-b0ca71483b9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:43 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "12" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0805452-2102-4453-bde7-9fb0665900ce" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ac4e3de7-d0b3-45a3-8d10-83f7093b9003?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ac4e3de7-d0b3-45a3-8d10-83f7093b9003?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "dc375e7c-7889-4ac1-9c82-69c85534b2f6" + ], + "x-ms-correlation-request-id": [ + "dc375e7c-7889-4ac1-9c82-69c85534b2f6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141813Z:dc375e7c-7889-4ac1-9c82-69c85534b2f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:12 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ac4e3de7-d0b3-45a3-8d10-83f7093b9003?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hYzRlM2RlNy1kMGIzLTQ1YTMtOGQxMC04M2Y3MDkzYjkwMDM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "65b2ba6a-65f0-43eb-8225-0f897baaf57c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "9996e0d3-fd18-4e67-9b5c-cd0eae602a9e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141843Z:9996e0d3-fd18-4e67-9b5c-cd0eae602a9e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:42 GMT" + ], + "Content-Length": [ + "499" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ac4e3de7-d0b3-45a3-8d10-83f7093b9003\",\r\n \"name\": \"ac4e3de7-d0b3-45a3-8d10-83f7093b9003\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:18:12.9885Z\",\r\n \"endTime\": \"2018-12-27T14:18:13.1755178Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ac4e3de7-d0b3-45a3-8d10-83f7093b9003?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hYzRlM2RlNy1kMGIzLTQ1YTMtOGQxMC04M2Y3MDkzYjkwMDM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "417dc9d5-07cd-4699-9371-4965603dd181" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "810764cd-94a4-4d4b-a0d3-0b7dd441623e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141843Z:810764cd-94a4-4d4b-a0d3-0b7dd441623e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:43 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A18%3A13.1323806Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/GetAccountByName.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/GetAccountByName.json new file mode 100644 index 000000000000..d0eb37e0c4c7 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/GetAccountByName.json @@ -0,0 +1,467 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0187621e-bc6a-4acd-816e-b530961cb217" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A18%3A47.6418774Z'\"" + ], + "x-ms-request-id": [ + "8cca027c-0f4a-45f8-8955-e0eaec595f2a" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6075186b-7dbd-444b-bf33-6526cdf97b43?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "f6c0e4b1-e755-42f6-beed-4a91a29d18c0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141848Z:f6c0e4b1-e755-42f6-beed-4a91a29d18c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:47 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A18%3A47.6418774Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6075186b-7dbd-444b-bf33-6526cdf97b43?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82MDc1MTg2Yi03ZGJkLTQ0NGItYmYzMy02NTI2Y2RmOTdiNDM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "40556b4d-e752-46f9-a070-328eefeb0239" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "8fdc878e-9da0-4944-8587-c32dd8d61e9c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141918Z:8fdc878e-9da0-4944-8587-c32dd8d61e9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:19:17 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6075186b-7dbd-444b-bf33-6526cdf97b43\",\r\n \"name\": \"6075186b-7dbd-444b-bf33-6526cdf97b43\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:18:47.4995921Z\",\r\n \"endTime\": \"2018-12-27T14:18:47.9242392Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A18%3A48.0532652Z'\"" + ], + "x-ms-request-id": [ + "d702cd83-98eb-44c6-8239-1b41f4e3a141" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "63a40db3-e74f-480b-9c24-956b1fe8b343" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141918Z:63a40db3-e74f-480b-9c24-956b1fe8b343" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:19:17 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A18%3A48.0532652Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6ef5d08c-cf93-464e-838c-523f81b55b22" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A18%3A48.0532652Z'\"" + ], + "x-ms-request-id": [ + "0c47ee14-95b1-4489-8072-c45a79063cba" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "ffc8d9ed-062a-4ce9-b765-03f5981cb0b0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141923Z:ffc8d9ed-062a-4ce9-b765-03f5981cb0b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:19:22 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A18%3A48.0532652Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "038f0658-d91c-4d33-8ee0-35067bd561a6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/34e4a368-81ad-47d2-a541-6c5ddbfbc123?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/34e4a368-81ad-47d2-a541-6c5ddbfbc123?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "201ca22e-e1f0-4693-b647-b31fab677cae" + ], + "x-ms-correlation-request-id": [ + "201ca22e-e1f0-4693-b647-b31fab677cae" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141924Z:201ca22e-e1f0-4693-b647-b31fab677cae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:19:23 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/34e4a368-81ad-47d2-a541-6c5ddbfbc123?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNGU0YTM2OC04MWFkLTQ3ZDItYTU0MS02YzVkZGJmYmMxMjM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dd64904c-148e-45dd-8627-25a0ea4205b3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "78f856ae-1f53-473c-83db-b0eabd457545" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141954Z:78f856ae-1f53-473c-83db-b0eabd457545" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:19:54 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/34e4a368-81ad-47d2-a541-6c5ddbfbc123\",\r\n \"name\": \"34e4a368-81ad-47d2-a541-6c5ddbfbc123\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:19:24.2634197Z\",\r\n \"endTime\": \"2018-12-27T14:19:24.4901788Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/34e4a368-81ad-47d2-a541-6c5ddbfbc123?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNGU0YTM2OC04MWFkLTQ3ZDItYTU0MS02YzVkZGJmYmMxMjM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1688fdbc-ee84-4870-8435-61cfa1d85921" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "4f88ea37-6a13-4056-a8ac-e3643d66a591" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141955Z:4f88ea37-6a13-4056-a8ac-e3643d66a591" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:19:54 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A19%3A24.4505433Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/GetAccountByNameNotFound.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/GetAccountByNameNotFound.json new file mode 100644 index 000000000000..7f0141d63e6d --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/GetAccountByNameNotFound.json @@ -0,0 +1,68 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d19b38d8-dfa7-4558-acbb-a7d3186c13d8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "2a6e5f36-b4bb-4253-93f0-bb9c747f0417" + ], + "x-ms-correlation-request-id": [ + "2a6e5f36-b4bb-4253-93f0-bb9c747f0417" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141845Z:2a6e5f36-b4bb-4253-93f0-bb9c747f0417" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:18:44 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "162" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.NetApp/netAppAccounts/sdk-tests-acc1' under resource group 'sdk-tests-rg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/ListAccounts.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/ListAccounts.json new file mode 100644 index 000000000000..7325249ff000 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/ListAccounts.json @@ -0,0 +1,854 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c7ff6a30-2de1-42db-816e-e318b93ff10f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A21%3A08.4365475Z'\"" + ], + "x-ms-request-id": [ + "38f0f0d1-eb6d-4dab-886d-e4b53280771d" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/40ac6ab1-012f-4289-95c2-99576329d991?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "963cb113-03bc-41a3-936a-ceb904767f27" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142108Z:963cb113-03bc-41a3-936a-ceb904767f27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:21:08 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A21%3A08.4365475Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/40ac6ab1-012f-4289-95c2-99576329d991?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy80MGFjNmFiMS0wMTJmLTQyODktOTVjMi05OTU3NjMyOWQ5OTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fe43e40d-576e-4f56-8599-be19cc0b549c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "1d947490-6b6c-484a-97a9-8e59cd621cf4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142139Z:1d947490-6b6c-484a-97a9-8e59cd621cf4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:21:38 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/40ac6ab1-012f-4289-95c2-99576329d991\",\r\n \"name\": \"40ac6ab1-012f-4289-95c2-99576329d991\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:21:08.260073Z\",\r\n \"endTime\": \"2018-12-27T14:21:08.7152081Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A21%3A08.8549429Z'\"" + ], + "x-ms-request-id": [ + "f5cae1fe-a9ef-4f43-90ca-4235dc96d6d5" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "7415c683-875a-437c-9db2-b478dd01f825" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142139Z:7415c683-875a-437c-9db2-b478dd01f825" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:21:39 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A21%3A08.8549429Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMj9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c0d99c0d-4553-42df-ac66-f1e61d777f5f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A21%3A45.3414703Z'\"" + ], + "x-ms-request-id": [ + "5fe0347e-678d-4d04-92ba-b7b9dfd5f014" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7eafa4f6-1bd2-4764-af9b-11e8ada43c17?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "6eb3dfad-c27f-45a6-82cb-c1c0c468d5bc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142145Z:6eb3dfad-c27f-45a6-82cb-c1c0c468d5bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:21:45 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2\",\r\n \"name\": \"sdk-tests-acc2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A21%3A45.3414703Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7eafa4f6-1bd2-4764-af9b-11e8ada43c17?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83ZWFmYTRmNi0xYmQyLTQ3NjQtYWY5Yi0xMWU4YWRhNDNjMTc/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2487139c-ddeb-4712-8526-0075edf9e8e7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "caf5298a-431b-4cc0-8848-0bd8bbf11a0b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142215Z:caf5298a-431b-4cc0-8848-0bd8bbf11a0b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:22:15 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7eafa4f6-1bd2-4764-af9b-11e8ada43c17\",\r\n \"name\": \"7eafa4f6-1bd2-4764-af9b-11e8ada43c17\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:21:45.2002244Z\",\r\n \"endTime\": \"2018-12-27T14:21:45.6221126Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMj9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A21%3A45.7518582Z'\"" + ], + "x-ms-request-id": [ + "4c43566b-c0fd-4947-8e72-7e20961c0cbc" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "a8d52071-ccc1-4474-8750-3e90a268d75f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142216Z:a8d52071-ccc1-4474-8750-3e90a268d75f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:22:15 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2\",\r\n \"name\": \"sdk-tests-acc2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A21%3A45.7518582Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cz9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2df41ce4-d880-48c7-a66f-777949661aef" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "51aabeda-46f2-465b-9297-c563d1cf7e09" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "5ec7382d-97b0-4e8d-827c-b5989fa55a63" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142221Z:5ec7382d-97b0-4e8d-827c-b5989fa55a63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:22:20 GMT" + ], + "Content-Length": [ + "683" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A21%3A08.8549429Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2\",\r\n \"name\": \"sdk-tests-acc2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A21%3A45.7518582Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4f122c3e-d464-4300-9a52-b789b16ee7d1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a6c40cfc-d99b-4bc4-8a18-a382da3ce1c7?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a6c40cfc-d99b-4bc4-8a18-a382da3ce1c7?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "6e3e0426-ccc6-40ee-aa4b-8b274d46b4a5" + ], + "x-ms-correlation-request-id": [ + "6e3e0426-ccc6-40ee-aa4b-8b274d46b4a5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142222Z:6e3e0426-ccc6-40ee-aa4b-8b274d46b4a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:22:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a6c40cfc-d99b-4bc4-8a18-a382da3ce1c7?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hNmM0MGNmYy1kOTliLTRiYzQtOGExOC1hMzgyZGEzY2UxYzc/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "acf077d1-3221-4b98-b469-924a62e3a4a6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "73562bfc-82f4-425d-908a-70873ed05998" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142252Z:73562bfc-82f4-425d-908a-70873ed05998" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:22:51 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a6c40cfc-d99b-4bc4-8a18-a382da3ce1c7\",\r\n \"name\": \"a6c40cfc-d99b-4bc4-8a18-a382da3ce1c7\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:22:22.0919941Z\",\r\n \"endTime\": \"2018-12-27T14:22:22.3420134Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a6c40cfc-d99b-4bc4-8a18-a382da3ce1c7?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hNmM0MGNmYy1kOTliLTRiYzQtOGExOC1hMzgyZGEzY2UxYzc/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3d76f95d-01a7-4bd1-9880-44ac48167f36" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "f575757a-b9c5-41cd-9c12-c9a501b68a10" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142252Z:f575757a-b9c5-41cd-9c12-c9a501b68a10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:22:51 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A22%3A22.2239976Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMj9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4f03adee-139b-4dfa-b405-c70dad155a72" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/da125edc-824b-48d4-a87f-a22e87e8bb52?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/da125edc-824b-48d4-a87f-a22e87e8bb52?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "b27905d7-ec1e-4845-bfd5-8e30c5247618" + ], + "x-ms-correlation-request-id": [ + "b27905d7-ec1e-4845-bfd5-8e30c5247618" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142253Z:b27905d7-ec1e-4845-bfd5-8e30c5247618" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:22:53 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/da125edc-824b-48d4-a87f-a22e87e8bb52?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kYTEyNWVkYy04MjRiLTQ4ZDQtYTg3Zi1hMjJlODdlOGJiNTI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cd09a84d-566d-469b-8373-61eb7d199f1a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "624d3911-056d-4e71-9a48-c559cb409b4e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142323Z:624d3911-056d-4e71-9a48-c559cb409b4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:23:22 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/da125edc-824b-48d4-a87f-a22e87e8bb52\",\r\n \"name\": \"da125edc-824b-48d4-a87f-a22e87e8bb52\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:22:53.1635752Z\",\r\n \"endTime\": \"2018-12-27T14:22:53.4136097Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/da125edc-824b-48d4-a87f-a22e87e8bb52?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kYTEyNWVkYy04MjRiLTQ4ZDQtYTg3Zi1hMjJlODdlOGJiNTI/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "26496175-09ef-4c1c-8d1e-d52416da461c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "3031290f-9730-4758-87a6-39aea4bcc34c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142323Z:3031290f-9730-4758-87a6-39aea4bcc34c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:23:23 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2\",\r\n \"name\": \"sdk-tests-acc2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A22%3A53.3573347Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/PatchAccount.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/PatchAccount.json new file mode 100644 index 000000000000..e1111198266c --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/PatchAccount.json @@ -0,0 +1,473 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ff8890ac-375b-42af-a184-d0bbc697564b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A19%3A57.6588088Z'\"" + ], + "x-ms-request-id": [ + "30f0e396-8017-44c7-b5b6-d42d6a61c3aa" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c9e3eccb-72f4-41c0-a96d-593202657098?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "2c9e8446-9b0d-490e-8ecb-a8d8652b8e0d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T141958Z:2c9e8446-9b0d-490e-8ecb-a8d8652b8e0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:19:57 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A19%3A57.6588088Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c9e3eccb-72f4-41c0-a96d-593202657098?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jOWUzZWNjYi03MmY0LTQxYzAtYTk2ZC01OTMyMDI2NTcwOTg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bb1ff605-edfd-44d9-a946-0925b89aaf7b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "2acf620e-dc50-4868-85d7-ba8b9c458b9d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142028Z:2acf620e-dc50-4868-85d7-ba8b9c458b9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:20:28 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c9e3eccb-72f4-41c0-a96d-593202657098\",\r\n \"name\": \"c9e3eccb-72f4-41c0-a96d-593202657098\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:19:57.5134835Z\",\r\n \"endTime\": \"2018-12-27T14:19:57.9353182Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A19%3A58.0671948Z'\"" + ], + "x-ms-request-id": [ + "dbe4ce21-3359-4e59-85b2-b280fb023ae1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "4d39f49a-cbd1-46db-857c-75c02f8270e6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142028Z:4d39f49a-cbd1-46db-857c-75c02f8270e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:20:28 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A19%3A58.0671948Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b9d725a1-cbb0-47f8-ab76-6cbe8490519c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A20%3A34.3783889Z'\"" + ], + "x-ms-request-id": [ + "3691fa6a-8e01-46c6-b1eb-d877d20c0f7e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "ca6fd669-5d03-4409-beb8-e611ec3b5b58" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142034Z:ca6fd669-5d03-4409-beb8-e611ec3b5b58" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:20:34 GMT" + ], + "Content-Length": [ + "360" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A20%3A34.3783889Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c20d0d7d-c034-44d0-a3cf-478ce03b51e4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ee0c10b7-a736-4160-b345-b2eb7c0d30ac?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ee0c10b7-a736-4160-b345-b2eb7c0d30ac?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "8d730a61-d4fb-4df4-bbec-c5603aa9c623" + ], + "x-ms-correlation-request-id": [ + "8d730a61-d4fb-4df4-bbec-c5603aa9c623" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142035Z:8d730a61-d4fb-4df4-bbec-c5603aa9c623" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:20:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ee0c10b7-a736-4160-b345-b2eb7c0d30ac?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lZTBjMTBiNy1hNzM2LTQxNjAtYjM0NS1iMmViN2MwZDMwYWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dc04f439-4189-4334-a5d0-b857e77b2a69" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "8d9a690b-73b0-4414-95aa-4105c97f79be" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142105Z:8d9a690b-73b0-4414-95aa-4105c97f79be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:21:05 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ee0c10b7-a736-4160-b345-b2eb7c0d30ac\",\r\n \"name\": \"ee0c10b7-a736-4160-b345-b2eb7c0d30ac\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:20:35.3167693Z\",\r\n \"endTime\": \"2018-12-27T14:20:35.5823857Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ee0c10b7-a736-4160-b345-b2eb7c0d30ac?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lZTBjMTBiNy1hNzM2LTQxNjAtYjM0NS1iMmViN2MwZDMwYWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "93f8d051-5a59-4397-934f-1203fd5d4bd0" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "16d2af0a-25bd-4c8a-b33b-9d9bf4637e26" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142105Z:16d2af0a-25bd-4c8a-b33b-9d9bf4637e26" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:21:05 GMT" + ], + "Content-Length": [ + "358" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A20%3A35.539481Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/UpdateAccountNotPermitted.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/UpdateAccountNotPermitted.json new file mode 100644 index 000000000000..54261ace71b0 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.AccountTests/UpdateAccountNotPermitted.json @@ -0,0 +1,470 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a8711719-9bd9-4289-b83b-541779ef1952" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A23%3A26.6396918Z'\"" + ], + "x-ms-request-id": [ + "1c972f5a-8661-4771-8046-7cc46a4c17ad" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/61f44886-51e1-4cb6-ab80-c843afdaceb9?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "682e2916-7e86-4a29-88d7-381b1d2d1cf6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142327Z:682e2916-7e86-4a29-88d7-381b1d2d1cf6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:23:26 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A23%3A26.6396918Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c4e9cd41-4dc1-4401-a865-449ff5b358a5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f78aa8ca-6abb-424b-ac9b-7d75259ac3d3" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "44207478-c994-49fc-bdd7-8d456843c1a9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142403Z:44207478-c994-49fc-bdd7-8d456843c1a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:24:02 GMT" + ], + "Content-Length": [ + "118" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"UpdateOperationNotSupported\",\r\n \"message\": \"Update operation is not supported for this resource type.\"\r\n }\r\n}", + "StatusCode": 405 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/61f44886-51e1-4cb6-ab80-c843afdaceb9?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82MWY0NDg4Ni01MWUxLTRjYjYtYWI4MC1jODQzYWZkYWNlYjk/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c3ddf65b-3d44-4f3d-87e3-139baf32fcce" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "e1ca69a7-5cf1-4e69-a3c4-36e2d01ec5f9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142357Z:e1ca69a7-5cf1-4e69-a3c4-36e2d01ec5f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:23:57 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/61f44886-51e1-4cb6-ab80-c843afdaceb9\",\r\n \"name\": \"61f44886-51e1-4cb6-ab80-c843afdaceb9\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:23:26.4847471Z\",\r\n \"endTime\": \"2018-12-27T14:23:26.9222693Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A23%3A27.0540803Z'\"" + ], + "x-ms-request-id": [ + "be070e2b-6e9e-4129-8795-5013fa4a6cf7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "0aa898bb-9498-441d-aca4-bc930af9ece3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142357Z:0aa898bb-9498-441d-aca4-bc930af9ece3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:23:57 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A23%3A27.0540803Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7d37a32e-f408-4691-8ff7-04e4e5086a98" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc6ac32b-1f23-4be5-8f29-88af16fef534?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc6ac32b-1f23-4be5-8f29-88af16fef534?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "a4ddc993-71a4-4b64-8264-914ed35619e8" + ], + "x-ms-correlation-request-id": [ + "a4ddc993-71a4-4b64-8264-914ed35619e8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142404Z:a4ddc993-71a4-4b64-8264-914ed35619e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:24:03 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc6ac32b-1f23-4be5-8f29-88af16fef534?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kYzZhYzMyYi0xZjIzLTRiZTUtOGYyOS04OGFmMTZmZWY1MzQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b7d62e81-db69-4d33-9fd0-498360e22ed2" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "762c304f-3398-4340-9844-4f87f444876a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142434Z:762c304f-3398-4340-9844-4f87f444876a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:24:34 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc6ac32b-1f23-4be5-8f29-88af16fef534\",\r\n \"name\": \"dc6ac32b-1f23-4be5-8f29-88af16fef534\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:24:03.7665382Z\",\r\n \"endTime\": \"2018-12-27T14:24:03.9853194Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dc6ac32b-1f23-4be5-8f29-88af16fef534?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kYzZhYzMyYi0xZjIzLTRiZTUtOGYyOS04OGFmMTZmZWY1MzQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "abe35268-0b9a-4e71-a73f-0b626fc573b6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "0c24e3d0-e737-4bca-9d2b-680982763302" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142434Z:0c24e3d0-e737-4bca-9d2b-680982763302" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:24:34 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A24%3A03.9518471Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.MountTargetTests/ListMountTargets.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.MountTargetTests/ListMountTargets.json new file mode 100644 index 000000000000..ae96e5f0a1e9 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.MountTargetTests/ListMountTargets.json @@ -0,0 +1,1424 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "70f860db-e258-4df6-b0df-621590761e92" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A56%3A55.7127131Z'\"" + ], + "x-ms-request-id": [ + "1df65ef0-3b3a-48bf-84f9-87d221495483" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/40393a55-669d-49d6-a4c0-947c6ff838ed?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "e686d894-e076-484d-9483-719344ca23a1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145656Z:e686d894-e076-484d-9483-719344ca23a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:56:55 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A56%3A55.7127131Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/40393a55-669d-49d6-a4c0-947c6ff838ed?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy80MDM5M2E1NS02NjlkLTQ5ZDYtYTRjMC05NDdjNmZmODM4ZWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "aa934dab-da2b-44d2-8375-1ba59e22448f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "20698f25-7113-4af5-9940-70a07bcc4648" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145726Z:20698f25-7113-4af5-9940-70a07bcc4648" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:57:26 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/40393a55-669d-49d6-a4c0-947c6ff838ed\",\r\n \"name\": \"40393a55-669d-49d6-a4c0-947c6ff838ed\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:56:55.5505076Z\",\r\n \"endTime\": \"2018-12-27T14:56:56.066171Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A56%3A56.196168Z'\"" + ], + "x-ms-request-id": [ + "fedecbbc-dae9-46f6-acef-3b46e3cd45cf" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "668f6b0e-279a-4cb7-829e-6c5e4df93d78" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145726Z:668f6b0e-279a-4cb7-829e-6c5e4df93d78" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:57:26 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A56%3A56.196168Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2175ebb6-bcd2-4c27-8005-91f0e3dbebac" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A57%3A32.5554168Z'\"" + ], + "x-ms-request-id": [ + "fdb22ef7-db33-4a55-bae3-fc8849c38da7" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/698f515f-7a4c-4efb-8c5c-5639a622595e?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "3176e476-90d3-4ced-9857-cefd859bd03d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145732Z:3176e476-90d3-4ced-9857-cefd859bd03d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:57:32 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A57%3A32.5554168Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/698f515f-7a4c-4efb-8c5c-5639a622595e?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82OThmNTE1Zi03YTRjLTRlZmItOGM1Yy01NjM5YTYyMjU5NWU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9fee82a4-b409-4fc1-ad35-517370e2275d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "79750b75-3b86-42b4-be82-6588b1d21707" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145803Z:79750b75-3b86-42b4-be82-6588b1d21707" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:58:02 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/698f515f-7a4c-4efb-8c5c-5639a622595e\",\r\n \"name\": \"698f515f-7a4c-4efb-8c5c-5639a622595e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:57:32.4033278Z\",\r\n \"endTime\": \"2018-12-27T14:57:33.0507879Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A57%3A33.2000226Z'\"" + ], + "x-ms-request-id": [ + "2167e7b3-ab50-4dbb-b0a3-c4371a025ccb" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "26626504-2fe7-4702-968b-644dc915a6ed" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145803Z:26626504-2fe7-4702-968b-644dc915a6ed" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:58:02 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A57%3A33.2000226Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"d7210308-1365-bd58-1d5f-f2c57d5d057e\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b6ad8474-b572-4eba-b531-3155ee11d083" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A58%3A10.9716086Z'\"" + ], + "x-ms-request-id": [ + "7e3bd01b-d888-4506-a93d-edb954fe7ea8" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8f36c347-cfd7-4484-a179-2a88c8e92520?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "b336c229-4d62-4f9e-83bb-49d9f030c097" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145811Z:b336c229-4d62-4f9e-83bb-49d9f030c097" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:58:11 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A58%3A10.9716086Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8f36c347-cfd7-4484-a179-2a88c8e92520?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84ZjM2YzM0Ny1jZmQ3LTQ0ODQtYTE3OS0yYTg4YzhlOTI1MjA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d9427ae4-8571-4e8d-9195-d4cf62e9ea31" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "fc147614-30be-450f-adb0-4af3d82d5eb0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145841Z:fc147614-30be-450f-adb0-4af3d82d5eb0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:58:40 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8f36c347-cfd7-4484-a179-2a88c8e92520\",\r\n \"name\": \"8f36c347-cfd7-4484-a179-2a88c8e92520\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T14:58:10.8153549Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8f36c347-cfd7-4484-a179-2a88c8e92520?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84ZjM2YzM0Ny1jZmQ3LTQ0ODQtYTE3OS0yYTg4YzhlOTI1MjA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "140953d6-9738-4414-86de-0f639a935d83" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "34bf78a8-316a-463f-ac1f-c6999b8ae010" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145911Z:34bf78a8-316a-463f-ac1f-c6999b8ae010" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:59:11 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8f36c347-cfd7-4484-a179-2a88c8e92520\",\r\n \"name\": \"8f36c347-cfd7-4484-a179-2a88c8e92520\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:58:10.8153549Z\",\r\n \"endTime\": \"2018-12-27T14:58:46.9939983Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A58%3A47.023571Z'\"" + ], + "x-ms-request-id": [ + "8441ea4a-e4fa-47c9-b405-30add177b6ee" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "7a63dbdf-1740-4dc2-b84a-913f1c667d39" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145912Z:7a63dbdf-1740-4dc2-b84a-913f1c667d39" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:59:11 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A58%3A47.023571Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"1016872c-d7cf-3957-63eb-5cc69df120bf\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_b4a25185\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"02948f8f-e29e-cb1a-2eb7-7aa394bd3ed5\",\r\n \"fileSystemId\": \"1016872c-d7cf-3957-63eb-5cc69df120bf\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/mountTargets?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL21vdW50VGFyZ2V0cz9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d25e9a97-5ba2-4c3a-b1c3-762c5482abf0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b0fce2a1-e570-4e9d-b425-10fce7e7a1a4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "855a5c84-25ea-46bc-8120-6a686227a9b5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145917Z:855a5c84-25ea-46bc-8120-6a686227a9b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:59:16 GMT" + ], + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/MountTargets/02948f8f-e29e-cb1a-2eb7-7aa394bd3ed5\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/02948f8f-e29e-cb1a-2eb7-7aa394bd3ed5\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/MountTargets\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A58%3A46.961228Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"02948f8f-e29e-cb1a-2eb7-7aa394bd3ed5\",\r\n \"fileSystemId\": \"1016872c-d7cf-3957-63eb-5cc69df120bf\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c97b2aee-cf83-4fb3-9c8c-516f72e390b3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-request-id": [ + "90a59ae9-a5bd-4d38-8122-01ad9d0afac9" + ], + "x-ms-correlation-request-id": [ + "90a59ae9-a5bd-4d38-8122-01ad9d0afac9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145918Z:90a59ae9-a5bd-4d38-8122-01ad9d0afac9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:59:17 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kNzBhNTYwZC0yMWM1LTQ2NmMtYTIxOS1iMmZjMTNmMDJlNWY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0b1a97e1-14c6-425d-8ffd-4193bbd62037" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-correlation-request-id": [ + "ff6b4860-84fe-4430-9124-fbbc4036ed0a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145948Z:ff6b4860-84fe-4430-9124-fbbc4036ed0a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:59:47 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f\",\r\n \"name\": \"d70a560d-21c5-466c-a219-b2fc13f02e5f\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:59:17.9160009Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kNzBhNTYwZC0yMWM1LTQ2NmMtYTIxOS1iMmZjMTNmMDJlNWY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "93fd504b-f446-4a6c-823e-2e20bc564385" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "f8936fd2-523a-4fa8-8363-d234d76b671b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150018Z:f8936fd2-523a-4fa8-8363-d234d76b671b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:00:18 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f\",\r\n \"name\": \"d70a560d-21c5-466c-a219-b2fc13f02e5f\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:59:17.9160009Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kNzBhNTYwZC0yMWM1LTQ2NmMtYTIxOS1iMmZjMTNmMDJlNWY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c2f16ab9-d19c-4f1c-b553-66c58f79e60b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-correlation-request-id": [ + "d28a606d-2ec3-4a69-95d0-ce8adb08b01e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150049Z:d28a606d-2ec3-4a69-95d0-ce8adb08b01e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:00:48 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f\",\r\n \"name\": \"d70a560d-21c5-466c-a219-b2fc13f02e5f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:59:17.9160009Z\",\r\n \"endTime\": \"2018-12-27T15:00:24.2541078Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d70a560d-21c5-466c-a219-b2fc13f02e5f?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kNzBhNTYwZC0yMWM1LTQ2NmMtYTIxOS1iMmZjMTNmMDJlNWY/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9757cd9e-0376-4996-9c34-c48c8284b45d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-correlation-request-id": [ + "3e826c78-e8b8-44c1-b82e-a96e68c9380a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150049Z:3e826c78-e8b8-44c1-b82e-a96e68c9380a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:00:49 GMT" + ], + "Content-Length": [ + "1388" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A59%3A18.032784Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"1016872c-d7cf-3957-63eb-5cc69df120bf\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_b4a25185\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"02948f8f-e29e-cb1a-2eb7-7aa394bd3ed5\",\r\n \"fileSystemId\": \"1016872c-d7cf-3957-63eb-5cc69df120bf\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1e3b6a72-a403-40d8-a2e5-49e152e8ac32" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/62f95e2c-9472-418f-bc89-8d62f3c9bfac?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/62f95e2c-9472-418f-bc89-8d62f3c9bfac?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14993" + ], + "x-ms-request-id": [ + "f8fe63d9-602a-434a-be41-5ec801828cda" + ], + "x-ms-correlation-request-id": [ + "f8fe63d9-602a-434a-be41-5ec801828cda" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150050Z:f8fe63d9-602a-434a-be41-5ec801828cda" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:00:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/62f95e2c-9472-418f-bc89-8d62f3c9bfac?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82MmY5NWUyYy05NDcyLTQxOGYtYmM4OS04ZDYyZjNjOWJmYWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b9185ff8-e179-4e3a-8d8a-04793a49438f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-correlation-request-id": [ + "17a9b392-1b98-416b-8afe-70a90867819c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150120Z:17a9b392-1b98-416b-8afe-70a90867819c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:01:20 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/62f95e2c-9472-418f-bc89-8d62f3c9bfac\",\r\n \"name\": \"62f95e2c-9472-418f-bc89-8d62f3c9bfac\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:00:49.9972221Z\",\r\n \"endTime\": \"2018-12-27T15:00:53.5031125Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/62f95e2c-9472-418f-bc89-8d62f3c9bfac?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82MmY5NWUyYy05NDcyLTQxOGYtYmM4OS04ZDYyZjNjOWJmYWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "13da0d35-d281-45d5-b9c5-ed22a09ca17f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-correlation-request-id": [ + "bd0e5390-5e9b-4557-ac51-fe4678d23139" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150120Z:bd0e5390-5e9b-4557-ac51-fe4678d23139" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:01:20 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A00%3A50.2206288Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"d7210308-1365-bd58-1d5f-f2c57d5d057e\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a43376c8-7bb2-4dca-845c-5123669588aa" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/28673e7a-df41-4b2d-97e1-388b05f3e25d?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/28673e7a-df41-4b2d-97e1-388b05f3e25d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14992" + ], + "x-ms-request-id": [ + "f8e16e27-55f2-49a8-9f2d-1545dd1480f8" + ], + "x-ms-correlation-request-id": [ + "f8e16e27-55f2-49a8-9f2d-1545dd1480f8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150121Z:f8e16e27-55f2-49a8-9f2d-1545dd1480f8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:01:21 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/28673e7a-df41-4b2d-97e1-388b05f3e25d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yODY3M2U3YS1kZjQxLTRiMmQtOTdlMS0zODhiMDVmM2UyNWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "eb9388d1-b35e-4026-a465-313540449a27" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "9f005353-6863-4898-abd9-022d30effade" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150151Z:9f005353-6863-4898-abd9-022d30effade" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:01:51 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/28673e7a-df41-4b2d-97e1-388b05f3e25d\",\r\n \"name\": \"28673e7a-df41-4b2d-97e1-388b05f3e25d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:01:21.1444635Z\",\r\n \"endTime\": \"2018-12-27T15:01:21.3476423Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/28673e7a-df41-4b2d-97e1-388b05f3e25d?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yODY3M2U3YS1kZjQxLTRiMmQtOTdlMS0zODhiMDVmM2UyNWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "98f4ba0d-b184-4d4e-9f9c-7f8163a900c3" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-correlation-request-id": [ + "f26138c0-aacc-4d9f-82af-733841968d76" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150152Z:f26138c0-aacc-4d9f-82af-733841968d76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:01:51 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A01%3A21.3269333Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/CreateDeletePool.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/CreateDeletePool.json new file mode 100644 index 000000000000..002f7a10da89 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/CreateDeletePool.json @@ -0,0 +1,920 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a5dd7ecc-e988-44e0-ace4-791f5287bbc0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A01%3A54.6313041Z'\"" + ], + "x-ms-request-id": [ + "1de1161c-9bf2-4ab3-9ce1-18c22df82bbf" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d16b6eb5-06c4-4da0-a224-b9c2e458cccc?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "cf5e10a9-f62b-47a1-af72-e2c3d7af1314" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150155Z:cf5e10a9-f62b-47a1-af72-e2c3d7af1314" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:01:54 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A01%3A54.6313041Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d16b6eb5-06c4-4da0-a224-b9c2e458cccc?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kMTZiNmViNS0wNmM0LTRkYTAtYTIyNC1iOWMyZTQ1OGNjY2M/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ac5e54ab-b291-4057-98bd-356c42f82d6f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "754a18cc-254c-4e95-b6bf-185aacac6103" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150225Z:754a18cc-254c-4e95-b6bf-185aacac6103" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:02:24 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d16b6eb5-06c4-4da0-a224-b9c2e458cccc\",\r\n \"name\": \"d16b6eb5-06c4-4da0-a224-b9c2e458cccc\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:01:54.4813863Z\",\r\n \"endTime\": \"2018-12-27T15:01:54.9340671Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A01%3A55.0677173Z'\"" + ], + "x-ms-request-id": [ + "d0974b6e-c8d2-4a90-9ab2-25e17498a5ad" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "e428e373-d421-46de-82b4-935f4fb66152" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150225Z:e428e373-d421-46de-82b4-935f4fb66152" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:02:24 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A01%3A55.0677173Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eca6e3da-920e-43aa-877d-de437db47198" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A02%3A31.4229651Z'\"" + ], + "x-ms-request-id": [ + "481caa8a-4e14-46e9-9ce1-46001cd274ac" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec73d684-a581-4a04-9da9-68b2457cadf6?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "7e2a42e1-d837-400d-b44c-523f2f2e620c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150231Z:7e2a42e1-d837-400d-b44c-523f2f2e620c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:02:31 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A02%3A31.4229651Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec73d684-a581-4a04-9da9-68b2457cadf6?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYzczZDY4NC1hNTgxLTRhMDQtOWRhOS02OGIyNDU3Y2FkZjY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "47c02ac8-0ae5-4dca-a5a7-8e59673e07ca" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "212b8792-638a-4472-b701-6c3824f37d08" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150302Z:212b8792-638a-4472-b701-6c3824f37d08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:01 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec73d684-a581-4a04-9da9-68b2457cadf6\",\r\n \"name\": \"ec73d684-a581-4a04-9da9-68b2457cadf6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:02:31.2655687Z\",\r\n \"endTime\": \"2018-12-27T15:02:31.9530684Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A02%3A32.0835894Z'\"" + ], + "x-ms-request-id": [ + "9fabf4cd-cbfb-4038-9661-a06bc2f9990b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "5b450033-25df-4e53-9263-387b85193cb9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150302Z:5b450033-25df-4e53-9263-387b85193cb9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:01 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A02%3A32.0835894Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"40ac5248-dbbd-f832-d91f-a5aea5dc3ccf\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "232b2fd3-a898-4792-96ab-7b62411368c5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d7205fe5-f580-4bfb-84cc-d3024088f56b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "da0c7ed6-a861-4b63-9759-31e9b933a060" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150307Z:da0c7ed6-a861-4b63-9759-31e9b933a060" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:07 GMT" + ], + "Content-Length": [ + "541" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A02%3A32.0835894Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"40ac5248-dbbd-f832-d91f-a5aea5dc3ccf\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8bd0f21a-4359-4678-8db8-14255a43f137" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c67bc510-7a65-43e9-923b-340db8885c93" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "64ebbb60-47c0-4b37-8d58-0afeb3044b96" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150339Z:64ebbb60-47c0-4b37-8d58-0afeb3044b96" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:38 GMT" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "de2ebe14-6a80-4b47-adcf-1f6057c58190" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec9febe4-f049-48e1-9f13-82f511dcbafa?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec9febe4-f049-48e1-9f13-82f511dcbafa?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "4023c7e6-be2b-407c-9368-a21abb5edf37" + ], + "x-ms-correlation-request-id": [ + "4023c7e6-be2b-407c-9368-a21abb5edf37" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150308Z:4023c7e6-be2b-407c-9368-a21abb5edf37" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec9febe4-f049-48e1-9f13-82f511dcbafa?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYzlmZWJlNC1mMDQ5LTQ4ZTEtOWYxMy04MmY1MTFkY2JhZmE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cf106016-e655-4628-a9a5-22768a57951a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "21f1e0eb-c3b7-4427-818e-a5c5b9b3bc90" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150338Z:21f1e0eb-c3b7-4427-818e-a5c5b9b3bc90" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:38 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec9febe4-f049-48e1-9f13-82f511dcbafa\",\r\n \"name\": \"ec9febe4-f049-48e1-9f13-82f511dcbafa\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:03:08.2183334Z\",\r\n \"endTime\": \"2018-12-27T15:03:11.8799822Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec9febe4-f049-48e1-9f13-82f511dcbafa?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYzlmZWJlNC1mMDQ5LTQ4ZTEtOWYxMy04MmY1MTFkY2JhZmE/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "75f1adbc-d854-4907-9b93-755bbf8ab27f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "9a62de82-0b1c-4020-8e63-a2e8a2871854" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150338Z:9a62de82-0b1c-4020-8e63-a2e8a2871854" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:38 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A03%3A08.3907918Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"40ac5248-dbbd-f832-d91f-a5aea5dc3ccf\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fd32c9ad-daf5-4738-8779-7aca857cd36e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9b1c1911-0972-48cb-9a2d-f99274790e8b?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9b1c1911-0972-48cb-9a2d-f99274790e8b?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-request-id": [ + "14df231b-5da8-4f6e-871e-34c51d720ad7" + ], + "x-ms-correlation-request-id": [ + "14df231b-5da8-4f6e-871e-34c51d720ad7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150339Z:14df231b-5da8-4f6e-871e-34c51d720ad7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:03:39 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9b1c1911-0972-48cb-9a2d-f99274790e8b?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85YjFjMTkxMS0wOTcyLTQ4Y2ItOWEyZC1mOTkyNzQ3OTBlOGI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "960a4881-82b8-4567-9c24-8e226dffc13b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "eec1150d-5621-4f60-881b-251eec02b24f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150410Z:eec1150d-5621-4f60-881b-251eec02b24f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:04:09 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9b1c1911-0972-48cb-9a2d-f99274790e8b\",\r\n \"name\": \"9b1c1911-0972-48cb-9a2d-f99274790e8b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:03:39.6215267Z\",\r\n \"endTime\": \"2018-12-27T15:03:39.9341059Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9b1c1911-0972-48cb-9a2d-f99274790e8b?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85YjFjMTkxMS0wOTcyLTQ4Y2ItOWEyZC1mOTkyNzQ3OTBlOGI/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "146fab0b-bd7a-4c8e-8f92-8110b46649c7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "5058eb47-89bc-45ec-8b43-f7e8d776d1e5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150410Z:5058eb47-89bc-45ec-8b43-f7e8d776d1e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:04:09 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A03%3A39.9024766Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/DeleteAccountWithPoolPresent.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/DeleteAccountWithPoolPresent.json new file mode 100644 index 000000000000..fb069d8aa2ce --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/DeleteAccountWithPoolPresent.json @@ -0,0 +1,914 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "63cc143a-0042-474a-a483-3e24ce379dc1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A12%3A39.8143611Z'\"" + ], + "x-ms-request-id": [ + "1e8784a0-7232-424e-aff6-fd48dfb63717" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/96bff7a9-31f9-4559-9a24-6202ff1fd845?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "8dbf8f54-c84e-4e9b-bef9-03ea47df8240" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151240Z:8dbf8f54-c84e-4e9b-bef9-03ea47df8240" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:12:39 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A12%3A39.8143611Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/96bff7a9-31f9-4559-9a24-6202ff1fd845?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85NmJmZjdhOS0zMWY5LTQ1NTktOWEyNC02MjAyZmYxZmQ4NDU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d56c5e41-ea5e-4265-84c7-73365752f225" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "8341c112-5cc0-4322-bdd4-67011e168b2e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151310Z:8341c112-5cc0-4322-bdd4-67011e168b2e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:10 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/96bff7a9-31f9-4559-9a24-6202ff1fd845\",\r\n \"name\": \"96bff7a9-31f9-4559-9a24-6202ff1fd845\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:12:39.6676165Z\",\r\n \"endTime\": \"2018-12-27T15:12:40.089501Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A12%3A40.2207408Z'\"" + ], + "x-ms-request-id": [ + "6ba60490-9b5b-40cc-83a8-4be25a84c6e4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "bded2d53-7858-4ddd-a45e-0b6f98261216" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151310Z:bded2d53-7858-4ddd-a45e-0b6f98261216" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:10 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A12%3A40.2207408Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "33def460-3fc9-4e2c-b013-e80171c5505d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A13%3A16.5476416Z'\"" + ], + "x-ms-request-id": [ + "cba22f2c-140e-4a22-a628-270ff1ad6b03" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/bf6de0b5-ae43-45be-a072-5eb42f38a0c1?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "bfbe979a-da4b-4788-b0ab-6dedc96a0bde" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151317Z:bfbe979a-da4b-4788-b0ab-6dedc96a0bde" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:16 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A13%3A16.5476416Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/bf6de0b5-ae43-45be-a072-5eb42f38a0c1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iZjZkZTBiNS1hZTQzLTQ1YmUtYTA3Mi01ZWI0MmYzOGEwYzE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b3fd054b-0458-4692-8c32-022c3f52bf00" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "5a83ea8f-c0bb-4b2e-a1ff-2abb588336cb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151347Z:5a83ea8f-c0bb-4b2e-a1ff-2abb588336cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:46 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/bf6de0b5-ae43-45be-a072-5eb42f38a0c1\",\r\n \"name\": \"bf6de0b5-ae43-45be-a072-5eb42f38a0c1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:13:16.4060315Z\",\r\n \"endTime\": \"2018-12-27T15:13:17.1617947Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A13%3A17.2953396Z'\"" + ], + "x-ms-request-id": [ + "5efd56e5-c3ff-4b41-a045-e5e1713621fd" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "dbac4dfb-fb9b-49ef-b525-ea7a4bf26af7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151347Z:dbac4dfb-fb9b-49ef-b525-ea7a4bf26af7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:46 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A13%3A17.2953396Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"30c33310-13f7-4307-7913-d603044c4698\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "74345712-e243-4a0c-a500-a0fa6ff9c22e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "87edbd2b-d376-4121-bd64-0e6bf4b02a63" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "9517987b-37d8-4fad-b8e9-de7d4c4e97a8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151352Z:9517987b-37d8-4fad-b8e9-de7d4c4e97a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:52 GMT" + ], + "Content-Length": [ + "541" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A13%3A17.2953396Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"30c33310-13f7-4307-7913-d603044c4698\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "065b2060-a412-4a40-bd03-602e896714fd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "7b503a91-acf2-4e30-9a40-0d6a212314e0" + ], + "x-ms-correlation-request-id": [ + "7b503a91-acf2-4e30-9a40-0d6a212314e0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151353Z:7b503a91-acf2-4e30-9a40-0d6a212314e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:52 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e5204d4-c332-43e8-bf73-9fdec01d99a9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a7fcfb4-cc2b-47a6-ac49-d11dc6ec4c5d?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a7fcfb4-cc2b-47a6-ac49-d11dc6ec4c5d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "83c1c2da-6cbb-4e40-bee2-c74a6ff2541b" + ], + "x-ms-correlation-request-id": [ + "83c1c2da-6cbb-4e40-bee2-c74a6ff2541b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151430Z:83c1c2da-6cbb-4e40-bee2-c74a6ff2541b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:14:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fd0a6d86-d760-4724-b48e-414d70f8a996" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e5fd7ca7-8c46-4bc7-a573-daf57dac7b83?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e5fd7ca7-8c46-4bc7-a573-daf57dac7b83?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "4d44a584-94d0-4552-844f-17df722f8319" + ], + "x-ms-correlation-request-id": [ + "4d44a584-94d0-4552-844f-17df722f8319" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151358Z:4d44a584-94d0-4552-844f-17df722f8319" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:13:58 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e5fd7ca7-8c46-4bc7-a573-daf57dac7b83?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lNWZkN2NhNy04YzQ2LTRiYzctYTU3My1kYWY1N2RhYzdiODM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8691072c-b312-440f-9948-5538c7d0b1f6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "e3e55058-c1cb-41fb-bcbb-8ddfbaf922e7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151429Z:e3e55058-c1cb-41fb-bcbb-8ddfbaf922e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:14:28 GMT" + ], + "Content-Length": [ + "531" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e5fd7ca7-8c46-4bc7-a573-daf57dac7b83\",\r\n \"name\": \"e5fd7ca7-8c46-4bc7-a573-daf57dac7b83\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:13:58.716651Z\",\r\n \"endTime\": \"2018-12-27T15:14:02.5531097Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e5fd7ca7-8c46-4bc7-a573-daf57dac7b83?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lNWZkN2NhNy04YzQ2LTRiYzctYTU3My1kYWY1N2RhYzdiODM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2df94877-99a0-4ac5-9c1b-10e8f2f1155a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "81ea05db-60c0-460f-a125-14038c5f9f15" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151429Z:81ea05db-60c0-460f-a125-14038c5f9f15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:14:28 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A13%3A58.8751442Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"30c33310-13f7-4307-7913-d603044c4698\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a7fcfb4-cc2b-47a6-ac49-d11dc6ec4c5d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xYTdmY2ZiNC1jYzJiLTQ3YTYtYWM0OS1kMTFkYzZlYzRjNWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "74db3f5d-650b-408b-8fcc-6f93d7f42509" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "3632b568-7908-4364-adbc-2c359c5dc48a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151500Z:3632b568-7908-4364-adbc-2c359c5dc48a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:14:59 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a7fcfb4-cc2b-47a6-ac49-d11dc6ec4c5d\",\r\n \"name\": \"1a7fcfb4-cc2b-47a6-ac49-d11dc6ec4c5d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:14:29.9720293Z\",\r\n \"endTime\": \"2018-12-27T15:14:30.1595129Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a7fcfb4-cc2b-47a6-ac49-d11dc6ec4c5d?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xYTdmY2ZiNC1jYzJiLTQ3YTYtYWM0OS1kMTFkYzZlYzRjNWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a3f4b34e-9341-46a9-b4fa-dd380b975d24" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "7d5b793f-4dcb-461a-9341-bd25c8be390a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151500Z:7d5b793f-4dcb-461a-9341-bd25c8be390a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:15:00 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A14%3A30.1343184Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByName.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByName.json new file mode 100644 index 000000000000..bfdd13ebbc70 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByName.json @@ -0,0 +1,857 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1731522d-4c0d-4d75-b3f5-c713a6eae159" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A10%3A13.6439955Z'\"" + ], + "x-ms-request-id": [ + "ffffd1a7-bbe4-4bae-b2d2-2c1cb2c86d56" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/510f5507-2c8d-4edf-a537-4b7ff9012d89?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "20975ba7-62e3-41a0-aec9-f829e4794352" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151013Z:20975ba7-62e3-41a0-aec9-f829e4794352" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:10:13 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A10%3A13.6439955Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/510f5507-2c8d-4edf-a537-4b7ff9012d89?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81MTBmNTUwNy0yYzhkLTRlZGYtYTUzNy00YjdmZjkwMTJkODk/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c86429a1-bf35-4fdd-9100-7bac2e1cdf31" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "3624e99b-3e5b-4d0d-aa33-424d874e4e95" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151044Z:3624e99b-3e5b-4d0d-aa33-424d874e4e95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:10:44 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/510f5507-2c8d-4edf-a537-4b7ff9012d89\",\r\n \"name\": \"510f5507-2c8d-4edf-a537-4b7ff9012d89\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:10:13.5038487Z\",\r\n \"endTime\": \"2018-12-27T15:10:13.9257852Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A10%3A14.0583872Z'\"" + ], + "x-ms-request-id": [ + "b6cd6597-3d29-4d97-a698-ac155ceada0c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "d891ff77-c84c-4235-83d5-39ffebba713f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151044Z:d891ff77-c84c-4235-83d5-39ffebba713f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:10:44 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A10%3A14.0583872Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a005609d-945e-4d49-b5bb-007e4e65b21d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A10%3A50.2224557Z'\"" + ], + "x-ms-request-id": [ + "8008cbcd-ff6f-441c-b154-548bb3d85d63" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d6e9ebe3-45d3-4321-b87e-169ffefff1be?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "bf16e4d2-e3fa-475b-b17d-3b756a7c81e7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151050Z:bf16e4d2-e3fa-475b-b17d-3b756a7c81e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:10:50 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A10%3A50.2224557Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d6e9ebe3-45d3-4321-b87e-169ffefff1be?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kNmU5ZWJlMy00NWQzLTQzMjEtYjg3ZS0xNjlmZmVmZmYxYmU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f30f185f-cb0f-40e1-9317-bfd9aac9be99" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "f711e298-dfe8-4bee-a9b8-f0c433e65af6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151120Z:f711e298-dfe8-4bee-a9b8-f0c433e65af6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:11:20 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d6e9ebe3-45d3-4321-b87e-169ffefff1be\",\r\n \"name\": \"d6e9ebe3-45d3-4321-b87e-169ffefff1be\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:10:50.0561339Z\",\r\n \"endTime\": \"2018-12-27T15:10:50.7592998Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A10%3A50.8970914Z'\"" + ], + "x-ms-request-id": [ + "003fa820-af2c-4b47-8b9c-3c683c57b2b0" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "b275e5ba-2d6b-4cca-84bb-c803ed6d0c12" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151121Z:b275e5ba-2d6b-4cca-84bb-c803ed6d0c12" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:11:21 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A10%3A50.8970914Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"a77faf1c-e0a8-9ef0-f1ce-f626d22c9709\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44ab20e0-54b4-4a8e-8761-4b5bedea2139" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A10%3A50.8970914Z'\"" + ], + "x-ms-request-id": [ + "e3d45666-1c6d-441c-9661-c3cbdc4a693b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "5172c615-ef29-459d-9d93-037ce8cceea1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151126Z:5172c615-ef29-459d-9d93-037ce8cceea1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:11:26 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A10%3A50.8970914Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"a77faf1c-e0a8-9ef0-f1ce-f626d22c9709\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "07a34054-25fe-4747-a0e8-4a030188f4bf" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/121ab765-8f8e-4972-a9c9-c23898aac3e3?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/121ab765-8f8e-4972-a9c9-c23898aac3e3?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "7cebe1dc-6e92-47f1-91e9-9f6922fc9d9e" + ], + "x-ms-correlation-request-id": [ + "7cebe1dc-6e92-47f1-91e9-9f6922fc9d9e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151132Z:7cebe1dc-6e92-47f1-91e9-9f6922fc9d9e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:11:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/121ab765-8f8e-4972-a9c9-c23898aac3e3?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xMjFhYjc2NS04ZjhlLTQ5NzItYTljOS1jMjM4OThhYWMzZTM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7082222c-c0d5-4608-8b31-b4c7eddc4b70" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "9a0be6e2-428c-4818-b24a-7c6eec689792" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151202Z:9a0be6e2-428c-4818-b24a-7c6eec689792" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:12:02 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/121ab765-8f8e-4972-a9c9-c23898aac3e3\",\r\n \"name\": \"121ab765-8f8e-4972-a9c9-c23898aac3e3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:11:32.1640726Z\",\r\n \"endTime\": \"2018-12-27T15:11:35.9125279Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/121ab765-8f8e-4972-a9c9-c23898aac3e3?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xMjFhYjc2NS04ZjhlLTQ5NzItYTljOS1jMjM4OThhYWMzZTM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "afd9dca6-5b25-4932-8163-1f2543f72e32" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "74128243-a638-4ee3-8851-1be12241e29d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151202Z:74128243-a638-4ee3-8851-1be12241e29d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:12:02 GMT" + ], + "Content-Length": [ + "527" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A11%3A32.304101Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"a77faf1c-e0a8-9ef0-f1ce-f626d22c9709\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f384dc1d-4d1b-4743-b567-ee6ab8e42880" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/792d80c6-f4b6-4959-b8e1-95e4e0ad8aa8?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/792d80c6-f4b6-4959-b8e1-95e4e0ad8aa8?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "d16cbcd8-c145-4dac-9cf4-b84251226e08" + ], + "x-ms-correlation-request-id": [ + "d16cbcd8-c145-4dac-9cf4-b84251226e08" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151203Z:d16cbcd8-c145-4dac-9cf4-b84251226e08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:12:03 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/792d80c6-f4b6-4959-b8e1-95e4e0ad8aa8?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83OTJkODBjNi1mNGI2LTQ5NTktYjhlMS05NWU0ZTBhZDhhYTg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ae4aac9c-60ff-4b58-99b6-5a57146ed206" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "b66c3f11-1d73-4ef0-96c5-6868dd9c541b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151234Z:b66c3f11-1d73-4ef0-96c5-6868dd9c541b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:12:33 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/792d80c6-f4b6-4959-b8e1-95e4e0ad8aa8\",\r\n \"name\": \"792d80c6-f4b6-4959-b8e1-95e4e0ad8aa8\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:12:03.3607158Z\",\r\n \"endTime\": \"2018-12-27T15:12:03.5420062Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/792d80c6-f4b6-4959-b8e1-95e4e0ad8aa8?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83OTJkODBjNi1mNGI2LTQ5NTktYjhlMS05NWU0ZTBhZDhhYTg/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ebff6772-c3cc-4eb9-b4f8-d1c94b2c4741" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "7435653c-86dc-405f-a3f1-9b28db4ecaf4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151234Z:7435653c-86dc-405f-a3f1-9b28db4ecaf4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:12:34 GMT" + ], + "Content-Length": [ + "333" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A12%3A03.514483Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByNameAccountNotFound.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByNameAccountNotFound.json new file mode 100644 index 000000000000..6a8404035ea8 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByNameAccountNotFound.json @@ -0,0 +1,848 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "234bfff2-c827-45f4-a925-67ab938fd3dc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A07%3A49.9336157Z'\"" + ], + "x-ms-request-id": [ + "6d22cda4-9f30-42e6-b795-6851a992500d" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7903425b-198a-4baa-9cb8-fa33062f61c3?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "42da3d35-6d31-4d1d-9529-51c56ee93490" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150750Z:42da3d35-6d31-4d1d-9529-51c56ee93490" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:07:49 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A07%3A49.9336157Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7903425b-198a-4baa-9cb8-fa33062f61c3?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83OTAzNDI1Yi0xOThhLTRiYWEtOWNiOC1mYTMzMDYyZjYxYzM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "384c8cef-1ab0-418b-80ee-d5ee428d4587" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "05f12e4a-da7b-4021-8671-eb488ddd57c2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150820Z:05f12e4a-da7b-4021-8671-eb488ddd57c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:08:19 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7903425b-198a-4baa-9cb8-fa33062f61c3\",\r\n \"name\": \"7903425b-198a-4baa-9cb8-fa33062f61c3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:07:49.6955918Z\",\r\n \"endTime\": \"2018-12-27T15:07:50.2431957Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A07%3A50.3730322Z'\"" + ], + "x-ms-request-id": [ + "7f1b9fcd-05f2-48c0-90df-69565753e8f2" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "c2858334-a81d-42b8-8b7c-da2e6a64bee8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150820Z:c2858334-a81d-42b8-8b7c-da2e6a64bee8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:08:19 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A07%3A50.3730322Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8c6249c2-8162-4c3d-a749-bdda5654368f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A08%3A27.4519589Z'\"" + ], + "x-ms-request-id": [ + "f651db6c-ce53-4187-a70f-2be86943edc7" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ca91032f-396a-4d45-979c-6f513e70b30b?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "75f8d190-872a-488c-81ed-5fbb0a400695" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150827Z:75f8d190-872a-488c-81ed-5fbb0a400695" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:08:26 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A08%3A27.4519589Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ca91032f-396a-4d45-979c-6f513e70b30b?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jYTkxMDMyZi0zOTZhLTRkNDUtOTc5Yy02ZjUxM2U3MGIzMGI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e95bfef5-00f4-4f2d-b6c3-e0198d85c170" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "56470900-cdc1-4a5b-87e0-92c5aa512081" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150858Z:56470900-cdc1-4a5b-87e0-92c5aa512081" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:08:57 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ca91032f-396a-4d45-979c-6f513e70b30b\",\r\n \"name\": \"ca91032f-396a-4d45-979c-6f513e70b30b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:08:27.2867565Z\",\r\n \"endTime\": \"2018-12-27T15:08:27.9273358Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A08%3A28.0885595Z'\"" + ], + "x-ms-request-id": [ + "ba1f0bd0-e111-4771-88b5-37c2ce1531b6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "e2cb6c09-b608-40cd-a353-3cbd8a4ee8cf" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150858Z:e2cb6c09-b608-40cd-a353-3cbd8a4ee8cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:08:57 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A08%3A28.0885595Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"9465a897-e397-3fbf-4130-f706240ec605\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc2/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMi9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1bf47625-9d7f-4acd-b23f-5bc3b7ed9faf" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "599613a7-467f-4ede-a5e3-e98ec81b1d9a" + ], + "x-ms-correlation-request-id": [ + "599613a7-467f-4ede-a5e3-e98ec81b1d9a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150903Z:599613a7-467f-4ede-a5e3-e98ec81b1d9a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:09:03 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "192" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.NetApp/netAppAccounts/sdk-tests-acc2/capacityPools/sdk-tests-pool1' under resource group 'sdk-tests-rg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "57998022-8482-4d68-8411-77690de10894" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c821481b-71e6-48bc-928b-c6bde8bbb8d7?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c821481b-71e6-48bc-928b-c6bde8bbb8d7?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14993" + ], + "x-ms-request-id": [ + "919c99a9-a58c-4f5a-a500-afe52e523a87" + ], + "x-ms-correlation-request-id": [ + "919c99a9-a58c-4f5a-a500-afe52e523a87" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150909Z:919c99a9-a58c-4f5a-a500-afe52e523a87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:09:09 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c821481b-71e6-48bc-928b-c6bde8bbb8d7?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jODIxNDgxYi03MWU2LTQ4YmMtOTI4Yi1jNmJkZThiYmI4ZDc/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0db75739-21fa-46ff-a734-cdb4b5817405" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-correlation-request-id": [ + "11f2a1da-f034-45b8-9979-74cd737e5423" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150939Z:11f2a1da-f034-45b8-9979-74cd737e5423" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:09:39 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c821481b-71e6-48bc-928b-c6bde8bbb8d7\",\r\n \"name\": \"c821481b-71e6-48bc-928b-c6bde8bbb8d7\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:09:09.2247164Z\",\r\n \"endTime\": \"2018-12-27T15:09:12.6221055Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c821481b-71e6-48bc-928b-c6bde8bbb8d7?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jODIxNDgxYi03MWU2LTQ4YmMtOTI4Yi1jNmJkZThiYmI4ZDc/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "28f10cc0-6bf4-4fef-8de7-2a66bfbe927d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-correlation-request-id": [ + "00a8b1df-0a45-46eb-9dae-e049f707c895" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150939Z:00a8b1df-0a45-46eb-9dae-e049f707c895" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:09:39 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A09%3A09.3704481Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"9465a897-e397-3fbf-4130-f706240ec605\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "26bfa359-a189-4dff-8fff-a9bca3b586e4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9d39f317-d25f-40e6-91c5-cf48b0f93569?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9d39f317-d25f-40e6-91c5-cf48b0f93569?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14992" + ], + "x-ms-request-id": [ + "287613cb-98a4-42d3-8e02-df331ff005ab" + ], + "x-ms-correlation-request-id": [ + "287613cb-98a4-42d3-8e02-df331ff005ab" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150940Z:287613cb-98a4-42d3-8e02-df331ff005ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:09:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9d39f317-d25f-40e6-91c5-cf48b0f93569?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85ZDM5ZjMxNy1kMjVmLTQwZTYtOTFjNS1jZjQ4YjBmOTM1Njk/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "35b994cd-54a5-4d9b-b4c7-ee867bf35261" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "93efe72b-0e5c-474e-845d-8e28254f9ebe" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151010Z:93efe72b-0e5c-474e-845d-8e28254f9ebe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:10:10 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9d39f317-d25f-40e6-91c5-cf48b0f93569\",\r\n \"name\": \"9d39f317-d25f-40e6-91c5-cf48b0f93569\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:09:40.2628492Z\",\r\n \"endTime\": \"2018-12-27T15:09:40.4971821Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/9d39f317-d25f-40e6-91c5-cf48b0f93569?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85ZDM5ZjMxNy1kMjVmLTQwZTYtOTFjNS1jZjQ4YjBmOTM1Njk/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "aff376b6-0faf-4cdf-ac61-fafcd1df1cbd" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-correlation-request-id": [ + "78849016-fb13-4ad7-91f9-e546887b1254" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151011Z:78849016-fb13-4ad7-91f9-e546887b1254" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:10:10 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A09%3A40.4707478Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByNameNotFound.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByNameNotFound.json new file mode 100644 index 000000000000..500f50cea181 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/GetPoolByNameNotFound.json @@ -0,0 +1,458 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "09e5ac99-0b5b-45e5-97e8-d360e8fab5e0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A15%3A03.3603405Z'\"" + ], + "x-ms-request-id": [ + "2007c56e-fda1-4f5e-89de-99f4dc252b3d" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2555b4eb-1d44-463a-b853-6a7ea24100f3?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "c00e3519-9f36-41b7-b769-71c672747ad4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151503Z:c00e3519-9f36-41b7-b769-71c672747ad4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:15:03 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A15%3A03.3603405Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2555b4eb-1d44-463a-b853-6a7ea24100f3?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yNTU1YjRlYi0xZDQ0LTQ2M2EtYjg1My02YTdlYTI0MTAwZjM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3c7f4892-7cf4-404e-838d-a455f2eb8160" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "424846ec-c2c5-4f1a-bbf6-5d97123384d0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151534Z:424846ec-c2c5-4f1a-bbf6-5d97123384d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:15:33 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2555b4eb-1d44-463a-b853-6a7ea24100f3\",\r\n \"name\": \"2555b4eb-1d44-463a-b853-6a7ea24100f3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:15:03.1829937Z\",\r\n \"endTime\": \"2018-12-27T15:15:03.6437736Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A15%3A03.7867453Z'\"" + ], + "x-ms-request-id": [ + "63d9fb99-9bcf-42d6-b8b3-c44a57646324" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "de32f3a0-868f-479d-b103-adec491dbbd3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151534Z:de32f3a0-868f-479d-b103-adec491dbbd3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:15:33 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A15%3A03.7867453Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4bea6a4b-ac04-44ec-a15b-14b6438808a8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "cc2adc59-577c-42ad-ac66-1d9bcab2ad0f" + ], + "x-ms-correlation-request-id": [ + "cc2adc59-577c-42ad-ac66-1d9bcab2ad0f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151539Z:cc2adc59-577c-42ad-ac66-1d9bcab2ad0f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:15:38 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "192" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1' under resource group 'sdk-tests-rg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e01d757-b458-4741-a667-16bfb320df06" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/08531621-770b-4c60-af60-42a1281eb9e9?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/08531621-770b-4c60-af60-42a1281eb9e9?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "8d6bb0e3-a679-4ad7-9b2c-edf5f168f172" + ], + "x-ms-correlation-request-id": [ + "8d6bb0e3-a679-4ad7-9b2c-edf5f168f172" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151540Z:8d6bb0e3-a679-4ad7-9b2c-edf5f168f172" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:15:39 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/08531621-770b-4c60-af60-42a1281eb9e9?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wODUzMTYyMS03NzBiLTRjNjAtYWY2MC00MmExMjgxZWI5ZTk/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "810112b3-4da6-4045-aacf-54b92294a86f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "3c1cc790-fcee-4c72-be84-896a27116762" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151610Z:3c1cc790-fcee-4c72-be84-896a27116762" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:16:09 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/08531621-770b-4c60-af60-42a1281eb9e9\",\r\n \"name\": \"08531621-770b-4c60-af60-42a1281eb9e9\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:15:39.9597447Z\",\r\n \"endTime\": \"2018-12-27T15:15:40.1628776Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/08531621-770b-4c60-af60-42a1281eb9e9?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wODUzMTYyMS03NzBiLTRjNjAtYWY2MC00MmExMjgxZWI5ZTk/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "62bc28a4-7f6d-4788-a2fe-fab105497368" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "c99a760c-3ae0-4555-b695-4285d720dabd" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151611Z:c99a760c-3ae0-4555-b695-4285d720dabd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:16:10 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A15%3A40.1279654Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/ListPools.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/ListPools.json new file mode 100644 index 000000000000..a7792c1cf076 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/ListPools.json @@ -0,0 +1,1244 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5b885c4f-03d6-4687-b910-b4b06e5a03f3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A04%3A13.4330665Z'\"" + ], + "x-ms-request-id": [ + "6237de5d-ccb3-4898-bfb3-7656b9be51cb" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2e647ff8-79ce-46ec-a7f7-c4a6ae762cc6?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "3381d568-a1d5-4a5b-a856-7f2751ec09ae" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150413Z:3381d568-a1d5-4a5b-a856-7f2751ec09ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:04:13 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A04%3A13.4330665Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2e647ff8-79ce-46ec-a7f7-c4a6ae762cc6?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yZTY0N2ZmOC03OWNlLTQ2ZWMtYTdmNy1jNGE2YWU3NjJjYzY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "92eef3c9-5e73-454c-bd1b-db70ab34d50b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "cb077515-57ea-4a66-b592-ebb27ca923e0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150444Z:cb077515-57ea-4a66-b592-ebb27ca923e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:04:43 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2e647ff8-79ce-46ec-a7f7-c4a6ae762cc6\",\r\n \"name\": \"2e647ff8-79ce-46ec-a7f7-c4a6ae762cc6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:04:13.2903293Z\",\r\n \"endTime\": \"2018-12-27T15:04:13.7121985Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A04%3A13.837447Z'\"" + ], + "x-ms-request-id": [ + "3dd0e3bc-1f85-4e09-a249-35b9cefeae71" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "8a451d15-1a5a-4785-9297-4c25d79e73db" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150444Z:8a451d15-1a5a-4785-9297-4c25d79e73db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:04:43 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A04%3A13.837447Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ff5e753e-da0a-4f15-b0e6-fd5aa285471a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A04%3A50.2027035Z'\"" + ], + "x-ms-request-id": [ + "d2d58571-ad33-4f86-aad1-5c105452d5bd" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b71fd61a-3216-49d7-97ca-1053300b785c?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "97a136b7-a4cb-4f17-bcdd-5ab0d671eaa8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150450Z:97a136b7-a4cb-4f17-bcdd-5ab0d671eaa8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:04:50 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A04%3A50.2027035Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b71fd61a-3216-49d7-97ca-1053300b785c?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iNzFmZDYxYS0zMjE2LTQ5ZDctOTdjYS0xMDUzMzAwYjc4NWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cd74e0ac-0698-47db-84e3-21c0ba311e1a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "7dfc9d18-e359-4138-9d31-678666b18e5c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150520Z:7dfc9d18-e359-4138-9d31-678666b18e5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:05:20 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b71fd61a-3216-49d7-97ca-1053300b785c\",\r\n \"name\": \"b71fd61a-3216-49d7-97ca-1053300b785c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:04:49.9903297Z\",\r\n \"endTime\": \"2018-12-27T15:04:50.8809807Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A04%3A51.0184732Z'\"" + ], + "x-ms-request-id": [ + "cf072ce7-0289-4e64-b40c-287baf4ab6a7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "85612486-897f-49c2-9dce-5d920d3a4a3b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150521Z:85612486-897f-49c2-9dce-5d920d3a4a3b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:05:20 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A04%3A51.0184732Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"12bd417b-dcf6-5b06-d4d2-e52b126ec698\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMj9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4808e82a-9996-4b65-8f10-7c3690298cad" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A05%3A27.1825396Z'\"" + ], + "x-ms-request-id": [ + "a6e19cb3-318c-405c-958a-5163b2675029" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/57403991-14d4-436b-96be-928a060a4e0d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "de69ea3a-e698-43bd-ba7a-671ad4a3bb63" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150527Z:de69ea3a-e698-43bd-ba7a-671ad4a3bb63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:05:27 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A05%3A27.1825396Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/57403991-14d4-436b-96be-928a060a4e0d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81NzQwMzk5MS0xNGQ0LTQzNmItOTZiZS05MjhhMDYwYTRlMGQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a6edd113-4311-40a5-8714-4b8f319dc7d4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "250b9f22-023d-4656-bf4d-de5a7b8ff6b4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150557Z:250b9f22-023d-4656-bf4d-de5a7b8ff6b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:05:57 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/57403991-14d4-436b-96be-928a060a4e0d\",\r\n \"name\": \"57403991-14d4-436b-96be-928a060a4e0d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:05:27.0335859Z\",\r\n \"endTime\": \"2018-12-27T15:05:27.7259014Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMj9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A05%3A27.8631846Z'\"" + ], + "x-ms-request-id": [ + "6067f646-d68e-46cd-8ab1-9fdb8429a7ab" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "7a40f5a6-30f9-4300-b395-b3639778f3f9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150558Z:7a40f5a6-30f9-4300-b395-b3639778f3f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:05:57 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A05%3A27.8631846Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"a287790e-8f72-6b3f-831d-ef336f2fc640\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool2\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fcef4333-faa0-45a5-9ad3-5f7a5ecc6f05" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2a8d9585-56db-490e-b8c4-87dc09e06c32" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "ba168b7b-923c-48fb-b7d3-38a89a59c2bd" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150603Z:ba168b7b-923c-48fb-b7d3-38a89a59c2bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:06:03 GMT" + ], + "Content-Length": [ + "1071" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A04%3A51.0184732Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"12bd417b-dcf6-5b06-d4d2-e52b126ec698\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A05%3A27.8631846Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"a287790e-8f72-6b3f-831d-ef336f2fc640\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool2\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMj9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f7099952-d76b-47e3-8705-b8fa95d5dfb3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c33a2e3d-7ae1-480a-bada-1def68e635a6?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c33a2e3d-7ae1-480a-bada-1def68e635a6?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "329610fc-a77b-49c1-ac05-d49338d34acf" + ], + "x-ms-correlation-request-id": [ + "329610fc-a77b-49c1-ac05-d49338d34acf" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150609Z:329610fc-a77b-49c1-ac05-d49338d34acf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:06:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c33a2e3d-7ae1-480a-bada-1def68e635a6?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jMzNhMmUzZC03YWUxLTQ4MGEtYmFkYS0xZGVmNjhlNjM1YTY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0ea4aede-a433-445e-8a6f-1c384ce5778d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "98e0e839-3797-4d43-a64d-e3ac4abcee0d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150639Z:98e0e839-3797-4d43-a64d-e3ac4abcee0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:06:39 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c33a2e3d-7ae1-480a-bada-1def68e635a6\",\r\n \"name\": \"c33a2e3d-7ae1-480a-bada-1def68e635a6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:06:08.8976183Z\",\r\n \"endTime\": \"2018-12-27T15:06:12.4918001Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c33a2e3d-7ae1-480a-bada-1def68e635a6?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jMzNhMmUzZC03YWUxLTQ4MGEtYmFkYS0xZGVmNjhlNjM1YTY/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "43b3bb17-c3f9-4095-91c4-3464764ad5f0" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "1411729d-0faa-4271-a6fd-3107a9381f52" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150639Z:1411729d-0faa-4271-a6fd-3107a9381f52" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:06:39 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A06%3A09.0940241Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"a287790e-8f72-6b3f-831d-ef336f2fc640\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool2\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "642946f8-7982-4cae-835e-109e02d4fd85" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/04ea57bd-f030-4849-bbb4-e93b33e166b3?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/04ea57bd-f030-4849-bbb4-e93b33e166b3?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "d1fc8027-98cd-4265-9e3d-d928e398963b" + ], + "x-ms-correlation-request-id": [ + "d1fc8027-98cd-4265-9e3d-d928e398963b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150645Z:d1fc8027-98cd-4265-9e3d-d928e398963b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:06:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/04ea57bd-f030-4849-bbb4-e93b33e166b3?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wNGVhNTdiZC1mMDMwLTQ4NDktYmJiNC1lOTNiMzNlMTY2YjM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4be724a3-014d-4677-99fa-9ba0202145d1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "98c328a3-61db-48ac-ab39-293fb0b19195" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150715Z:98c328a3-61db-48ac-ab39-293fb0b19195" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:07:15 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/04ea57bd-f030-4849-bbb4-e93b33e166b3\",\r\n \"name\": \"04ea57bd-f030-4849-bbb4-e93b33e166b3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:06:45.3744125Z\",\r\n \"endTime\": \"2018-12-27T15:06:48.9186755Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/04ea57bd-f030-4849-bbb4-e93b33e166b3?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wNGVhNTdiZC1mMDMwLTQ4NDktYmJiNC1lOTNiMzNlMTY2YjM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c7eba60d-313d-4d14-8b92-c30762838c2c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "26045dbd-6a00-43b1-8585-54dd3306e015" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150716Z:26045dbd-6a00-43b1-8585-54dd3306e015" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:07:15 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A06%3A45.5293498Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"12bd417b-dcf6-5b06-d4d2-e52b126ec698\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8f4c1819-f482-4518-8891-af813b994b19" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c055f86b-0b87-4ee6-ba15-a8e5f7a0b769?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c055f86b-0b87-4ee6-ba15-a8e5f7a0b769?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "eb050755-4354-4f0d-82f9-837a931d3f5a" + ], + "x-ms-correlation-request-id": [ + "eb050755-4354-4f0d-82f9-837a931d3f5a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150716Z:eb050755-4354-4f0d-82f9-837a931d3f5a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:07:16 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c055f86b-0b87-4ee6-ba15-a8e5f7a0b769?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jMDU1Zjg2Yi0wYjg3LTRlZTYtYmExNS1hOGU1ZjdhMGI3Njk/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8ffe3161-d012-493e-a6d8-a5ccadf975f2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "255e4ee4-3429-4bd0-bce0-008f3b08ffd5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150747Z:255e4ee4-3429-4bd0-bce0-008f3b08ffd5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:07:46 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c055f86b-0b87-4ee6-ba15-a8e5f7a0b769\",\r\n \"name\": \"c055f86b-0b87-4ee6-ba15-a8e5f7a0b769\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:07:16.6076245Z\",\r\n \"endTime\": \"2018-12-27T15:07:16.7795036Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c055f86b-0b87-4ee6-ba15-a8e5f7a0b769?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jMDU1Zjg2Yi0wYjg3LTRlZTYtYmExNS1hOGU1ZjdhMGI3Njk/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "15191719-2df8-4406-b23a-d36602e4928c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "144f2a27-2841-4501-ba67-65d072d7b4e5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T150747Z:144f2a27-2841-4501-ba67-65d072d7b4e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:07:47 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A07%3A16.7543592Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/PatchPool.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/PatchPool.json new file mode 100644 index 000000000000..b7a5e456cf20 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/PatchPool.json @@ -0,0 +1,863 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d9c2069f-8fce-4bed-8046-5d931e75575c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A18%3A38.1335831Z'\"" + ], + "x-ms-request-id": [ + "f7ce8973-c64c-43b0-bd6a-e6a7b7161331" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b20c51c5-c04b-455e-a9b1-30dc35b722c6?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "4761c3b4-71c1-4b48-a57f-e8840a976405" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151838Z:4761c3b4-71c1-4b48-a57f-e8840a976405" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:18:37 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A18%3A38.1335831Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b20c51c5-c04b-455e-a9b1-30dc35b722c6?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iMjBjNTFjNS1jMDRiLTQ1NWUtYTliMS0zMGRjMzViNzIyYzY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a86a24eb-b928-48c8-82ae-f26c69a57b8a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "6c3a2a0d-fc01-4b4e-be1b-c0850444810e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151908Z:6c3a2a0d-fc01-4b4e-be1b-c0850444810e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:19:08 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b20c51c5-c04b-455e-a9b1-30dc35b722c6\",\r\n \"name\": \"b20c51c5-c04b-455e-a9b1-30dc35b722c6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:18:37.9882164Z\",\r\n \"endTime\": \"2018-12-27T15:18:38.4143904Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A18%3A38.5579829Z'\"" + ], + "x-ms-request-id": [ + "079f673a-4829-470b-bd46-476bd001ab69" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "3eed32d1-2ed9-4ea1-a145-068418d6fa59" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151908Z:3eed32d1-2ed9-4ea1-a145-068418d6fa59" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:19:08 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A18%3A38.5579829Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c1b34c5b-8d36-4d3f-84a6-790083b20aa2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A19%3A14.8621716Z'\"" + ], + "x-ms-request-id": [ + "ffc6b988-4343-4465-a8fe-098c46f34685" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec204f4f-8811-4728-9a25-1327263edb50?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "ce79caa2-ede5-4759-8fa2-f514c63e545a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151915Z:ce79caa2-ede5-4759-8fa2-f514c63e545a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:19:15 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A19%3A14.8621716Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec204f4f-8811-4728-9a25-1327263edb50?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYzIwNGY0Zi04ODExLTQ3MjgtOWEyNS0xMzI3MjYzZWRiNTA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0d94efbe-adba-4a3a-b054-e65640d8a752" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "9089b05c-3ada-4953-8387-04adbd5ffeca" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151945Z:9089b05c-3ada-4953-8387-04adbd5ffeca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:19:44 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec204f4f-8811-4728-9a25-1327263edb50\",\r\n \"name\": \"ec204f4f-8811-4728-9a25-1327263edb50\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:19:14.7108754Z\",\r\n \"endTime\": \"2018-12-27T15:19:15.4143096Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A19%3A15.546816Z'\"" + ], + "x-ms-request-id": [ + "f9686dd3-bb21-4b52-9271-1f0613f0e0c6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "f7642410-72a4-49c3-b320-d837be4584fa" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151946Z:f7642410-72a4-49c3-b320-d837be4584fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:19:45 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A19%3A15.546816Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"a26f0c09-4c9b-d51b-e58c-631d96a26b79\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b7404185-e554-42a3-9de7-18f7a587eff8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A19%3A51.6568157Z'\"" + ], + "x-ms-request-id": [ + "697e1820-f92c-4fef-8142-5727a42b261c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "4b178b5b-06d6-415f-8552-0fc71cf08ee0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151952Z:4b178b5b-06d6-415f-8552-0fc71cf08ee0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:19:51 GMT" + ], + "Content-Length": [ + "554" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A19%3A51.6568157Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"properties\": {\r\n \"poolId\": \"a26f0c09-4c9b-d51b-e58c-631d96a26b79\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "84786483-7b3d-4dc2-88ca-1374d531c065" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/33f4c60d-cfe0-4ee9-95ba-9d34d6920a73?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/33f4c60d-cfe0-4ee9-95ba-9d34d6920a73?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "75bfb16b-de6f-4414-8241-77236f9c979d" + ], + "x-ms-correlation-request-id": [ + "75bfb16b-de6f-4414-8241-77236f9c979d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151957Z:75bfb16b-de6f-4414-8241-77236f9c979d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:19:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/33f4c60d-cfe0-4ee9-95ba-9d34d6920a73?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zM2Y0YzYwZC1jZmUwLTRlZTktOTViYS05ZDM0ZDY5MjBhNzM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "99d42c4d-a7f4-4921-ad48-10031a8a2f4d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "e7e42d06-e169-4b52-96e5-9c33647a46a1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152028Z:e7e42d06-e169-4b52-96e5-9c33647a46a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:20:27 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/33f4c60d-cfe0-4ee9-95ba-9d34d6920a73\",\r\n \"name\": \"33f4c60d-cfe0-4ee9-95ba-9d34d6920a73\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:19:57.6358526Z\",\r\n \"endTime\": \"2018-12-27T15:20:01.1796628Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/33f4c60d-cfe0-4ee9-95ba-9d34d6920a73?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zM2Y0YzYwZC1jZmUwLTRlZTktOTViYS05ZDM0ZDY5MjBhNzM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5e17a8d3-e360-4eb4-b668-218b4bac6037" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "99511695-3345-4e40-a544-72fe7bd34f22" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152028Z:99511695-3345-4e40-a544-72fe7bd34f22" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:20:27 GMT" + ], + "Content-Length": [ + "553" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A19%3A57.9117077Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"properties\": {\r\n \"poolId\": \"a26f0c09-4c9b-d51b-e58c-631d96a26b79\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "105ef79c-6f70-46b1-9e08-13908dd9128f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e0adaf17-99e1-478e-8871-e7d11bfea5d1?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e0adaf17-99e1-478e-8871-e7d11bfea5d1?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "c8a4fa91-5d5f-41f9-a3aa-84e4f0b60566" + ], + "x-ms-correlation-request-id": [ + "c8a4fa91-5d5f-41f9-a3aa-84e4f0b60566" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152029Z:c8a4fa91-5d5f-41f9-a3aa-84e4f0b60566" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:20:28 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e0adaf17-99e1-478e-8871-e7d11bfea5d1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMGFkYWYxNy05OWUxLTQ3OGUtODg3MS1lN2QxMWJmZWE1ZDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "87aeceb7-3184-464b-9881-ab5e928f2b59" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "0c01390c-4eb3-49e8-9c85-bc534f4ff455" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152059Z:0c01390c-4eb3-49e8-9c85-bc534f4ff455" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:20:59 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e0adaf17-99e1-478e-8871-e7d11bfea5d1\",\r\n \"name\": \"e0adaf17-99e1-478e-8871-e7d11bfea5d1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:20:28.9609096Z\",\r\n \"endTime\": \"2018-12-27T15:20:29.1356728Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e0adaf17-99e1-478e-8871-e7d11bfea5d1?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMGFkYWYxNy05OWUxLTQ3OGUtODg3MS1lN2QxMWJmZWE1ZDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9ccb9c14-2719-45c9-b6e5-ad26e2eb82f8" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "6295dd8e-e7c3-4a71-b19a-fbae06f4596e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152100Z:6295dd8e-e7c3-4a71-b19a-fbae06f4596e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:20:59 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A20%3A29.1050813Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/UpdatePool.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/UpdatePool.json new file mode 100644 index 000000000000..c95ba304bf5a --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.PoolTests/UpdatePool.json @@ -0,0 +1,863 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a5b88cee-d27a-431e-8fe5-39a84a484c8a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A16%3A13.4743612Z'\"" + ], + "x-ms-request-id": [ + "5dc5fd1c-e1f1-4fd3-8916-57c67e774ff8" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d3566243-af4e-413a-8e25-f86a17cab306?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "e5f30ba7-7f24-4b66-8c27-9858e7674d75" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151613Z:e5f30ba7-7f24-4b66-8c27-9858e7674d75" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:16:13 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A16%3A13.4743612Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d3566243-af4e-413a-8e25-f86a17cab306?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kMzU2NjI0My1hZjRlLTQxM2EtOGUyNS1mODZhMTdjYWIzMDY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e7a98902-cfe3-44b0-b03b-0ef143f76436" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "32cca2f0-3029-438f-a1d4-e270898d7c1c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151644Z:32cca2f0-3029-438f-a1d4-e270898d7c1c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:16:43 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d3566243-af4e-413a-8e25-f86a17cab306\",\r\n \"name\": \"d3566243-af4e-413a-8e25-f86a17cab306\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:16:13.2790166Z\",\r\n \"endTime\": \"2018-12-27T15:16:13.7634213Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A16%3A14.0408966Z'\"" + ], + "x-ms-request-id": [ + "076d8217-424e-4e03-a754-1d27f0a2d104" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "60cb0dec-0068-4b62-ba95-14b96937f29e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151644Z:60cb0dec-0068-4b62-ba95-14b96937f29e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:16:44 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A16%3A14.0408966Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "930f31b2-8678-406e-b80f-e49895d6d31f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A16%3A50.1338846Z'\"" + ], + "x-ms-request-id": [ + "6d79c356-d1e8-4972-ad10-89c9818d3668" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ede46cab-bbf3-4bf3-a019-d5cc54e5fdc6?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "c8f09fea-b0fa-428c-8177-b4c013a90fc1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151650Z:c8f09fea-b0fa-428c-8177-b4c013a90fc1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:16:50 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A16%3A50.1338846Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Standard\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "01ff67c8-9aa3-403b-ba51-07ae64eaef1e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "113" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A17%3A27.7102697Z'\"" + ], + "x-ms-request-id": [ + "a30e8efd-1f2e-41db-85a8-30d4d471cf7e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "d6517fa0-53c5-44ec-a233-33e33039cddf" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151727Z:d6517fa0-53c5-44ec-a233-33e33039cddf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:17:27 GMT" + ], + "Content-Length": [ + "530" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A17%3A27.7102697Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"e665ef87-8e13-61ad-d45a-981a2d15752a\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Standard\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ede46cab-bbf3-4bf3-a019-d5cc54e5fdc6?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lZGU0NmNhYi1iYmYzLTRiZjMtYTAxOS1kNWNjNTRlNWZkYzY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "28627c72-0af8-4bd0-958a-5488fe6e7719" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "1e611681-095a-4ae1-8c3e-a199a652eed1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151720Z:1e611681-095a-4ae1-8c3e-a199a652eed1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:17:20 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ede46cab-bbf3-4bf3-a019-d5cc54e5fdc6\",\r\n \"name\": \"ede46cab-bbf3-4bf3-a019-d5cc54e5fdc6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:16:49.9650882Z\",\r\n \"endTime\": \"2018-12-27T15:16:50.5901194Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A16%3A50.7204391Z'\"" + ], + "x-ms-request-id": [ + "a862c792-e1bf-40bb-ad17-1e83570db95a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "34dec6a1-f79f-4f86-a65f-aa67a5595625" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151721Z:34dec6a1-f79f-4f86-a65f-aa67a5595625" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:17:20 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A16%3A50.7204391Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"e665ef87-8e13-61ad-d45a-981a2d15752a\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "250db704-c05b-44a8-b603-66b675213ede" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ea227da3-544e-490e-85d6-30a5553b94da?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ea227da3-544e-490e-85d6-30a5553b94da?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14992" + ], + "x-ms-request-id": [ + "e9064080-286b-4b40-834a-62a0555b457a" + ], + "x-ms-correlation-request-id": [ + "e9064080-286b-4b40-834a-62a0555b457a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151733Z:e9064080-286b-4b40-834a-62a0555b457a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:17:32 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ea227da3-544e-490e-85d6-30a5553b94da?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYTIyN2RhMy01NDRlLTQ5MGUtODVkNi0zMGE1NTUzYjk0ZGE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f036c4ba-6cda-47af-83d4-58a08e09107d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "4600e0bc-1204-4b5a-aa08-40b1ef60abdc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151803Z:4600e0bc-1204-4b5a-aa08-40b1ef60abdc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:18:03 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ea227da3-544e-490e-85d6-30a5553b94da\",\r\n \"name\": \"ea227da3-544e-490e-85d6-30a5553b94da\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:17:33.2725245Z\",\r\n \"endTime\": \"2018-12-27T15:17:36.8348864Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ea227da3-544e-490e-85d6-30a5553b94da?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYTIyN2RhMy01NDRlLTQ5MGUtODVkNi0zMGE1NTUzYjk0ZGE/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "059200b3-605c-41b0-bac1-02025b14c097" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "9c90521d-7600-4aae-b04e-6ac161af24e5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151804Z:9c90521d-7600-4aae-b04e-6ac161af24e5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:18:03 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A17%3A33.4156443Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"e665ef87-8e13-61ad-d45a-981a2d15752a\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Standard\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e376087-21ea-4ace-bf0c-86efe66ceff6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a32e036d-7808-4510-9717-56dfad2e4da1?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a32e036d-7808-4510-9717-56dfad2e4da1?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14991" + ], + "x-ms-request-id": [ + "a276e999-1b07-4663-867b-7a352134fd11" + ], + "x-ms-correlation-request-id": [ + "a276e999-1b07-4663-867b-7a352134fd11" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151804Z:a276e999-1b07-4663-867b-7a352134fd11" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:18:04 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a32e036d-7808-4510-9717-56dfad2e4da1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hMzJlMDM2ZC03ODA4LTQ1MTAtOTcxNy01NmRmYWQyZTRkYTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "91fc3b64-9e2c-4d8b-ba15-1d609576a8b6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "d6b13ab8-423e-4f2a-b044-af5bc5af9f02" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151835Z:d6b13ab8-423e-4f2a-b044-af5bc5af9f02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:18:34 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a32e036d-7808-4510-9717-56dfad2e4da1\",\r\n \"name\": \"a32e036d-7808-4510-9717-56dfad2e4da1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:18:04.6000637Z\",\r\n \"endTime\": \"2018-12-27T15:18:04.8500425Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a32e036d-7808-4510-9717-56dfad2e4da1?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hMzJlMDM2ZC03ODA4LTQ1MTAtOTcxNy01NmRmYWQyZTRkYTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4319c12e-13ed-4f6d-b5dd-8e1b63323c06" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "377ea9f3-09e5-46f2-8087-e890d19c39d1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T151835Z:377ea9f3-09e5-46f2-8087-e890d19c39d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:18:34 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A18%3A04.8242159Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/CreateDeleteSnapshot.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/CreateDeleteSnapshot.json new file mode 100644 index 000000000000..2b8ebafc0d4c --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/CreateDeleteSnapshot.json @@ -0,0 +1,1880 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a226a80a-bf5d-41b2-b912-b2dfbb2ca737" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A24%3A36.8328267Z'\"" + ], + "x-ms-request-id": [ + "8aa3fc5a-2544-4ccf-bebd-2f400d39bdf5" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55544269-e558-4910-b696-a556d96dc428?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "eca20490-57a6-4b74-b9ef-fa5b1901a336" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142437Z:eca20490-57a6-4b74-b9ef-fa5b1901a336" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:24:36 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A24%3A36.8328267Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55544269-e558-4910-b696-a556d96dc428?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81NTU0NDI2OS1lNTU4LTQ5MTAtYjY5Ni1hNTU2ZDk2ZGM0Mjg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "76f5eef5-7bee-489d-afa2-618e2a557e38" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "f561847c-54b0-457d-9460-eb35ffa60672" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142507Z:f561847c-54b0-457d-9460-eb35ffa60672" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:25:06 GMT" + ], + "Content-Length": [ + "500" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55544269-e558-4910-b696-a556d96dc428\",\r\n \"name\": \"55544269-e558-4910-b696-a556d96dc428\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:24:36.6632796Z\",\r\n \"endTime\": \"2018-12-27T14:24:37.11646Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A24%3A37.2502183Z'\"" + ], + "x-ms-request-id": [ + "159c465c-2eef-4bf1-9271-684c1f6242f7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "9b422aba-ca89-41bd-bfa7-923d26d03b4c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142507Z:9b422aba-ca89-41bd-bfa7-923d26d03b4c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:25:06 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A24%3A37.2502183Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59f26d0b-da71-4827-9d9c-d19ed2f1726f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A25%3A13.5484163Z'\"" + ], + "x-ms-request-id": [ + "9322af3b-dde8-4365-aa7d-a593ec957f9b" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/149a8cf1-47c3-49e8-b04d-7c709753a247?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "36df7aad-8105-4f9b-b123-f3641bdc6804" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142513Z:36df7aad-8105-4f9b-b123-f3641bdc6804" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:25:13 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A25%3A13.5484163Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/149a8cf1-47c3-49e8-b04d-7c709753a247?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xNDlhOGNmMS00N2MzLTQ5ZTgtYjA0ZC03YzcwOTc1M2EyNDc/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "de1e23d4-b752-4f58-968f-5fff3e0e1479" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "1778dd04-22bb-49bf-bb31-3864d444ebbb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142544Z:1778dd04-22bb-49bf-bb31-3864d444ebbb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:25:43 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/149a8cf1-47c3-49e8-b04d-7c709753a247\",\r\n \"name\": \"149a8cf1-47c3-49e8-b04d-7c709753a247\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:25:13.3165869Z\",\r\n \"endTime\": \"2018-12-27T14:25:14.4518321Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A25%3A14.5883995Z'\"" + ], + "x-ms-request-id": [ + "d95b9da2-9b3e-4b1e-87e4-1f33214a81c2" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "832f6603-52b3-42b1-8426-783022ae54f1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142544Z:832f6603-52b3-42b1-8426-783022ae54f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:25:44 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A25%3A14.5883995Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"9e95ad79-0e18-015e-b49a-5041fc4f1c34\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "98c52291-ce3c-4a68-b54d-9e63f7314d2d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A25%3A52.9515448Z'\"" + ], + "x-ms-request-id": [ + "ebb3ffaa-d28c-491a-8de6-a3afa41726f2" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/39ebdcc4-8b9b-4c65-9788-71fb5cfbeca1?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "554611af-d48c-4a53-bad0-2a954adb5888" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142553Z:554611af-d48c-4a53-bad0-2a954adb5888" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:25:52 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A25%3A52.9515448Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/39ebdcc4-8b9b-4c65-9788-71fb5cfbeca1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zOWViZGNjNC04YjliLTRjNjUtOTc4OC03MWZiNWNmYmVjYTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "043928bc-8a5c-44c9-813a-a3be1add2793" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "c120c364-1cb8-4e12-b68a-ca3845df5a27" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142623Z:c120c364-1cb8-4e12-b68a-ca3845df5a27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:26:22 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/39ebdcc4-8b9b-4c65-9788-71fb5cfbeca1\",\r\n \"name\": \"39ebdcc4-8b9b-4c65-9788-71fb5cfbeca1\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T14:25:52.7106548Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/39ebdcc4-8b9b-4c65-9788-71fb5cfbeca1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zOWViZGNjNC04YjliLTRjNjUtOTc4OC03MWZiNWNmYmVjYTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "12162806-27f5-4236-a80a-85f17c0a245a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "bcf91779-df81-4a26-bbf9-54f7ab1d841a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142653Z:bcf91779-df81-4a26-bbf9-54f7ab1d841a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:26:53 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/39ebdcc4-8b9b-4c65-9788-71fb5cfbeca1\",\r\n \"name\": \"39ebdcc4-8b9b-4c65-9788-71fb5cfbeca1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:25:52.7106548Z\",\r\n \"endTime\": \"2018-12-27T14:26:34.3471304Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A26%3A34.3775734Z'\"" + ], + "x-ms-request-id": [ + "bd713e46-a060-4243-8d7e-acb5a1d68254" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "0dad661a-72a2-47aa-9a95-445ab8a644ae" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142654Z:0dad661a-72a2-47aa-9a95-445ab8a644ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:26:53 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A26%3A34.3775734Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_34c3beee\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"ea832f0c-b45f-21ad-cf4c-76679d3e5123\",\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "99775205-a16b-4a72-90a2-fbe25485f26f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "113" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A27%3A01.7343491Z'\"" + ], + "x-ms-request-id": [ + "80985967-ab13-4136-b930-025dda5b32d6" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/94a09519-e079-4935-b288-e1b148dda8b3?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "56cbb357-ea91-44b7-91bb-2f5201f4462f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142702Z:56cbb357-ea91-44b7-91bb-2f5201f4462f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:27:01 GMT" + ], + "Content-Length": [ + "546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A27%3A01.7343491Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/94a09519-e079-4935-b288-e1b148dda8b3?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85NGEwOTUxOS1lMDc5LTQ5MzUtYjI4OC1lMWIxNDhkZGE4YjM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8c5094ad-c100-4055-b49c-213f008ee681" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "5ce5d007-cf4e-4cf1-9180-888a3d359a2d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142732Z:5ce5d007-cf4e-4cf1-9180-888a3d359a2d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:27:31 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/94a09519-e079-4935-b288-e1b148dda8b3\",\r\n \"name\": \"94a09519-e079-4935-b288-e1b148dda8b3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:27:01.5867391Z\",\r\n \"endTime\": \"2018-12-27T14:27:04.7620033Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A27%3A04.8903265Z'\"" + ], + "x-ms-request-id": [ + "4a25144f-52c1-4944-b7c6-1a65a07f6a35" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "444a16e5-a365-44e0-afeb-cc0e674b46e1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142732Z:444a16e5-a365-44e0-afeb-cc0e674b46e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:27:32 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A27%3A04.8903265Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"645a9d02-08e4-6e49-4480-437fd41b9676\",\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:27:01Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cz9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cdac006d-c267-4174-8e93-92992c5a6b32" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9247edbd-b2a4-4604-9ebe-73c64f9ca1ff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "cc9fc465-d520-4a79-93ff-32c33f45e24e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142732Z:cc9fc465-d520-4a79-93ff-32c33f45e24e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:27:32 GMT" + ], + "Content-Length": [ + "669" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A27%3A04.8903265Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"645a9d02-08e4-6e49-4480-437fd41b9676\",\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:27:01Z\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cz9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f06cfecc-620f-4052-81f3-f163f2922090" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "379455ac-3f7e-418e-bdae-59d49ee6fb9d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "a747bd4c-b8f0-4020-92ae-de59a038e86e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142804Z:a747bd4c-b8f0-4020-92ae-de59a038e86e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:28:03 GMT" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bd8612c0-7525-40ff-8cde-76b0a8e93353" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1620e6fd-3ad4-42e2-bb66-86080d8c9f5c?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1620e6fd-3ad4-42e2-bb66-86080d8c9f5c?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "8a815eb4-acb1-4aed-a998-3b19245d365a" + ], + "x-ms-correlation-request-id": [ + "8a815eb4-acb1-4aed-a998-3b19245d365a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142733Z:8a815eb4-acb1-4aed-a998-3b19245d365a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:27:33 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1620e6fd-3ad4-42e2-bb66-86080d8c9f5c?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xNjIwZTZmZC0zYWQ0LTQyZTItYmI2Ni04NjA4MGQ4YzlmNWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "636f9307-11f5-4001-82e3-579b556136f6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "e89ce823-131c-4ce7-aad2-d26a47d694a3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142803Z:e89ce823-131c-4ce7-aad2-d26a47d694a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:28:02 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1620e6fd-3ad4-42e2-bb66-86080d8c9f5c\",\r\n \"name\": \"1620e6fd-3ad4-42e2-bb66-86080d8c9f5c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:27:33.2171744Z\",\r\n \"endTime\": \"2018-12-27T14:27:37.9769034Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1620e6fd-3ad4-42e2-bb66-86080d8c9f5c?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xNjIwZTZmZC0zYWQ0LTQyZTItYmI2Ni04NjA4MGQ4YzlmNWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8b9ed932-8b2b-4c99-a7fe-b9c1c176c7d1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "6b5c2e36-2baf-46af-89ed-15dfa0ccac3a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142804Z:6b5c2e36-2baf-46af-89ed-15dfa0ccac3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:28:03 GMT" + ], + "Content-Length": [ + "656" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A27%3A33.3771654Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"snapshotId\": \"645a9d02-08e4-6e49-4480-437fd41b9676\",\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:27:01Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f5b33d94-98a6-41e6-b5b7-e85967c994ce" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "51702630-29c0-4652-a6ac-66600df5fffb" + ], + "x-ms-correlation-request-id": [ + "51702630-29c0-4652-a6ac-66600df5fffb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142809Z:51702630-29c0-4652-a6ac-66600df5fffb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:28:09 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wYmI5MTE0Yy0yMTJkLTQ5MjAtYTQ5Yy0zMmFjMWY0YjE5NDM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a71889bd-9761-438e-ad6a-d80a9a8860bb" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "d23469ab-6ca0-41e8-bb11-dc650fffac9e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142840Z:d23469ab-6ca0-41e8-bb11-dc650fffac9e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:28:39 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943\",\r\n \"name\": \"0bb9114c-212d-4920-a49c-32ac1f4b1943\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:28:09.8361708Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wYmI5MTE0Yy0yMTJkLTQ5MjAtYTQ5Yy0zMmFjMWY0YjE5NDM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "54c30260-64b2-4173-bd0e-362fe36a418a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "f946b573-92ca-4875-9643-f56caf92db74" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142910Z:f946b573-92ca-4875-9643-f56caf92db74" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:29:10 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943\",\r\n \"name\": \"0bb9114c-212d-4920-a49c-32ac1f4b1943\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:28:09.8361708Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wYmI5MTE0Yy0yMTJkLTQ5MjAtYTQ5Yy0zMmFjMWY0YjE5NDM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4bcda3a6-6af9-470e-8433-7c2de0b5c79b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "1c43a23a-1694-46f8-a877-b9b874cb7a8f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142941Z:1c43a23a-1694-46f8-a877-b9b874cb7a8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:29:41 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943\",\r\n \"name\": \"0bb9114c-212d-4920-a49c-32ac1f4b1943\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:28:09.8361708Z\",\r\n \"endTime\": \"2018-12-27T14:29:12.7791279Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bb9114c-212d-4920-a49c-32ac1f4b1943?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wYmI5MTE0Yy0yMTJkLTQ5MjAtYTQ5Yy0zMmFjMWY0YjE5NDM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0e6b2bca-b2d3-4dd9-a2dd-471d055bd93e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "64916bda-1371-4fde-8b70-e0f63cf4771e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142941Z:64916bda-1371-4fde-8b70-e0f63cf4771e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:29:41 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A28%3A09.9175938Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_34c3beee\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"ea832f0c-b45f-21ad-cf4c-76679d3e5123\",\r\n \"fileSystemId\": \"71ac4c03-1009-b1f7-0b3a-c2894ae91ade\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f8b880c6-1ad7-4900-89dc-355a1207b039" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b6a828d-f2b1-42e3-9538-65109cd1f8e1?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b6a828d-f2b1-42e3-9538-65109cd1f8e1?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "97d0b8e4-b0a7-4a6a-81cd-932c699ae88d" + ], + "x-ms-correlation-request-id": [ + "97d0b8e4-b0a7-4a6a-81cd-932c699ae88d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T142947Z:97d0b8e4-b0a7-4a6a-81cd-932c699ae88d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:29:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b6a828d-f2b1-42e3-9538-65109cd1f8e1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83YjZhODI4ZC1mMmIxLTQyZTMtOTUzOC02NTEwOWNkMWY4ZTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fa1fee89-d4ee-45b6-8b25-c2a0097c6d45" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "af1e4fb7-3502-4b15-bdaa-8b652b3e1d63" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143017Z:af1e4fb7-3502-4b15-bdaa-8b652b3e1d63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:30:16 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b6a828d-f2b1-42e3-9538-65109cd1f8e1\",\r\n \"name\": \"7b6a828d-f2b1-42e3-9538-65109cd1f8e1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:29:47.1125251Z\",\r\n \"endTime\": \"2018-12-27T14:29:50.8480686Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b6a828d-f2b1-42e3-9538-65109cd1f8e1?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83YjZhODI4ZC1mMmIxLTQyZTMtOTUzOC02NTEwOWNkMWY4ZTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "86a9e849-6f94-4a20-8eda-b49c109ba4b4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "98fac76b-c8d8-44d2-bc20-f13ea2a5a946" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143017Z:98fac76b-c8d8-44d2-bc20-f13ea2a5a946" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:30:16 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A29%3A47.2603095Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"9e95ad79-0e18-015e-b49a-5041fc4f1c34\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "29a31e1b-ae0f-4561-854c-dbfd14e90036" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f35b4734-19f3-4a53-b73e-b7bc15eb343e?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f35b4734-19f3-4a53-b73e-b7bc15eb343e?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-request-id": [ + "85af593e-ec1c-44d5-851c-419baeebe50a" + ], + "x-ms-correlation-request-id": [ + "85af593e-ec1c-44d5-851c-419baeebe50a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143018Z:85af593e-ec1c-44d5-851c-419baeebe50a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:30:17 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f35b4734-19f3-4a53-b73e-b7bc15eb343e?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9mMzViNDczNC0xOWYzLTRhNTMtYjczZS1iN2JjMTVlYjM0M2U/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "60309183-dfea-4246-a2f4-9811e84121dd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "b00ad802-efdf-4d55-95d5-ba44e0be39f5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143048Z:b00ad802-efdf-4d55-95d5-ba44e0be39f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:30:47 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f35b4734-19f3-4a53-b73e-b7bc15eb343e\",\r\n \"name\": \"f35b4734-19f3-4a53-b73e-b7bc15eb343e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:30:18.1832776Z\",\r\n \"endTime\": \"2018-12-27T14:30:18.3864312Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f35b4734-19f3-4a53-b73e-b7bc15eb343e?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9mMzViNDczNC0xOWYzLTRhNTMtYjczZS1iN2JjMTVlYjM0M2U/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d0ac332f-33c8-485b-85ad-fdc3d7e91133" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "45252f4a-6112-43b7-a22b-5b774a57af7d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143049Z:45252f4a-6112-43b7-a22b-5b774a57af7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:30:48 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A30%3A18.3506023Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/DeleteVolumeWithSnapshotPresent.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/DeleteVolumeWithSnapshotPresent.json new file mode 100644 index 000000000000..bdeb38f5c42d --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/DeleteVolumeWithSnapshotPresent.json @@ -0,0 +1,1868 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c976e46e-fcb4-4646-9e47-54f6e184440e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A50%3A30.9767793Z'\"" + ], + "x-ms-request-id": [ + "df6aba41-a7ff-43b6-b10d-afd37756bf5e" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/67310352-3385-41ef-adc6-905a341d0d78?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "e27f42a0-4bcd-4323-87b1-8730dfbcbd94" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145031Z:e27f42a0-4bcd-4323-87b1-8730dfbcbd94" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:50:31 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A50%3A30.9767793Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/67310352-3385-41ef-adc6-905a341d0d78?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82NzMxMDM1Mi0zMzg1LTQxZWYtYWRjNi05MDVhMzQxZDBkNzg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "59c88183-343a-4ddd-b3e9-e0cdd3496a98" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "ec8b7fa3-d3dd-42ba-a23e-79d7c30ac70f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145101Z:ec8b7fa3-d3dd-42ba-a23e-79d7c30ac70f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:51:00 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/67310352-3385-41ef-adc6-905a341d0d78\",\r\n \"name\": \"67310352-3385-41ef-adc6-905a341d0d78\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:50:30.8320557Z\",\r\n \"endTime\": \"2018-12-27T14:50:31.2539404Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A50%3A31.3841646Z'\"" + ], + "x-ms-request-id": [ + "7d743871-9cd2-4303-89a2-381a06e66401" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "af6ee5b5-261d-4d40-a5ef-99569b758cf9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145101Z:af6ee5b5-261d-4d40-a5ef-99569b758cf9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:51:00 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A50%3A31.3841646Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8539901b-af10-4eb2-996b-95d51da8ee59" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A51%3A07.6633446Z'\"" + ], + "x-ms-request-id": [ + "16d4c228-f942-483c-8472-83e1a4e2eea6" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/958af0c1-bdd6-43b3-a9bb-be370a6076af?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "b73171d8-7770-43f5-844b-fe2efdfb8cc3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145108Z:b73171d8-7770-43f5-844b-fe2efdfb8cc3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:51:08 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A51%3A07.6633446Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/958af0c1-bdd6-43b3-a9bb-be370a6076af?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85NThhZjBjMS1iZGQ2LTQzYjMtYTliYi1iZTM3MGE2MDc2YWY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "67d118fd-1cdb-4027-8354-b45962b56a24" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "46afb991-0371-4a79-8f59-ebbbe89e4dbe" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145138Z:46afb991-0371-4a79-8f59-ebbbe89e4dbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:51:37 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/958af0c1-bdd6-43b3-a9bb-be370a6076af\",\r\n \"name\": \"958af0c1-bdd6-43b3-a9bb-be370a6076af\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:51:07.4890016Z\",\r\n \"endTime\": \"2018-12-27T14:51:08.4577444Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A51%3A08.6002319Z'\"" + ], + "x-ms-request-id": [ + "6af0388b-a2c3-4b4b-a564-1b505fcdaa30" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "6f240a33-2042-4060-b887-dbd77343d3e0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145138Z:6f240a33-2042-4060-b887-dbd77343d3e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:51:37 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A51%3A08.6002319Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"dd2ba86e-fcee-8e4c-c592-42236a888fb6\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f377f857-360d-4adc-9a66-673a0eb88b4b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A51%3A46.7061339Z'\"" + ], + "x-ms-request-id": [ + "9d28da83-c204-454a-89b3-5ec1fa221369" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55b5cd1d-82ff-4835-b2e8-94e640da2be0?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "4dd024d2-2df3-42a0-9925-a135be698c2a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145147Z:4dd024d2-2df3-42a0-9925-a135be698c2a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:51:47 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A51%3A46.7061339Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55b5cd1d-82ff-4835-b2e8-94e640da2be0?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81NWI1Y2QxZC04MmZmLTQ4MzUtYjJlOC05NGU2NDBkYTJiZTA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "485d0c96-d3ea-4ac7-bde3-fd72bb63eef8" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "a11ee861-eb43-4506-b656-26087caa66e6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145217Z:a11ee861-eb43-4506-b656-26087caa66e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:52:17 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55b5cd1d-82ff-4835-b2e8-94e640da2be0\",\r\n \"name\": \"55b5cd1d-82ff-4835-b2e8-94e640da2be0\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T14:51:46.5418687Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55b5cd1d-82ff-4835-b2e8-94e640da2be0?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81NWI1Y2QxZC04MmZmLTQ4MzUtYjJlOC05NGU2NDBkYTJiZTA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3656509c-06a2-4556-a5ca-ef26e1b75cc7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "43db1765-98fb-48a7-8a31-284014dab081" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145247Z:43db1765-98fb-48a7-8a31-284014dab081" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:52:46 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/55b5cd1d-82ff-4835-b2e8-94e640da2be0\",\r\n \"name\": \"55b5cd1d-82ff-4835-b2e8-94e640da2be0\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:51:46.5418687Z\",\r\n \"endTime\": \"2018-12-27T14:52:22.8325422Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A52%3A22.8752094Z'\"" + ], + "x-ms-request-id": [ + "48cf7fbb-dacc-4829-9685-2909ccc891d0" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "6d819960-67a2-46ce-b179-e285874e6548" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145247Z:6d819960-67a2-46ce-b179-e285874e6548" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:52:46 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A52%3A22.8752094Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_17685cc8\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"0f7c55e4-f850-54af-e672-02b0dbaf9eef\",\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1f391c19-111f-49ba-912e-f992b7b6fe7c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "113" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A52%3A55.2697323Z'\"" + ], + "x-ms-request-id": [ + "44a1c572-b679-416e-b0b1-eee736f86ae1" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1b4d177b-0744-428f-8746-8ba651681a6e?api-version=2017-08-15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "a7db6bc2-623f-4238-b6d4-64bb575cc103" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145255Z:a7db6bc2-623f-4238-b6d4-64bb575cc103" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:52:55 GMT" + ], + "Content-Length": [ + "546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A52%3A55.2697323Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1b4d177b-0744-428f-8746-8ba651681a6e?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xYjRkMTc3Yi0wNzQ0LTQyOGYtODc0Ni04YmE2NTE2ODFhNmU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "df721d8e-2f6c-4e2c-86fb-b70ba95c0078" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "0675ee87-3fa0-4775-aace-328e8c8f72d0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145326Z:0675ee87-3fa0-4775-aace-328e8c8f72d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:53:25 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1b4d177b-0744-428f-8746-8ba651681a6e\",\r\n \"name\": \"1b4d177b-0744-428f-8746-8ba651681a6e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:52:55.1286132Z\",\r\n \"endTime\": \"2018-12-27T14:52:58.1439528Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A52%3A58.2795672Z'\"" + ], + "x-ms-request-id": [ + "b73ebcfc-7bf0-475f-8447-965fdefbd7ed" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "28e360ba-36dd-4a6b-95fd-64f77f0bc25f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145326Z:28e360ba-36dd-4a6b-95fd-64f77f0bc25f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:53:26 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A52%3A58.2795672Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"6915c2da-d835-14cc-978d-447e5386ccc6\",\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:52:55Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "34aadf8b-0e5c-41a7-8248-f43008d14ad4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "13d23d49-7083-4619-988b-4fa4fddd2fa1" + ], + "x-ms-correlation-request-id": [ + "13d23d49-7083-4619-988b-4fa4fddd2fa1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145326Z:13d23d49-7083-4619-988b-4fa4fddd2fa1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:53:26 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "79f8a6a4-58a5-447f-83dc-9d772d4c7991" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "8219849e-bfa4-40f1-b45d-ab8b74d42903" + ], + "x-ms-correlation-request-id": [ + "8219849e-bfa4-40f1-b45d-ab8b74d42903" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145408Z:8219849e-bfa4-40f1-b45d-ab8b74d42903" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:54:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c8eb65ef-8b4b-4c4f-ac89-500132ea8bff" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a818ade2-8275-4005-8f53-27cfb4535495?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a818ade2-8275-4005-8f53-27cfb4535495?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "d09daaac-4d9b-4c8e-8491-107bf2ac842c" + ], + "x-ms-correlation-request-id": [ + "d09daaac-4d9b-4c8e-8491-107bf2ac842c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145332Z:d09daaac-4d9b-4c8e-8491-107bf2ac842c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:53:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a818ade2-8275-4005-8f53-27cfb4535495?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hODE4YWRlMi04Mjc1LTQwMDUtOGY1My0yN2NmYjQ1MzU0OTU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ffdcfb9f-aea8-4a20-a6aa-c22c7451d6f7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "6c5a32f2-06e0-42ba-8886-8d3b5623b316" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145402Z:6c5a32f2-06e0-42ba-8886-8d3b5623b316" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:54:02 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a818ade2-8275-4005-8f53-27cfb4535495\",\r\n \"name\": \"a818ade2-8275-4005-8f53-27cfb4535495\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:53:32.3151374Z\",\r\n \"endTime\": \"2018-12-27T14:53:36.8498045Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a818ade2-8275-4005-8f53-27cfb4535495?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hODE4YWRlMi04Mjc1LTQwMDUtOGY1My0yN2NmYjQ1MzU0OTU/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8c5f1598-7b14-4fa1-9aff-0d1d04093c00" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "d1000a8b-8ad8-401a-b596-b77484ab5e8c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145403Z:d1000a8b-8ad8-401a-b596-b77484ab5e8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:54:02 GMT" + ], + "Content-Length": [ + "656" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A53%3A32.4617752Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"snapshotId\": \"6915c2da-d835-14cc-978d-447e5386ccc6\",\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:52:55Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zMTIxZGYyMC02OGRiLTQyZjctOGVhNC1kMGU2YWNjMzA1YTU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ca2d7aab-cdb3-4dff-81cf-c0fd5aadc1cb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "3829e8e9-67be-4cad-8ba1-9c12016e9e10" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145439Z:3829e8e9-67be-4cad-8ba1-9c12016e9e10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:54:38 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5\",\r\n \"name\": \"3121df20-68db-42f7-8ea4-d0e6acc305a5\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:54:08.7284436Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zMTIxZGYyMC02OGRiLTQyZjctOGVhNC1kMGU2YWNjMzA1YTU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9866c350-83d6-43a1-8734-59b1e40d9ed1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "d4ae1317-e5f1-4592-a2d6-d437d20aca07" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145509Z:d4ae1317-e5f1-4592-a2d6-d437d20aca07" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:55:09 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5\",\r\n \"name\": \"3121df20-68db-42f7-8ea4-d0e6acc305a5\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:54:08.7284436Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zMTIxZGYyMC02OGRiLTQyZjctOGVhNC1kMGU2YWNjMzA1YTU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3f46404c-0f53-446a-b27e-23a5ea07cf65" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "45732750-9608-43b9-afed-5d8dc1e5fecd" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145540Z:45732750-9608-43b9-afed-5d8dc1e5fecd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:55:40 GMT" + ], + "Content-Length": [ + "554" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5\",\r\n \"name\": \"3121df20-68db-42f7-8ea4-d0e6acc305a5\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:54:08.7284436Z\",\r\n \"endTime\": \"2018-12-27T14:55:33.009257Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3121df20-68db-42f7-8ea4-d0e6acc305a5?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zMTIxZGYyMC02OGRiLTQyZjctOGVhNC1kMGU2YWNjMzA1YTU/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "782818e8-6110-463f-a81e-53ae60ba1e20" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "70a2b7db-9c89-4fbf-a048-55917c5b8ba9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145540Z:70a2b7db-9c89-4fbf-a048-55917c5b8ba9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:55:40 GMT" + ], + "Content-Length": [ + "1388" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A54%3A08.850057Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_17685cc8\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"0f7c55e4-f850-54af-e672-02b0dbaf9eef\",\r\n \"fileSystemId\": \"72863f7c-f940-1425-ffc1-842d4c288292\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bf0f6f22-6fa5-4100-824b-c129cf9a999e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "d416bd5c-53e2-47e0-8c68-1164ce61fdf8" + ], + "x-ms-correlation-request-id": [ + "d416bd5c-53e2-47e0-8c68-1164ce61fdf8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145545Z:d416bd5c-53e2-47e0-8c68-1164ce61fdf8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:55:45 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1ff6eb94-8c37-413c-bdfc-3d809fa5c576" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2a037b4d-95a2-4090-bb53-0271f70c4e82?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2a037b4d-95a2-4090-bb53-0271f70c4e82?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-request-id": [ + "ffad8063-1f1e-4b09-9522-1d3957fc5fb9" + ], + "x-ms-correlation-request-id": [ + "ffad8063-1f1e-4b09-9522-1d3957fc5fb9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145551Z:ffad8063-1f1e-4b09-9522-1d3957fc5fb9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:55:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2a037b4d-95a2-4090-bb53-0271f70c4e82?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yYTAzN2I0ZC05NWEyLTQwOTAtYmI1My0wMjcxZjcwYzRlODI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6f72c01e-a811-452f-818b-6932b517498d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "7c505280-cb91-44ae-8718-cc79ad13db9b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145621Z:7c505280-cb91-44ae-8718-cc79ad13db9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:56:21 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2a037b4d-95a2-4090-bb53-0271f70c4e82\",\r\n \"name\": \"2a037b4d-95a2-4090-bb53-0271f70c4e82\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:55:51.1777923Z\",\r\n \"endTime\": \"2018-12-27T14:55:54.8489396Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2a037b4d-95a2-4090-bb53-0271f70c4e82?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yYTAzN2I0ZC05NWEyLTQwOTAtYmI1My0wMjcxZjcwYzRlODI/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "db594f18-ae42-43d0-b2f9-415e1292a40d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "d002442d-f4bf-4b4c-a323-d49a7f51dbd7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145622Z:d002442d-f4bf-4b4c-a323-d49a7f51dbd7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:56:22 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A55%3A51.3381384Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"dd2ba86e-fcee-8e4c-c592-42236a888fb6\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "adf34996-6b70-4b61-ac0b-8c80ac19eb44" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/4e4e726f-3245-4068-a1d9-1ed5087dd314?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/4e4e726f-3245-4068-a1d9-1ed5087dd314?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14993" + ], + "x-ms-request-id": [ + "07024bad-ac8b-4daa-97ff-1b4960ee72da" + ], + "x-ms-correlation-request-id": [ + "07024bad-ac8b-4daa-97ff-1b4960ee72da" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145622Z:07024bad-ac8b-4daa-97ff-1b4960ee72da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:56:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/4e4e726f-3245-4068-a1d9-1ed5087dd314?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy80ZTRlNzI2Zi0zMjQ1LTQwNjgtYTFkOS0xZWQ1MDg3ZGQzMTQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e84ac88b-461c-4bf4-bc49-1fd08e239bb7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "efa7f8b7-6f48-403d-8a4f-cf9724012805" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145653Z:efa7f8b7-6f48-403d-8a4f-cf9724012805" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:56:52 GMT" + ], + "Content-Length": [ + "500" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/4e4e726f-3245-4068-a1d9-1ed5087dd314\",\r\n \"name\": \"4e4e726f-3245-4068-a1d9-1ed5087dd314\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:56:22.5795799Z\",\r\n \"endTime\": \"2018-12-27T14:56:22.79841Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/4e4e726f-3245-4068-a1d9-1ed5087dd314?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy80ZTRlNzI2Zi0zMjQ1LTQwNjgtYTFkOS0xZWQ1MDg3ZGQzMTQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bdd3be87-d5f1-4234-89de-90e727f8f076" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "463dcbb5-a028-49dc-af4f-0f2754e8c18e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145653Z:463dcbb5-a028-49dc-af4f-0f2754e8c18e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:56:52 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A56%3A22.7736813Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/GetSnapshotByName.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/GetSnapshotByName.json new file mode 100644 index 000000000000..a111b696dead --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/GetSnapshotByName.json @@ -0,0 +1,1757 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f851c1b0-a0eb-4405-85bd-a2d3bbdb3776" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A38%3A20.8841976Z'\"" + ], + "x-ms-request-id": [ + "a4f1264f-8c67-43d8-946a-244dcb152e07" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/eb1f1049-04e3-47f3-ac38-c9c526775918?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "42597b69-d65b-4322-bf72-696cab68f864" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143821Z:42597b69-d65b-4322-bf72-696cab68f864" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:38:20 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A38%3A20.8841976Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/eb1f1049-04e3-47f3-ac38-c9c526775918?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYjFmMTA0OS0wNGUzLTQ3ZjMtYWMzOC1jOWM1MjY3NzU5MTg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "49f89de9-f720-45c2-b26b-56c62542d5ee" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "f0b8a134-4946-45be-9b2b-3e2a59432157" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143851Z:f0b8a134-4946-45be-9b2b-3e2a59432157" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:38:51 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/eb1f1049-04e3-47f3-ac38-c9c526775918\",\r\n \"name\": \"eb1f1049-04e3-47f3-ac38-c9c526775918\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:38:20.7335961Z\",\r\n \"endTime\": \"2018-12-27T14:38:21.1738625Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A38%3A21.3055929Z'\"" + ], + "x-ms-request-id": [ + "488b340c-9b70-44eb-935a-012b6349cb9a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "7edaef57-6717-4dab-8a14-f323b10f08b7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143851Z:7edaef57-6717-4dab-8a14-f323b10f08b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:38:51 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A38%3A21.3055929Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "23af144e-2b9a-49e2-b1b1-b757c1381a1f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A38%3A57.5347261Z'\"" + ], + "x-ms-request-id": [ + "09ca40c8-671c-4b7b-8c6a-ba81c7d877d7" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/998900e8-1e55-4774-92c6-e2590db8478c?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "4bc859d8-dcc6-456f-9290-a218d7b420d5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143857Z:4bc859d8-dcc6-456f-9290-a218d7b420d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:38:57 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A38%3A57.5347261Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/998900e8-1e55-4774-92c6-e2590db8478c?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85OTg5MDBlOC0xZTU1LTQ3NzQtOTJjNi1lMjU5MGRiODQ3OGM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5a32b780-a2ff-4cc2-a8d9-c1b771210f91" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "e102a1c8-56fc-4334-904e-82eda65ea71c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143928Z:e102a1c8-56fc-4334-904e-82eda65ea71c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:39:27 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/998900e8-1e55-4774-92c6-e2590db8478c\",\r\n \"name\": \"998900e8-1e55-4774-92c6-e2590db8478c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:38:57.3802136Z\",\r\n \"endTime\": \"2018-12-27T14:38:58.0208302Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A38%3A58.1593181Z'\"" + ], + "x-ms-request-id": [ + "b12cec2d-3f7a-40a2-9fb0-cbf9def6249a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "d3a33652-bca0-4421-bfd8-9d0ac99aba59" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143928Z:d3a33652-bca0-4421-bfd8-9d0ac99aba59" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:39:28 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A38%3A58.1593181Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"52be92f2-25ab-7cf8-b562-ec992a82cf68\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2dd9cc31-cbad-47ca-b2ba-6c44283ad84e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A39%3A35.9849553Z'\"" + ], + "x-ms-request-id": [ + "7cecb433-2fde-422d-8008-53e276c1ed2c" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec63980e-fa6b-4448-9d70-6f7678f78c11?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "e3e0dc3c-851a-4be5-8e17-04bc03b5e64f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143936Z:e3e0dc3c-851a-4be5-8e17-04bc03b5e64f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:39:35 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A39%3A35.9849553Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec63980e-fa6b-4448-9d70-6f7678f78c11?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYzYzOTgwZS1mYTZiLTQ0NDgtOWQ3MC02Zjc2NzhmNzhjMTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "79aeaa0f-55c7-4b62-8b6d-3357ef9583f7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "ac7a6a7d-10e3-4a36-8525-4f5a0331442b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144006Z:ac7a6a7d-10e3-4a36-8525-4f5a0331442b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:40:06 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec63980e-fa6b-4448-9d70-6f7678f78c11\",\r\n \"name\": \"ec63980e-fa6b-4448-9d70-6f7678f78c11\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T14:39:35.8575303Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec63980e-fa6b-4448-9d70-6f7678f78c11?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYzYzOTgwZS1mYTZiLTQ0NDgtOWQ3MC02Zjc2NzhmNzhjMTE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "162cefdc-132d-4525-83de-22465454ab63" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "00cb28fb-420a-438f-88e2-324122b29482" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144036Z:00cb28fb-420a-438f-88e2-324122b29482" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:40:36 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ec63980e-fa6b-4448-9d70-6f7678f78c11\",\r\n \"name\": \"ec63980e-fa6b-4448-9d70-6f7678f78c11\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:39:35.8575303Z\",\r\n \"endTime\": \"2018-12-27T14:40:11.9324948Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A40%3A11.9748666Z'\"" + ], + "x-ms-request-id": [ + "f15f26a2-0697-4616-bdaf-d9ef24c1a58b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "f7784e3b-3bd6-4e53-a009-62e0ad1d689f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144037Z:f7784e3b-3bd6-4e53-a009-62e0ad1d689f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:40:37 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A40%3A11.9748666Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_587fdcd2\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"4b47804a-145f-f145-c4bc-8424e56adfa6\",\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c5151d72-1381-4975-82e1-527765ba2dd7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "113" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A40%3A45.1160899Z'\"" + ], + "x-ms-request-id": [ + "d2a77f7f-b3b0-4b39-8b80-f58ccffd14c1" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/efb60402-90c7-4c7d-80ea-9019eff179f0?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "c1a5cf39-617a-4dfa-84fc-d1d8dcfa4d25" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144045Z:c1a5cf39-617a-4dfa-84fc-d1d8dcfa4d25" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:40:45 GMT" + ], + "Content-Length": [ + "546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A40%3A45.1160899Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/efb60402-90c7-4c7d-80ea-9019eff179f0?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lZmI2MDQwMi05MGM3LTRjN2QtODBlYS05MDE5ZWZmMTc5ZjA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ce5b008f-c31d-4cce-b4ab-420ed01dcbfe" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "19bb9646-e5c1-41b8-8978-8fc9db874181" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144115Z:19bb9646-e5c1-41b8-8978-8fc9db874181" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:41:14 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/efb60402-90c7-4c7d-80ea-9019eff179f0\",\r\n \"name\": \"efb60402-90c7-4c7d-80ea-9019eff179f0\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:40:44.6664118Z\",\r\n \"endTime\": \"2018-12-27T14:40:48.2036016Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A40%3A48.3411258Z'\"" + ], + "x-ms-request-id": [ + "84bf44e5-e160-48b6-ba95-ec6b0262200d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "35c544d8-9a3e-4356-bcb7-ef02db32819f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144116Z:35c544d8-9a3e-4356-bcb7-ef02db32819f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:41:15 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A40%3A48.3411258Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"78f60dd2-c64b-ef72-5601-2a0289addbaf\",\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:40:45Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5b7683f0-c778-43c2-a569-3513dd7fbf6a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A40%3A48.3411258Z'\"" + ], + "x-ms-request-id": [ + "aab732db-dcb5-4c42-8bee-fec4aa27a96a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "9bc31f39-d2fc-471c-a6fd-02302b92ed5f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144116Z:9bc31f39-d2fc-471c-a6fd-02302b92ed5f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:41:15 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A40%3A48.3411258Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"78f60dd2-c64b-ef72-5601-2a0289addbaf\",\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:40:45Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cac882c0-d118-45f0-8df1-b344a11ce976" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0cf2191a-00cf-47df-8840-818666d04938?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0cf2191a-00cf-47df-8840-818666d04938?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "171552a2-dfb3-4547-8486-5b568c07b9ea" + ], + "x-ms-correlation-request-id": [ + "171552a2-dfb3-4547-8486-5b568c07b9ea" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144122Z:171552a2-dfb3-4547-8486-5b568c07b9ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:41:21 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0cf2191a-00cf-47df-8840-818666d04938?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wY2YyMTkxYS0wMGNmLTQ3ZGYtODg0MC04MTg2NjZkMDQ5Mzg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f626661b-e734-4915-8dce-302390165168" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "1ae63937-ea62-4fb0-9b85-764faa2198d4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144152Z:1ae63937-ea62-4fb0-9b85-764faa2198d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:41:51 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0cf2191a-00cf-47df-8840-818666d04938\",\r\n \"name\": \"0cf2191a-00cf-47df-8840-818666d04938\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:41:21.7686982Z\",\r\n \"endTime\": \"2018-12-27T14:41:26.2063257Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0cf2191a-00cf-47df-8840-818666d04938?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wY2YyMTkxYS0wMGNmLTQ3ZGYtODg0MC04MTg2NjZkMDQ5Mzg/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0573965e-90ed-475c-bc16-c9155f305173" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "3c23f6b7-9c4e-48cf-a60d-e563ad533031" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144152Z:3c23f6b7-9c4e-48cf-a60d-e563ad533031" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:41:51 GMT" + ], + "Content-Length": [ + "656" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A41%3A21.9387855Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"snapshotId\": \"78f60dd2-c64b-ef72-5601-2a0289addbaf\",\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:40:45Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "24ee9f11-6bcf-426d-9202-a97de5faafa7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7f1f135c-967f-4369-a77d-a1a5dded9d34?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7f1f135c-967f-4369-a77d-a1a5dded9d34?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "0ae9ba88-d7fd-4548-9324-6d03f0331247" + ], + "x-ms-correlation-request-id": [ + "0ae9ba88-d7fd-4548-9324-6d03f0331247" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144158Z:0ae9ba88-d7fd-4548-9324-6d03f0331247" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:41:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7f1f135c-967f-4369-a77d-a1a5dded9d34?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83ZjFmMTM1Yy05NjdmLTQzNjktYTc3ZC1hMWE1ZGRlZDlkMzQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "488ef4ae-8851-408b-b08f-9088480bab1c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "5111f2e1-af09-4e0a-b1c8-546561c3549b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144228Z:5111f2e1-af09-4e0a-b1c8-546561c3549b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:42:28 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7f1f135c-967f-4369-a77d-a1a5dded9d34\",\r\n \"name\": \"7f1f135c-967f-4369-a77d-a1a5dded9d34\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:41:58.0721285Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7f1f135c-967f-4369-a77d-a1a5dded9d34?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83ZjFmMTM1Yy05NjdmLTQzNjktYTc3ZC1hMWE1ZGRlZDlkMzQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "426a229a-0867-4700-8d3b-e1d2d25ce9f7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "ba68cd7c-bdef-4d24-afb5-d137ab40a8d8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144258Z:ba68cd7c-bdef-4d24-afb5-d137ab40a8d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:42:58 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7f1f135c-967f-4369-a77d-a1a5dded9d34\",\r\n \"name\": \"7f1f135c-967f-4369-a77d-a1a5dded9d34\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:41:58.0721285Z\",\r\n \"endTime\": \"2018-12-27T14:42:57.3007136Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7f1f135c-967f-4369-a77d-a1a5dded9d34?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83ZjFmMTM1Yy05NjdmLTQzNjktYTc3ZC1hMWE1ZGRlZDlkMzQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "36f9e274-2c33-4032-b503-c5d0bcc6760a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "23877640-17d1-4cc9-bb84-024f9a5155c4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144259Z:23877640-17d1-4cc9-bb84-024f9a5155c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:42:59 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A41%3A58.1879362Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_587fdcd2\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"4b47804a-145f-f145-c4bc-8424e56adfa6\",\r\n \"fileSystemId\": \"82a97cb2-bfba-fb61-922a-6b28e6154cfe\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c87b1e4-4f92-4a5a-acf8-0687d482d0ef" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b394c337-0075-4e94-a9c4-c8bcf40ef41a?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b394c337-0075-4e94-a9c4-c8bcf40ef41a?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "29ba59f9-e524-4dfa-8b56-3a66c080edda" + ], + "x-ms-correlation-request-id": [ + "29ba59f9-e524-4dfa-8b56-3a66c080edda" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144305Z:29ba59f9-e524-4dfa-8b56-3a66c080edda" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:43:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b394c337-0075-4e94-a9c4-c8bcf40ef41a?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iMzk0YzMzNy0wMDc1LTRlOTQtYTljNC1jOGJjZjQwZWY0MWE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0f2514cd-50aa-46cf-8c35-c515463c4a0a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "29ec72a1-d949-4b8c-802b-f1f859f07268" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144335Z:29ec72a1-d949-4b8c-802b-f1f859f07268" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:43:34 GMT" + ], + "Content-Length": [ + "531" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b394c337-0075-4e94-a9c4-c8bcf40ef41a\",\r\n \"name\": \"b394c337-0075-4e94-a9c4-c8bcf40ef41a\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:43:05.152364Z\",\r\n \"endTime\": \"2018-12-27T14:43:09.1241973Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b394c337-0075-4e94-a9c4-c8bcf40ef41a?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iMzk0YzMzNy0wMDc1LTRlOTQtYTljNC1jOGJjZjQwZWY0MWE/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c8c8deaa-d9f6-4882-a7f2-17c76ea69c84" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "a9fa411b-8a11-45a9-ba4a-0af75cabe752" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144335Z:a9fa411b-8a11-45a9-ba4a-0af75cabe752" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:43:34 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A43%3A05.3051747Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"52be92f2-25ab-7cf8-b562-ec992a82cf68\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "62f3391f-b5ff-4496-87c0-273838fe2da6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6e92a4cf-7759-495b-b2aa-410a12e30d0b?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6e92a4cf-7759-495b-b2aa-410a12e30d0b?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "938ab586-f942-492a-b47e-0f91c6bcd2ea" + ], + "x-ms-correlation-request-id": [ + "938ab586-f942-492a-b47e-0f91c6bcd2ea" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144336Z:938ab586-f942-492a-b47e-0f91c6bcd2ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:43:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6e92a4cf-7759-495b-b2aa-410a12e30d0b?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82ZTkyYTRjZi03NzU5LTQ5NWItYjJhYS00MTBhMTJlMzBkMGI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "197038a5-34a8-4a5d-a54b-ddcc930ed1a1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "100a43b1-0083-4366-a02b-2b433fa22c0d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144406Z:100a43b1-0083-4366-a02b-2b433fa22c0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:44:06 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6e92a4cf-7759-495b-b2aa-410a12e30d0b\",\r\n \"name\": \"6e92a4cf-7759-495b-b2aa-410a12e30d0b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:43:36.3138758Z\",\r\n \"endTime\": \"2018-12-27T14:43:36.4878964Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/6e92a4cf-7759-495b-b2aa-410a12e30d0b?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82ZTkyYTRjZi03NzU5LTQ5NWItYjJhYS00MTBhMTJlMzBkMGI/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "24f5eb4f-5b08-4e94-88de-a9e4157b95bc" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "24dc206e-3e12-4f04-ada6-bb4356c05e44" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144407Z:24dc206e-3e12-4f04-ada6-bb4356c05e44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:44:06 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A43%3A36.4515236Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/ListSnapshots.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/ListSnapshots.json new file mode 100644 index 000000000000..953c6bbe7cd1 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/ListSnapshots.json @@ -0,0 +1,2273 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3c1a5772-9a07-4cf9-b232-de1c5212c45f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A30%3A51.7901098Z'\"" + ], + "x-ms-request-id": [ + "a6f10f8e-d449-4886-9733-d7313ea073d1" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c4db8dff-fc00-4a84-9ea5-52bdb2f9e8ad?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "72838fe1-689a-4c54-aec8-efa6780706c5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143052Z:72838fe1-689a-4c54-aec8-efa6780706c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:30:52 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A30%3A51.7901098Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c4db8dff-fc00-4a84-9ea5-52bdb2f9e8ad?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jNGRiOGRmZi1mYzAwLTRhODQtOWVhNS01MmJkYjJmOWU4YWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "429d75a0-8d15-4d3b-8a39-6945ba7d459e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "de28982d-b184-4db0-bb66-b309fd1f0b04" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143122Z:de28982d-b184-4db0-bb66-b309fd1f0b04" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:31:22 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c4db8dff-fc00-4a84-9ea5-52bdb2f9e8ad\",\r\n \"name\": \"c4db8dff-fc00-4a84-9ea5-52bdb2f9e8ad\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:30:51.6403412Z\",\r\n \"endTime\": \"2018-12-27T14:30:52.0778464Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A30%3A52.2055007Z'\"" + ], + "x-ms-request-id": [ + "5a2dbc3a-ebc9-432e-93cf-cb7d49ef9ab4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "a92c96df-b7e0-4213-b6f9-779039a50171" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143123Z:a92c96df-b7e0-4213-b6f9-779039a50171" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:31:22 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A30%3A52.2055007Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b5b1fde5-fea6-4bfd-a18e-35f081302957" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A31%3A29.0041695Z'\"" + ], + "x-ms-request-id": [ + "749cab20-7c42-48c2-962c-20a21584cf8c" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f97e607d-039e-4df2-8747-71407af4a0d2?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "783d0502-ae0d-48ec-aa2e-de03852e3961" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143129Z:783d0502-ae0d-48ec-aa2e-de03852e3961" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:31:29 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A31%3A29.0041695Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f97e607d-039e-4df2-8747-71407af4a0d2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9mOTdlNjA3ZC0wMzllLTRkZjItODc0Ny03MTQwN2FmNGEwZDI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b5f6c682-d83d-4023-9fde-0850c2df2b74" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "12ca26d5-f441-41ec-a777-b126afb4ea31" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143159Z:12ca26d5-f441-41ec-a777-b126afb4ea31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:31:59 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f97e607d-039e-4df2-8747-71407af4a0d2\",\r\n \"name\": \"f97e607d-039e-4df2-8747-71407af4a0d2\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:31:28.8736966Z\",\r\n \"endTime\": \"2018-12-27T14:31:29.4277919Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A31%3A29.5536892Z'\"" + ], + "x-ms-request-id": [ + "33ac4555-e1eb-40df-a0ed-7207e2df51dc" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "6e063acc-ed97-4336-8edd-2e034e5e49bb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143200Z:6e063acc-ed97-4336-8edd-2e034e5e49bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:31:59 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A31%3A29.5536892Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"6e034c2b-51ad-6530-9244-402b71d5c1ac\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7490c597-0d35-4d11-a60d-e3c116d25e50" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A32%3A07.6335675Z'\"" + ], + "x-ms-request-id": [ + "5b3492bc-8438-4e6d-a3ec-5fd964baa461" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d0211b1b-5ece-436b-886d-0956ba2c5d8b?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "05b873ff-6f7d-4288-bbfc-c73a6229c766" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143208Z:05b873ff-6f7d-4288-bbfc-c73a6229c766" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:32:07 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A32%3A07.6335675Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d0211b1b-5ece-436b-886d-0956ba2c5d8b?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kMDIxMWIxYi01ZWNlLTQzNmItODg2ZC0wOTU2YmEyYzVkOGI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c0a1ac5e-e3c3-4a67-92f3-cce00636b4f2" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "5f49d3f0-7b62-4a01-9043-2d263df6ca3c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143238Z:5f49d3f0-7b62-4a01-9043-2d263df6ca3c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:32:38 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d0211b1b-5ece-436b-886d-0956ba2c5d8b\",\r\n \"name\": \"d0211b1b-5ece-436b-886d-0956ba2c5d8b\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T14:32:07.4808513Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d0211b1b-5ece-436b-886d-0956ba2c5d8b?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kMDIxMWIxYi01ZWNlLTQzNmItODg2ZC0wOTU2YmEyYzVkOGI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8d754807-d399-4bb6-9d1b-ce0c28ee93d1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "f63e3612-5422-47f3-b578-b6037c22e864" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143308Z:f63e3612-5422-47f3-b578-b6037c22e864" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:33:08 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d0211b1b-5ece-436b-886d-0956ba2c5d8b\",\r\n \"name\": \"d0211b1b-5ece-436b-886d-0956ba2c5d8b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:32:07.4808513Z\",\r\n \"endTime\": \"2018-12-27T14:32:43.8216823Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A32%3A43.8566956Z'\"" + ], + "x-ms-request-id": [ + "22c839ca-d4d0-405f-bd3c-2479748f576b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "63ff59c4-84ff-4b44-85e4-503addf72c26" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143309Z:63ff59c4-84ff-4b44-85e4-503addf72c26" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:33:08 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A32%3A43.8566956Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_b840732e\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"43b3bd30-1cac-ccde-26de-91d4e2465239\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "db99881b-8ddb-493e-b86d-089ae2418e16" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A32%3A43.8566956Z'\"" + ], + "x-ms-request-id": [ + "b5af36f8-fc85-495d-87aa-110e48b6fdc7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "bbbdea12-d95a-4606-845c-7443ac6684d8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143347Z:bbbdea12-d95a-4606-845c-7443ac6684d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:33:47 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A32%3A43.8566956Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_b840732e\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"43b3bd30-1cac-ccde-26de-91d4e2465239\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fe8dfd0a-e6ab-4c1a-8d9f-93ce09a8d247" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "113" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A33%3A16.6462995Z'\"" + ], + "x-ms-request-id": [ + "54f82957-af30-4b96-9991-c8c386961b2b" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1661960a-af84-44c8-a90b-020f70c430c5?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "b033182c-011e-447b-ba14-3a7c5b5cfa9c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143317Z:b033182c-011e-447b-ba14-3a7c5b5cfa9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:33:16 GMT" + ], + "Content-Length": [ + "546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A33%3A16.6462995Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1661960a-af84-44c8-a90b-020f70c430c5?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xNjYxOTYwYS1hZjg0LTQ0YzgtYTkwYi0wMjBmNzBjNDMwYzU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6efe501a-886d-4f25-991c-9413900f2fb4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "0d055292-7103-4d2d-ac52-c751f8ba1d34" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143347Z:0d055292-7103-4d2d-ac52-c751f8ba1d34" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:33:46 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1661960a-af84-44c8-a90b-020f70c430c5\",\r\n \"name\": \"1661960a-af84-44c8-a90b-020f70c430c5\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:33:16.4743861Z\",\r\n \"endTime\": \"2018-12-27T14:33:19.4789516Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A33%3A19.6140699Z'\"" + ], + "x-ms-request-id": [ + "9c08131b-fe0d-4c51-9fc1-739937148d1c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "12fba08a-951f-43ca-b012-6622b70398b7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143347Z:12fba08a-951f-43ca-b012-6622b70398b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:33:47 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A33%3A19.6140699Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"687eb9c7-4824-1ae7-0905-74b51c2a2496\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:33:16Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f62de2fe-fdf4-43d3-8cab-e1f6135749f7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "113" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A33%3A49.7511963Z'\"" + ], + "x-ms-request-id": [ + "db878465-5cf6-4a0f-9253-abd8e310a7b7" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/73750277-f56e-48f2-9da4-290832baa363?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "869a1c58-cb75-4f63-a02e-a962a95dad15" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143350Z:869a1c58-cb75-4f63-a02e-a962a95dad15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:33:49 GMT" + ], + "Content-Length": [ + "546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A33%3A49.7511963Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/73750277-f56e-48f2-9da4-290832baa363?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83Mzc1MDI3Ny1mNTZlLTQ4ZjItOWRhNC0yOTA4MzJiYWEzNjM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "880b1681-e7fe-4c6d-ae4d-3ceb08b5f7d6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "4bfa196e-0ea7-4896-9707-179da380e9d9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143420Z:4bfa196e-0ea7-4896-9707-179da380e9d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:34:20 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/73750277-f56e-48f2-9da4-290832baa363\",\r\n \"name\": \"73750277-f56e-48f2-9da4-290832baa363\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:33:49.6064245Z\",\r\n \"endTime\": \"2018-12-27T14:33:52.6348995Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A33%3A52.7740169Z'\"" + ], + "x-ms-request-id": [ + "3a05bb94-17fa-4908-b9a7-c7e13f6861f1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "854b592c-a34d-4aa9-bf97-e6aba09715cb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143420Z:854b592c-a34d-4aa9-bf97-e6aba09715cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:34:20 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A33%3A52.7740169Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"adc10e40-a0bd-2c2b-dc64-dde184facb92\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"name\": \"sdk-tests-snap2\",\r\n \"created\": \"2018-12-27T14:33:49Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cz9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2e9cd8b7-ec7e-423d-808c-f8e18a1e5b62" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "29c1a539-5483-45db-a9bd-53c2f1fa0bb7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "bb103f65-97ce-4753-9342-dfdb9552c9b2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143421Z:bb103f65-97ce-4753-9342-dfdb9552c9b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:34:20 GMT" + ], + "Content-Length": [ + "1327" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A33%3A19.6140699Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"687eb9c7-4824-1ae7-0905-74b51c2a2496\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:33:16Z\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A33%3A52.7740169Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"adc10e40-a0bd-2c2b-dc64-dde184facb92\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"name\": \"sdk-tests-snap2\",\r\n \"created\": \"2018-12-27T14:33:49Z\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "468e2cde-22e1-43b0-8819-e86b54c9e0a9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8a2679d2-7f0a-4083-9133-cdab2b61e640?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8a2679d2-7f0a-4083-9133-cdab2b61e640?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "66262cc1-dfe3-4382-a6c6-42859bcc9bca" + ], + "x-ms-correlation-request-id": [ + "66262cc1-dfe3-4382-a6c6-42859bcc9bca" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143426Z:66262cc1-dfe3-4382-a6c6-42859bcc9bca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:34:26 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8a2679d2-7f0a-4083-9133-cdab2b61e640?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84YTI2NzlkMi03ZjBhLTQwODMtOTEzMy1jZGFiMmI2MWU2NDA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "22a62f2f-eb27-4c04-b1df-1b27a80ccfb8" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "7b232d3f-f8d6-48b8-967e-2be575d14054" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143456Z:7b232d3f-f8d6-48b8-967e-2be575d14054" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:34:56 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8a2679d2-7f0a-4083-9133-cdab2b61e640\",\r\n \"name\": \"8a2679d2-7f0a-4083-9133-cdab2b61e640\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:34:26.5902412Z\",\r\n \"endTime\": \"2018-12-27T14:34:31.3995877Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8a2679d2-7f0a-4083-9133-cdab2b61e640?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84YTI2NzlkMi03ZjBhLTQwODMtOTEzMy1jZGFiMmI2MWU2NDA/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "067fb094-7361-490c-8878-f6339049ed66" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "f032e29d-fba1-426a-917a-3c2d651bb2c1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143457Z:f032e29d-fba1-426a-917a-3c2d651bb2c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:34:57 GMT" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A34%3A26.748918Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"snapshotId\": \"adc10e40-a0bd-2c2b-dc64-dde184facb92\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"name\": \"sdk-tests-snap2\",\r\n \"created\": \"2018-12-27T14:33:49Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8b505ce6-a838-4c7f-bf8c-f9a4b5db80e4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a2354ed7-6ba8-4d08-809d-2544216b4893?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a2354ed7-6ba8-4d08-809d-2544216b4893?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "c0831dff-582e-4762-b921-2342339611eb" + ], + "x-ms-correlation-request-id": [ + "c0831dff-582e-4762-b921-2342339611eb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143502Z:c0831dff-582e-4762-b921-2342339611eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:35:02 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a2354ed7-6ba8-4d08-809d-2544216b4893?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hMjM1NGVkNy02YmE4LTRkMDgtODA5ZC0yNTQ0MjE2YjQ4OTM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f3d8ecaa-0d81-4a4c-a9d8-dc992ae0d88b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "826d4bba-0c7b-49dc-b6d8-2e42b5414cc3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143533Z:826d4bba-0c7b-49dc-b6d8-2e42b5414cc3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:35:32 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a2354ed7-6ba8-4d08-809d-2544216b4893\",\r\n \"name\": \"a2354ed7-6ba8-4d08-809d-2544216b4893\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:35:02.6909042Z\",\r\n \"endTime\": \"2018-12-27T14:35:07.5194645Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a2354ed7-6ba8-4d08-809d-2544216b4893?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hMjM1NGVkNy02YmE4LTRkMDgtODA5ZC0yNTQ0MjE2YjQ4OTM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1368cb35-1b22-4252-a942-d8f53a32baf5" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "a91c2644-dbd2-4033-96e0-e62fa1fc28a1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143533Z:a91c2644-dbd2-4033-96e0-e62fa1fc28a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:35:32 GMT" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A35%3A02.831911Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"snapshotId\": \"687eb9c7-4824-1ae7-0905-74b51c2a2496\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:33:16Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "33bac10c-6f5d-4a0e-bd86-2efda4119da0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "84e36d5c-da1c-4191-926f-f3f5a876e487" + ], + "x-ms-correlation-request-id": [ + "84e36d5c-da1c-4191-926f-f3f5a876e487" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143539Z:84e36d5c-da1c-4191-926f-f3f5a876e487" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:35:39 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jOTdlODJmNy1hODEyLTQ1OWQtOTQwNy03MzllNjA1NzhhYmY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4bc4d42d-bb45-40e4-a62d-cc5d41fe233b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "6fe1e0b2-18eb-4865-af0f-01261586ba02" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143609Z:6fe1e0b2-18eb-4865-af0f-01261586ba02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:36:08 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf\",\r\n \"name\": \"c97e82f7-a812-459d-9407-739e60578abf\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:35:39.0395131Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jOTdlODJmNy1hODEyLTQ1OWQtOTQwNy03MzllNjA1NzhhYmY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "62b0050c-08ee-40a3-83bb-06a679e48638" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "8653245a-49dd-4ed5-9168-96ff4684ecbe" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143639Z:8653245a-49dd-4ed5-9168-96ff4684ecbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:36:39 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf\",\r\n \"name\": \"c97e82f7-a812-459d-9407-739e60578abf\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:35:39.0395131Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jOTdlODJmNy1hODEyLTQ1OWQtOTQwNy03MzllNjA1NzhhYmY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bfb23fec-e02c-4a4a-ae47-1f22ee01cb6b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "2c6d4c4d-ea1d-4586-8344-784490ed1996" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143710Z:2c6d4c4d-ea1d-4586-8344-784490ed1996" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:37:09 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf\",\r\n \"name\": \"c97e82f7-a812-459d-9407-739e60578abf\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:35:39.0395131Z\",\r\n \"endTime\": \"2018-12-27T14:36:45.4079573Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c97e82f7-a812-459d-9407-739e60578abf?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jOTdlODJmNy1hODEyLTQ1OWQtOTQwNy03MzllNjA1NzhhYmY/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d8786917-6298-47d6-af20-8cb7df1a589d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "7d89068a-0943-45da-8848-19cc242216e9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143710Z:7d89068a-0943-45da-8848-19cc242216e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:37:09 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A35%3A39.1781463Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_b840732e\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"43b3bd30-1cac-ccde-26de-91d4e2465239\",\r\n \"fileSystemId\": \"6dd0da91-88b9-6f4c-584d-ae4b62cc3ddf\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4448de5c-e062-4073-b0c9-3b7f33105d9e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3c42eb0c-33cc-454d-aeb4-7524f009f5fe?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3c42eb0c-33cc-454d-aeb4-7524f009f5fe?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "34dd6c12-0f85-47c3-b410-2e21cb6b0b03" + ], + "x-ms-correlation-request-id": [ + "34dd6c12-0f85-47c3-b410-2e21cb6b0b03" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143716Z:34dd6c12-0f85-47c3-b410-2e21cb6b0b03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:37:16 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3c42eb0c-33cc-454d-aeb4-7524f009f5fe?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zYzQyZWIwYy0zM2NjLTQ1NGQtYWViNC03NTI0ZjAwOWY1ZmU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7855a949-b941-4d5c-8c58-1ee97172e4ee" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "b278f320-9204-4020-8df5-17ba2d976b9b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143746Z:b278f320-9204-4020-8df5-17ba2d976b9b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:37:45 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3c42eb0c-33cc-454d-aeb4-7524f009f5fe\",\r\n \"name\": \"3c42eb0c-33cc-454d-aeb4-7524f009f5fe\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:37:16.1392021Z\",\r\n \"endTime\": \"2018-12-27T14:37:19.7887897Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3c42eb0c-33cc-454d-aeb4-7524f009f5fe?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zYzQyZWIwYy0zM2NjLTQ1NGQtYWViNC03NTI0ZjAwOWY1ZmU/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2a27de5f-4b56-4c35-9246-86acba054b69" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "6ff57564-f37e-4f38-b362-3a1fc75ffbb3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143746Z:6ff57564-f37e-4f38-b362-3a1fc75ffbb3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:37:45 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A37%3A16.2956305Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"6e034c2b-51ad-6530-9244-402b71d5c1ac\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fa035152-8d03-4645-a5c9-19728c9a6af1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/949ffc67-062c-4700-9e7e-f886fb8f2b40?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/949ffc67-062c-4700-9e7e-f886fb8f2b40?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "58dc119e-3ccd-4f95-90fb-73a238cb1bc9" + ], + "x-ms-correlation-request-id": [ + "58dc119e-3ccd-4f95-90fb-73a238cb1bc9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143747Z:58dc119e-3ccd-4f95-90fb-73a238cb1bc9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:37:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/949ffc67-062c-4700-9e7e-f886fb8f2b40?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85NDlmZmM2Ny0wNjJjLTQ3MDAtOWU3ZS1mODg2ZmI4ZjJiNDA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7e270e8c-cc21-4f08-a494-d65f28b1beb0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "07165339-78e0-415c-9816-64afdc7b1801" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143817Z:07165339-78e0-415c-9816-64afdc7b1801" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:38:17 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/949ffc67-062c-4700-9e7e-f886fb8f2b40\",\r\n \"name\": \"949ffc67-062c-4700-9e7e-f886fb8f2b40\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:37:47.2489327Z\",\r\n \"endTime\": \"2018-12-27T14:37:47.4051773Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/949ffc67-062c-4700-9e7e-f886fb8f2b40?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85NDlmZmM2Ny0wNjJjLTQ3MDAtOWU3ZS1mODg2ZmI4ZjJiNDA/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b31c87d8-0e43-45c3-8331-0393e8bde4be" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "b99242a7-ef4b-465f-8d9f-176c716d682f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T143818Z:b99242a7-ef4b-465f-8d9f-176c716d682f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:38:17 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A37%3A47.3819168Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/PatchSnapshot.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/PatchSnapshot.json new file mode 100644 index 000000000000..a2049b20c5c6 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.SnapshotTests/PatchSnapshot.json @@ -0,0 +1,1823 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aaf0bf14-fff9-4f10-8e96-265607206bcd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A44%3A09.9340681Z'\"" + ], + "x-ms-request-id": [ + "85fe279b-8fd3-4d7d-9795-c87215c5496b" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b94537cb-5ef1-4187-a890-c5e545bc75c2?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "b8cf2232-0737-4a42-8ead-9bbfac2ab7a1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144410Z:b8cf2232-0737-4a42-8ead-9bbfac2ab7a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:44:09 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A44%3A09.9340681Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b94537cb-5ef1-4187-a890-c5e545bc75c2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iOTQ1MzdjYi01ZWYxLTQxODctYTg5MC1jNWU1NDViYzc1YzI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "949103b9-cdb6-490d-918a-7aed54706403" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "3e33b9cf-3054-4adc-9670-ea972613f1ff" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144440Z:3e33b9cf-3054-4adc-9670-ea972613f1ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:44:39 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b94537cb-5ef1-4187-a890-c5e545bc75c2\",\r\n \"name\": \"b94537cb-5ef1-4187-a890-c5e545bc75c2\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:44:09.7835643Z\",\r\n \"endTime\": \"2018-12-27T14:44:10.221065Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A44%3A10.3484585Z'\"" + ], + "x-ms-request-id": [ + "c57a2253-c7d6-463e-a191-c4a0bb90345b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "2ccf32ab-eef0-4f80-8867-ba4ac03d5314" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144440Z:2ccf32ab-eef0-4f80-8867-ba4ac03d5314" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:44:40 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A44%3A10.3484585Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9d0dc590-9d26-4a4e-ab12-046a6f3d7b60" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A44%3A46.5615799Z'\"" + ], + "x-ms-request-id": [ + "c7705fa5-6ae9-4e76-8a14-5db6e0eb86d4" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2ed1e6da-e416-4317-b912-5e8bd92a508f?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "5a3fad59-2a71-4b61-ad4d-8ab766ef3330" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144446Z:5a3fad59-2a71-4b61-ad4d-8ab766ef3330" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:44:46 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A44%3A46.5615799Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2ed1e6da-e416-4317-b912-5e8bd92a508f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yZWQxZTZkYS1lNDE2LTQzMTctYjkxMi01ZThiZDkyYTUwOGY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "76458387-a125-4c10-91a4-f1ec6bec5e33" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "45e523d2-e7d8-4995-9472-411ba9540a23" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144517Z:45e523d2-e7d8-4995-9472-411ba9540a23" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:45:16 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/2ed1e6da-e416-4317-b912-5e8bd92a508f\",\r\n \"name\": \"2ed1e6da-e416-4317-b912-5e8bd92a508f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:44:46.4070262Z\",\r\n \"endTime\": \"2018-12-27T14:44:47.1570394Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A44%3A47.3082827Z'\"" + ], + "x-ms-request-id": [ + "7ea9e5af-123b-478e-a247-695c0216483a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "23d1a7b5-1765-4a7b-ac9a-f9556a80567c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144517Z:23d1a7b5-1765-4a7b-ac9a-f9556a80567c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:45:17 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A44%3A47.3082827Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"2d35b41e-7ed4-8012-1005-a052dc2146fb\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f6dec897-ffac-498d-a410-bf2550343bd1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A45%3A25.4672366Z'\"" + ], + "x-ms-request-id": [ + "7ae4b6a6-8c16-434c-8b68-373a4b83081d" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7426d1a6-b1a0-4ab2-b01b-adfbdd7d871d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "0bff219f-7068-4e08-895b-795688036097" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144525Z:0bff219f-7068-4e08-895b-795688036097" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:45:25 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A45%3A25.4672366Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7426d1a6-b1a0-4ab2-b01b-adfbdd7d871d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83NDI2ZDFhNi1iMWEwLTRhYjItYjAxYi1hZGZiZGQ3ZDg3MWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "915854fa-27bb-4165-8ed1-2874ff0902d8" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "cec7a5fc-078c-4e66-9b3f-aa1e1268251c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144556Z:cec7a5fc-078c-4e66-9b3f-aa1e1268251c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:45:55 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7426d1a6-b1a0-4ab2-b01b-adfbdd7d871d\",\r\n \"name\": \"7426d1a6-b1a0-4ab2-b01b-adfbdd7d871d\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T14:45:25.3211526Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7426d1a6-b1a0-4ab2-b01b-adfbdd7d871d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83NDI2ZDFhNi1iMWEwLTRhYjItYjAxYi1hZGZiZGQ3ZDg3MWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "61a88f39-0c09-4509-ba45-abb6470b7d88" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "4185cca9-f67e-4917-b1e4-ef1072e9bbc8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144626Z:4185cca9-f67e-4917-b1e4-ef1072e9bbc8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:46:25 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7426d1a6-b1a0-4ab2-b01b-adfbdd7d871d\",\r\n \"name\": \"7426d1a6-b1a0-4ab2-b01b-adfbdd7d871d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:45:25.3211526Z\",\r\n \"endTime\": \"2018-12-27T14:46:01.6236227Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A46%3A01.6643377Z'\"" + ], + "x-ms-request-id": [ + "f01e5b63-b6fd-4b49-8e73-f8972e91c18f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "86bfd232-de96-4a68-a474-4b0dd8f0999c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144626Z:86bfd232-de96-4a68-a474-4b0dd8f0999c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:46:26 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A46%3A01.6643377Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_1af95333\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"1b824d4b-1290-23b6-bc58-4145b660868b\",\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bedd2bd5-5b45-4b51-9bea-9972b10e4c0b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "113" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A46%3A34.4682501Z'\"" + ], + "x-ms-request-id": [ + "be7f16a1-1bc9-463b-ae1b-01eb459698b4" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/bab6757d-0ab3-41ae-b9f1-5cc4d9180320?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "bcd47f64-ec65-49bc-90de-2ee9b7c3d1ea" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144634Z:bcd47f64-ec65-49bc-90de-2ee9b7c3d1ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:46:34 GMT" + ], + "Content-Length": [ + "546" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A46%3A34.4682501Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/bab6757d-0ab3-41ae-b9f1-5cc4d9180320?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iYWI2NzU3ZC0wYWIzLTQxYWUtYjlmMS01Y2M0ZDkxODAzMjA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d11f5c2c-9153-4c14-ab5d-0d3311c2b693" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "515bc1cd-24e3-4836-b0cf-a0b3135f3835" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144705Z:515bc1cd-24e3-4836-b0cf-a0b3135f3835" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:47:05 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/bab6757d-0ab3-41ae-b9f1-5cc4d9180320\",\r\n \"name\": \"bab6757d-0ab3-41ae-b9f1-5cc4d9180320\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:46:34.2968907Z\",\r\n \"endTime\": \"2018-12-27T14:46:37.2509051Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A46%3A37.3920022Z'\"" + ], + "x-ms-request-id": [ + "0c3ea780-9bb9-45de-b1ab-83be458f0897" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "d5def7e4-db34-4afe-99da-dbd91f76a66d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144705Z:d5def7e4-db34-4afe-99da-dbd91f76a66d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:47:05 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A46%3A37.3920022Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"a2224924-b55a-0dbb-4895-5e0af8884405\",\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:46:34Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f44acbe6-e455-4ccd-af9a-6c28766520f5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "44" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T14%3A47%3A05.8217887Z'\"" + ], + "x-ms-request-id": [ + "d4f6cfca-6ecb-4003-ae27-0c2de27e6be2" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "d09c6203-e166-4915-a2a7-ba8477daf87a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144706Z:d09c6203-e166-4915-a2a7-ba8477daf87a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:47:06 GMT" + ], + "Content-Length": [ + "682" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A47%3A05.8217887Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"snapshotId\": \"a2224924-b55a-0dbb-4895-5e0af8884405\",\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:46:34Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1/snapshots/sdk-tests-snap1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxL3NuYXBzaG90cy9zZGstdGVzdHMtc25hcDE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "23e52bbe-f559-405e-a21f-10923322337f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/42c6f3fe-301c-4bc3-ae90-b4b0db85c012?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/42c6f3fe-301c-4bc3-ae90-b4b0db85c012?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "e8254cf2-f243-4119-b0e4-079a61a5a5aa" + ], + "x-ms-correlation-request-id": [ + "e8254cf2-f243-4119-b0e4-079a61a5a5aa" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144712Z:e8254cf2-f243-4119-b0e4-079a61a5a5aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:47:12 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/42c6f3fe-301c-4bc3-ae90-b4b0db85c012?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy80MmM2ZjNmZS0zMDFjLTRiYzMtYWU5MC1iNGIwZGI4NWMwMTI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2c787042-aa61-4983-aa40-1eef95a90ad8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "1656e9b1-8cd7-468f-a2cd-c599d26267c2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144742Z:1656e9b1-8cd7-468f-a2cd-c599d26267c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:47:41 GMT" + ], + "Content-Length": [ + "581" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/42c6f3fe-301c-4bc3-ae90-b4b0db85c012\",\r\n \"name\": \"42c6f3fe-301c-4bc3-ae90-b4b0db85c012\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:47:11.8358627Z\",\r\n \"endTime\": \"2018-12-27T14:47:16.2929925Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/42c6f3fe-301c-4bc3-ae90-b4b0db85c012?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy80MmM2ZjNmZS0zMDFjLTRiYzMtYWU5MC1iNGIwZGI4NWMwMTI/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4bea50fd-d82c-4481-b075-9f18eadae983" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "1fa54bd3-6c38-4cad-b055-74585c72b413" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144743Z:1fa54bd3-6c38-4cad-b055-74585c72b413" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:47:42 GMT" + ], + "Content-Length": [ + "681" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1/Snapshots/sdk-tests-snap1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1/sdk-tests-snap1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes/Snapshots\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A47%3A12.1747735Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"snapshotId\": \"a2224924-b55a-0dbb-4895-5e0af8884405\",\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"name\": \"sdk-tests-snap1\",\r\n \"created\": \"2018-12-27T14:46:34Z\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3de7c48b-cab3-4ebe-9676-e54b9e916285" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "07d8bc64-7ea8-409b-a4cc-44ad86518d08" + ], + "x-ms-correlation-request-id": [ + "07d8bc64-7ea8-409b-a4cc-44ad86518d08" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144748Z:07d8bc64-7ea8-409b-a4cc-44ad86518d08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:47:47 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hOGYzNzc2MC00YWQ4LTRhYjUtOWZmZC1mYmUzZDg2NWI1MTY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "50ce5613-889c-46de-9e22-b3a446934ef6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "231d6742-4ff0-4773-91f4-659866fa3feb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144818Z:231d6742-4ff0-4773-91f4-659866fa3feb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:48:18 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516\",\r\n \"name\": \"a8f37760-4ad8-4ab5-9ffd-fbe3d865b516\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:47:48.4261985Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hOGYzNzc2MC00YWQ4LTRhYjUtOWZmZC1mYmUzZDg2NWI1MTY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bec29bb1-3390-4207-841f-40d0f982c17b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "cc3e0067-3cda-42d3-ba81-29fa715dd020" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144849Z:cc3e0067-3cda-42d3-ba81-29fa715dd020" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:48:48 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516\",\r\n \"name\": \"a8f37760-4ad8-4ab5-9ffd-fbe3d865b516\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T14:47:48.4261985Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hOGYzNzc2MC00YWQ4LTRhYjUtOWZmZC1mYmUzZDg2NWI1MTY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "34886dbb-6edf-44ae-9f06-b3a9fa9383f8" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "1905bfaa-96cb-49e9-aeb8-54e6e25bbb44" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144919Z:1905bfaa-96cb-49e9-aeb8-54e6e25bbb44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:49:18 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516\",\r\n \"name\": \"a8f37760-4ad8-4ab5-9ffd-fbe3d865b516\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:47:48.4261985Z\",\r\n \"endTime\": \"2018-12-27T14:48:55.9392314Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a8f37760-4ad8-4ab5-9ffd-fbe3d865b516?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hOGYzNzc2MC00YWQ4LTRhYjUtOWZmZC1mYmUzZDg2NWI1MTY/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "758b1615-cc17-4a2f-932e-87a1f7064540" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "adc841c3-07ef-4345-b20a-8e0622081aff" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144919Z:adc841c3-07ef-4345-b20a-8e0622081aff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:49:19 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A47%3A48.6151105Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_1af95333\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"1b824d4b-1290-23b6-bc58-4145b660868b\",\r\n \"fileSystemId\": \"79853af2-c061-52a2-dc10-bddf62c7a6a9\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4b20bcaf-1e67-449a-9f64-13f4bab071bd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35cc70ce-bf73-438a-8aab-f4d49ed7bb57?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35cc70ce-bf73-438a-8aab-f4d49ed7bb57?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "c96f7038-5ae6-4db5-973e-439115248112" + ], + "x-ms-correlation-request-id": [ + "c96f7038-5ae6-4db5-973e-439115248112" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144926Z:c96f7038-5ae6-4db5-973e-439115248112" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:49:26 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35cc70ce-bf73-438a-8aab-f4d49ed7bb57?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNWNjNzBjZS1iZjczLTQzOGEtOGFhYi1mNGQ0OWVkN2JiNTc/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e2a33711-23d9-493e-890a-60b01d54d226" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "a9ae7f06-b87b-4b7b-9600-138441096395" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144956Z:a9ae7f06-b87b-4b7b-9600-138441096395" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:49:55 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35cc70ce-bf73-438a-8aab-f4d49ed7bb57\",\r\n \"name\": \"35cc70ce-bf73-438a-8aab-f4d49ed7bb57\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:49:25.9843356Z\",\r\n \"endTime\": \"2018-12-27T14:49:29.6256879Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35cc70ce-bf73-438a-8aab-f4d49ed7bb57?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNWNjNzBjZS1iZjczLTQzOGEtOGFhYi1mNGQ0OWVkN2JiNTc/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9ea9112f-2b87-4133-910f-139f23924353" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "3456e955-2f36-4ee7-ab6a-a3d2ff7f0a4b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144956Z:3456e955-2f36-4ee7-ab6a-a3d2ff7f0a4b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:49:55 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A49%3A26.1900431Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"2d35b41e-7ed4-8012-1005-a052dc2146fb\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "81068658-fb9e-4ded-b5ce-d0f12991a653" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/915feedc-85ce-4ab3-bf27-f83157b2cead?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/915feedc-85ce-4ab3-bf27-f83157b2cead?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "7de38c4b-c2ee-416d-91e4-4baaee1d74ef" + ], + "x-ms-correlation-request-id": [ + "7de38c4b-c2ee-416d-91e4-4baaee1d74ef" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T144957Z:7de38c4b-c2ee-416d-91e4-4baaee1d74ef" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:49:56 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/915feedc-85ce-4ab3-bf27-f83157b2cead?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85MTVmZWVkYy04NWNlLTRhYjMtYmYyNy1mODMxNTdiMmNlYWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "333bbc32-9ad2-4946-b81d-b477eb0829b5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "903f3649-9f60-448c-9a8d-9bdb0063653b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145027Z:903f3649-9f60-448c-9a8d-9bdb0063653b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:50:27 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/915feedc-85ce-4ab3-bf27-f83157b2cead\",\r\n \"name\": \"915feedc-85ce-4ab3-bf27-f83157b2cead\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T14:49:57.2210081Z\",\r\n \"endTime\": \"2018-12-27T14:49:57.5491427Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/915feedc-85ce-4ab3-bf27-f83157b2cead?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85MTVmZWVkYy04NWNlLTRhYjMtYmYyNy1mODMxNTdiMmNlYWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d4c793fc-7ad5-49d8-a69c-9658151f082d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "7460b42c-38bb-4ff7-a344-da7951e8922c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T145028Z:7460b42c-38bb-4ff7-a344-da7951e8922c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 14:50:28 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T14%3A49%3A57.5185973Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/CreateDeleteVolume.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/CreateDeleteVolume.json new file mode 100644 index 000000000000..7ab5defa508a --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/CreateDeleteVolume.json @@ -0,0 +1,1490 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8f85c0bd-f152-4b74-a42d-56cd0134d671" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A51%3A40.074421Z'\"" + ], + "x-ms-request-id": [ + "85cc3a7e-b16a-4d9f-8e2d-baaae99ef178" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e212d23b-d8a1-45a3-893f-6eee5a8e57ad?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "ac5e16ff-d7ad-4ed9-897e-6a83b7224b53" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155140Z:ac5e16ff-d7ad-4ed9-897e-6a83b7224b53" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:51:39 GMT" + ], + "Content-Length": [ + "333" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A51%3A40.074421Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e212d23b-d8a1-45a3-893f-6eee5a8e57ad?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMjEyZDIzYi1kOGExLTQ1YTMtODkzZi02ZWVlNWE4ZTU3YWQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "93afff32-466c-4a5c-87ae-d3628ed757a4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "5b8c1290-d119-4056-b6d0-2fa0d0974760" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155210Z:5b8c1290-d119-4056-b6d0-2fa0d0974760" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:52:09 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e212d23b-d8a1-45a3-893f-6eee5a8e57ad\",\r\n \"name\": \"e212d23b-d8a1-45a3-893f-6eee5a8e57ad\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:51:39.919892Z\",\r\n \"endTime\": \"2018-12-27T15:51:40.3573603Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A51%3A40.4848067Z'\"" + ], + "x-ms-request-id": [ + "3da0854a-e6dd-41bd-835c-8b5aea2256a5" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "ea1f70a0-5b05-4474-9ecf-11a983187329" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155211Z:ea1f70a0-5b05-4474-9ecf-11a983187329" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:52:10 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A51%3A40.4848067Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a5afbe76-c739-4815-b838-07e11eb8274a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A52%3A16.9681472Z'\"" + ], + "x-ms-request-id": [ + "c3bb4b43-50bf-476f-aaaa-ee3c13c97576" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/00a0dc34-b9bd-439e-908e-58251e05b102?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "88077b95-aef2-4b40-b24d-fd0a351118bf" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155217Z:88077b95-aef2-4b40-b24d-fd0a351118bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:52:16 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A52%3A16.9681472Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/00a0dc34-b9bd-439e-908e-58251e05b102?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wMGEwZGMzNC1iOWJkLTQzOWUtOTA4ZS01ODI1MWUwNWIxMDI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e7251929-57d5-4680-9208-9a3c1ee65a55" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "831c07da-d635-4d3c-b794-6e294503d39e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155247Z:831c07da-d635-4d3c-b794-6e294503d39e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:52:46 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/00a0dc34-b9bd-439e-908e-58251e05b102\",\r\n \"name\": \"00a0dc34-b9bd-439e-908e-58251e05b102\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:52:16.8031963Z\",\r\n \"endTime\": \"2018-12-27T15:52:17.4438556Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A52%3A17.5777234Z'\"" + ], + "x-ms-request-id": [ + "5eea6c10-dbea-4b4a-bf43-6e47c9ef30ac" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "50da2426-55da-4b1d-8576-9b94cbc1dc3b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155248Z:50da2426-55da-4b1d-8576-9b94cbc1dc3b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:52:47 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A52%3A17.5777234Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"f5e09c3f-cea8-50a9-a521-214d7298dc47\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a7a68481-dba9-47f2-a860-13e0e6a44739" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A52%3A55.5364518Z'\"" + ], + "x-ms-request-id": [ + "6b73caa6-024c-48c1-aa6a-46248b03f57f" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5e0db000-0de7-4dd7-af82-a444b43a6f86?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "181e516d-3a33-420d-ba46-a9fb36c28d56" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155255Z:181e516d-3a33-420d-ba46-a9fb36c28d56" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:52:54 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A52%3A55.5364518Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5e0db000-0de7-4dd7-af82-a444b43a6f86?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81ZTBkYjAwMC0wZGU3LTRkZDctYWY4Mi1hNDQ0YjQzYTZmODY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "583b776a-0082-4823-9f8d-c087be8dd208" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "69be1063-5a85-427a-9108-4bb9ac020adc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155326Z:69be1063-5a85-427a-9108-4bb9ac020adc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:53:25 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5e0db000-0de7-4dd7-af82-a444b43a6f86\",\r\n \"name\": \"5e0db000-0de7-4dd7-af82-a444b43a6f86\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T15:52:55.2317416Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5e0db000-0de7-4dd7-af82-a444b43a6f86?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81ZTBkYjAwMC0wZGU3LTRkZDctYWY4Mi1hNDQ0YjQzYTZmODY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8f59b52d-9f19-45f7-a18f-4b4ba46f7011" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "dcccab9f-b18b-43c4-8c44-c311781822de" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155356Z:dcccab9f-b18b-43c4-8c44-c311781822de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:53:55 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5e0db000-0de7-4dd7-af82-a444b43a6f86\",\r\n \"name\": \"5e0db000-0de7-4dd7-af82-a444b43a6f86\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:52:55.2317416Z\",\r\n \"endTime\": \"2018-12-27T15:53:30.9282894Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A53%3A30.9758073Z'\"" + ], + "x-ms-request-id": [ + "dcde56f5-655c-4b5a-954e-8cfd2b425bc6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "061a8787-57df-447b-b534-a3e1e0700e51" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155356Z:061a8787-57df-447b-b534-a3e1e0700e51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:53:56 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A53%3A30.9758073Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"bafb1842-32ad-a309-59eb-d6e2fe308b42\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_3cfeee14\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"ab6bce01-9e23-c13d-518c-2c9523d5163a\",\r\n \"fileSystemId\": \"bafb1842-32ad-a309-59eb-d6e2fe308b42\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ee673a51-6c5e-4773-a0bc-feb8c9aadb76" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b551f12e-0bde-4681-ad45-bcf97f82b731" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "4c8331c9-42e8-419d-a012-e45338af52fb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155402Z:4c8331c9-42e8-419d-a012-e45338af52fb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:54:01 GMT" + ], + "Content-Length": [ + "1402" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A53%3A30.9758073Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"bafb1842-32ad-a309-59eb-d6e2fe308b42\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_3cfeee14\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"ab6bce01-9e23-c13d-518c-2c9523d5163a\",\r\n \"fileSystemId\": \"bafb1842-32ad-a309-59eb-d6e2fe308b42\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "58ae78e4-11ee-48e2-a9d4-161d8ce2249f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b1a2cdc1-9ca9-4a48-94bf-be112c4dc89a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "5992bdfd-cadb-4181-8e8d-06f12535048c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155503Z:5992bdfd-cadb-4181-8e8d-06f12535048c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:03 GMT" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb989010-638a-450b-ae27-d7ff1fd93763" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1d5cc269-1df5-4584-924d-8389c599303a?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1d5cc269-1df5-4584-924d-8389c599303a?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "0f8eb101-b5b4-40d6-a67b-ef54ae15a54e" + ], + "x-ms-correlation-request-id": [ + "0f8eb101-b5b4-40d6-a67b-ef54ae15a54e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155402Z:0f8eb101-b5b4-40d6-a67b-ef54ae15a54e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:54:02 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1d5cc269-1df5-4584-924d-8389c599303a?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xZDVjYzI2OS0xZGY1LTQ1ODQtOTI0ZC04Mzg5YzU5OTMwM2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "65b04fb4-6f9b-47ba-8883-a258c623261a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "66eed5c3-bb26-4dab-9189-f081843f256f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155432Z:66eed5c3-bb26-4dab-9189-f081843f256f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:54:32 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1d5cc269-1df5-4584-924d-8389c599303a\",\r\n \"name\": \"1d5cc269-1df5-4584-924d-8389c599303a\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:54:02.5177616Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1d5cc269-1df5-4584-924d-8389c599303a?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xZDVjYzI2OS0xZGY1LTQ1ODQtOTI0ZC04Mzg5YzU5OTMwM2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dc24b9f8-9161-4bdc-95f5-a9bbb43eb162" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "70e1923a-3b89-4da5-83f1-766b865f0440" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155503Z:70e1923a-3b89-4da5-83f1-766b865f0440" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:03 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1d5cc269-1df5-4584-924d-8389c599303a\",\r\n \"name\": \"1d5cc269-1df5-4584-924d-8389c599303a\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:54:02.5177616Z\",\r\n \"endTime\": \"2018-12-27T15:55:02.0531952Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1d5cc269-1df5-4584-924d-8389c599303a?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xZDVjYzI2OS0xZGY1LTQ1ODQtOTI0ZC04Mzg5YzU5OTMwM2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1b7b975d-b045-47f0-a052-52c2d9ccd50f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "642bb158-b1cd-412a-bd3c-9d7b31316fb2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155503Z:642bb158-b1cd-412a-bd3c-9d7b31316fb2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:03 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A54%3A02.6346106Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"bafb1842-32ad-a309-59eb-d6e2fe308b42\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_3cfeee14\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"ab6bce01-9e23-c13d-518c-2c9523d5163a\",\r\n \"fileSystemId\": \"bafb1842-32ad-a309-59eb-d6e2fe308b42\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "49de04be-0398-4a9e-b046-b0aeb3366663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "298e381e-54e3-4e16-9ab4-4b465b7ddb93" + ], + "x-ms-correlation-request-id": [ + "298e381e-54e3-4e16-9ab4-4b465b7ddb93" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155509Z:298e381e-54e3-4e16-9ab4-4b465b7ddb93" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:09 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d83b9126-f150-4a25-97f4-c7c961e6235f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d19d56bb-5e90-4be7-89b8-3ef63fe1d024?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d19d56bb-5e90-4be7-89b8-3ef63fe1d024?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "a757977d-ceed-4d16-a528-46e36e68d9e6" + ], + "x-ms-correlation-request-id": [ + "a757977d-ceed-4d16-a528-46e36e68d9e6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155515Z:a757977d-ceed-4d16-a528-46e36e68d9e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:14 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d19d56bb-5e90-4be7-89b8-3ef63fe1d024?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kMTlkNTZiYi01ZTkwLTRiZTctODliOC0zZWY2M2ZlMWQwMjQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7ac6cff3-3f13-48af-93a6-e859149dae0c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "a60eb625-f002-427b-9a4e-4e17410c9358" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155545Z:a60eb625-f002-427b-9a4e-4e17410c9358" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:44 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d19d56bb-5e90-4be7-89b8-3ef63fe1d024\",\r\n \"name\": \"d19d56bb-5e90-4be7-89b8-3ef63fe1d024\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:55:14.9640434Z\",\r\n \"endTime\": \"2018-12-27T15:55:18.5330314Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d19d56bb-5e90-4be7-89b8-3ef63fe1d024?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kMTlkNTZiYi01ZTkwLTRiZTctODliOC0zZWY2M2ZlMWQwMjQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5bc2a3bd-1923-4f28-b2bc-0597f2201abf" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "6421d268-d895-47eb-ab28-fcfd5fe455c1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155545Z:6421d268-d895-47eb-ab28-fcfd5fe455c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:44 GMT" + ], + "Content-Length": [ + "527" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A55%3A15.125842Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"f5e09c3f-cea8-50a9-a521-214d7298dc47\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ba2e43a9-b4ac-4ccc-b7f5-a50e21e007d0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/165c49cc-59f7-4236-a1d3-d52fc0c2d74f?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/165c49cc-59f7-4236-a1d3-d52fc0c2d74f?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "02bee97f-de24-4b6d-88a6-5cc6774895a8" + ], + "x-ms-correlation-request-id": [ + "02bee97f-de24-4b6d-88a6-5cc6774895a8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155546Z:02bee97f-de24-4b6d-88a6-5cc6774895a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:55:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/165c49cc-59f7-4236-a1d3-d52fc0c2d74f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xNjVjNDljYy01OWY3LTQyMzYtYTFkMy1kNTJmYzBjMmQ3NGY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9be51fc1-e69d-4473-a4a2-7d137348f19e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "6bf70535-6eb7-4e5e-91df-fe0ebb0c02f3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155616Z:6bf70535-6eb7-4e5e-91df-fe0ebb0c02f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:56:16 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/165c49cc-59f7-4236-a1d3-d52fc0c2d74f\",\r\n \"name\": \"165c49cc-59f7-4236-a1d3-d52fc0c2d74f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:55:46.0987205Z\",\r\n \"endTime\": \"2018-12-27T15:55:46.2703823Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/165c49cc-59f7-4236-a1d3-d52fc0c2d74f?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xNjVjNDljYy01OWY3LTQyMzYtYTFkMy1kNTJmYzBjMmQ3NGY/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7c692425-7c32-454a-b502-eaaf2c338b3a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "de5b3d3c-6f9c-406c-95e1-42f1ddf4d894" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155617Z:de5b3d3c-6f9c-406c-95e1-42f1ddf4d894" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:56:16 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A55%3A46.2391282Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/CreateVolumePoolNotFound.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/CreateVolumePoolNotFound.json new file mode 100644 index 000000000000..4e69becef8df --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/CreateVolumePoolNotFound.json @@ -0,0 +1,464 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d0a91d42-7ed0-49bc-81fd-7d944de89e25" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A56%3A19.7626851Z'\"" + ], + "x-ms-request-id": [ + "f40e1ce4-70da-4ac6-8314-2196661e651d" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/87413035-554a-4365-8ad2-cd8e80c72038?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "5b061688-66f8-49af-97d1-99f8007ffd91" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155620Z:5b061688-66f8-49af-97d1-99f8007ffd91" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:56:19 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A56%3A19.7626851Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/87413035-554a-4365-8ad2-cd8e80c72038?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84NzQxMzAzNS01NTRhLTQzNjUtOGFkMi1jZDhlODBjNzIwMzg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "69f61753-cdd6-4c73-9696-f3ae71424920" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "166dbe79-0bc0-42ba-bc65-141071fa0eaf" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155650Z:166dbe79-0bc0-42ba-bc65-141071fa0eaf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:56:50 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/87413035-554a-4365-8ad2-cd8e80c72038\",\r\n \"name\": \"87413035-554a-4365-8ad2-cd8e80c72038\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:56:19.4733459Z\",\r\n \"endTime\": \"2018-12-27T15:56:20.0850128Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A56%3A20.3632505Z'\"" + ], + "x-ms-request-id": [ + "37f69891-acf8-443a-af6c-7a233d225fcc" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "ea94ad19-e386-4151-a3d8-554f275486be" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155650Z:ea94ad19-e386-4151-a3d8-554f275486be" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:56:50 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A56%3A20.3632505Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "94d66e05-a496-47e8-bd1b-401d04d82061" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "89f2bdae-fd9c-45ae-8a00-ca1491aea731" + ], + "x-ms-correlation-request-id": [ + "89f2bdae-fd9c-45ae-8a00-ca1491aea731" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155656Z:89f2bdae-fd9c-45ae-8a00-ca1491aea731" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:56:56 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "171" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ParentResourceNotFound\",\r\n \"message\": \"Can not perform requested operation on nested resource. Parent resource 'sdk-tests-acc1/sdk-tests-pool1' not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6fd346a4-214e-4910-966e-b49ed62121a3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/17cbcc48-4987-48b6-86fc-ebe0cbdb645c?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/17cbcc48-4987-48b6-86fc-ebe0cbdb645c?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "2664b224-397d-48f4-aa83-21253cd2c67f" + ], + "x-ms-correlation-request-id": [ + "2664b224-397d-48f4-aa83-21253cd2c67f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155657Z:2664b224-397d-48f4-aa83-21253cd2c67f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:56:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/17cbcc48-4987-48b6-86fc-ebe0cbdb645c?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xN2NiY2M0OC00OTg3LTQ4YjYtODZmYy1lYmUwY2JkYjY0NWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2d820e1d-68a5-4819-980f-d09fae53a876" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "a1c79097-a32a-42e4-8174-7451c1810fa4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155727Z:a1c79097-a32a-42e4-8174-7451c1810fa4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:57:27 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/17cbcc48-4987-48b6-86fc-ebe0cbdb645c\",\r\n \"name\": \"17cbcc48-4987-48b6-86fc-ebe0cbdb645c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:56:56.9519304Z\",\r\n \"endTime\": \"2018-12-27T15:56:57.1394796Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/17cbcc48-4987-48b6-86fc-ebe0cbdb645c?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xN2NiY2M0OC00OTg3LTQ4YjYtODZmYy1lYmUwY2JkYjY0NWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5b2a0c25-0083-40a6-a81f-33ae51a8345a" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "516da042-a8ae-4db6-bc34-683e6d6910ba" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155727Z:516da042-a8ae-4db6-bc34-683e6d6910ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:57:27 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A56%3A57.1028281Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/DeletePoolWithVolumePresent.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/DeletePoolWithVolumePresent.json new file mode 100644 index 000000000000..6918fc4f6147 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/DeletePoolWithVolumePresent.json @@ -0,0 +1,1604 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "216d05f2-03bb-4519-893f-58c452c5cb9b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A21%3A02.6436633Z'\"" + ], + "x-ms-request-id": [ + "ccf0ed32-d2b2-4ec2-b86f-b39842583b77" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e2797175-f4a9-4d0b-9bd4-a667a6e965ac?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "2961ea6c-b309-4e64-9399-aa5cdba50581" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152103Z:2961ea6c-b309-4e64-9399-aa5cdba50581" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:21:03 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A21%3A02.6436633Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e2797175-f4a9-4d0b-9bd4-a667a6e965ac?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMjc5NzE3NS1mNGE5LTRkMGItOWJkNC1hNjY3YTZlOTY1YWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0ced12ee-3eee-4207-b3e1-e9c824971ac0" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "4408d4b5-7300-4851-90ef-7999cfa4c482" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152133Z:4408d4b5-7300-4851-90ef-7999cfa4c482" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:21:32 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e2797175-f4a9-4d0b-9bd4-a667a6e965ac\",\r\n \"name\": \"e2797175-f4a9-4d0b-9bd4-a667a6e965ac\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:21:02.5265728Z\",\r\n \"endTime\": \"2018-12-27T15:21:02.9328361Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A21%3A03.1281204Z'\"" + ], + "x-ms-request-id": [ + "57d20684-3b71-4ab2-84ec-fa5a4b3cd0b6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "7679ae85-e029-4ec8-8ee1-5138d27f4432" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152133Z:7679ae85-e029-4ec8-8ee1-5138d27f4432" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:21:32 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A21%3A03.1281204Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97c85515-351e-4ef7-8a88-ca346fdaf854" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A21%3A39.4633334Z'\"" + ], + "x-ms-request-id": [ + "62071179-f702-429f-9124-8247e453938a" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/aeee22bd-e760-45cf-a43f-6f2e524fa030?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "d88582e9-051a-4055-9e7d-3ee193f298d0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152139Z:d88582e9-051a-4055-9e7d-3ee193f298d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:21:38 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A21%3A39.4633334Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/aeee22bd-e760-45cf-a43f-6f2e524fa030?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hZWVlMjJiZC1lNzYwLTQ1Y2YtYTQzZi02ZjJlNTI0ZmEwMzA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ac98cf14-d1b1-496b-9738-80cab29a9e27" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "b1412553-2c3e-4baf-bc3f-43aa9158d455" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152209Z:b1412553-2c3e-4baf-bc3f-43aa9158d455" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:22:09 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/aeee22bd-e760-45cf-a43f-6f2e524fa030\",\r\n \"name\": \"aeee22bd-e760-45cf-a43f-6f2e524fa030\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:21:39.3053016Z\",\r\n \"endTime\": \"2018-12-27T15:21:39.9845422Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A21%3A40.1309627Z'\"" + ], + "x-ms-request-id": [ + "5884aefa-b354-4bee-81be-d2c75c1d5001" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "d9df974d-a3cc-4991-8acb-6689646b59d5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152210Z:d9df974d-a3cc-4991-8acb-6689646b59d5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:22:09 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A21%3A40.1309627Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"884e5cb6-d6de-95a2-1bc1-d0e9b0b0ded4\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "465efb27-8a26-4c9e-becd-d82bd26a874a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A22%3A19.9975035Z'\"" + ], + "x-ms-request-id": [ + "2faf7777-9918-414c-8fdc-ba192c5a0054" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/250cb3e2-0bec-471a-a75a-9af7b7fd5b9e?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "61172b5f-bf45-4336-8c53-100d46523c40" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152220Z:61172b5f-bf45-4336-8c53-100d46523c40" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:22:19 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A22%3A19.9975035Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/250cb3e2-0bec-471a-a75a-9af7b7fd5b9e?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yNTBjYjNlMi0wYmVjLTQ3MWEtYTc1YS05YWY3YjdmZDViOWU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a3c08678-a955-41cf-971b-0c94cee89193" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "d787d01d-3ed6-4222-9b0f-ee6b04f8194c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152250Z:d787d01d-3ed6-4222-9b0f-ee6b04f8194c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:22:50 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/250cb3e2-0bec-471a-a75a-9af7b7fd5b9e\",\r\n \"name\": \"250cb3e2-0bec-471a-a75a-9af7b7fd5b9e\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T15:22:19.8182135Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/250cb3e2-0bec-471a-a75a-9af7b7fd5b9e?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yNTBjYjNlMi0wYmVjLTQ3MWEtYTc1YS05YWY3YjdmZDViOWU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8f3613ef-cc55-40a1-a9da-fb6af0ac9fb9" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "9e050aa2-689e-42de-9b89-6a5f477f2b73" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152321Z:9e050aa2-689e-42de-9b89-6a5f477f2b73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:23:20 GMT" + ], + "Content-Length": [ + "554" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/250cb3e2-0bec-471a-a75a-9af7b7fd5b9e\",\r\n \"name\": \"250cb3e2-0bec-471a-a75a-9af7b7fd5b9e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:22:19.8182135Z\",\r\n \"endTime\": \"2018-12-27T15:23:02.775204Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A23%3A02.815823Z'\"" + ], + "x-ms-request-id": [ + "26d8620e-6bdc-47e6-9f9d-97a233870a75" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "143d24f6-3e84-4fc3-a5b8-4de65350572e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152321Z:143d24f6-3e84-4fc3-a5b8-4de65350572e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:23:20 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A23%3A02.815823Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"7667290a-2cd5-de83-c98e-b5b30b5d3b56\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_42f423d1\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"a5167db8-f54d-0887-54e2-2d744226adb7\",\r\n \"fileSystemId\": \"7667290a-2cd5-de83-c98e-b5b30b5d3b56\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3afe4903-9db6-4b1f-8278-c41d62260215" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "40b451a7-b552-41b3-bd97-43c19c4dc0d4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "ca3bd0a4-a964-40f5-8f7a-d0daf81632b4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152326Z:ca3bd0a4-a964-40f5-8f7a-d0daf81632b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:23:25 GMT" + ], + "Content-Length": [ + "541" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A21%3A40.1309627Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"884e5cb6-d6de-95a2-1bc1-d0e9b0b0ded4\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3763d0f8-157e-448e-bca9-9942449f3d03" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "4871a637-ebcd-4034-8597-b24b12fb67b1" + ], + "x-ms-correlation-request-id": [ + "4871a637-ebcd-4034-8597-b24b12fb67b1" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152327Z:4871a637-ebcd-4034-8597-b24b12fb67b1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:23:26 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b185ed89-9ec8-4f34-8e45-9b7369671823" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "d478f773-41c2-4ae3-8723-90d4f94f0957" + ], + "x-ms-correlation-request-id": [ + "d478f773-41c2-4ae3-8723-90d4f94f0957" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152509Z:d478f773-41c2-4ae3-8723-90d4f94f0957" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:09 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "96c16842-1c99-405c-893a-0447dba63366" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "38a2ce47-408a-4d69-b958-705a5c24b5bc" + ], + "x-ms-correlation-request-id": [ + "38a2ce47-408a-4d69-b958-705a5c24b5bc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152514Z:38a2ce47-408a-4d69-b958-705a5c24b5bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:14 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d76b1c0e-168f-4577-ba9c-2aa84de42916" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/99528cab-22d1-4734-8c5d-457af953c38f?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/99528cab-22d1-4734-8c5d-457af953c38f?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "118de5d7-ded4-4900-a8e6-9ea60a920ac6" + ], + "x-ms-correlation-request-id": [ + "118de5d7-ded4-4900-a8e6-9ea60a920ac6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152520Z:118de5d7-ded4-4900-a8e6-9ea60a920ac6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:20 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b41217b7-b57a-4163-86df-0094dd22d9d5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "35edfcf1-dc9a-43a1-b5e2-692d54d68e73" + ], + "x-ms-correlation-request-id": [ + "35edfcf1-dc9a-43a1-b5e2-692d54d68e73" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152332Z:35edfcf1-dc9a-43a1-b5e2-692d54d68e73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:23:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xYTM3OGFhNC01MDNmLTRmYjAtOGNkYS1jZmUyOTE1NGY2Y2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ab5266e7-5e58-467c-92cb-15b54676f00e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "cca6297f-9763-4e2a-bdc1-da1b68ed5c0d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152403Z:cca6297f-9763-4e2a-bdc1-da1b68ed5c0d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:24:02 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca\",\r\n \"name\": \"1a378aa4-503f-4fb0-8cda-cfe29154f6ca\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:23:32.6133698Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xYTM3OGFhNC01MDNmLTRmYjAtOGNkYS1jZmUyOTE1NGY2Y2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "33ceb48a-45d0-4ccd-852d-140075b6f9d0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "8b4c4f7b-a5cd-4019-b982-d9a612674810" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152433Z:8b4c4f7b-a5cd-4019-b982-d9a612674810" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:24:32 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca\",\r\n \"name\": \"1a378aa4-503f-4fb0-8cda-cfe29154f6ca\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:23:32.6133698Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xYTM3OGFhNC01MDNmLTRmYjAtOGNkYS1jZmUyOTE1NGY2Y2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c061dd49-382c-4a2d-a9f9-9e4ef3914981" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "c2f184a1-c98a-4b96-9442-2a7146f2cafc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152503Z:c2f184a1-c98a-4b96-9442-2a7146f2cafc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:03 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca\",\r\n \"name\": \"1a378aa4-503f-4fb0-8cda-cfe29154f6ca\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:23:32.6133698Z\",\r\n \"endTime\": \"2018-12-27T15:25:01.9805773Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/1a378aa4-503f-4fb0-8cda-cfe29154f6ca?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8xYTM3OGFhNC01MDNmLTRmYjAtOGNkYS1jZmUyOTE1NGY2Y2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a79c49ba-964e-4253-86a8-f352b5dc781e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "c35140f1-33e8-40d1-80bb-826faabed59b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152504Z:c35140f1-33e8-40d1-80bb-826faabed59b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:03 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A23%3A32.7069716Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"7667290a-2cd5-de83-c98e-b5b30b5d3b56\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_42f423d1\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"a5167db8-f54d-0887-54e2-2d744226adb7\",\r\n \"fileSystemId\": \"7667290a-2cd5-de83-c98e-b5b30b5d3b56\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/99528cab-22d1-4734-8c5d-457af953c38f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85OTUyOGNhYi0yMmQxLTQ3MzQtOGM1ZC00NTdhZjk1M2MzOGY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "586b9caa-017d-4d97-a54f-0e8ebb012965" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "26156479-9cb3-4794-94b3-2d4a68e558a6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152550Z:26156479-9cb3-4794-94b3-2d4a68e558a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:50 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/99528cab-22d1-4734-8c5d-457af953c38f\",\r\n \"name\": \"99528cab-22d1-4734-8c5d-457af953c38f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:25:20.4873644Z\",\r\n \"endTime\": \"2018-12-27T15:25:24.0322399Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/99528cab-22d1-4734-8c5d-457af953c38f?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85OTUyOGNhYi0yMmQxLTQ3MzQtOGM1ZC00NTdhZjk1M2MzOGY/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a1264ba6-fa27-4e83-bb3c-cbba5435667d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "becaa3c4-cd1d-4e05-8e5b-0ff1383ccc8c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152551Z:becaa3c4-cd1d-4e05-8e5b-0ff1383ccc8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:50 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A25%3A20.6469122Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"884e5cb6-d6de-95a2-1bc1-d0e9b0b0ded4\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2d25746e-e1a7-48f0-a369-64be311e9402" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/97ae27fa-ca0a-4b70-a975-4fc6b62e65cd?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/97ae27fa-ca0a-4b70-a975-4fc6b62e65cd?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-request-id": [ + "af0b3e9b-22e5-4d58-bd1e-f8b233790908" + ], + "x-ms-correlation-request-id": [ + "af0b3e9b-22e5-4d58-bd1e-f8b233790908" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152551Z:af0b3e9b-22e5-4d58-bd1e-f8b233790908" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:25:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/97ae27fa-ca0a-4b70-a975-4fc6b62e65cd?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85N2FlMjdmYS1jYTBhLTRiNzAtYTk3NS00ZmM2YjYyZTY1Y2Q/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "41f68a66-b4dd-4322-926d-c2bfc8ed1683" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "2bdb6518-9196-4a9c-9c2d-136ea0994a7b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152622Z:2bdb6518-9196-4a9c-9c2d-136ea0994a7b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:26:21 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/97ae27fa-ca0a-4b70-a975-4fc6b62e65cd\",\r\n \"name\": \"97ae27fa-ca0a-4b70-a975-4fc6b62e65cd\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:25:51.5388836Z\",\r\n \"endTime\": \"2018-12-27T15:25:51.7888661Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/97ae27fa-ca0a-4b70-a975-4fc6b62e65cd?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy85N2FlMjdmYS1jYTBhLTRiNzAtYTk3NS00ZmM2YjYyZTY1Y2Q/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3746e33d-74ee-41ae-92eb-aa834b9d1e67" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "ef6b07ad-2f48-411d-8e7f-7d5416ba722e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152622Z:ef6b07ad-2f48-411d-8e7f-7d5416ba722e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:26:22 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A25%3A51.7692187Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByName.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByName.json new file mode 100644 index 000000000000..15fac69f77f3 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByName.json @@ -0,0 +1,1427 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f8be745e-1fe1-4195-9d88-17a5bdddf7ee" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A41%3A39.4585437Z'\"" + ], + "x-ms-request-id": [ + "581090ee-98cc-492e-aefa-bd32a0b16a90" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8666ad7e-fa95-4bcc-9172-57591ee23d42?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "5225e8ff-0b3b-4f7e-a0b7-c9ff8e29bfd7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154139Z:5225e8ff-0b3b-4f7e-a0b7-c9ff8e29bfd7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:41:38 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A41%3A39.4585437Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8666ad7e-fa95-4bcc-9172-57591ee23d42?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84NjY2YWQ3ZS1mYTk1LTRiY2MtOTE3Mi01NzU5MWVlMjNkNDI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "94e25777-fd01-4589-b444-cc48abaa1aa4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "42fd7673-b2b3-43e8-8b7f-8dd4fe9bd5d6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154210Z:42fd7673-b2b3-43e8-8b7f-8dd4fe9bd5d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:42:10 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8666ad7e-fa95-4bcc-9172-57591ee23d42\",\r\n \"name\": \"8666ad7e-fa95-4bcc-9172-57591ee23d42\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:41:39.2963329Z\",\r\n \"endTime\": \"2018-12-27T15:41:39.7360282Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A41%3A39.8689294Z'\"" + ], + "x-ms-request-id": [ + "07bed506-a134-4f7e-ae89-f2c0125205a6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "26a280c9-bae0-4177-97c3-b6792b755f65" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154210Z:26a280c9-bae0-4177-97c3-b6792b755f65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:42:10 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A41%3A39.8689294Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "245ef9fe-d2d3-49ab-8050-fa6e587c145a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A42%3A16.3142384Z'\"" + ], + "x-ms-request-id": [ + "ed35ea42-ae0d-4429-ae7b-7f37e562c49d" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/36efdd26-6662-4b00-b566-51d3f30da885?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "c5b76e4d-45ed-4960-a9c4-c5370cfeb532" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154216Z:c5b76e4d-45ed-4960-a9c4-c5370cfeb532" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:42:16 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A42%3A16.3142384Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/36efdd26-6662-4b00-b566-51d3f30da885?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNmVmZGQyNi02NjYyLTRiMDAtYjU2Ni01MWQzZjMwZGE4ODU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2d753919-638b-48af-b56a-514e85a68616" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "cb7e9f4b-701e-4d3d-bd6c-332bfc0bb023" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154246Z:cb7e9f4b-701e-4d3d-bd6c-332bfc0bb023" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:42:46 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/36efdd26-6662-4b00-b566-51d3f30da885\",\r\n \"name\": \"36efdd26-6662-4b00-b566-51d3f30da885\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:42:16.0301066Z\",\r\n \"endTime\": \"2018-12-27T15:42:18.4136075Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A42%3A18.551349Z'\"" + ], + "x-ms-request-id": [ + "24536e74-b01e-4b29-a85d-4aac8308fe0e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "a278405c-e451-4f7b-a3b9-dec307c01c9d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154247Z:a278405c-e451-4f7b-a3b9-dec307c01c9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:42:47 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A42%3A18.551349Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"db340142-eef9-72b8-0cfd-fff3eb65f717\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1b4550da-44d7-476c-aecc-02089328351f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A42%3A55.1087624Z'\"" + ], + "x-ms-request-id": [ + "7b01d073-803d-4d23-8441-e06239429329" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f67fa546-867c-4a22-8723-f762b3cb3ac8?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "0a308716-6e5b-42f2-88e4-1788b464e3b5" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154255Z:0a308716-6e5b-42f2-88e4-1788b464e3b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:42:55 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A42%3A55.1087624Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f67fa546-867c-4a22-8723-f762b3cb3ac8?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9mNjdmYTU0Ni04NjdjLTRhMjItODcyMy1mNzYyYjNjYjNhYzg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4ff0d165-3497-42d1-ae02-e1a666388088" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "c52ac666-2d34-4cde-bd21-f4dd4ee3bbac" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154325Z:c52ac666-2d34-4cde-bd21-f4dd4ee3bbac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:43:25 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f67fa546-867c-4a22-8723-f762b3cb3ac8\",\r\n \"name\": \"f67fa546-867c-4a22-8723-f762b3cb3ac8\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T15:42:54.9284882Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f67fa546-867c-4a22-8723-f762b3cb3ac8?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9mNjdmYTU0Ni04NjdjLTRhMjItODcyMy1mNzYyYjNjYjNhYzg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f55ba7f6-1715-4da0-830d-d1484d97140a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "69463502-35bf-409c-87aa-5699970a1388" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154355Z:69463502-35bf-409c-87aa-5699970a1388" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:43:55 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/f67fa546-867c-4a22-8723-f762b3cb3ac8\",\r\n \"name\": \"f67fa546-867c-4a22-8723-f762b3cb3ac8\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:42:54.9284882Z\",\r\n \"endTime\": \"2018-12-27T15:43:32.6849969Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A43%3A32.7181652Z'\"" + ], + "x-ms-request-id": [ + "de621e08-e143-4558-aad6-78ea79e0dda6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "a87527a5-3dea-4da8-b85c-b0255e0fdf1c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154357Z:a87527a5-3dea-4da8-b85c-b0255e0fdf1c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:43:56 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A43%3A32.7181652Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"1d71d336-8e4b-89fc-5b17-67b12dc93e74\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_650b5d2c\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"1574e432-ec53-356b-cdbe-9350ce81c69c\",\r\n \"fileSystemId\": \"1d71d336-8e4b-89fc-5b17-67b12dc93e74\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6a2fe61e-1b6b-43f9-87a4-614dc15a1d74" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A43%3A32.7181652Z'\"" + ], + "x-ms-request-id": [ + "c92aecac-fd80-4ece-a01c-44d60279367b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "a9a572d3-9882-4efd-8f87-52050adaebad" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154402Z:a9a572d3-9882-4efd-8f87-52050adaebad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:44:01 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A43%3A32.7181652Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"1d71d336-8e4b-89fc-5b17-67b12dc93e74\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_650b5d2c\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"1574e432-ec53-356b-cdbe-9350ce81c69c\",\r\n \"fileSystemId\": \"1d71d336-8e4b-89fc-5b17-67b12dc93e74\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0df0c2e0-f6e4-4c19-b7af-d0bf6fba275f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "f8c36288-56cd-4157-a434-8df3ae12d936" + ], + "x-ms-correlation-request-id": [ + "f8c36288-56cd-4157-a434-8df3ae12d936" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154408Z:f8c36288-56cd-4157-a434-8df3ae12d936" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:44:07 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYmIxNWMwNS0yOGY2LTRiOGUtODI2YS00ZWRkZjRmZWQyN2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c5643bee-f838-4e47-bc66-104d3b81c531" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "b3d591bd-d091-4e4e-8e68-be7a6eaf8303" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154438Z:b3d591bd-d091-4e4e-8e68-be7a6eaf8303" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:44:38 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a\",\r\n \"name\": \"ebb15c05-28f6-4b8e-826a-4eddf4fed27a\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:44:07.7770393Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYmIxNWMwNS0yOGY2LTRiOGUtODI2YS00ZWRkZjRmZWQyN2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "52d245dd-8844-4985-b949-3604769cfd1d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "ffd9dabf-6d18-42c0-8319-28dfb9785ca8" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154508Z:ffd9dabf-6d18-42c0-8319-28dfb9785ca8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:45:07 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a\",\r\n \"name\": \"ebb15c05-28f6-4b8e-826a-4eddf4fed27a\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:44:07.7770393Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYmIxNWMwNS0yOGY2LTRiOGUtODI2YS00ZWRkZjRmZWQyN2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "be29f900-9741-4285-a600-6b3d011c6a21" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "ed8d561d-b331-438f-9ff7-0e1893566a19" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154539Z:ed8d561d-b331-438f-9ff7-0e1893566a19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:45:38 GMT" + ], + "Content-Length": [ + "554" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a\",\r\n \"name\": \"ebb15c05-28f6-4b8e-826a-4eddf4fed27a\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:44:07.7770393Z\",\r\n \"endTime\": \"2018-12-27T15:45:24.766958Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/ebb15c05-28f6-4b8e-826a-4eddf4fed27a?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lYmIxNWMwNS0yOGY2LTRiOGUtODI2YS00ZWRkZjRmZWQyN2E/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "45c69d63-d9ba-4081-afa1-14960be566f8" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "e68a9279-c434-4521-83f4-71e51a40e869" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154539Z:e68a9279-c434-4521-83f4-71e51a40e869" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:45:38 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A44%3A07.9483337Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"1d71d336-8e4b-89fc-5b17-67b12dc93e74\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_650b5d2c\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"1574e432-ec53-356b-cdbe-9350ce81c69c\",\r\n \"fileSystemId\": \"1d71d336-8e4b-89fc-5b17-67b12dc93e74\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eaff6c83-19ec-4405-affd-5971f911a21d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3be5691e-83e6-40a6-9761-afc4184cb6b1?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3be5691e-83e6-40a6-9761-afc4184cb6b1?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "fe20c26c-70f4-47f2-ac2d-c06cbdab6ba9" + ], + "x-ms-correlation-request-id": [ + "fe20c26c-70f4-47f2-ac2d-c06cbdab6ba9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154545Z:fe20c26c-70f4-47f2-ac2d-c06cbdab6ba9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:45:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3be5691e-83e6-40a6-9761-afc4184cb6b1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zYmU1NjkxZS04M2U2LTQwYTYtOTc2MS1hZmM0MTg0Y2I2YjE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a5280700-0cf9-46bb-9a62-2d936f0a5ee7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "b28021f1-56d2-4ff9-9cde-2e48a268264c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154615Z:b28021f1-56d2-4ff9-9cde-2e48a268264c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:46:15 GMT" + ], + "Content-Length": [ + "531" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3be5691e-83e6-40a6-9761-afc4184cb6b1\",\r\n \"name\": \"3be5691e-83e6-40a6-9761-afc4184cb6b1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:45:44.701203Z\",\r\n \"endTime\": \"2018-12-27T15:45:48.3491426Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3be5691e-83e6-40a6-9761-afc4184cb6b1?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zYmU1NjkxZS04M2U2LTQwYTYtOTc2MS1hZmM0MTg0Y2I2YjE/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a7b48250-051c-41fd-b08c-b2d8f21bf7f6" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "c74e9247-5d7e-4981-a6e1-929096ed3d18" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154615Z:c74e9247-5d7e-4981-a6e1-929096ed3d18" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:46:15 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A45%3A44.9696689Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"db340142-eef9-72b8-0cfd-fff3eb65f717\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f2187e86-a846-42c3-8f77-7c3ce1634b0f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/064edc13-dccd-4cbd-bf35-3ca060ee81f5?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/064edc13-dccd-4cbd-bf35-3ca060ee81f5?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "f324e8d4-2df1-4202-8543-2f2691bd715e" + ], + "x-ms-correlation-request-id": [ + "f324e8d4-2df1-4202-8543-2f2691bd715e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154616Z:f324e8d4-2df1-4202-8543-2f2691bd715e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:46:15 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/064edc13-dccd-4cbd-bf35-3ca060ee81f5?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wNjRlZGMxMy1kY2NkLTRjYmQtYmYzNS0zY2EwNjBlZTgxZjU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f5361910-5c9e-43c2-b966-f9571444ec7d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "a7672392-acc3-4666-98fd-4acd06b7fef2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154646Z:a7672392-acc3-4666-98fd-4acd06b7fef2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:46:45 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/064edc13-dccd-4cbd-bf35-3ca060ee81f5\",\r\n \"name\": \"064edc13-dccd-4cbd-bf35-3ca060ee81f5\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:46:16.0018558Z\",\r\n \"endTime\": \"2018-12-27T15:46:16.1425152Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/064edc13-dccd-4cbd-bf35-3ca060ee81f5?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wNjRlZGMxMy1kY2NkLTRjYmQtYmYzNS0zY2EwNjBlZTgxZjU/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ffa158ae-47cc-46ce-a5e4-da7e1bcc909c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "057140e9-4384-4783-be33-7e4f755fec4e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154646Z:057140e9-4384-4783-be33-7e4f755fec4e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:46:46 GMT" + ], + "Content-Length": [ + "333" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A46%3A16.121939Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByNameNotFound.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByNameNotFound.json new file mode 100644 index 000000000000..e83e629c9720 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByNameNotFound.json @@ -0,0 +1,848 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "384e408b-ec9f-42fd-b8dc-39f7e64ff37c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A38%3A06.2737173Z'\"" + ], + "x-ms-request-id": [ + "6c023cef-0589-499a-b856-9977f0ae1abf" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c7744da7-2a43-463a-b51f-a50ae73a6a20?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "2df91e6a-fa87-4f2d-981b-2edd78881cb7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153806Z:2df91e6a-fa87-4f2d-981b-2edd78881cb7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:38:05 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A38%3A06.2737173Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c7744da7-2a43-463a-b51f-a50ae73a6a20?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jNzc0NGRhNy0yYTQzLTQ2M2EtYjUxZi1hNTBhZTczYTZhMjA/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "69cf79f8-d347-4850-b1c8-72a7838e19bd" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "ee028400-89b1-4064-a225-cc6e48b32fd0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153836Z:ee028400-89b1-4064-a225-cc6e48b32fd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:38:36 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c7744da7-2a43-463a-b51f-a50ae73a6a20\",\r\n \"name\": \"c7744da7-2a43-463a-b51f-a50ae73a6a20\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:38:06.1218129Z\",\r\n \"endTime\": \"2018-12-27T15:38:06.5594105Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A38%3A06.6891075Z'\"" + ], + "x-ms-request-id": [ + "6e2eb501-47f6-4917-b8a3-13674298f175" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "71f22dda-2320-4f94-97fd-0a481ebc52b0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153837Z:71f22dda-2320-4f94-97fd-0a481ebc52b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:38:36 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A38%3A06.6891075Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "62728135-70cf-4c8b-97fc-bf79c1eab73b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A38%3A43.169451Z'\"" + ], + "x-ms-request-id": [ + "407dd7d6-3b60-4dab-804c-df90f688301b" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a90f6f44-bbec-4897-abdc-f65ac2bfaa8a?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "3cb13492-658c-4c5b-8330-d77107333f63" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153843Z:3cb13492-658c-4c5b-8330-d77107333f63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:38:42 GMT" + ], + "Content-Length": [ + "439" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A38%3A43.169451Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a90f6f44-bbec-4897-abdc-f65ac2bfaa8a?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9hOTBmNmY0NC1iYmVjLTQ4OTctYWJkYy1mNjVhYzJiZmFhOGE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5ccf1793-e9e0-4966-b602-3af629e1c63b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "071f3001-3784-4835-b297-ddf93b7ef413" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153913Z:071f3001-3784-4835-b297-ddf93b7ef413" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:39:13 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/a90f6f44-bbec-4897-abdc-f65ac2bfaa8a\",\r\n \"name\": \"a90f6f44-bbec-4897-abdc-f65ac2bfaa8a\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:38:43.0252886Z\",\r\n \"endTime\": \"2018-12-27T15:38:43.6503307Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A38%3A43.7830314Z'\"" + ], + "x-ms-request-id": [ + "b540dfce-d2e9-4c1f-8dff-74d838b9c921" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "7b47958a-6cd5-4755-a477-785c793761e2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153913Z:7b47958a-6cd5-4755-a477-785c793761e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:39:13 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A38%3A43.7830314Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"8803c384-b409-3f23-db16-93dd6f8aa28e\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b76763f4-ce7f-4a84-bee7-ddb2275483b3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "72878bd8-fc75-4307-9215-6be032dc06c9" + ], + "x-ms-correlation-request-id": [ + "72878bd8-fc75-4307-9215-6be032dc06c9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153919Z:72878bd8-fc75-4307-9215-6be032dc06c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:39:18 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "215" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1' under resource group 'sdk-tests-rg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a0089d1d-ad81-4fea-8cae-028220903765" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e16fe63b-841a-46ac-bf1c-9eb15d1a459f?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e16fe63b-841a-46ac-bf1c-9eb15d1a459f?api-version=2017-08-15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-request-id": [ + "6696ba61-02f1-4e42-9809-035725f72b5b" + ], + "x-ms-correlation-request-id": [ + "6696ba61-02f1-4e42-9809-035725f72b5b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153924Z:6696ba61-02f1-4e42-9809-035725f72b5b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:39:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e16fe63b-841a-46ac-bf1c-9eb15d1a459f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMTZmZTYzYi04NDFhLTQ2YWMtYmYxYy05ZWIxNWQxYTQ1OWY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0b481403-0e9f-42bb-97cd-14f6469274c7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "2a811ba3-06e7-41a9-8d0f-9cca4299c318" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153955Z:2a811ba3-06e7-41a9-8d0f-9cca4299c318" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:39:54 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e16fe63b-841a-46ac-bf1c-9eb15d1a459f\",\r\n \"name\": \"e16fe63b-841a-46ac-bf1c-9eb15d1a459f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:39:24.6084923Z\",\r\n \"endTime\": \"2018-12-27T15:39:28.0405939Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e16fe63b-841a-46ac-bf1c-9eb15d1a459f?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMTZmZTYzYi04NDFhLTQ2YWMtYmYxYy05ZWIxNWQxYTQ1OWY/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "740dc3ca-0eaa-4f52-b701-fdbc3b1d5c9c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "011a2c63-0177-479f-b153-d760e449de40" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153955Z:011a2c63-0177-479f-b153-d760e449de40" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:39:55 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A39%3A24.7505969Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"8803c384-b409-3f23-db16-93dd6f8aa28e\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "21794b8f-5737-45ca-bb8c-57b362c4efdd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/27d0999f-7cc9-4aaf-8dc0-97cc22841b9c?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/27d0999f-7cc9-4aaf-8dc0-97cc22841b9c?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "73c419b5-71d0-4453-a742-7efe7cff3244" + ], + "x-ms-correlation-request-id": [ + "73c419b5-71d0-4453-a742-7efe7cff3244" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153956Z:73c419b5-71d0-4453-a742-7efe7cff3244" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:39:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/27d0999f-7cc9-4aaf-8dc0-97cc22841b9c?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yN2QwOTk5Zi03Y2M5LTRhYWYtOGRjMC05N2NjMjI4NDFiOWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6df8142c-fa87-4691-ae87-17624bb3ab85" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "e05c74e4-5338-4d0a-af2b-8bd65f206fea" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154026Z:e05c74e4-5338-4d0a-af2b-8bd65f206fea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:40:26 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/27d0999f-7cc9-4aaf-8dc0-97cc22841b9c\",\r\n \"name\": \"27d0999f-7cc9-4aaf-8dc0-97cc22841b9c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:39:56.140024Z\",\r\n \"endTime\": \"2018-12-27T15:39:56.3431747Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/27d0999f-7cc9-4aaf-8dc0-97cc22841b9c?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8yN2QwOTk5Zi03Y2M5LTRhYWYtOGRjMC05N2NjMjI4NDFiOWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "34969fcc-9f34-41de-acb2-2cea4c7248d2" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "1286e11e-c343-4711-86cc-fd5a6b9f6dcc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154026Z:1286e11e-c343-4711-86cc-fd5a6b9f6dcc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:40:26 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A39%3A56.3153097Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByNamePoolNotFound.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByNamePoolNotFound.json new file mode 100644 index 000000000000..701f061dd747 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/GetVolumeByNamePoolNotFound.json @@ -0,0 +1,458 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "706abdda-70fb-4807-a823-9e840ee15dd3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A40%3A29.249317Z'\"" + ], + "x-ms-request-id": [ + "0e357925-2701-4560-8cfd-bc47f6e38182" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d7c7f61d-7adc-4123-bf13-45f62c8b1c3f?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "cc372820-297c-4668-8c44-d2536da958fe" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154029Z:cc372820-297c-4668-8c44-d2536da958fe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:40:28 GMT" + ], + "Content-Length": [ + "333" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A40%3A29.249317Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d7c7f61d-7adc-4123-bf13-45f62c8b1c3f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kN2M3ZjYxZC03YWRjLTQxMjMtYmYxMy00NWY2MmM4YjFjM2Y/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8f2aa1d1-f0dc-4499-bc46-d4e4a7a7dc5b" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "75301d36-d30c-4d2a-82cd-429b37ffe8c4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154100Z:75301d36-d30c-4d2a-82cd-429b37ffe8c4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:40:59 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/d7c7f61d-7adc-4123-bf13-45f62c8b1c3f\",\r\n \"name\": \"d7c7f61d-7adc-4123-bf13-45f62c8b1c3f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:40:29.0954522Z\",\r\n \"endTime\": \"2018-12-27T15:40:29.5329791Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A40%3A29.6617046Z'\"" + ], + "x-ms-request-id": [ + "bba00203-3b91-4f6e-b3b5-e2505c7b8681" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "34547790-0e63-409f-b6c5-13ea1b2e2325" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154100Z:34547790-0e63-409f-b6c5-13ea1b2e2325" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:41:00 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A40%3A29.6617046Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "227fa161-37c7-4fc7-b364-86a1d00edca6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "e87d1021-6396-4b46-a98d-df37c1474200" + ], + "x-ms-correlation-request-id": [ + "e87d1021-6396-4b46-a98d-df37c1474200" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154105Z:e87d1021-6396-4b46-a98d-df37c1474200" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:41:05 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "215" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1' under resource group 'sdk-tests-rg' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0880e4fa-d238-4577-b8f4-a580d771dc1f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e05dea82-07e8-4976-96bf-1c8b8aeccf29?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e05dea82-07e8-4976-96bf-1c8b8aeccf29?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "eed4d47a-b9f9-446e-b01d-4c44fd4c1c42" + ], + "x-ms-correlation-request-id": [ + "eed4d47a-b9f9-446e-b01d-4c44fd4c1c42" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154106Z:eed4d47a-b9f9-446e-b01d-4c44fd4c1c42" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:41:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e05dea82-07e8-4976-96bf-1c8b8aeccf29?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMDVkZWE4Mi0wN2U4LTQ5NzYtOTZiZi0xYzhiOGFlY2NmMjk/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "95ca282e-58ce-48c1-be44-ad8e64b23c21" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "1059de5b-757e-4160-ad46-6e56927e72b9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154136Z:1059de5b-757e-4160-ad46-6e56927e72b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:41:36 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e05dea82-07e8-4976-96bf-1c8b8aeccf29\",\r\n \"name\": \"e05dea82-07e8-4976-96bf-1c8b8aeccf29\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:41:06.3393679Z\",\r\n \"endTime\": \"2018-12-27T15:41:06.5112502Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e05dea82-07e8-4976-96bf-1c8b8aeccf29?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lMDVkZWE4Mi0wN2U4LTQ5NzYtOTZiZi0xYzhiOGFlY2NmMjk/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cb449c03-d871-4b27-bd3c-559f7a33efcd" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "20f8916c-b027-42dd-b15a-fe178612a826" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154136Z:20f8916c-b027-42dd-b15a-fe178612a826" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:41:36 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A41%3A06.4704903Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/ListVolumes.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/ListVolumes.json new file mode 100644 index 000000000000..1ec5901685b7 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/ListVolumes.json @@ -0,0 +1,1814 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9da739c0-a93e-4ac6-867a-90691a23b90b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A26%3A25.6060834Z'\"" + ], + "x-ms-request-id": [ + "dd70636b-6ea1-415e-bae4-f862ce8f23ea" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35e99f6c-abec-4717-be72-503e8a67edf4?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "413846ce-d52a-4496-85ed-05ee80b882e6" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152626Z:413846ce-d52a-4496-85ed-05ee80b882e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:26:25 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A26%3A25.6060834Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35e99f6c-abec-4717-be72-503e8a67edf4?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNWU5OWY2Yy1hYmVjLTQ3MTctYmU3Mi01MDNlOGE2N2VkZjQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "151d7af7-a1ca-4366-950a-7fe4fd55312e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "5ec9f2fd-ca89-440a-9f8c-7d12d7be49b4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152656Z:5ec9f2fd-ca89-440a-9f8c-7d12d7be49b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:26:55 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/35e99f6c-abec-4717-be72-503e8a67edf4\",\r\n \"name\": \"35e99f6c-abec-4717-be72-503e8a67edf4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:26:25.4100729Z\",\r\n \"endTime\": \"2018-12-27T15:26:25.9100899Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A26%3A26.1055549Z'\"" + ], + "x-ms-request-id": [ + "63d08bb5-932b-46f1-b1d3-45511d84e8ee" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "da286cc2-dbca-4fef-bd1c-687534452d22" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152656Z:da286cc2-dbca-4fef-bd1c-687534452d22" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:26:55 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A26%3A26.1055549Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f7395b28-6d42-4292-88b9-1e7bedac0b57" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A27%3A02.4187445Z'\"" + ], + "x-ms-request-id": [ + "8e24fcdf-995b-4b2e-b3c2-1a53c67bce87" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7d0432f1-4d5a-41ad-9a10-aa6c73a3c531?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "3349292d-0b9d-4bea-943d-dc62de90234b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152702Z:3349292d-0b9d-4bea-943d-dc62de90234b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:27:02 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A27%3A02.4187445Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7d0432f1-4d5a-41ad-9a10-aa6c73a3c531?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83ZDA0MzJmMS00ZDVhLTQxYWQtOWExMC1hYTZjNzNhM2M1MzE/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e4aea769-909b-4ba9-97d2-b343f1119a17" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "e8e8a258-776d-4e45-a6e6-d3e8be3a0352" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152733Z:e8e8a258-776d-4e45-a6e6-d3e8be3a0352" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:27:32 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7d0432f1-4d5a-41ad-9a10-aa6c73a3c531\",\r\n \"name\": \"7d0432f1-4d5a-41ad-9a10-aa6c73a3c531\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:27:02.2588247Z\",\r\n \"endTime\": \"2018-12-27T15:27:02.9379543Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A27%3A03.0713613Z'\"" + ], + "x-ms-request-id": [ + "8e1216ce-80b8-456a-9cb4-4a9e5cffb710" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "36103b16-7a61-452b-ba35-3fa2a55377c2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152733Z:36103b16-7a61-452b-ba35-3fa2a55377c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:27:33 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A27%3A03.0713613Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"19d3adff-5af3-8866-bf40-ff482daf9042\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a09d3814-33f4-44be-893e-f9ee93679a72" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A27%3A40.6247219Z'\"" + ], + "x-ms-request-id": [ + "bea03bd2-bdf0-4d23-9331-840d63931e85" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01cf65ef-7bf7-45a5-a1cd-92cceedfe77d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "328395b9-a7a2-4216-946a-7661d593a9b2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152740Z:328395b9-a7a2-4216-946a-7661d593a9b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:27:40 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A27%3A40.6247219Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01cf65ef-7bf7-45a5-a1cd-92cceedfe77d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wMWNmNjVlZi03YmY3LTQ1YTUtYTFjZC05MmNjZWVkZmU3N2Q/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0821e4b7-b69e-4043-8de7-64220a855ff0" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "e05f944b-7332-42bb-bfb6-f070ca85fc6a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152811Z:e05f944b-7332-42bb-bfb6-f070ca85fc6a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:28:10 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01cf65ef-7bf7-45a5-a1cd-92cceedfe77d\",\r\n \"name\": \"01cf65ef-7bf7-45a5-a1cd-92cceedfe77d\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T15:27:40.4965374Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01cf65ef-7bf7-45a5-a1cd-92cceedfe77d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wMWNmNjVlZi03YmY3LTQ1YTUtYTFjZC05MmNjZWVkZmU3N2Q/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "37d9ef98-dca5-49a6-af20-1b12d65bc4c7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "7cd3bdca-09e1-4ae9-ad67-729298a372fc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152841Z:7cd3bdca-09e1-4ae9-ad67-729298a372fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:28:41 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01cf65ef-7bf7-45a5-a1cd-92cceedfe77d\",\r\n \"name\": \"01cf65ef-7bf7-45a5-a1cd-92cceedfe77d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:27:40.4965374Z\",\r\n \"endTime\": \"2018-12-27T15:28:15.2001118Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A28%3A15.235312Z'\"" + ], + "x-ms-request-id": [ + "4b03a729-0904-4a41-88e2-fb4e9ea6a9c4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "dac86c15-5a9b-449c-b5ac-bf9b5a0ecc44" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152841Z:dac86c15-5a9b-449c-b5ac-bf9b5a0ecc44" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:28:41 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A28%3A15.235312Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"077b0914-2534-b932-8ca0-768dac65b667\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_f050f033\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"051f9cb7-421f-2665-f1b9-6d2a219d026e\",\r\n \"fileSystemId\": \"077b0914-2534-b932-8ca0-768dac65b667\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wyP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol2\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bbb0909f-afff-4efd-bb9d-c0ecc315c0b0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A28%3A49.7117794Z'\"" + ], + "x-ms-request-id": [ + "497bc82c-013a-4e53-a0ed-d68f03018d06" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e986371d-b24e-4c12-b37b-02671ce082f2?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "0439d355-2a9c-486f-8ce4-bad106bf0dbe" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152850Z:0439d355-2a9c-486f-8ce4-bad106bf0dbe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:28:49 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A28%3A49.7117794Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol2\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e986371d-b24e-4c12-b37b-02671ce082f2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9lOTg2MzcxZC1iMjRlLTRjMTItYjM3Yi0wMjY3MWNlMDgyZjI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9f50d7d7-5484-4cf1-82c5-941a02b2c31f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "5f4b9434-ad43-4487-a12a-de9f9b2acea0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152920Z:5f4b9434-ad43-4487-a12a-de9f9b2acea0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:29:20 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/e986371d-b24e-4c12-b37b-02671ce082f2\",\r\n \"name\": \"e986371d-b24e-4c12-b37b-02671ce082f2\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:28:49.5665234Z\",\r\n \"endTime\": \"2018-12-27T15:29:05.8522884Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wyP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A29%3A05.8860042Z'\"" + ], + "x-ms-request-id": [ + "db7c1c3a-ac2a-480c-934b-a3d624931b33" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "7fad8da1-766f-4bda-a283-6d47d94621bc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152920Z:7fad8da1-766f-4bda-a283-6d47d94621bc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:29:20 GMT" + ], + "Content-Length": [ + "1393" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A29%3A05.8860042Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"8f6963de-8766-8646-ae07-24690b9336d0\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol2\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_f050f033\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"6a1a0608-aa8e-e845-2b4f-e7c8a71c753a\",\r\n \"fileSystemId\": \"8f6963de-8766-8646-ae07-24690b9336d0\",\r\n \"startIp\": \"10.3.0.64\",\r\n \"endIp\": \"10.3.0.127\",\r\n \"gateway\": \"10.3.0.65\",\r\n \"netmask\": \"255.255.255.192\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fd1a408f-2020-4470-9934-c19098a58e44" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1f375452-0057-4015-b49b-7a8791d14c73" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "e2cc6ae9-96be-42dd-9275-5eb1d899f171" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152925Z:e2cc6ae9-96be-42dd-9275-5eb1d899f171" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:29:25 GMT" + ], + "Content-Length": [ + "2795" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A28%3A15.235312Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"077b0914-2534-b932-8ca0-768dac65b667\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_f050f033\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"051f9cb7-421f-2665-f1b9-6d2a219d026e\",\r\n \"fileSystemId\": \"077b0914-2534-b932-8ca0-768dac65b667\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A29%3A05.8860042Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"8f6963de-8766-8646-ae07-24690b9336d0\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol2\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_f050f033\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"6a1a0608-aa8e-e845-2b4f-e7c8a71c753a\",\r\n \"fileSystemId\": \"8f6963de-8766-8646-ae07-24690b9336d0\",\r\n \"startIp\": \"10.3.0.64\",\r\n \"endIp\": \"10.3.0.127\",\r\n \"gateway\": \"10.3.0.65\",\r\n \"netmask\": \"255.255.255.192\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0b82dbaa-9e21-4fc8-b1e7-da15d7e3711d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/340695f9-1679-472d-ae75-77fdf56c0d6c?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/340695f9-1679-472d-ae75-77fdf56c0d6c?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "4ebf459d-dee9-4d78-953f-62a13e2741c7" + ], + "x-ms-correlation-request-id": [ + "4ebf459d-dee9-4d78-953f-62a13e2741c7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T152931Z:4ebf459d-dee9-4d78-953f-62a13e2741c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:29:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/340695f9-1679-472d-ae75-77fdf56c0d6c?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNDA2OTVmOS0xNjc5LTQ3MmQtYWU3NS03N2ZkZjU2YzBkNmM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "17c0e6ed-bc40-49a3-9b87-454c2c38caec" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "444c74e9-c066-40e3-b50b-85c65e6405eb" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153001Z:444c74e9-c066-40e3-b50b-85c65e6405eb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:30:01 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/340695f9-1679-472d-ae75-77fdf56c0d6c\",\r\n \"name\": \"340695f9-1679-472d-ae75-77fdf56c0d6c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:29:31.3984457Z\",\r\n \"endTime\": \"2018-12-27T15:29:36.1130685Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/340695f9-1679-472d-ae75-77fdf56c0d6c?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zNDA2OTVmOS0xNjc5LTQ3MmQtYWU3NS03N2ZkZjU2YzBkNmM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "661ae26b-3236-4383-a06e-dec5dcc39424" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "bb92aff3-dd79-41e6-99f3-140f857049b3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153002Z:bb92aff3-dd79-41e6-99f3-140f857049b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:30:02 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A29%3A31.5279346Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"077b0914-2534-b932-8ca0-768dac65b667\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_f050f033\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"051f9cb7-421f-2665-f1b9-6d2a219d026e\",\r\n \"fileSystemId\": \"077b0914-2534-b932-8ca0-768dac65b667\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol2?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wyP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "31d5c0e7-bcda-4440-91b3-069924f1cbb2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "6685b026-053f-4da2-a810-82070a84b37a" + ], + "x-ms-correlation-request-id": [ + "6685b026-053f-4da2-a810-82070a84b37a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153008Z:6685b026-053f-4da2-a810-82070a84b37a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:30:07 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zZGRmMjI2MC1lOWI4LTQzMGQtYTVlNi03MGYwNjA1ZDAxZDQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "58357edc-79dc-4736-9829-d10d155a5a8c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "fda0a057-5b75-4f3f-8646-8e239c1f18b7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153038Z:fda0a057-5b75-4f3f-8646-8e239c1f18b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:30:37 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4\",\r\n \"name\": \"3ddf2260-e9b8-430d-a5e6-70f0605d01d4\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:30:07.7812815Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zZGRmMjI2MC1lOWI4LTQzMGQtYTVlNi03MGYwNjA1ZDAxZDQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b40a0fbe-ddb4-4641-95d8-b49a53061411" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "b987ad92-05c6-413d-ac14-53c271416637" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153108Z:b987ad92-05c6-413d-ac14-53c271416637" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:31:08 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4\",\r\n \"name\": \"3ddf2260-e9b8-430d-a5e6-70f0605d01d4\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:30:07.7812815Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zZGRmMjI2MC1lOWI4LTQzMGQtYTVlNi03MGYwNjA1ZDAxZDQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0392ad89-8d15-4d1c-b5e4-d530a27a5bd7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "67d37dcd-bc0c-4f4a-ad44-70b00c034c3a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153139Z:67d37dcd-bc0c-4f4a-ad44-70b00c034c3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:31:38 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4\",\r\n \"name\": \"3ddf2260-e9b8-430d-a5e6-70f0605d01d4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:30:07.7812815Z\",\r\n \"endTime\": \"2018-12-27T15:31:23.8583927Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3ddf2260-e9b8-430d-a5e6-70f0605d01d4?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zZGRmMjI2MC1lOWI4LTQzMGQtYTVlNi03MGYwNjA1ZDAxZDQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7cd65479-afba-4b66-80d9-60f201b250f4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "c7b4cca9-096a-470f-ba16-cf646ecdb41c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153139Z:c7b4cca9-096a-470f-ba16-cf646ecdb41c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:31:39 GMT" + ], + "Content-Length": [ + "1392" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol2\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol2\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A30%3A08.0670353Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"8f6963de-8766-8646-ae07-24690b9336d0\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol2\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_f050f033\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"6a1a0608-aa8e-e845-2b4f-e7c8a71c753a\",\r\n \"fileSystemId\": \"8f6963de-8766-8646-ae07-24690b9336d0\",\r\n \"startIp\": \"10.3.0.64\",\r\n \"endIp\": \"10.3.0.127\",\r\n \"gateway\": \"10.3.0.65\",\r\n \"netmask\": \"255.255.255.192\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0409b63a-c977-4ab7-9e59-13063fb32800" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7397a0cb-df68-4487-bab9-990d2529ef0d?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7397a0cb-df68-4487-bab9-990d2529ef0d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "da97dc6a-a8ac-4fee-988c-3792d1a2de04" + ], + "x-ms-correlation-request-id": [ + "da97dc6a-a8ac-4fee-988c-3792d1a2de04" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153145Z:da97dc6a-a8ac-4fee-988c-3792d1a2de04" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:31:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7397a0cb-df68-4487-bab9-990d2529ef0d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83Mzk3YTBjYi1kZjY4LTQ0ODctYmFiOS05OTBkMjUyOWVmMGQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0bd91454-81c0-429a-ae58-72e439623eb1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "1d02a590-22a8-4d0c-ac52-300c8aa7aca4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153215Z:1d02a590-22a8-4d0c-ac52-300c8aa7aca4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:32:15 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7397a0cb-df68-4487-bab9-990d2529ef0d\",\r\n \"name\": \"7397a0cb-df68-4487-bab9-990d2529ef0d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:31:45.4132177Z\",\r\n \"endTime\": \"2018-12-27T15:31:48.9289049Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7397a0cb-df68-4487-bab9-990d2529ef0d?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83Mzk3YTBjYi1kZjY4LTQ0ODctYmFiOS05OTBkMjUyOWVmMGQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8147a5af-c28e-437d-86b6-88a3d310dfe4" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "6e9b5d98-e004-400f-9152-5b3f0b9084d3" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153216Z:6e9b5d98-e004-400f-9152-5b3f0b9084d3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:32:15 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A31%3A45.6453973Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"19d3adff-5af3-8866-bf40-ff482daf9042\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a74dd8f3-ec67-49f2-8d44-f5798fa20e5b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3fecdbd5-1554-47aa-b6ac-2c538ee225de?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3fecdbd5-1554-47aa-b6ac-2c538ee225de?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "5f971d6d-9f28-4725-b7ab-30ad21ec1f6f" + ], + "x-ms-correlation-request-id": [ + "5f971d6d-9f28-4725-b7ab-30ad21ec1f6f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153216Z:5f971d6d-9f28-4725-b7ab-30ad21ec1f6f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:32:16 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3fecdbd5-1554-47aa-b6ac-2c538ee225de?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zZmVjZGJkNS0xNTU0LTQ3YWEtYjZhYy0yYzUzOGVlMjI1ZGU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3dbda8ef-e2e8-4dbd-9a3e-20d02183e9e6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "e158cc5e-6165-4d71-96a5-8b17b2d8f0cd" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153247Z:e158cc5e-6165-4d71-96a5-8b17b2d8f0cd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:32:46 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3fecdbd5-1554-47aa-b6ac-2c538ee225de\",\r\n \"name\": \"3fecdbd5-1554-47aa-b6ac-2c538ee225de\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:32:16.561003Z\",\r\n \"endTime\": \"2018-12-27T15:32:16.8266228Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/3fecdbd5-1554-47aa-b6ac-2c538ee225de?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8zZmVjZGJkNS0xNTU0LTQ3YWEtYjZhYy0yYzUzOGVlMjI1ZGU/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "14c12b63-ec67-43cc-b0b3-6c62de70ff4c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "87f7fcb2-bdac-400f-a632-51dcea4cb385" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153247Z:87f7fcb2-bdac-400f-a632-51dcea4cb385" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:32:47 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A32%3A16.7927211Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/PatchVolume.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/PatchVolume.json new file mode 100644 index 000000000000..1784066fd1fd --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/PatchVolume.json @@ -0,0 +1,1433 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "880843ff-bcff-48a9-9226-80a86472ecfb" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A46%3A49.3469474Z'\"" + ], + "x-ms-request-id": [ + "3f7338e7-052b-4dad-87c0-8ee1b043d011" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7d5350e1-1089-4529-855c-306fa7872fd6?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "b775657d-f32c-4725-983c-079f55d64c17" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154649Z:b775657d-f32c-4725-983c-079f55d64c17" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:46:48 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A46%3A49.3469474Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7d5350e1-1089-4529-855c-306fa7872fd6?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83ZDUzNTBlMS0xMDg5LTQ1MjktODU1Yy0zMDZmYTc4NzJmZDY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9b5e9d6f-3d11-4a5a-8c4c-2266ab395ba5" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "ddf45cf5-8c1e-4059-9c6a-5197f24a4efd" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154719Z:ddf45cf5-8c1e-4059-9c6a-5197f24a4efd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:47:19 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7d5350e1-1089-4529-855c-306fa7872fd6\",\r\n \"name\": \"7d5350e1-1089-4529-855c-306fa7872fd6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:46:49.2120972Z\",\r\n \"endTime\": \"2018-12-27T15:46:49.633942Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A46%3A49.7583315Z'\"" + ], + "x-ms-request-id": [ + "d8f59337-a5b5-48b5-b4bb-7c7d88648e81" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "68e0f4bc-f224-46c0-bed8-167b5699574c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154720Z:68e0f4bc-f224-46c0-bed8-167b5699574c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:47:19 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A46%3A49.7583315Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9b3b0be7-b295-4bcf-8e5c-21b00367a9d0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A47%3A26.0703342Z'\"" + ], + "x-ms-request-id": [ + "5c9687f3-e311-44bd-8852-6bb5e6534add" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8ab394ee-4f16-4824-8e2d-7e73e09d94ac?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "7c793fa4-0785-4643-970a-bed39e9da59b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154726Z:7c793fa4-0785-4643-970a-bed39e9da59b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:47:26 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A47%3A26.0703342Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8ab394ee-4f16-4824-8e2d-7e73e09d94ac?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84YWIzOTRlZS00ZjE2LTQ4MjQtOGUyZC03ZTczZTA5ZDk0YWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "40f4da64-779a-485a-a146-d3c1216b1c61" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "390011b9-c12d-4e86-9023-a503ac6dc55e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154756Z:390011b9-c12d-4e86-9023-a503ac6dc55e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:47:56 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/8ab394ee-4f16-4824-8e2d-7e73e09d94ac\",\r\n \"name\": \"8ab394ee-4f16-4824-8e2d-7e73e09d94ac\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:47:25.9067428Z\",\r\n \"endTime\": \"2018-12-27T15:47:26.7034876Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A47%3A26.8350534Z'\"" + ], + "x-ms-request-id": [ + "fc4033f3-dc2e-4bd2-9378-0c0c9894884d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "ff902b7e-5f0e-4af3-8a7f-4cfa19cf70f2" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154757Z:ff902b7e-5f0e-4af3-8a7f-4cfa19cf70f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:47:57 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A47%3A26.8350534Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"9977fedf-b386-b83f-8833-66bee999509f\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "71335fac-1d37-48db-8e68-d1bc04b6f5a5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A48%3A04.6466495Z'\"" + ], + "x-ms-request-id": [ + "61a5127c-799a-4b79-9ed6-aeb67d83528a" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b703efec-50dc-453f-ae82-19979584d335?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "83e02104-34b3-4578-a35b-aee92127f305" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154805Z:83e02104-34b3-4578-a35b-aee92127f305" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:48:04 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A48%3A04.6466495Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b703efec-50dc-453f-ae82-19979584d335?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iNzAzZWZlYy01MGRjLTQ1M2YtYWU4Mi0xOTk3OTU4NGQzMzU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "af91f972-1f6c-43a3-a57e-d195d4364d3f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "8bc69698-3602-4da4-80f1-1b9d0dc7e96f" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154835Z:8bc69698-3602-4da4-80f1-1b9d0dc7e96f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:48:34 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b703efec-50dc-453f-ae82-19979584d335\",\r\n \"name\": \"b703efec-50dc-453f-ae82-19979584d335\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T15:48:04.4849133Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b703efec-50dc-453f-ae82-19979584d335?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9iNzAzZWZlYy01MGRjLTQ1M2YtYWU4Mi0xOTk3OTU4NGQzMzU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "91e0b2c8-b09e-4728-a4a0-b5020ff51e87" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "3c5359b3-371e-41e8-952a-796086d88976" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154905Z:3c5359b3-371e-41e8-952a-796086d88976" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:49:05 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/b703efec-50dc-453f-ae82-19979584d335\",\r\n \"name\": \"b703efec-50dc-453f-ae82-19979584d335\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:48:04.4849133Z\",\r\n \"endTime\": \"2018-12-27T15:48:42.1430065Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A48%3A42.174967Z'\"" + ], + "x-ms-request-id": [ + "96e9e3fe-957d-48b1-bc6b-3988f9bc25a1" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "0ca47c96-9135-49c9-9547-13343b5451ac" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154906Z:0ca47c96-9135-49c9-9547-13343b5451ac" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:49:06 GMT" + ], + "Content-Length": [ + "1389" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A48%3A42.174967Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"d73aaeb2-ba4d-cfc5-f180-154724d2eb9c\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_70dd7e30\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"7cd2bb2e-fa34-15aa-7a3e-ce3b5ebc3d40\",\r\n \"fileSystemId\": \"d73aaeb2-ba4d-cfc5-f180-154724d2eb9c\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"serviceLevel\": \"Standard\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "11b61aa2-df4f-43ae-b17a-ac03f2af98d0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "60" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A49%3A17.8035036Z'\"" + ], + "x-ms-request-id": [ + "1abac1eb-414b-40a9-9874-4a6a34ab3aa9" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "fe258bcf-8c47-4a8f-b40e-056a9d54fc74" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154917Z:fe258bcf-8c47-4a8f-b40e-056a9d54fc74" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:49:17 GMT" + ], + "Content-Length": [ + "1391" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A49%3A17.8035036Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"d73aaeb2-ba4d-cfc5-f180-154724d2eb9c\",\r\n \"serviceLevel\": \"Standard\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_70dd7e30\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"7cd2bb2e-fa34-15aa-7a3e-ce3b5ebc3d40\",\r\n \"fileSystemId\": \"d73aaeb2-ba4d-cfc5-f180-154724d2eb9c\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cc47eccd-a8df-4755-82d5-d9bfeda694a8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5c3be45c-89e2-4e93-9ba5-021156b0406d?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5c3be45c-89e2-4e93-9ba5-021156b0406d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "95a33652-1c2d-4a74-8fa1-8b8e8bf6d9de" + ], + "x-ms-correlation-request-id": [ + "95a33652-1c2d-4a74-8fa1-8b8e8bf6d9de" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154923Z:95a33652-1c2d-4a74-8fa1-8b8e8bf6d9de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:49:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5c3be45c-89e2-4e93-9ba5-021156b0406d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81YzNiZTQ1Yy04OWUyLTRlOTMtOWJhNS0wMjExNTZiMDQwNmQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "24f76dcf-6067-48a1-b6e4-c9e82729330e" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "2ac99b97-df23-4cf5-9306-d6e8ba8d9086" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T154953Z:2ac99b97-df23-4cf5-9306-d6e8ba8d9086" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:49:53 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5c3be45c-89e2-4e93-9ba5-021156b0406d\",\r\n \"name\": \"5c3be45c-89e2-4e93-9ba5-021156b0406d\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:49:23.2390086Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5c3be45c-89e2-4e93-9ba5-021156b0406d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81YzNiZTQ1Yy04OWUyLTRlOTMtOWJhNS0wMjExNTZiMDQwNmQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ee6a10b9-09a8-4346-baae-597c99d5684b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "acef4d0a-91c8-4323-9b3d-95b05fa349b0" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155023Z:acef4d0a-91c8-4323-9b3d-95b05fa349b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:50:22 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5c3be45c-89e2-4e93-9ba5-021156b0406d\",\r\n \"name\": \"5c3be45c-89e2-4e93-9ba5-021156b0406d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:49:23.2390086Z\",\r\n \"endTime\": \"2018-12-27T15:50:23.7840636Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/5c3be45c-89e2-4e93-9ba5-021156b0406d?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy81YzNiZTQ1Yy04OWUyLTRlOTMtOWJhNS0wMjExNTZiMDQwNmQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "35c9dab9-d6d7-40e1-8b3a-4a0292a61453" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "ad48c68c-0d1c-4ff0-bb83-ced2aea96523" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155024Z:ad48c68c-0d1c-4ff0-bb83-ced2aea96523" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:50:24 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A49%3A23.3277067Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n \"fileSystemId\": \"d73aaeb2-ba4d-cfc5-f180-154724d2eb9c\",\r\n \"serviceLevel\": \"Standard\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_70dd7e30\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"7cd2bb2e-fa34-15aa-7a3e-ce3b5ebc3d40\",\r\n \"fileSystemId\": \"d73aaeb2-ba4d-cfc5-f180-154724d2eb9c\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dcdf81c4-1a65-4b13-88aa-0b55bf1f7dc6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "9e01ed77-0e15-4c05-a1b9-7b836c86fc46" + ], + "x-ms-correlation-request-id": [ + "9e01ed77-0e15-4c05-a1b9-7b836c86fc46" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155030Z:9e01ed77-0e15-4c05-a1b9-7b836c86fc46" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:50:29 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "114" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"CannotDeleteResource\",\r\n \"message\": \"Can not delete resource before nested resources are deleted.\"\r\n }\r\n}", + "StatusCode": 409 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "98bb6185-250a-4f6e-94ea-584d2f0c020b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/83f3e466-ae8f-4830-a617-05eb7ae978c4?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/83f3e466-ae8f-4830-a617-05eb7ae978c4?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "d4b65d1b-d99c-42e4-b298-5f094aad1f09" + ], + "x-ms-correlation-request-id": [ + "d4b65d1b-d99c-42e4-b298-5f094aad1f09" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155035Z:d4b65d1b-d99c-42e4-b298-5f094aad1f09" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:50:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/83f3e466-ae8f-4830-a617-05eb7ae978c4?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84M2YzZTQ2Ni1hZThmLTQ4MzAtYTYxNy0wNWViN2FlOTc4YzQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9c2366e4-5221-41ef-92c8-9f8eda87865c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "8197b884-51ce-452e-a138-4cfc21625df9" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155105Z:8197b884-51ce-452e-a138-4cfc21625df9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:51:05 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/83f3e466-ae8f-4830-a617-05eb7ae978c4\",\r\n \"name\": \"83f3e466-ae8f-4830-a617-05eb7ae978c4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:50:35.5200532Z\",\r\n \"endTime\": \"2018-12-27T15:50:39.0177864Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/83f3e466-ae8f-4830-a617-05eb7ae978c4?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84M2YzZTQ2Ni1hZThmLTQ4MzAtYTYxNy0wNWViN2FlOTc4YzQ/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4528b847-48c9-4605-80a9-58b854dc745f" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "0fd313f5-b03e-4f7a-9b0a-dd532106d467" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155106Z:0fd313f5-b03e-4f7a-9b0a-dd532106d467" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:51:06 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A50%3A35.6687964Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"9977fedf-b386-b83f-8833-66bee999509f\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "add32c43-f191-40b1-8a80-e43e43a0aad8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bdd4015-9ce4-4844-bd5f-f6b5aede2832?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bdd4015-9ce4-4844-bd5f-f6b5aede2832?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "5b1fa58b-0855-472a-a47a-ccdd8534dce7" + ], + "x-ms-correlation-request-id": [ + "5b1fa58b-0855-472a-a47a-ccdd8534dce7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155106Z:5b1fa58b-0855-472a-a47a-ccdd8534dce7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:51:06 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bdd4015-9ce4-4844-bd5f-f6b5aede2832?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wYmRkNDAxNS05Y2U0LTQ4NDQtYmQ1Zi1mNmI1YWVkZTI4MzI/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "14aa0d85-e2b1-4335-8316-b435534ad41e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "ed8b02aa-1abe-4dac-b35a-8c2d5eab21af" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155137Z:ed8b02aa-1abe-4dac-b35a-8c2d5eab21af" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:51:36 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bdd4015-9ce4-4844-bd5f-f6b5aede2832\",\r\n \"name\": \"0bdd4015-9ce4-4844-bd5f-f6b5aede2832\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:51:06.6776418Z\",\r\n \"endTime\": \"2018-12-27T15:51:06.8969465Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/0bdd4015-9ce4-4844-bd5f-f6b5aede2832?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wYmRkNDAxNS05Y2U0LTQ4NDQtYmQ1Zi1mNmI1YWVkZTI4MzI/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "14453f7e-32d3-4957-9dc1-e4a0ab8d8cbc" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "73378467-29b4-443d-b56d-35dda3d63550" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T155137Z:73378467-29b4-443d-b56d-35dda3d63550" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:51:36 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A51%3A06.8731691Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/UpdateVolume.json b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/UpdateVolume.json new file mode 100644 index 000000000000..acecf8bb33c0 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.Tests/SessionRecords/NetApp.Tests.ResourceTests.VolumeTests/UpdateVolume.json @@ -0,0 +1,1433 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "828a89ad-77fd-4d3e-8b88-7bb40eca8d08" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A32%3A50.2892533Z'\"" + ], + "x-ms-request-id": [ + "be64fb57-3de3-49c4-b307-b782fdf51223" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dd46a7f6-e54e-4059-83f9-9da49700bb0f?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "da8b40d3-7478-4614-9489-9456c46c9785" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153250Z:da8b40d3-7478-4614-9489-9456c46c9785" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:32:50 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A32%3A50.2892533Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dd46a7f6-e54e-4059-83f9-9da49700bb0f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9kZDQ2YTdmNi1lNTRlLTQwNTktODNmOS05ZGE0OTcwMGJiMGY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5848eead-e4d6-43ae-a48a-014b4a3c3293" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "ad66a0a2-5548-49ac-b792-2b92fd626c60" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153320Z:ad66a0a2-5548-49ac-b792-2b92fd626c60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:33:20 GMT" + ], + "Content-Length": [ + "502" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/dd46a7f6-e54e-4059-83f9-9da49700bb0f\",\r\n \"name\": \"dd46a7f6-e54e-4059-83f9-9da49700bb0f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:32:50.1420617Z\",\r\n \"endTime\": \"2018-12-27T15:32:50.5645494Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A32%3A50.6916301Z'\"" + ], + "x-ms-request-id": [ + "29da6fba-79fa-4511-baa6-3ad5ddbb7864" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "0e197043-527c-41e2-8012-32271d712ddc" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153321Z:0e197043-527c-41e2-8012-32271d712ddc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:33:21 GMT" + ], + "Content-Length": [ + "335" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A32%3A50.6916301Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8335d46e-d159-43ef-aa87-56b46a8bdbc7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "112" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A33%3A27.0959026Z'\"" + ], + "x-ms-request-id": [ + "db739113-5d5b-4cad-b82d-18e914863670" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/86a8c025-8fdf-46de-8a75-4f7dca71de2f?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "d714f732-3b88-41f2-a4bb-c0db36636e32" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153327Z:d714f732-3b88-41f2-a4bb-c0db36636e32" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:33:27 GMT" + ], + "Content-Length": [ + "440" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A33%3A27.0959026Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"size\": 4398046511104,\r\n \"serviceLevel\": \"Premium\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/86a8c025-8fdf-46de-8a75-4f7dca71de2f?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy84NmE4YzAyNS04ZmRmLTQ2ZGUtOGE3NS00ZjdkY2E3MWRlMmY/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f1baf983-aa77-400e-a3a0-57a255bf95da" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "f2169e71-4c10-4486-8e9f-5da878d5a78a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153357Z:f2169e71-4c10-4486-8e9f-5da878d5a78a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:33:57 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/86a8c025-8fdf-46de-8a75-4f7dca71de2f\",\r\n \"name\": \"86a8c025-8fdf-46de-8a75-4f7dca71de2f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:33:26.9078873Z\",\r\n \"endTime\": \"2018-12-27T15:33:27.5870733Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A33%3A27.7244928Z'\"" + ], + "x-ms-request-id": [ + "75519c33-6382-4921-ae07-d6470d72fc8c" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "f24ce275-e139-437e-9bb8-bbd987bf4f7e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153358Z:f24ce275-e139-437e-9bb8-bbd987bf4f7e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:33:58 GMT" + ], + "Content-Length": [ + "529" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A33%3A27.7244928Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"c4c18de9-b66f-4954-a435-ca48ca94eccf\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a41c669c-5139-4498-a5e3-3bf099a8db9d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "339" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A34%3A05.6221731Z'\"" + ], + "x-ms-request-id": [ + "854f7a32-2e7b-499b-bd19-cc5f40536c2c" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/64f236a6-cf93-4f56-8dd8-de395c701468?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "7ae664e4-46fa-48fb-ae9a-38f58fbf0c31" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153406Z:7ae664e4-46fa-48fb-ae9a-38f58fbf0c31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:34:05 GMT" + ], + "Content-Length": [ + "699" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A34%3A05.6221731Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"provisioningState\": \"Creating\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"serviceLevel\": \"Standard\",\r\n \"usageThreshold\": 107374182400,\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "898823be-c788-40f4-bba2-09ffa142103d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "340" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A35%3A18.3726601Z'\"" + ], + "x-ms-request-id": [ + "5b80d715-140a-4813-acae-b7b9169de2a0" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "9f006028-48e0-4955-8fa8-9eed3db77963" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153518Z:9f006028-48e0-4955-8fa8-9eed3db77963" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:35:18 GMT" + ], + "Content-Length": [ + "1316" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A35%3A18.3726601Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"811d51d9-0dd2-2e60-450f-28d3e2c3836d\",\r\n \"serviceLevel\": \"Standard\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_babd763b\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"cd3a5e32-b59c-ed74-2574-d3f58e91abc4\",\r\n \"fileSystemId\": \"811d51d9-0dd2-2e60-450f-28d3e2c3836d\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/64f236a6-cf93-4f56-8dd8-de395c701468?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82NGYyMzZhNi1jZjkzLTRmNTYtOGRkOC1kZTM5NWM3MDE0Njg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "50c51129-26dc-47b7-b631-f4a5b487966d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "d8f98e21-b143-4f35-acc2-81934a33d945" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153436Z:d8f98e21-b143-4f35-acc2-81934a33d945" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:34:36 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/64f236a6-cf93-4f56-8dd8-de395c701468\",\r\n \"name\": \"64f236a6-cf93-4f56-8dd8-de395c701468\",\r\n \"status\": \"Creating\",\r\n \"startTime\": \"2018-12-27T15:34:05.4640258Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/64f236a6-cf93-4f56-8dd8-de395c701468?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy82NGYyMzZhNi1jZjkzLTRmNTYtOGRkOC1kZTM5NWM3MDE0Njg/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6f22f4a0-0399-4bc8-aea5-5ffa40380bc3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "a8093824-7d50-48e3-bce2-21a07e10e386" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153506Z:a8093824-7d50-48e3-bce2-21a07e10e386" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:35:05 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/64f236a6-cf93-4f56-8dd8-de395c701468\",\r\n \"name\": \"64f236a6-cf93-4f56-8dd8-de395c701468\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:34:05.4640258Z\",\r\n \"endTime\": \"2018-12-27T15:34:45.9140478Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"datetime'2018-12-27T15%3A34%3A45.9571437Z'\"" + ], + "x-ms-request-id": [ + "6764a572-305b-43c7-bc5f-b3b1158c302d" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "6b191a34-5e80-44a6-8c68-d6342c5c9c8a" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153507Z:6b191a34-5e80-44a6-8c68-d6342c5c9c8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:35:06 GMT" + ], + "Content-Length": [ + "1390" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A34%3A45.9571437Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"fileSystemId\": \"811d51d9-0dd2-2e60-450f-28d3e2c3836d\",\r\n \"serviceLevel\": \"Premium\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"usedBytes\": 0,\r\n \"snapshotPolicy\": {\r\n \"enabled\": false\r\n },\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"protocolTypes\": [\r\n \"NFSv3\"\r\n ],\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_babd763b\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"cd3a5e32-b59c-ed74-2574-d3f58e91abc4\",\r\n \"fileSystemId\": \"811d51d9-0dd2-2e60-450f-28d3e2c3836d\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/volumes/sdk-tests-vol1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMS92b2x1bWVzL3Nkay10ZXN0cy12b2wxP2FwaS12ZXJzaW9uPTIwMTctMDgtMTU=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e5d7f45e-991f-46fe-8226-eca230671232" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "0df389e7-8a32-45e4-91f3-5cab69f5c96d" + ], + "x-ms-correlation-request-id": [ + "0df389e7-8a32-45e4-91f3-5cab69f5c96d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153524Z:0df389e7-8a32-45e4-91f3-5cab69f5c96d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:35:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jNDM3ZWUwMi04NGU5LTRmOGYtYWI2Ny05ZGFkNTJkNDUzZGU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8caa6e6a-a6af-421f-8182-f604fdd04667" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "bbba796c-6ba4-4231-bbe4-cbc857cb120d" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153554Z:bbba796c-6ba4-4231-bbe4-cbc857cb120d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:35:53 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de\",\r\n \"name\": \"c437ee02-84e9-4f8f-ab67-9dad52d453de\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:35:24.1374233Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jNDM3ZWUwMi04NGU5LTRmOGYtYWI2Ny05ZGFkNTJkNDUzZGU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "99c049a2-a031-49c7-9faa-86e95c1fcd63" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "c67558c2-d1b3-4862-a9ec-a76ee25e0d5e" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153624Z:c67558c2-d1b3-4862-a9ec-a76ee25e0d5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:36:23 GMT" + ], + "Content-Length": [ + "544" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de\",\r\n \"name\": \"c437ee02-84e9-4f8f-ab67-9dad52d453de\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2018-12-27T15:35:24.1374233Z\",\r\n \"endTime\": \"0001-01-01T00:00:00Z\",\r\n \"percentComplete\": 0.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jNDM3ZWUwMi04NGU5LTRmOGYtYWI2Ny05ZGFkNTJkNDUzZGU/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b3b8a244-107c-4b49-8d3e-46ded226c730" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "95973726-5c44-45dd-97b0-16b1b1f27fa7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153655Z:95973726-5c44-45dd-97b0-16b1b1f27fa7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:36:54 GMT" + ], + "Content-Length": [ + "555" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de\",\r\n \"name\": \"c437ee02-84e9-4f8f-ab67-9dad52d453de\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:35:24.1374233Z\",\r\n \"endTime\": \"2018-12-27T15:36:26.4952985Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/c437ee02-84e9-4f8f-ab67-9dad52d453de?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy9jNDM3ZWUwMi04NGU5LTRmOGYtYWI2Ny05ZGFkNTJkNDUzZGU/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "02021781-584c-48bf-8ea8-e2c069f8ce86" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "78686942-a3ad-42d6-97e4-cdcf86e27761" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153655Z:78686942-a3ad-42d6-97e4-cdcf86e27761" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:36:55 GMT" + ], + "Content-Length": [ + "1315" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1/Volumes/sdk-tests-vol1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1/sdk-tests-vol1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools/Volumes\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A35%3A24.2121563Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"fileSystemId\": \"811d51d9-0dd2-2e60-450f-28d3e2c3836d\",\r\n \"serviceLevel\": \"Standard\",\r\n \"creationToken\": \"sdk-tests-vol1\",\r\n \"ownerId\": \"87508582-e469-40f1-98ca-0fff2e789f31\",\r\n \"usageThreshold\": 107374182400,\r\n \"exportPolicy\": {\r\n \"rules\": [\r\n {\r\n \"ruleIndex\": 1,\r\n \"unixReadOnly\": false,\r\n \"unixReadWrite\": true,\r\n \"cifs\": false,\r\n \"nfsv3\": true,\r\n \"nfsv4\": false,\r\n \"allowedClients\": \"0.0.0.0/0\"\r\n }\r\n ]\r\n },\r\n \"baremetalTenantId\": \"baremetalTenant_svm_87508582e46940f198ca0fff2e789f31_babd763b\",\r\n \"subnetId\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-tests-rg-vnet/subnets/default\",\r\n \"mountTargets\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"mountTargetId\": \"cd3a5e32-b59c-ed74-2574-d3f58e91abc4\",\r\n \"fileSystemId\": \"811d51d9-0dd2-2e60-450f-28d3e2c3836d\",\r\n \"startIp\": \"10.1.10.4\",\r\n \"endIp\": \"10.1.10.4\",\r\n \"gateway\": \"10.1.10.1\",\r\n \"netmask\": \"255.255.255.0\",\r\n \"ipAddress\": \"10.1.10.4\"\r\n }\r\n ],\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMS9jYXBhY2l0eVBvb2xzL3Nkay10ZXN0cy1wb29sMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2e44d31c-2609-49a0-bad0-fd96f252575e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b980bd2-69e4-42e8-aa79-dd5369a4987d?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b980bd2-69e4-42e8-aa79-dd5369a4987d?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "a75d5e59-5099-47ee-8c55-ccc90b38156c" + ], + "x-ms-correlation-request-id": [ + "a75d5e59-5099-47ee-8c55-ccc90b38156c" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153701Z:a75d5e59-5099-47ee-8c55-ccc90b38156c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:37:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b980bd2-69e4-42e8-aa79-dd5369a4987d?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83Yjk4MGJkMi02OWU0LTQyZTgtYWE3OS1kZDUzNjlhNDk4N2Q/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ffd101bc-e779-43f6-b16b-b47b1b2a18cd" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "ea3310ac-f758-422c-bd54-73155b5507c7" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153731Z:ea3310ac-f758-422c-bd54-73155b5507c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:37:31 GMT" + ], + "Content-Length": [ + "532" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b980bd2-69e4-42e8-aa79-dd5369a4987d\",\r\n \"name\": \"7b980bd2-69e4-42e8-aa79-dd5369a4987d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:37:01.4225308Z\",\r\n \"endTime\": \"2018-12-27T15:37:04.9442387Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/7b980bd2-69e4-42e8-aa79-dd5369a4987d?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy83Yjk4MGJkMi02OWU0LTQyZTgtYWE3OS1kZDUzNjlhNDk4N2Q/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "38170a50-62a7-40c1-920a-8e37c76a3cb8" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "0c5364f9-3733-4368-a4e7-9fb3e53b9ce4" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153732Z:0c5364f9-3733-4368-a4e7-9fb3e53b9ce4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:37:31 GMT" + ], + "Content-Length": [ + "528" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1/capacityPools/sdk-tests-pool1\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts/capacityPools\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A37%3A01.6348662Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"poolId\": \"c4c18de9-b66f-4954-a435-ca48ca94eccf\",\r\n \"name\": \"sdk-tests-acc1/sdk-tests-pool1\",\r\n \"serviceLevel\": \"Premium\",\r\n \"size\": 4398046511104,\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Jlc291cmNlR3JvdXBzL3Nkay10ZXN0cy1yZy9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldEFwcC9uZXRBcHBBY2NvdW50cy9zZGstdGVzdHMtYWNjMT9hcGktdmVyc2lvbj0yMDE3LTA4LTE1", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "06a51708-4305-4151-ade2-f77095349048" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01adca2a-579e-4a61-938d-2e6363f8165c?api-version=2017-08-15&operationResultResponseType=Location" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01adca2a-579e-4a61-938d-2e6363f8165c?api-version=2017-08-15" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-request-id": [ + "876956d5-42f4-4ab9-8499-9425a75b3380" + ], + "x-ms-correlation-request-id": [ + "876956d5-42f4-4ab9-8499-9425a75b3380" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153732Z:876956d5-42f4-4ab9-8499-9425a75b3380" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:37:32 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01adca2a-579e-4a61-938d-2e6363f8165c?api-version=2017-08-15", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wMWFkY2EyYS01NzllLTRhNjEtOTM4ZC0yZTYzNjNmODE2NWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "182ebd48-c3de-41a9-bcb9-454190e01dfc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-correlation-request-id": [ + "fd302b76-4fa9-4d08-b2af-97c88302606b" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153803Z:fd302b76-4fa9-4d08-b2af-97c88302606b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:38:02 GMT" + ], + "Content-Length": [ + "501" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01adca2a-579e-4a61-938d-2e6363f8165c\",\r\n \"name\": \"01adca2a-579e-4a61-938d-2e6363f8165c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-12-27T15:37:32.5733108Z\",\r\n \"endTime\": \"2018-12-27T15:37:32.807735Z\",\r\n \"percentComplete\": 100.0,\r\n \"properties\": {\r\n \"resourceName\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/providers/Microsoft.NetApp/locations/eastus/operationResults/01adca2a-579e-4a61-938d-2e6363f8165c?api-version=2017-08-15&operationResultResponseType=Location", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDY2MWIxMzEtNGExMS00NzliLTk2YmYtMmY5NWFjY2EyZjczL3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0QXBwL2xvY2F0aW9ucy9lYXN0dXMvb3BlcmF0aW9uUmVzdWx0cy8wMWFkY2EyYS01NzllLTRhNjEtOTM4ZC0yZTYzNjNmODE2NWM/YXBpLXZlcnNpb249MjAxNy0wOC0xNSZvcGVyYXRpb25SZXN1bHRSZXNwb25zZVR5cGU9TG9jYXRpb24=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27019.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.16299.", + "Microsoft.Azure.Management.NetApp.AzureNetAppFilesManagementClient/0.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d8c1be51-ee35-4b56-a1b4-a0ea2c2215c7" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "8c9b6a7c-b7ba-40a4-9c65-2045e12e1d87" + ], + "x-ms-routing-request-id": [ + "UKSOUTH2:20181227T153803Z:8c9b6a7c-b7ba-40a4-9c65-2045e12e1d87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 27 Dec 2018 15:38:03 GMT" + ], + "Content-Length": [ + "334" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/0661b131-4a11-479b-96bf-2f95acca2f73/resourceGroups/sdk-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-tests-acc1\",\r\n \"name\": \"sdk-tests-acc1\",\r\n \"type\": \"Microsoft.NetApp/netAppAccounts\",\r\n \"etag\": \"W/\\\"datetime'2018-12-27T15%3A37%3A32.7491597Z'\\\"\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n}", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "0661b131-4a11-479b-96bf-2f95acca2f73" + } +} \ No newline at end of file diff --git a/src/SDKs/NetApp/NetApp.sln b/src/SDKs/NetApp/NetApp.sln new file mode 100644 index 000000000000..b17e46dcdda9 --- /dev/null +++ b/src/SDKs/NetApp/NetApp.sln @@ -0,0 +1,31 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28010.2046 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Management.NetApp", "Management.NetApp\Microsoft.Azure.Management.NetApp.csproj", "{7A7F0988-3199-4454-B75B-461D991788DA}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NetApp.Tests", "NetApp.Tests\NetApp.Tests.csproj", "{424A2AF7-27C3-4D1C-8555-3D4D82EE3DFA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7A7F0988-3199-4454-B75B-461D991788DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A7F0988-3199-4454-B75B-461D991788DA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A7F0988-3199-4454-B75B-461D991788DA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A7F0988-3199-4454-B75B-461D991788DA}.Release|Any CPU.Build.0 = Release|Any CPU + {424A2AF7-27C3-4D1C-8555-3D4D82EE3DFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {424A2AF7-27C3-4D1C-8555-3D4D82EE3DFA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {424A2AF7-27C3-4D1C-8555-3D4D82EE3DFA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {424A2AF7-27C3-4D1C-8555-3D4D82EE3DFA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6F6B0812-D86C-4668-AFB8-2FB70CD52581} + SolutionGuid = {AEBFD32C-E839-462C-9E20-0F6423C582B7} + EndGlobalSection +EndGlobal diff --git a/src/SDKs/_metadata/netapp_resource-manager.txt b/src/SDKs/_metadata/netapp_resource-manager.txt new file mode 100644 index 000000000000..86c2539cba74 --- /dev/null +++ b/src/SDKs/_metadata/netapp_resource-manager.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/netapp/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\development\github\azure-sdk-for-net\src\SDKs +2018-12-14 10:01:55 UTC +Azure-rest-api-specs repository information +GitHub fork: Azure +Branch: master +Commit: a5fd13fd813e416fc4500310537491482ad401b3 +AutoRest information +Requested version: latest +Bootstrapper version: autorest@2.0.4283