diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt
index 24150085be04f..ce83d075e00cd 100644
--- a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt
@@ -4,11 +4,11 @@ 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/sql/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=.
-2019-07-11 15:27:39 UTC
+2019-07-16 23:22:54 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: 808cfe2da58aa6f1d93bed748004dfb97268e6e3
+Commit: 6203666516223e8de80552d70c7157806a50f78b
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperations.cs
index 3547ef22c10e1..e0957584b94aa 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperations.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperations.cs
@@ -1521,6 +1521,32 @@ internal DatabasesOperations(SqlManagementClient client)
return _result;
}
+ ///
+ /// Failovers a database.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public async Task FailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ // Send request
+ AzureOperationResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, customHeaders, cancellationToken).ConfigureAwait(false);
+ return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
+ }
+
///
/// Imports a bacpac into a new database.
///
@@ -3414,6 +3440,189 @@ internal DatabasesOperations(SqlManagementClient client)
return _result;
}
+ ///
+ /// Failovers a database.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ ///
+ /// 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 BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (serverName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "serverName");
+ }
+ if (databaseName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "databaseName");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ string apiVersion = "2018-06-01-preview";
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("serverName", serverName);
+ tracingParameters.Add("databaseName", databaseName);
+ tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "BeginFailover", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/failover").ToString();
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName));
+ _url = _url.Replace("{databaseName}", System.Uri.EscapeDataString(databaseName));
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (apiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200 && (int)_statusCode != 202)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
///
/// Gets a list of databases.
///
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperationsExtensions.cs
index 379191f6dc607..05efc9b7afc18 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperationsExtensions.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperationsExtensions.cs
@@ -766,6 +766,51 @@ public static void Rename(this IDatabasesOperations operations, string resourceG
(await operations.RenameWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
}
+ ///
+ /// Failovers a database.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ public static void Failover(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName)
+ {
+ operations.FailoverAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Failovers a database.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task FailoverAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ (await operations.FailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ }
+
///
/// Imports a bacpac into a new database.
///
@@ -1218,6 +1263,51 @@ public static Database BeginResume(this IDatabasesOperations operations, string
}
}
+ ///
+ /// Failovers a database.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ public static void BeginFailover(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName)
+ {
+ operations.BeginFailoverAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Failovers a database.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task BeginFailoverAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ (await operations.BeginFailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ }
+
///
/// Gets a list of databases.
///
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperations.cs
index 356d963c213fa..59b55084f5557 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperations.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperations.cs
@@ -961,6 +961,32 @@ internal ElasticPoolsOperations(SqlManagementClient client)
return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
}
+ ///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public async Task FailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string elasticPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ // Send request
+ AzureOperationResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, serverName, elasticPoolName, customHeaders, cancellationToken).ConfigureAwait(false);
+ return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
+ }
+
///
/// Creates or updates an elastic pool.
///
@@ -1602,6 +1628,189 @@ internal ElasticPoolsOperations(SqlManagementClient client)
return _result;
}
+ ///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ ///
+ /// 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 BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string elasticPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (serverName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "serverName");
+ }
+ if (elasticPoolName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "elasticPoolName");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ string apiVersion = "2018-06-01-preview";
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("serverName", serverName);
+ tracingParameters.Add("elasticPoolName", elasticPoolName);
+ tracingParameters.Add("apiVersion", apiVersion);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "BeginFailover", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/elasticPools/{elasticPoolName}/failover").ToString();
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName));
+ _url = _url.Replace("{elasticPoolName}", System.Uri.EscapeDataString(elasticPoolName));
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (apiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200 && (int)_statusCode != 202)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
///
/// Gets all elastic pools in a server.
///
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperationsExtensions.cs
index 7890c2907e5c1..c7e88cca78b53 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperationsExtensions.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ElasticPoolsOperationsExtensions.cs
@@ -374,6 +374,51 @@ public static ElasticPool Update(this IElasticPoolsOperations operations, string
}
}
+ ///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ public static void Failover(this IElasticPoolsOperations operations, string resourceGroupName, string serverName, string elasticPoolName)
+ {
+ operations.FailoverAsync(resourceGroupName, serverName, elasticPoolName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task FailoverAsync(this IElasticPoolsOperations operations, string resourceGroupName, string serverName, string elasticPoolName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ (await operations.FailoverWithHttpMessagesAsync(resourceGroupName, serverName, elasticPoolName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ }
+
///
/// Creates or updates an elastic pool.
///
@@ -527,6 +572,51 @@ public static ElasticPool BeginUpdate(this IElasticPoolsOperations operations, s
}
}
+ ///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ public static void BeginFailover(this IElasticPoolsOperations operations, string resourceGroupName, string serverName, string elasticPoolName)
+ {
+ operations.BeginFailoverAsync(resourceGroupName, serverName, elasticPoolName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can obtain
+ /// this value from the Azure Resource Manager API or the portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task BeginFailoverAsync(this IElasticPoolsOperations operations, string resourceGroupName, string serverName, string elasticPoolName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ (await operations.BeginFailoverWithHttpMessagesAsync(resourceGroupName, serverName, elasticPoolName, null, cancellationToken).ConfigureAwait(false)).Dispose();
+ }
+
///
/// Gets all elastic pools in a server.
///
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IDatabasesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IDatabasesOperations.cs
index 22c5de0e6e03b..853fbd359c1ba 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IDatabasesOperations.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IDatabasesOperations.cs
@@ -482,6 +482,33 @@ public partial interface IDatabasesOperations
///
Task RenameWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ResourceMoveDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
+ /// Failovers a database.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can
+ /// obtain this value from the Azure Resource Manager API or the
+ /// portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ ///
+ /// 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 FailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
/// Imports a bacpac into a new database.
///
///
@@ -759,6 +786,33 @@ public partial interface IDatabasesOperations
///
Task> BeginResumeWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
+ /// Failovers a database.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can
+ /// obtain this value from the Azure Resource Manager API or the
+ /// portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the database to failover.
+ ///
+ ///
+ /// 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 BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
/// Gets a list of databases.
///
///
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IElasticPoolsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IElasticPoolsOperations.cs
index fded1d437cb53..baeaed569f925 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IElasticPoolsOperations.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IElasticPoolsOperations.cs
@@ -241,6 +241,33 @@ public partial interface IElasticPoolsOperations
///
Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string elasticPoolName, ElasticPoolUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can
+ /// obtain this value from the Azure Resource Manager API or the
+ /// portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ ///
+ /// 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 FailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string elasticPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
/// Creates or updates an elastic pool.
///
///
@@ -334,6 +361,33 @@ public partial interface IElasticPoolsOperations
///
Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string elasticPoolName, ElasticPoolUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
+ /// Failovers an elastic pool.
+ ///
+ ///
+ /// The name of the resource group that contains the resource. You can
+ /// obtain this value from the Azure Resource Manager API or the
+ /// portal.
+ ///
+ ///
+ /// The name of the server.
+ ///
+ ///
+ /// The name of the elastic pool to failover.
+ ///
+ ///
+ /// 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 BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string elasticPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
/// Gets all elastic pools in a server.
///
///
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SdkInfo_SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SdkInfo_SqlManagementClient.cs
index c7096f1dc5ad9..87f1e88056924 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SdkInfo_SqlManagementClient.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SdkInfo_SqlManagementClient.cs
@@ -34,11 +34,13 @@ public static IEnumerable> ApiInfo_SqlManagementCl
new Tuple("Sql", "DatabaseVulnerabilityAssessments", "2017-03-01-preview"),
new Tuple("Sql", "Databases", "2014-04-01"),
new Tuple("Sql", "Databases", "2017-10-01-preview"),
+ new Tuple("Sql", "Databases", "2018-06-01-preview"),
new Tuple("Sql", "ElasticPoolActivities", "2014-04-01"),
new Tuple("Sql", "ElasticPoolDatabaseActivities", "2014-04-01"),
new Tuple("Sql", "ElasticPoolOperations", "2017-10-01-preview"),
new Tuple("Sql", "ElasticPools", "2014-04-01"),
new Tuple("Sql", "ElasticPools", "2017-10-01-preview"),
+ new Tuple("Sql", "ElasticPools", "2018-06-01-preview"),
new Tuple("Sql", "EncryptionProtectors", "2015-05-01-preview"),
new Tuple("Sql", "ExtendedDatabaseBlobAuditingPolicies", "2017-03-01-preview"),
new Tuple("Sql", "ExtendedServerBlobAuditingPolicies", "2017-03-01-preview"),
@@ -107,5 +109,16 @@ public static IEnumerable> ApiInfo_SqlManagementCl
}.AsEnumerable();
}
}
+ // BEGIN: Code Generation Metadata Section
+ public static readonly String AutoRestVersion = "latest";
+ public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
+ public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=.";
+ public static readonly String GithubForkName = "Azure";
+ public static readonly String GithubBranchName = "master";
+ public static readonly String GithubCommidId = "6203666516223e8de80552d70c7157806a50f78b";
+ public static readonly String CodeGenerationErrors = "";
+ public static readonly String GithubRepoName = "azure-rest-api-specs";
+ // END: Code Generation Metadata Section
}
}
+
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Microsoft.Azure.Management.Sql.csproj b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Microsoft.Azure.Management.Sql.csproj
index ea6a1259d9f35..0b2ced40cea76 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Microsoft.Azure.Management.Sql.csproj
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Microsoft.Azure.Management.Sql.csproj
@@ -7,14 +7,12 @@
Microsoft.Azure.Management.Sql
Azure SQL Management SDK library
Microsoft.Azure.Management.Sql
- 1.32.0-preview
+ 1.33.0-preview
Microsoft Azure SQL Management;SQL;SQL Management;
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs
index d82f08b367496..e48f1a75a2e4e 100644
--- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs
@@ -22,5 +22,5 @@
[assembly: AssemblyTitle("Microsoft Azure SQL Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure SQL.")]
[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.32.0.0")]
+[assembly: AssemblyFileVersion("1.33.0.0")]
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/FailoverTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/FailoverTests.cs
new file mode 100644
index 0000000000000..3c6ccbe42aac0
--- /dev/null
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/FailoverTests.cs
@@ -0,0 +1,78 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+using Microsoft.Azure.Management.ResourceManager;
+using Microsoft.Azure.Management.ResourceManager.Models;
+using Microsoft.Azure.Management.Sql;
+using Microsoft.Azure.Management.Sql.Models;
+using Microsoft.Rest.Azure;
+using System.Collections.Generic;
+using System.Net;
+using Xunit;
+
+namespace Sql.Tests
+{
+ public class FailoverTests
+ {
+ [Fact]
+ public void FailoverDatabase()
+ {
+ using (SqlManagementTestContext context = new SqlManagementTestContext(this))
+ {
+ ResourceGroup resourceGroup = context.CreateResourceGroup();
+ SqlManagementClient sqlClient = context.GetClient();
+ Server server = context.CreateServer(resourceGroup);
+
+ // Create database
+ string dbName = SqlManagementTestUtilities.GenerateName();
+ var dbInput = new Database()
+ {
+ Location = server.Location
+ };
+ var db = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, dbName, dbInput);
+ Assert.NotNull(db);
+
+ // Failover database
+ sqlClient.Databases.Failover(
+ resourceGroup.Name,
+ server.Name,
+ dbName);
+ }
+ }
+
+ [Fact]
+ public void FailoverElasticPool()
+ {
+ using (SqlManagementTestContext context = new SqlManagementTestContext(this))
+ {
+ ResourceGroup resourceGroup = context.CreateResourceGroup();
+ SqlManagementClient sqlClient = context.GetClient();
+ Server server = context.CreateServer(resourceGroup);
+
+ // Create elastic pool
+ string epName = SqlManagementTestUtilities.GenerateName();
+ var ep = sqlClient.ElasticPools.CreateOrUpdate(resourceGroup.Name, server.Name, epName, new ElasticPool()
+ {
+ Location = server.Location
+ });
+ Assert.NotNull(ep);
+
+ // Create database in elastic pool
+ string dbName = SqlManagementTestUtilities.GenerateName();
+ var dbInput = new Database()
+ {
+ Location = server.Location,
+ ElasticPoolId = ep.Id
+ };
+ var db = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, dbName, dbInput);
+ Assert.NotNull(db);
+
+ // Failover elastic pool
+ sqlClient.ElasticPools.Failover(
+ resourceGroup.Name,
+ server.Name,
+ epName);
+ }
+ }
+ }
+}
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.FailoverTests/FailoverDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.FailoverTests/FailoverDatabase.json
new file mode 100644
index 0000000000000..111a882dbe55a
--- /dev/null
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.FailoverTests/FailoverDatabase.json
@@ -0,0 +1,1084 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourcegroups/sqlcrudtest-2990?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI5OTA/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"East US 2\",\r\n \"tags\": {\r\n \"sqlcrudtest-2990\": \"2019-07-17 21:42:20Z\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9cdfe1ae-7d2e-4025-997c-ff87f8d64b70"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "eff0248a-42a8-4ecc-bab1-e73c93b52b69"
+ ],
+ "x-ms-correlation-request-id": [
+ "eff0248a-42a8-4ecc-bab1-e73c93b52b69"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214223Z:eff0248a-42a8-4ecc-bab1-e73c93b52b69"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:42:22 GMT"
+ ],
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990\",\r\n \"name\": \"sqlcrudtest-2990\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {\r\n \"sqlcrudtest-2990\": \"2019-07-17 21:42:20Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/servers/sqlcrudtest-1339?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzM5P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"East US 2\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ea28df1e-cadd-4e30-b2d4-53d73986f1ec"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "183"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverOperationResults/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview"
+ ],
+ "x-ms-request-id": [
+ "a71f7a05-55c1-4d39-bc35-70e8b8f75167"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "a51437c8-b686-48fa-b1bc-862a3098757b"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214225Z:a51437c8-b686-48fa-b1bc-862a3098757b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:42:25 GMT"
+ ],
+ "Content-Length": [
+ "74"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2019-07-17T21:42:24.787Z\"\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9hNzFmN2EwNS01NWMxLTRkMzktYmMzNS03MGU4YjhmNzUxNjc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "fb028e2c-b71f-418e-9e54-c83e65153fdc"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "677730a1-a5b8-41b1-a33b-9e9d856362e8"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214226Z:677730a1-a5b8-41b1-a33b-9e9d856362e8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:42:26 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"a71f7a05-55c1-4d39-bc35-70e8b8f75167\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:42:24.787Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9hNzFmN2EwNS01NWMxLTRkMzktYmMzNS03MGU4YjhmNzUxNjc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "6210488f-d810-43f2-9c25-82786ccde0e8"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "9bbf654f-8797-49d6-ad59-631f5559a0ce"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214227Z:9bbf654f-8797-49d6-ad59-631f5559a0ce"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:42:27 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"a71f7a05-55c1-4d39-bc35-70e8b8f75167\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:42:24.787Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9hNzFmN2EwNS01NWMxLTRkMzktYmMzNS03MGU4YjhmNzUxNjc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "616752c7-493a-4b78-a8e0-b72be2ff6a81"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "2aa12d34-be79-43d3-a83c-42b8e0002093"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214229Z:2aa12d34-be79-43d3-a83c-42b8e0002093"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:42:28 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"a71f7a05-55c1-4d39-bc35-70e8b8f75167\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:42:24.787Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9hNzFmN2EwNS01NWMxLTRkMzktYmMzNS03MGU4YjhmNzUxNjc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "20"
+ ],
+ "x-ms-request-id": [
+ "00f9fe98-4879-406f-af3a-41a7538fc3ed"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "8cceee6f-e2d3-405d-8941-e82861237cf9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214230Z:8cceee6f-e2d3-405d-8941-e82861237cf9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:42:30 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"a71f7a05-55c1-4d39-bc35-70e8b8f75167\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:42:24.787Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9hNzFmN2EwNS01NWMxLTRkMzktYmMzNS03MGU4YjhmNzUxNjc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "20"
+ ],
+ "x-ms-request-id": [
+ "06b38026-cbe2-4877-af14-09a40527afbb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-correlation-request-id": [
+ "0d1f53b3-38b6-42a0-a0a9-e8700ff558eb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214250Z:0d1f53b3-38b6-42a0-a0a9-e8700ff558eb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:42:50 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"a71f7a05-55c1-4d39-bc35-70e8b8f75167\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:42:24.787Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/a71f7a05-55c1-4d39-bc35-70e8b8f75167?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9hNzFmN2EwNS01NWMxLTRkMzktYmMzNS03MGU4YjhmNzUxNjc/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "5d8836d1-a82a-418d-9ef6-1b147a9a7380"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-correlation-request-id": [
+ "6cb718e7-c9ce-4229-84c6-242b15debf13"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214310Z:6cb718e7-c9ce-4229-84c6-242b15debf13"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:10 GMT"
+ ],
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"a71f7a05-55c1-4d39-bc35-70e8b8f75167\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-17T21:42:24.787Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/servers/sqlcrudtest-1339?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzM5P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "9d83cfe7-63e3-4e0d-a9f2-232c0d07bd42"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-correlation-request-id": [
+ "bd9a1d92-a6ca-4cd0-a83e-be9f8ec14af6"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214310Z:bd9a1d92-a6ca-4cd0-a83e-be9f8ec14af6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:10 GMT"
+ ],
+ "Content-Length": [
+ "393"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-1339.database.windows.net\"\r\n },\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/servers/sqlcrudtest-1339\",\r\n \"name\": \"sqlcrudtest-1339\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/servers/sqlcrudtest-1339/databases/sqlcrudtest-8664?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzM5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04NjY0P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"eastus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "04ef201b-23ff-4f15-8beb-d5546fbb1d95"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseOperationResults/2268a0d4-84c0-483b-ba54-192795af4cce?api-version=2017-10-01-preview"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseAzureAsyncOperation/2268a0d4-84c0-483b-ba54-192795af4cce?api-version=2017-10-01-preview"
+ ],
+ "x-ms-request-id": [
+ "2268a0d4-84c0-483b-ba54-192795af4cce"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "76a299e5-8b48-40a9-8938-69dd0a4dee96"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214311Z:76a299e5-8b48-40a9-8938-69dd0a4dee96"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:11 GMT"
+ ],
+ "Content-Length": [
+ "76"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-07-17T21:43:11.477Z\"\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseAzureAsyncOperation/2268a0d4-84c0-483b-ba54-192795af4cce?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzIyNjhhMGQ0LTg0YzAtNDgzYi1iYTU0LTE5Mjc5NWFmNGNjZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "4a1f9d4c-59f9-4077-9654-6ac2048ce25b"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-correlation-request-id": [
+ "74f64a52-77fa-4aaa-8ff9-83660e17c218"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214327Z:74f64a52-77fa-4aaa-8ff9-83660e17c218"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:26 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"2268a0d4-84c0-483b-ba54-192795af4cce\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:43:11.477Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseAzureAsyncOperation/2268a0d4-84c0-483b-ba54-192795af4cce?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzIyNjhhMGQ0LTg0YzAtNDgzYi1iYTU0LTE5Mjc5NWFmNGNjZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "6edd663d-d162-4459-9b04-e0e87ded0aab"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "x-ms-correlation-request-id": [
+ "95d3f063-ebd1-479e-af67-fb9b1ad0f980"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214342Z:95d3f063-ebd1-479e-af67-fb9b1ad0f980"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:41 GMT"
+ ],
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"2268a0d4-84c0-483b-ba54-192795af4cce\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-17T21:43:11.477Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/servers/sqlcrudtest-1339/databases/sqlcrudtest-8664?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzM5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04NjY0P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "96a72247-3d67-46c8-90b7-c35c7fb2383e"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-correlation-request-id": [
+ "c54b3d39-3b8c-4efb-9d3c-82cf5ffbbe72"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214342Z:c54b3d39-3b8c-4efb-9d3c-82cf5ffbbe72"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:41 GMT"
+ ],
+ "Content-Length": [
+ "994"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"53ab2f8a-6121-49b6-a554-595a5645244f\",\r\n \"creationDate\": \"2019-07-17T21:43:39.257Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"centralus\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2019-07-17T22:13:39.257Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n }\r\n },\r\n \"location\": \"eastus2\",\r\n \"id\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/servers/sqlcrudtest-1339/databases/sqlcrudtest-8664\",\r\n \"name\": \"sqlcrudtest-8664\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/servers/sqlcrudtest-1339/databases/sqlcrudtest-8664/failover?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xMzM5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04NjY0L2ZhaWxvdmVyP2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "40cc7610-c93a-4304-a822-96aa04d28de9"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseOperationResults/bc35db90-30f3-4de1-9472-49130511a90e?api-version=2018-06-01-preview"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseAzureAsyncOperation/bc35db90-30f3-4de1-9472-49130511a90e?api-version=2018-06-01-preview"
+ ],
+ "x-ms-request-id": [
+ "629ae330-1aa0-4f5c-abab-3a4bff9421c2"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "d840757f-c7c3-4fdb-af89-bf7c750b284c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214342Z:d840757f-c7c3-4fdb-af89-bf7c750b284c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:41 GMT"
+ ],
+ "Content-Length": [
+ "89"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"operation\": \"FailoverDatabaseOrElasticPoolAsync\",\r\n \"startTime\": \"2019-07-17T21:43:42.523Z\"\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseAzureAsyncOperation/bc35db90-30f3-4de1-9472-49130511a90e?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2JjMzVkYjkwLTMwZjMtNGRlMS05NDcyLTQ5MTMwNTExYTkwZT9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "43d012cf-d9e2-4b3e-a177-90ab91a206c7"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-correlation-request-id": [
+ "e7e6da35-c542-46e1-bdd9-92f1659ae4b0"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214357Z:e7e6da35-c542-46e1-bdd9-92f1659ae4b0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:57 GMT"
+ ],
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"bc35db90-30f3-4de1-9472-49130511a90e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-17T21:43:42.663Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-2990/providers/Microsoft.Sql/locations/eastus2/databaseOperationResults/bc35db90-30f3-4de1-9472-49130511a90e?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTI5OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzL2JjMzVkYjkwLTMwZjMtNGRlMS05NDcyLTQ5MTMwNTExYTkwZT9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "f26da750-5100-4e70-82ed-5d5a732fa117"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11988"
+ ],
+ "x-ms-correlation-request-id": [
+ "20c3050f-0472-42e1-a356-2c323b4dc432"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214358Z:20c3050f-0472-42e1-a356-2c323b4dc432"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:43:57 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourcegroups/sqlcrudtest-2990?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTI5OTA/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6b88f9bc-580f-43ce-9555-432262f96877"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDI5OTAtRUFTVFVTMiIsImpvYkxvY2F0aW9uIjoiZWFzdHVzMiJ9?api-version=2017-05-10"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "d122793b-5ae0-46da-b612-02c282b1f2d2"
+ ],
+ "x-ms-correlation-request-id": [
+ "d122793b-5ae0-46da-b612-02c282b1f2d2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214400Z:d122793b-5ae0-46da-b612-02c282b1f2d2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:00 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "sqlcrudtest-2990"
+ ],
+ "CreateServer": [
+ "sqlcrudtest-1339"
+ ],
+ "FailoverDatabase": [
+ "sqlcrudtest-8664"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "148bffe3-0304-454b-8a25-ee196b761f18",
+ "DefaultLocation": "East US 2"
+ }
+}
\ No newline at end of file
diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.FailoverTests/FailoverElasticPool.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.FailoverTests/FailoverElasticPool.json
new file mode 100644
index 0000000000000..daff770fa7703
--- /dev/null
+++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.FailoverTests/FailoverElasticPool.json
@@ -0,0 +1,1340 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourcegroups/sqlcrudtest-8518?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg1MTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"East US 2\",\r\n \"tags\": {\r\n \"sqlcrudtest-8518\": \"2019-07-17 21:44:03Z\"\r\n }\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bccb3f3f-8c47-42cb-9924-d10835bee89e"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "98"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "c205522f-36eb-4b59-ae26-817f55dadea9"
+ ],
+ "x-ms-correlation-request-id": [
+ "c205522f-36eb-4b59-ae26-817f55dadea9"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214406Z:c205522f-36eb-4b59-ae26-817f55dadea9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:06 GMT"
+ ],
+ "Content-Length": [
+ "237"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518\",\r\n \"name\": \"sqlcrudtest-8518\",\r\n \"location\": \"eastus2\",\r\n \"tags\": {\r\n \"sqlcrudtest-8518\": \"2019-07-17 21:44:03Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02NDM3P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"East US 2\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "233209b7-da39-4c79-8efd-f610df894cd4"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "183"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverOperationResults/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview"
+ ],
+ "x-ms-request-id": [
+ "b53730d9-4c82-4e69-8707-936c6c72742b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-correlation-request-id": [
+ "1f97814e-8604-4779-a274-a7955232afcb"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214408Z:1f97814e-8604-4779-a274-a7955232afcb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:07 GMT"
+ ],
+ "Content-Length": [
+ "74"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9iNTM3MzBkOS00YzgyLTRlNjktODcwNy05MzZjNmM3Mjc0MmI/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "37aa5198-ef37-4a74-a9dc-9400abca086b"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11999"
+ ],
+ "x-ms-correlation-request-id": [
+ "5f6dd025-bffd-457b-a41f-079aa4dcd803"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214409Z:5f6dd025-bffd-457b-a41f-079aa4dcd803"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:09 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"b53730d9-4c82-4e69-8707-936c6c72742b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9iNTM3MzBkOS00YzgyLTRlNjktODcwNy05MzZjNmM3Mjc0MmI/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "e53f7287-e42a-4868-9c54-41efc28d0065"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11998"
+ ],
+ "x-ms-correlation-request-id": [
+ "2cb0388a-b340-480d-a322-cc630c7cc362"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214410Z:2cb0388a-b340-480d-a322-cc630c7cc362"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:10 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"b53730d9-4c82-4e69-8707-936c6c72742b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9iNTM3MzBkOS00YzgyLTRlNjktODcwNy05MzZjNmM3Mjc0MmI/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "f9208712-c5ed-4923-99a6-b54cf9c1bd80"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11997"
+ ],
+ "x-ms-correlation-request-id": [
+ "ec395765-c288-43ca-b735-5a3a30a92578"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214411Z:ec395765-c288-43ca-b735-5a3a30a92578"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:11 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"b53730d9-4c82-4e69-8707-936c6c72742b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9iNTM3MzBkOS00YzgyLTRlNjktODcwNy05MzZjNmM3Mjc0MmI/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "1"
+ ],
+ "x-ms-request-id": [
+ "1b7c2361-4027-4ae2-ab05-ec9e11e991d5"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11996"
+ ],
+ "x-ms-correlation-request-id": [
+ "637bbc83-3d85-4734-b10b-ccb922908c1c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214413Z:637bbc83-3d85-4734-b10b-ccb922908c1c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:12 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"b53730d9-4c82-4e69-8707-936c6c72742b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9iNTM3MzBkOS00YzgyLTRlNjktODcwNy05MzZjNmM3Mjc0MmI/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "20"
+ ],
+ "x-ms-request-id": [
+ "dd8038be-9d6d-497f-8ab7-a62294f73d37"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11995"
+ ],
+ "x-ms-correlation-request-id": [
+ "6020d4a3-4480-48a3-a167-57b27c6a0662"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214414Z:6020d4a3-4480-48a3-a167-57b27c6a0662"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:13 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"b53730d9-4c82-4e69-8707-936c6c72742b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9iNTM3MzBkOS00YzgyLTRlNjktODcwNy05MzZjNmM3Mjc0MmI/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "20"
+ ],
+ "x-ms-request-id": [
+ "c215cb5d-5966-4f5f-b9e3-4cf0d59c260f"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11994"
+ ],
+ "x-ms-correlation-request-id": [
+ "5ea66b1c-dc4e-4c3f-9926-1c7776e9bf2e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214434Z:5ea66b1c-dc4e-4c3f-9926-1c7776e9bf2e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:33 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"b53730d9-4c82-4e69-8707-936c6c72742b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/serverAzureAsyncOperation/b53730d9-4c82-4e69-8707-936c6c72742b?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9iNTM3MzBkOS00YzgyLTRlNjktODcwNy05MzZjNmM3Mjc0MmI/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "179cf933-a6ce-40fe-8784-796c170fabcc"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11993"
+ ],
+ "x-ms-correlation-request-id": [
+ "b0c49a0a-6cc4-453a-9e3c-742d19236b4a"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214454Z:b0c49a0a-6cc4-453a-9e3c-742d19236b4a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:54 GMT"
+ ],
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"b53730d9-4c82-4e69-8707-936c6c72742b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-17T21:44:08.187Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437?api-version=2015-05-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02NDM3P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "62cda551-d8c4-411a-b2f9-2f2a55d9a5ad"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11992"
+ ],
+ "x-ms-correlation-request-id": [
+ "27e31957-f651-43d5-abf7-112e56a6ca36"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214454Z:27e31957-f651-43d5-abf7-112e56a6ca36"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:54 GMT"
+ ],
+ "Content-Length": [
+ "393"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"version\": \"12.0\",\r\n \"state\": \"Ready\",\r\n \"fullyQualifiedDomainName\": \"sqlcrudtest-6437.database.windows.net\"\r\n },\r\n \"location\": \"eastus2\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437\",\r\n \"name\": \"sqlcrudtest-6437\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/elasticPools/sqlcrudtest-6739?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02NDM3L2VsYXN0aWNQb29scy9zcWxjcnVkdGVzdC02NzM5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"eastus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "554adef5-359f-4e78-ab25-290ee3587107"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolOperationResults/185db3d8-c714-4fcd-abe2-96e61d974fcf?api-version=2017-10-01-preview"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolAzureAsyncOperation/185db3d8-c714-4fcd-abe2-96e61d974fcf?api-version=2017-10-01-preview"
+ ],
+ "x-ms-request-id": [
+ "185db3d8-c714-4fcd-abe2-96e61d974fcf"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-correlation-request-id": [
+ "1a499ece-5eca-4999-984d-b997ca2ceb52"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214455Z:1a499ece-5eca-4999-984d-b997ca2ceb52"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:44:55 GMT"
+ ],
+ "Content-Length": [
+ "79"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"operation\": \"CreateLogicalElasticPool\",\r\n \"startTime\": \"2019-07-17T21:44:55.283Z\"\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolAzureAsyncOperation/185db3d8-c714-4fcd-abe2-96e61d974fcf?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZWxhc3RpY1Bvb2xBenVyZUFzeW5jT3BlcmF0aW9uLzE4NWRiM2Q4LWM3MTQtNGZjZC1hYmUyLTk2ZTYxZDk3NGZjZj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "783f216f-c5ce-4a83-98b5-c6995faab3eb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11991"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-correlation-request-id": [
+ "ef00752e-cf9a-4edc-92c0-be827d96295f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214510Z:ef00752e-cf9a-4edc-92c0-be827d96295f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:10 GMT"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"185db3d8-c714-4fcd-abe2-96e61d974fcf\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-17T21:44:55.283Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolAzureAsyncOperation/185db3d8-c714-4fcd-abe2-96e61d974fcf?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZWxhc3RpY1Bvb2xBenVyZUFzeW5jT3BlcmF0aW9uLzE4NWRiM2Q4LWM3MTQtNGZjZC1hYmUyLTk2ZTYxZDk3NGZjZj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "76d65f1f-758e-422b-b798-39e933d9ec77"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11990"
+ ],
+ "x-ms-correlation-request-id": [
+ "3ffa23da-77b2-436a-83d3-d1c131028ca2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214525Z:3ffa23da-77b2-436a-83d3-d1c131028ca2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:25 GMT"
+ ],
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"185db3d8-c714-4fcd-abe2-96e61d974fcf\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-17T21:44:55.283Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/elasticPools/sqlcrudtest-6739?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02NDM3L2VsYXN0aWNQb29scy9zcWxjcnVkdGVzdC02NzM5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "fee868c3-560a-406b-a45d-8f6c7110e24f"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11989"
+ ],
+ "x-ms-correlation-request-id": [
+ "f974e266-9894-43d6-b2a0-fa5522b42f63"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214525Z:f974e266-9894-43d6-b2a0-fa5522b42f63"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:25 GMT"
+ ],
+ "Content-Length": [
+ "579"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"vcore,pool\",\r\n \"properties\": {\r\n \"state\": \"Ready\",\r\n \"creationDate\": \"2019-07-17T21:44:55.44Z\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"perDatabaseSettings\": {\r\n \"minCapacity\": 0.0,\r\n \"maxCapacity\": 2.0\r\n },\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\"\r\n },\r\n \"location\": \"eastus2\",\r\n \"id\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/elasticPools/sqlcrudtest-6739\",\r\n \"name\": \"sqlcrudtest-6739\",\r\n \"type\": \"Microsoft.Sql/servers/elasticPools\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/databases/sqlcrudtest-5399?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02NDM3L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Mzk5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"elasticPoolId\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/elasticPools/sqlcrudtest-6739\"\r\n },\r\n \"location\": \"eastus2\"\r\n}",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8d424dfe-0889-49d2-a3b5-3574bad8ab8d"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "241"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/databaseOperationResults/1ff217d8-123e-41e3-8701-96e1fbf33d72?api-version=2017-10-01-preview"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/databaseAzureAsyncOperation/1ff217d8-123e-41e3-8701-96e1fbf33d72?api-version=2017-10-01-preview"
+ ],
+ "x-ms-request-id": [
+ "1ff217d8-123e-41e3-8701-96e1fbf33d72"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-correlation-request-id": [
+ "08a3f638-d87c-41f1-9ac1-e7ee3fe94439"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214526Z:08a3f638-d87c-41f1-9ac1-e7ee3fe94439"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:26 GMT"
+ ],
+ "Content-Length": [
+ "76"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-07-17T21:45:26.523Z\"\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/databaseAzureAsyncOperation/1ff217d8-123e-41e3-8701-96e1fbf33d72?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzFmZjIxN2Q4LTEyM2UtNDFlMy04NzAxLTk2ZTFmYmYzM2Q3Mj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "81a2c90c-e43b-445f-9540-b60c16b1fa9a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11988"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-correlation-request-id": [
+ "fd3dd044-4c90-4673-abab-259a9a08f9df"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214543Z:fd3dd044-4c90-4673-abab-259a9a08f9df"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:42 GMT"
+ ],
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"1ff217d8-123e-41e3-8701-96e1fbf33d72\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-17T21:45:26.523Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/databases/sqlcrudtest-5399?api-version=2017-10-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02NDM3L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Mzk5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "774797c8-7d5c-4bc3-be7c-d6e8dd9a8a11"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11987"
+ ],
+ "x-ms-correlation-request-id": [
+ "6ab5b23f-81f7-4b38-a4b2-51eac74a17f2"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214543Z:6ab5b23f-81f7-4b38-a4b2-51eac74a17f2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:42 GMT"
+ ],
+ "Content-Length": [
+ "1118"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"ElasticPool\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"capacity\": 0\r\n },\r\n \"kind\": \"v12.0,user,vcore,pool\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"elasticPoolId\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/elasticPools/sqlcrudtest-6739\",\r\n \"status\": \"Online\",\r\n \"databaseId\": \"7b35db34-a313-4408-a538-4a3eaaa622bc\",\r\n \"creationDate\": \"2019-07-17T21:45:34.477Z\",\r\n \"currentServiceObjectiveName\": \"ElasticPool\",\r\n \"requestedServiceObjectiveName\": \"ElasticPool\",\r\n \"defaultSecondaryLocation\": \"centralus\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"maxLogSizeBytes\": 0,\r\n \"earliestRestoreDate\": \"2019-07-17T22:15:34.477Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"ElasticPool\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"capacity\": 0\r\n }\r\n },\r\n \"location\": \"eastus2\",\r\n \"id\": \"/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/databases/sqlcrudtest-5399\",\r\n \"name\": \"sqlcrudtest-5399\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/servers/sqlcrudtest-6437/elasticPools/sqlcrudtest-6739/failover?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02NDM3L2VsYXN0aWNQb29scy9zcWxjcnVkdGVzdC02NzM5L2ZhaWxvdmVyP2FwaS12ZXJzaW9uPTIwMTgtMDYtMDEtcHJldmlldw==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "613c2fc7-881b-4064-a868-a4e68b67054b"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolOperationResults/7276ac6a-c60f-450f-becf-3640addb14c5?api-version=2018-06-01-preview"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "Azure-AsyncOperation": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolAzureAsyncOperation/7276ac6a-c60f-450f-becf-3640addb14c5?api-version=2018-06-01-preview"
+ ],
+ "x-ms-request-id": [
+ "915d6b25-c7e2-4a28-b6f4-ff246d915e86"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-correlation-request-id": [
+ "d35c718c-8d64-4afd-a116-6b47cfc57700"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214543Z:d35c718c-8d64-4afd-a116-6b47cfc57700"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:43 GMT"
+ ],
+ "Content-Length": [
+ "89"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"operation\": \"FailoverDatabaseOrElasticPoolAsync\",\r\n \"startTime\": \"2019-07-17T21:45:43.803Z\"\r\n}",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolAzureAsyncOperation/7276ac6a-c60f-450f-becf-3640addb14c5?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZWxhc3RpY1Bvb2xBenVyZUFzeW5jT3BlcmF0aW9uLzcyNzZhYzZhLWM2MGYtNDUwZi1iZWNmLTM2NDBhZGRiMTRjNT9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-request-id": [
+ "7a7ea63d-8729-4044-a816-89846b944602"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11986"
+ ],
+ "x-ms-correlation-request-id": [
+ "520b933f-2db9-424b-816e-782b5d41c61c"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214559Z:520b933f-2db9-424b-816e-782b5d41c61c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:58 GMT"
+ ],
+ "Content-Length": [
+ "107"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"7276ac6a-c60f-450f-becf-3640addb14c5\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-17T21:45:43.897Z\"\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourceGroups/sqlcrudtest-8518/providers/Microsoft.Sql/locations/eastus2/elasticPoolOperationResults/7276ac6a-c60f-450f-becf-3640addb14c5?api-version=2018-06-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg1MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2Vhc3R1czIvZWxhc3RpY1Bvb2xPcGVyYXRpb25SZXN1bHRzLzcyNzZhYzZhLWM2MGYtNDUwZi1iZWNmLTM2NDBhZGRiMTRjNT9hcGktdmVyc2lvbj0yMDE4LTA2LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-request-id": [
+ "e6e60890-c73e-4ec4-8daf-ead61b3ae263"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "11985"
+ ],
+ "x-ms-correlation-request-id": [
+ "56ea7266-f821-4d06-bd00-a6757aaa208f"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214559Z:56ea7266-f821-4d06-bd00-a6757aaa208f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:45:58 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/resourcegroups/sqlcrudtest-8518?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTQ4YmZmZTMtMDMwNC00NTRiLThhMjUtZWUxOTZiNzYxZjE4L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg1MTg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "52858e2d-9119-4f95-a0fc-5d746fe41681"
+ ],
+ "Accept-Language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.27414.06",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.6.3.9600.",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://management.azure.com/subscriptions/148bffe3-0304-454b-8a25-ee196b761f18/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDg1MTgtRUFTVFVTMiIsImpvYkxvY2F0aW9uIjoiZWFzdHVzMiJ9?api-version=2017-05-10"
+ ],
+ "Retry-After": [
+ "15"
+ ],
+ "x-ms-ratelimit-remaining-subscription-deletes": [
+ "14999"
+ ],
+ "x-ms-request-id": [
+ "19625105-f5d8-4670-a2c8-f560a0b0302e"
+ ],
+ "x-ms-correlation-request-id": [
+ "19625105-f5d8-4670-a2c8-f560a0b0302e"
+ ],
+ "x-ms-routing-request-id": [
+ "WESTUS:20190717T214601Z:19625105-f5d8-4670-a2c8-f560a0b0302e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Date": [
+ "Wed, 17 Jul 2019 21:46:00 GMT"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Content-Length": [
+ "0"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "sqlcrudtest-8518"
+ ],
+ "CreateServer": [
+ "sqlcrudtest-6437"
+ ],
+ "FailoverElasticPool": [
+ "sqlcrudtest-6739",
+ "sqlcrudtest-5399"
+ ]
+ },
+ "Variables": {
+ "DefaultLocation": "East US 2",
+ "SubscriptionId": "148bffe3-0304-454b-8a25-ee196b761f18"
+ }
+}
\ No newline at end of file