diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt index 7e3ed4dd99de..8416637aa5a0 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=v2 --reflect-api-versions --csharp-sdks-folder=. -2020-08-18 11:04:29 UTC +2020-09-05 01:00:06 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 271086fdddc2d13910e8fa1373d285b1512ed032 +Commit: ff06cd382011e3f255a602a813289609eb930ef3 AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/BackupShortTermRetentionPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/BackupShortTermRetentionPoliciesOperations.cs index b4519b7cbb98..e8c45d68f435 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/BackupShortTermRetentionPoliciesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/BackupShortTermRetentionPoliciesOperations.cs @@ -103,7 +103,7 @@ internal BackupShortTermRetentionPoliciesOperations(SqlManagementClient client) throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } string policyName = "default"; - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -367,7 +367,7 @@ internal BackupShortTermRetentionPoliciesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -579,7 +579,7 @@ internal BackupShortTermRetentionPoliciesOperations(SqlManagementClient client) throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } string policyName = "default"; - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -800,7 +800,7 @@ internal BackupShortTermRetentionPoliciesOperations(SqlManagementClient client) throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } string policyName = "default"; - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperations.cs index 9613b5960ba5..7482a90147f3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperations.cs @@ -59,7 +59,8 @@ internal CapabilitiesOperations(SqlManagementClient client) /// /// If specified, restricts the response to only include the selected item. /// Possible values include: 'supportedEditions', - /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions' + /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions', + /// 'supportedInstancePoolEditions', 'supportedManagedInstanceEditions' /// /// /// Headers that will be added to request. @@ -92,7 +93,7 @@ internal CapabilitiesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2018-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperationsExtensions.cs index f3aa65d865c3..d9be266e240b 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/CapabilitiesOperationsExtensions.cs @@ -33,7 +33,8 @@ public static partial class CapabilitiesOperationsExtensions /// /// If specified, restricts the response to only include the selected item. /// Possible values include: 'supportedEditions', - /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions' + /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions', + /// 'supportedInstancePoolEditions', 'supportedManagedInstanceEditions' /// public static LocationCapabilities ListByLocation(this ICapabilitiesOperations operations, string locationName, string include = default(string)) { @@ -52,7 +53,8 @@ public static partial class CapabilitiesOperationsExtensions /// /// If specified, restricts the response to only include the selected item. /// Possible values include: 'supportedEditions', - /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions' + /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions', + /// 'supportedInstancePoolEditions', 'supportedManagedInstanceEditions' /// /// /// The cancellation token. 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 eb242f117df0..61a23af57a49 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperations.cs @@ -50,91 +50,6 @@ internal DatabasesOperations(SqlManagementClient client) /// public SqlManagementClient Client { get; private set; } - /// - /// Imports a bacpac into a new 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 required parameters for importing a Bacpac into a database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> ImportWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginImportWithHttpMessagesAsync(resourceGroupName, serverName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. - /// - /// - /// 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 import into - /// - /// - /// The required parameters for importing a Bacpac into a database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> CreateImportOperationWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginCreateImportOperationWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Exports a database to a bacpac. - /// - /// - /// 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 be exported. - /// - /// - /// The required parameters for exporting a database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> ExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginExportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - /// /// Returns database metrics. /// @@ -600,7 +515,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -802,7 +717,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1090,7 +1005,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1380,7 +1295,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1522,37 +1437,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// 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 type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task FailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, replicaType, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Imports a bacpac into a new database. + /// Gets a list of inaccessible databases in a logical server /// /// /// The name of the resource group that contains the resource. You can obtain @@ -1561,9 +1446,6 @@ internal DatabasesOperations(SqlManagementClient client) /// /// The name of the server. /// - /// - /// The required parameters for importing a Bacpac into a database. - /// /// /// Headers that will be added to request. /// @@ -1585,12 +1467,8 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginImportWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListInaccessibleByServerWithHttpMessagesAsync(string resourceGroupName, string serverName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } if (resourceGroupName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1599,15 +1477,11 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) + if (Client.SubscriptionId == null) { - parameters.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2014-04-01"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1615,19 +1489,18 @@ internal DatabasesOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serverName", serverName); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginImport", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListInaccessibleByServer", 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}/import").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/inaccessibleDatabases").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (apiVersion != null) { @@ -1640,7 +1513,7 @@ internal DatabasesOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1671,12 +1544,6 @@ internal DatabasesOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -1697,7 +1564,7 @@ internal DatabasesOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) + if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1732,7 +1599,7 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -1745,7 +1612,7 @@ internal DatabasesOperations(SqlManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1765,8 +1632,66 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. + /// 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 type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task FailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, replicaType, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Exports 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. + /// + /// + /// The database export request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> ExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginExportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Creates a new database or updates an existing database. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -1776,10 +1701,10 @@ internal DatabasesOperations(SqlManagementClient client) /// The name of the server. /// /// - /// The name of the database to import into + /// The name of the database. /// /// - /// The required parameters for importing a Bacpac into a database. + /// The requested database resource state. /// /// /// Headers that will be added to request. @@ -1802,12 +1727,8 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginCreateImportOperationWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Database parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } if (resourceGroupName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); @@ -1828,8 +1749,11 @@ internal DatabasesOperations(SqlManagementClient client) { parameters.Validate(); } - string apiVersion = "2014-04-01"; - string extensionName = "import"; + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1837,23 +1761,21 @@ internal DatabasesOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serverName", serverName); tracingParameters.Add("databaseName", databaseName); - tracingParameters.Add("extensionName", extensionName); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginCreateImportOperation", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/extensions/{extensionName}").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}").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("{extensionName}", System.Uri.EscapeDataString(extensionName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (apiVersion != null) { @@ -1923,7 +1845,7 @@ internal DatabasesOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 202) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1958,7 +1880,7 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -1966,12 +1888,30 @@ internal DatabasesOperations(SqlManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1991,7 +1931,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Exports a database to a bacpac. + /// Deletes the database. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -2001,10 +1941,7 @@ internal DatabasesOperations(SqlManagementClient client) /// The name of the server. /// /// - /// The name of the database to be exported. - /// - /// - /// The required parameters for exporting a database. + /// The name of the database. /// /// /// Headers that will be added to request. @@ -2015,9 +1952,6 @@ internal DatabasesOperations(SqlManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -2027,12 +1961,8 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } if (resourceGroupName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); @@ -2045,15 +1975,11 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) + if (Client.SubscriptionId == null) { - parameters.Validate(); + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2014-04-01"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2061,21 +1987,20 @@ internal DatabasesOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serverName", serverName); tracingParameters.Add("databaseName", databaseName); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginExport", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}").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) { @@ -2088,7 +2013,7 @@ internal DatabasesOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("DELETE"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2119,12 +2044,6 @@ internal DatabasesOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -2145,7 +2064,7 @@ internal DatabasesOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2180,31 +2099,13 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -2213,7 +2114,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Creates a new database or updates an existing database. + /// Updates an existing database. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -2249,7 +2150,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Database parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, DatabaseUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -2267,15 +2168,11 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); } - if (parameters != null) - { - parameters.Validate(); - } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2289,7 +2186,7 @@ internal DatabasesOperations(SqlManagementClient client) tracingParameters.Add("parameters", parameters); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginUpdate", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -2310,7 +2207,7 @@ internal DatabasesOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.Method = new HttpMethod("PATCH"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2367,7 +2264,7 @@ internal DatabasesOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2427,24 +2324,6 @@ internal DatabasesOperations(SqlManagementClient client) throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -2453,7 +2332,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Deletes the database. + /// Pauses a database. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -2463,7 +2342,7 @@ internal DatabasesOperations(SqlManagementClient client) /// The name of the server. /// /// - /// The name of the database. + /// The name of the database to be paused. /// /// /// Headers that will be added to request. @@ -2474,6 +2353,9 @@ internal DatabasesOperations(SqlManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -2483,7 +2365,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginPauseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -2501,7 +2383,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2514,11 +2396,11 @@ internal DatabasesOperations(SqlManagementClient client) tracingParameters.Add("databaseName", databaseName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginPause", 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}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/pause").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)); @@ -2535,7 +2417,7 @@ internal DatabasesOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2586,7 +2468,7 @@ internal DatabasesOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2621,13 +2503,31 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -2636,7 +2536,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Updates an existing database. + /// Resumes a database. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -2646,10 +2546,7 @@ internal DatabasesOperations(SqlManagementClient client) /// The name of the server. /// /// - /// The name of the database. - /// - /// - /// The requested database resource state. + /// The name of the database to be resumed. /// /// /// Headers that will be added to request. @@ -2672,7 +2569,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, DatabaseUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginResumeWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -2686,15 +2583,11 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2705,14 +2598,13 @@ internal DatabasesOperations(SqlManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serverName", serverName); tracingParameters.Add("databaseName", databaseName); - tracingParameters.Add("parameters", parameters); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginUpdate", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginResume", 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}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/resume").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)); @@ -2729,7 +2621,7 @@ internal DatabasesOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -2760,12 +2652,6 @@ internal DatabasesOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -2854,7 +2740,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Pauses a database. + /// Upgrades a data warehouse. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -2864,7 +2750,7 @@ internal DatabasesOperations(SqlManagementClient client) /// The name of the server. /// /// - /// The name of the database to be paused. + /// The name of the database to be upgraded. /// /// /// Headers that will be added to request. @@ -2875,9 +2761,6 @@ internal DatabasesOperations(SqlManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -2887,7 +2770,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginPauseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginUpgradeDataWarehouseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -2905,7 +2788,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2918,11 +2801,11 @@ internal DatabasesOperations(SqlManagementClient client) tracingParameters.Add("databaseName", databaseName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginPause", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginUpgradeDataWarehouse", 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}/pause").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/upgradeDataWarehouse").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)); @@ -3025,31 +2908,13 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -3058,7 +2923,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Resumes a database. + /// Failovers a database. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -3068,7 +2933,11 @@ internal DatabasesOperations(SqlManagementClient client) /// The name of the server. /// /// - /// The name of the database to be resumed. + /// The name of the database to failover. + /// + /// + /// The type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' /// /// /// Headers that will be added to request. @@ -3079,9 +2948,6 @@ internal DatabasesOperations(SqlManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -3091,7 +2957,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginResumeWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -3109,7 +2975,7 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3120,18 +2986,23 @@ internal DatabasesOperations(SqlManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serverName", serverName); tracingParameters.Add("databaseName", databaseName); + tracingParameters.Add("replicaType", replicaType); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginResume", tracingParameters); + 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}/resume").ToString(); + 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 (replicaType != null) + { + _queryParameters.Add(string.Format("replicaType={0}", System.Uri.EscapeDataString(replicaType))); + } if (apiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); @@ -3229,31 +3100,13 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -3262,7 +3115,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Upgrades a data warehouse. + /// Exports a database. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -3272,7 +3125,10 @@ internal DatabasesOperations(SqlManagementClient client) /// The name of the server. /// /// - /// The name of the database to be upgraded. + /// The name of the database. + /// + /// + /// The database export request parameters. /// /// /// Headers that will be added to request. @@ -3283,6 +3139,9 @@ internal DatabasesOperations(SqlManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -3292,7 +3151,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginUpgradeDataWarehouseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -3306,11 +3165,19 @@ internal DatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2017-10-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3321,13 +3188,14 @@ internal DatabasesOperations(SqlManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serverName", serverName); tracingParameters.Add("databaseName", databaseName); + tracingParameters.Add("parameters", parameters); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginUpgradeDataWarehouse", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginExport", 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}/upgradeDataWarehouse").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/export").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)); @@ -3375,6 +3243,12 @@ internal DatabasesOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } // Set Credentials if (Client.Credentials != null) { @@ -3430,13 +3304,31 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -3445,21 +3337,10 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Failovers a database. + /// Gets a list of databases. /// - /// - /// 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 type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' + /// + /// The NextLink from the previous successful call to List operation. /// /// /// Headers that will be added to request. @@ -3470,6 +3351,9 @@ internal DatabasesOperations(SqlManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -3479,25 +3363,12 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, 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) + if (nextPageLink == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); } - string apiVersion = "2018-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -3505,30 +3376,14 @@ internal DatabasesOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("serverName", serverName); - tracingParameters.Add("databaseName", databaseName); - tracingParameters.Add("replicaType", replicaType); - tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginFailover", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByServerNext", 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)); + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); List _queryParameters = new List(); - if (replicaType != null) - { - _queryParameters.Add(string.Format("replicaType={0}", System.Uri.EscapeDataString(replicaType))); - } - if (apiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -3536,7 +3391,7 @@ internal DatabasesOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -3587,7 +3442,7 @@ internal DatabasesOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) + if ((int)_statusCode != 200) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -3622,13 +3477,31 @@ internal DatabasesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -3637,7 +3510,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Gets a list of databases. + /// Gets a list of databases in an elastic pool. /// /// /// The NextLink from the previous successful call to List operation. @@ -3663,7 +3536,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByElasticPoolNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -3678,7 +3551,7 @@ internal DatabasesOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByServerNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByElasticPoolNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -3810,7 +3683,7 @@ internal DatabasesOperations(SqlManagementClient client) } /// - /// Gets a list of databases in an elastic pool. + /// Gets a list of inaccessible databases in a logical server /// /// /// The NextLink from the previous successful call to List operation. @@ -3836,7 +3709,7 @@ internal DatabasesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByElasticPoolNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListInaccessibleByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -3851,7 +3724,7 @@ internal DatabasesOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByElasticPoolNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListInaccessibleByServerNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; 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 b4ff8dbd583f..6a948d5dc3ae 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/DatabasesOperationsExtensions.cs @@ -23,164 +23,6 @@ namespace Microsoft.Azure.Management.Sql /// public static partial class DatabasesOperationsExtensions { - /// - /// Imports a bacpac into a new 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 required parameters for importing a Bacpac into a database. - /// - public static ImportExportResponse Import(this IDatabasesOperations operations, string resourceGroupName, string serverName, ImportRequest parameters) - { - return operations.ImportAsync(resourceGroupName, serverName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Imports a bacpac into a new 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 required parameters for importing a Bacpac into a database. - /// - /// - /// The cancellation token. - /// - public static async Task ImportAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, ImportRequest parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ImportWithHttpMessagesAsync(resourceGroupName, serverName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. - /// - /// - /// 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 import into - /// - /// - /// The required parameters for importing a Bacpac into a database. - /// - public static ImportExportResponse CreateImportOperation(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters) - { - return operations.CreateImportOperationAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. - /// - /// - /// 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 import into - /// - /// - /// The required parameters for importing a Bacpac into a database. - /// - /// - /// The cancellation token. - /// - public static async Task CreateImportOperationAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateImportOperationWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Exports a database to a bacpac. - /// - /// - /// 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 be exported. - /// - /// - /// The required parameters for exporting a database. - /// - public static ImportExportResponse Export(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportRequest parameters) - { - return operations.ExportAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Exports a database to a bacpac. - /// - /// - /// 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 be exported. - /// - /// - /// The required parameters for exporting a database. - /// - /// - /// The cancellation token. - /// - public static async Task ExportAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportRequest parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ExportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - /// /// Returns database metrics. /// @@ -767,60 +609,7 @@ public static void Rename(this IDatabasesOperations operations, string resourceG } /// - /// 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 type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' - /// - public static void Failover(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, string replicaType = default(string)) - { - operations.FailoverAsync(resourceGroupName, serverName, databaseName, replicaType).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 type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' - /// - /// - /// The cancellation token. - /// - public static async Task FailoverAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.FailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, replicaType, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Imports a bacpac into a new database. + /// Gets a list of inaccessible databases in a logical server /// /// /// The operations group for this extension method. @@ -832,16 +621,13 @@ public static void Rename(this IDatabasesOperations operations, string resourceG /// /// The name of the server. /// - /// - /// The required parameters for importing a Bacpac into a database. - /// - public static ImportExportResponse BeginImport(this IDatabasesOperations operations, string resourceGroupName, string serverName, ImportRequest parameters) + public static IPage ListInaccessibleByServer(this IDatabasesOperations operations, string resourceGroupName, string serverName) { - return operations.BeginImportAsync(resourceGroupName, serverName, parameters).GetAwaiter().GetResult(); + return operations.ListInaccessibleByServerAsync(resourceGroupName, serverName).GetAwaiter().GetResult(); } /// - /// Imports a bacpac into a new database. + /// Gets a list of inaccessible databases in a logical server /// /// /// The operations group for this extension method. @@ -853,23 +639,19 @@ public static ImportExportResponse BeginImport(this IDatabasesOperations operati /// /// The name of the server. /// - /// - /// The required parameters for importing a Bacpac into a database. - /// /// /// The cancellation token. /// - public static async Task BeginImportAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, ImportRequest parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListInaccessibleByServerAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.BeginImportWithHttpMessagesAsync(resourceGroupName, serverName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListInaccessibleByServerWithHttpMessagesAsync(resourceGroupName, serverName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. + /// Failovers a database. /// /// /// The operations group for this extension method. @@ -882,19 +664,19 @@ public static ImportExportResponse BeginImport(this IDatabasesOperations operati /// The name of the server. /// /// - /// The name of the database to import into + /// The name of the database to failover. /// - /// - /// The required parameters for importing a Bacpac into a database. + /// + /// The type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' /// - public static ImportExportResponse BeginCreateImportOperation(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters) + public static void Failover(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, string replicaType = default(string)) { - return operations.BeginCreateImportOperationAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); + operations.FailoverAsync(resourceGroupName, serverName, databaseName, replicaType).GetAwaiter().GetResult(); } /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. + /// Failovers a database. /// /// /// The operations group for this extension method. @@ -907,24 +689,22 @@ public static ImportExportResponse BeginCreateImportOperation(this IDatabasesOpe /// The name of the server. /// /// - /// The name of the database to import into + /// The name of the database to failover. /// - /// - /// The required parameters for importing a Bacpac into a database. + /// + /// The type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' /// /// /// The cancellation token. /// - public static async Task BeginCreateImportOperationAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task FailoverAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.BeginCreateImportOperationWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + (await operations.FailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, replicaType, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// - /// Exports a database to a bacpac. + /// Exports a database. /// /// /// The operations group for this extension method. @@ -937,18 +717,18 @@ public static ImportExportResponse BeginCreateImportOperation(this IDatabasesOpe /// The name of the server. /// /// - /// The name of the database to be exported. + /// The name of the database. /// /// - /// The required parameters for exporting a database. + /// The database export request parameters. /// - public static ImportExportResponse BeginExport(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportRequest parameters) + public static ImportExportOperationResult Export(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters) { - return operations.BeginExportAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); + return operations.ExportAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); } /// - /// Exports a database to a bacpac. + /// Exports a database. /// /// /// The operations group for this extension method. @@ -961,17 +741,17 @@ public static ImportExportResponse BeginExport(this IDatabasesOperations operati /// The name of the server. /// /// - /// The name of the database to be exported. + /// The name of the database. /// /// - /// The required parameters for exporting a database. + /// The database export request parameters. /// /// /// The cancellation token. /// - public static async Task BeginExportAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportRequest parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task ExportAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.BeginExportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ExportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -1324,6 +1104,60 @@ public static void BeginUpgradeDataWarehouse(this IDatabasesOperations operation (await operations.BeginFailoverWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, replicaType, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Exports 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. + /// + /// + /// The database export request parameters. + /// + public static ImportExportOperationResult BeginExport(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters) + { + return operations.BeginExportAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Exports 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. + /// + /// + /// The database export request parameters. + /// + /// + /// The cancellation token. + /// + public static async Task BeginExportAsync(this IDatabasesOperations operations, string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginExportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets a list of databases. /// @@ -1392,5 +1226,39 @@ public static IPage ListByElasticPoolNext(this IDatabasesOperations op } } + /// + /// Gets a list of inaccessible databases in a logical server + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListInaccessibleByServerNext(this IDatabasesOperations operations, string nextPageLink) + { + return operations.ListInaccessibleByServerNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of inaccessible databases in a logical server + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListInaccessibleByServerNextAsync(this IDatabasesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListInaccessibleByServerNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperations.cs index 1c5ac942cb1f..31b9feff5f68 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperations.cs @@ -500,5 +500,382 @@ internal ExtendedDatabaseBlobAuditingPoliciesOperations(SqlManagementClient clie return _result; } + /// + /// Lists extended auditing settings of 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByDatabaseWithHttpMessagesAsync(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 = "2017-03-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, "ListByDatabase", 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}/extendedAuditingSettings").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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists extended auditing settings of a database. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByDatabaseNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperationsExtensions.cs index f07be7a5cf22..58645764ac82 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedDatabaseBlobAuditingPoliciesOperationsExtensions.cs @@ -123,5 +123,87 @@ public static ExtendedDatabaseBlobAuditingPolicy CreateOrUpdate(this IExtendedDa } } + /// + /// Lists extended auditing settings of 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. + /// + public static IPage ListByDatabase(this IExtendedDatabaseBlobAuditingPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName) + { + return operations.ListByDatabaseAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult(); + } + + /// + /// Lists extended auditing settings of 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. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByDatabaseAsync(this IExtendedDatabaseBlobAuditingPoliciesOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists extended auditing settings of a database. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByDatabaseNext(this IExtendedDatabaseBlobAuditingPoliciesOperations operations, string nextPageLink) + { + return operations.ListByDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists extended auditing settings of a database. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByDatabaseNextAsync(this IExtendedDatabaseBlobAuditingPoliciesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperations.cs index 8828d0005573..f82314c69e2e 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperations.cs @@ -274,6 +274,201 @@ internal ExtendedServerBlobAuditingPoliciesOperations(SqlManagementClient client return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Lists extended auditing settings of a server. + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServerWithHttpMessagesAsync(string resourceGroupName, string serverName, 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 (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2017-03-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("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServer", 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}/extendedAuditingSettings").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); + _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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Creates or updates an extended server's blob auditing policy. /// @@ -490,5 +685,178 @@ internal ExtendedServerBlobAuditingPoliciesOperations(SqlManagementClient client return _result; } + /// + /// Lists extended auditing settings of a server. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServerNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperationsExtensions.cs index 257fcb968361..3d6509c3d1a1 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ExtendedServerBlobAuditingPoliciesOperationsExtensions.cs @@ -111,6 +111,48 @@ public static ExtendedServerBlobAuditingPolicy CreateOrUpdate(this IExtendedServ } } + /// + /// Lists extended auditing settings of a server. + /// + /// + /// 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. + /// + public static IPage ListByServer(this IExtendedServerBlobAuditingPoliciesOperations operations, string resourceGroupName, string serverName) + { + return operations.ListByServerAsync(resourceGroupName, serverName).GetAwaiter().GetResult(); + } + + /// + /// Lists extended auditing settings of a server. + /// + /// + /// 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 cancellation token. + /// + public static async Task> ListByServerAsync(this IExtendedServerBlobAuditingPoliciesOperations operations, string resourceGroupName, string serverName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServerWithHttpMessagesAsync(resourceGroupName, serverName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Creates or updates an extended server's blob auditing policy. /// @@ -159,5 +201,39 @@ public static ExtendedServerBlobAuditingPolicy BeginCreateOrUpdate(this IExtende } } + /// + /// Lists extended auditing settings of a server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServerNext(this IExtendedServerBlobAuditingPoliciesOperations operations, string nextPageLink) + { + return operations.ListByServerNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists extended auditing settings of a server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServerNextAsync(this IExtendedServerBlobAuditingPoliciesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServerNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ICapabilitiesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ICapabilitiesOperations.cs index 645eee3314c0..e35700693ec1 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ICapabilitiesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ICapabilitiesOperations.cs @@ -33,7 +33,8 @@ public partial interface ICapabilitiesOperations /// /// If specified, restricts the response to only include the selected /// item. Possible values include: 'supportedEditions', - /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions' + /// 'supportedElasticPoolEditions', 'supportedManagedInstanceVersions', + /// 'supportedInstancePoolEditions', 'supportedManagedInstanceEditions' /// /// /// The headers that will be added to request. 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 289c62ebab5c..5dd990ba07d6 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IDatabasesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IDatabasesOperations.cs @@ -23,103 +23,6 @@ namespace Microsoft.Azure.Management.Sql /// public partial interface IDatabasesOperations { - /// - /// Imports a bacpac into a new 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 required parameters for importing a Bacpac into a database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> ImportWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. - /// - /// - /// 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 import into - /// - /// - /// The required parameters for importing a Bacpac into a database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> CreateImportOperationWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Exports a database to a bacpac. - /// - /// - /// 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 be exported. - /// - /// - /// The required parameters for exporting a database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> ExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Returns database metrics. /// @@ -482,7 +385,7 @@ public partial interface IDatabasesOperations /// Task RenameWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ResourceMoveDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Failovers a database. + /// Gets a list of inaccessible databases in a logical server /// /// /// The name of the resource group that contains the resource. You can @@ -492,40 +395,6 @@ public partial interface IDatabasesOperations /// /// The name of the server. /// - /// - /// The name of the database to failover. - /// - /// - /// The type of replica to be failed over. Possible values include: - /// 'Primary', 'ReadableSecondary' - /// - /// - /// 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, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Imports a bacpac into a new 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 required parameters for importing a Bacpac into a database. - /// /// /// The headers that will be added to request. /// @@ -541,10 +410,9 @@ public partial interface IDatabasesOperations /// /// Thrown when a required parameter is null /// - Task> BeginImportWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListInaccessibleByServerWithHttpMessagesAsync(string resourceGroupName, string serverName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates an import operation that imports a bacpac into an existing - /// database. The existing database must be empty. + /// Failovers a database. /// /// /// The name of the resource group that contains the resource. You can @@ -555,10 +423,11 @@ public partial interface IDatabasesOperations /// The name of the server. /// /// - /// The name of the database to import into + /// The name of the database to failover. /// - /// - /// The required parameters for importing a Bacpac into a database. + /// + /// The type of replica to be failed over. Possible values include: + /// 'Primary', 'ReadableSecondary' /// /// /// The headers that will be added to request. @@ -569,15 +438,12 @@ public partial interface IDatabasesOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// - Task> BeginCreateImportOperationWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExtensionRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task FailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Exports a database to a bacpac. + /// Exports a database. /// /// /// The name of the resource group that contains the resource. You can @@ -588,10 +454,10 @@ public partial interface IDatabasesOperations /// The name of the server. /// /// - /// The name of the database to be exported. + /// The name of the database. /// /// - /// The required parameters for exporting a database. + /// The database export request parameters. /// /// /// The headers that will be added to request. @@ -608,7 +474,7 @@ public partial interface IDatabasesOperations /// /// Thrown when a required parameter is null /// - Task> BeginExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> ExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Creates a new database or updates an existing database. /// @@ -821,6 +687,39 @@ public partial interface IDatabasesOperations /// Task BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Exports 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. + /// + /// + /// The database export request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginExportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExportDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets a list of databases. /// /// @@ -864,5 +763,27 @@ public partial interface IDatabasesOperations /// Thrown when a required parameter is null /// Task>> ListByElasticPoolNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a list of inaccessible databases in a logical server + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListInaccessibleByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedDatabaseBlobAuditingPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedDatabaseBlobAuditingPoliciesOperations.cs index 5517ca93c9a7..a98f84875167 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedDatabaseBlobAuditingPoliciesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedDatabaseBlobAuditingPoliciesOperations.cs @@ -86,5 +86,57 @@ public partial interface IExtendedDatabaseBlobAuditingPoliciesOperations /// Thrown when a required parameter is null /// Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ExtendedDatabaseBlobAuditingPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists extended auditing settings of 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists extended auditing settings of a database. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedServerBlobAuditingPoliciesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedServerBlobAuditingPoliciesOperations.cs index c2117ff6d9f3..5be793c26674 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedServerBlobAuditingPoliciesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IExtendedServerBlobAuditingPoliciesOperations.cs @@ -81,6 +81,33 @@ public partial interface IExtendedServerBlobAuditingPoliciesOperations /// Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, ExtendedServerBlobAuditingPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Lists extended auditing settings of a server. + /// + /// + /// 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 headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServerWithHttpMessagesAsync(string resourceGroupName, string serverName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Creates or updates an extended server's blob auditing policy. /// /// @@ -110,5 +137,27 @@ public partial interface IExtendedServerBlobAuditingPoliciesOperations /// Thrown when a required parameter is null /// Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, ExtendedServerBlobAuditingPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists extended auditing settings of a server. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IImportExportOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IImportExportOperations.cs new file mode 100644 index 000000000000..7fe33a73c74d --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IImportExportOperations.cs @@ -0,0 +1,93 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ImportExportOperations operations. + /// + public partial interface IImportExportOperations + { + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> ImportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginImportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabaseRestoreDetailsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabaseRestoreDetailsOperations.cs index 3c30a767bee9..ae49842a72f4 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabaseRestoreDetailsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabaseRestoreDetailsOperations.cs @@ -27,9 +27,7 @@ public partial interface IManagedDatabaseRestoreDetailsOperations /// Gets managed database restore details. /// /// - /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabasesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabasesOperations.cs index 1acfed0f05df..29537446582d 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabasesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedDatabasesOperations.cs @@ -27,9 +27,7 @@ public partial interface IManagedDatabasesOperations /// Gets a list of managed databases. /// /// - /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -54,9 +52,7 @@ public partial interface IManagedDatabasesOperations /// Gets a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -84,9 +80,7 @@ public partial interface IManagedDatabasesOperations /// Creates a new database or updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -117,9 +111,7 @@ public partial interface IManagedDatabasesOperations /// Deletes a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -144,9 +136,7 @@ public partial interface IManagedDatabasesOperations /// Updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -174,12 +164,35 @@ public partial interface IManagedDatabasesOperations /// Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, ManagedDatabaseUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the managed instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListInaccessibleByInstanceWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Completes the restore operation on a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -207,9 +220,7 @@ public partial interface IManagedDatabasesOperations /// Creates a new database or updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -240,9 +251,7 @@ public partial interface IManagedDatabasesOperations /// Deletes a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -267,9 +276,7 @@ public partial interface IManagedDatabasesOperations /// Updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -300,9 +307,7 @@ public partial interface IManagedDatabasesOperations /// Completes the restore operation on a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -348,5 +353,27 @@ public partial interface IManagedDatabasesOperations /// Thrown when a required parameter is null /// Task>> ListByInstanceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListInaccessibleByInstanceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedInstancesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedInstancesOperations.cs index 7b27b7f78d56..c650c97d0dd5 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedInstancesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IManagedInstancesOperations.cs @@ -24,15 +24,17 @@ namespace Microsoft.Azure.Management.Sql public partial interface IManagedInstancesOperations { /// - /// Gets a list of all managed instances in an instance pool. + /// Failovers a managed instance. /// /// - /// 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 resource group. The name is case insensitive. /// - /// - /// The instance pool name. + /// + /// The name of the managed instance. + /// + /// + /// The type of replica to be failed over. Possible values include: + /// 'Primary', 'ReadableSecondary' /// /// /// The headers that will be added to request. @@ -43,13 +45,10 @@ public partial interface IManagedInstancesOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// - Task>> ListByInstancePoolWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task FailoverWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets a list of managed instances in a resource group. /// @@ -186,6 +185,33 @@ public partial interface IManagedInstancesOperations /// Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, ManagedInstanceUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets a list of all managed instances in an instance 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 instance pool name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByInstancePoolWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets a list of all managed instances in the subscription. /// /// @@ -229,7 +255,7 @@ public partial interface IManagedInstancesOperations /// /// Thrown when a required parameter is null /// - Task FailoverWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Creates or updates a managed instance. /// @@ -314,34 +340,8 @@ public partial interface IManagedInstancesOperations /// Thrown when a required parameter is null /// Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, ManagedInstanceUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Failovers a managed instance. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the managed instance. - /// - /// - /// The type of replica to be failed over. Possible values include: - /// 'Primary', 'ReadableSecondary' - /// - /// - /// 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 managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets a list of all managed instances in an instance pool. + /// Gets a list of managed instances in a resource group. /// /// /// The NextLink from the previous successful call to List operation. @@ -361,9 +361,9 @@ public partial interface IManagedInstancesOperations /// /// Thrown when a required parameter is null /// - Task>> ListByInstancePoolNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets a list of managed instances in a resource group. + /// Gets a list of all managed instances in an instance pool. /// /// /// The NextLink from the previous successful call to List operation. @@ -383,7 +383,7 @@ public partial interface IManagedInstancesOperations /// /// Thrown when a required parameter is null /// - Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByInstancePoolNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets a list of all managed instances in the subscription. /// diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IReplicationLinksOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IReplicationLinksOperations.cs index 7d12e91bed9b..7948b2f9f559 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IReplicationLinksOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IReplicationLinksOperations.cs @@ -154,6 +154,40 @@ public partial interface IReplicationLinksOperations /// Task FailoverAllowDataLossWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string linkId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed + /// over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + /// + /// 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 UnlinkWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Lists a database's replication links. /// /// @@ -248,5 +282,39 @@ public partial interface IReplicationLinksOperations /// Thrown when a required parameter is null /// Task BeginFailoverAllowDataLossWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string linkId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed + /// over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + /// + /// 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 BeginUnlinkWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IServersOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IServersOperations.cs index 8d91a80b7962..591f10e968ab 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IServersOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IServersOperations.cs @@ -201,6 +201,36 @@ public partial interface IServersOperations /// Task> CheckNameAvailabilityWithHttpMessagesAsync(CheckNameAvailabilityRequest parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> ImportDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Creates or updates a server. /// /// @@ -285,6 +315,36 @@ public partial interface IServersOperations /// Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, ServerUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginImportDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets a list of servers in a resource groups. /// /// diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ISqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ISqlManagementClient.cs index 5eb4da34edc5..0ee653cdffc0 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ISqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ISqlManagementClient.cs @@ -202,16 +202,6 @@ public partial interface ISqlManagementClient : System.IDisposable /// ISyncAgentsOperations SyncAgents { get; } - /// - /// Gets the ISyncGroupsOperations. - /// - ISyncGroupsOperations SyncGroups { get; } - - /// - /// Gets the ISyncMembersOperations. - /// - ISyncMembersOperations SyncMembers { get; } - /// /// Gets the ISubscriptionUsagesOperations. /// @@ -402,11 +392,6 @@ public partial interface ISqlManagementClient : System.IDisposable /// IInstanceFailoverGroupsOperations InstanceFailoverGroups { get; } - /// - /// Gets the IBackupShortTermRetentionPoliciesOperations. - /// - IBackupShortTermRetentionPoliciesOperations BackupShortTermRetentionPolicies { get; } - /// /// Gets the ITdeCertificatesOperations. /// @@ -457,11 +442,6 @@ public partial interface ISqlManagementClient : System.IDisposable /// IUsagesOperations Usages { get; } - /// - /// Gets the IManagedInstancesOperations. - /// - IManagedInstancesOperations ManagedInstances { get; } - /// /// Gets the IPrivateEndpointConnectionsOperations. /// @@ -492,6 +472,46 @@ public partial interface ISqlManagementClient : System.IDisposable /// IManagedInstanceLongTermRetentionPoliciesOperations ManagedInstanceLongTermRetentionPolicies { get; } + /// + /// Gets the IWorkloadGroupsOperations. + /// + IWorkloadGroupsOperations WorkloadGroups { get; } + + /// + /// Gets the IWorkloadClassifiersOperations. + /// + IWorkloadClassifiersOperations WorkloadClassifiers { get; } + + /// + /// Gets the IManagedInstanceOperations. + /// + IManagedInstanceOperations ManagedInstanceOperations { get; } + + /// + /// Gets the IServerAzureADAdministratorsOperations. + /// + IServerAzureADAdministratorsOperations ServerAzureADAdministrators { get; } + + /// + /// Gets the ISyncGroupsOperations. + /// + ISyncGroupsOperations SyncGroups { get; } + + /// + /// Gets the ISyncMembersOperations. + /// + ISyncMembersOperations SyncMembers { get; } + + /// + /// Gets the IManagedInstancesOperations. + /// + IManagedInstancesOperations ManagedInstances { get; } + + /// + /// Gets the IBackupShortTermRetentionPoliciesOperations. + /// + IBackupShortTermRetentionPoliciesOperations BackupShortTermRetentionPolicies { get; } + /// /// Gets the IManagedDatabaseRestoreDetailsOperations. /// @@ -503,14 +523,14 @@ public partial interface ISqlManagementClient : System.IDisposable IManagedDatabasesOperations ManagedDatabases { get; } /// - /// Gets the IServerAzureADAdministratorsOperations. + /// Gets the IServerAzureADOnlyAuthenticationsOperations. /// - IServerAzureADAdministratorsOperations ServerAzureADAdministrators { get; } + IServerAzureADOnlyAuthenticationsOperations ServerAzureADOnlyAuthentications { get; } /// - /// Gets the IManagedInstanceOperations. + /// Gets the IImportExportOperations. /// - IManagedInstanceOperations ManagedInstanceOperations { get; } + IImportExportOperations ImportExport { get; } /// /// Gets the IManagedInstanceAzureADOnlyAuthenticationsOperations. diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IWorkloadClassifiersOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IWorkloadClassifiersOperations.cs new file mode 100644 index 000000000000..c0e39d85d163 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IWorkloadClassifiersOperations.cs @@ -0,0 +1,268 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// WorkloadClassifiersOperations operations. + /// + public partial interface IWorkloadClassifiersOperations + { + /// + /// Gets a workload classifier + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier + /// from. + /// + /// + /// The name of the workload classifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier + /// from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier + /// from. + /// + /// + /// The name of the workload classifier to delete. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the list of workload classifiers for a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the + /// classifiers from. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByWorkloadGroupWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier + /// from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier + /// from. + /// + /// + /// The name of the workload classifier to delete. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the list of workload classifiers for a workload group + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByWorkloadGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IWorkloadGroupsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IWorkloadGroupsOperations.cs new file mode 100644 index 000000000000..9c2dbda017d9 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/IWorkloadGroupsOperations.cs @@ -0,0 +1,244 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// WorkloadGroupsOperations operations. + /// + public partial interface IWorkloadGroupsOperations + { + /// + /// Gets a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the list of workload groups + /// + /// + /// 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. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the list of workload groups + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ImportExportOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ImportExportOperations.cs new file mode 100644 index 000000000000..669d67e32d6b --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ImportExportOperations.cs @@ -0,0 +1,305 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ImportExportOperations operations. + /// + internal partial class ImportExportOperations : IServiceOperations, IImportExportOperations + { + /// + /// Initializes a new instance of the ImportExportOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ImportExportOperations(SqlManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the SqlManagementClient + /// + public SqlManagementClient Client { get; private set; } + + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> ImportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginImportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginImportWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters, 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 (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2020-02-02-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("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginImport", 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}/import").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; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ImportExportOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ImportExportOperationsExtensions.cs new file mode 100644 index 000000000000..256cedb55dd0 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ImportExportOperationsExtensions.cs @@ -0,0 +1,133 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ImportExportOperations. + /// + public static partial class ImportExportOperationsExtensions + { + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + public static ImportExportOperationResult Import(this IImportExportOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters) + { + return operations.ImportAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + /// + /// The cancellation token. + /// + public static async Task ImportAsync(this IImportExportOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ImportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + public static ImportExportOperationResult BeginImport(this IImportExportOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters) + { + return operations.BeginImportAsync(resourceGroupName, serverName, databaseName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Imports a bacpac into a new 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. + /// + /// + /// The database import request parameters. + /// + /// + /// The cancellation token. + /// + public static async Task BeginImportAsync(this IImportExportOperations operations, string resourceGroupName, string serverName, string databaseName, ImportExistingDatabaseDefinition parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginImportWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperations.cs index fef323df26d5..d71aeb23cbce 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperations.cs @@ -54,8 +54,7 @@ internal ManagedDatabaseRestoreDetailsOperations(SqlManagementClient client) /// Gets managed database restore details. /// /// - /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -90,6 +89,21 @@ internal ManagedDatabaseRestoreDetailsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (managedInstanceName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); @@ -103,7 +117,7 @@ internal ManagedDatabaseRestoreDetailsOperations(SqlManagementClient client) throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } string restoreDetailsName = "Default"; - string apiVersion = "2019-06-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperationsExtensions.cs index 238d1ba21e7a..f2278f12424e 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabaseRestoreDetailsOperationsExtensions.cs @@ -28,8 +28,7 @@ public static partial class ManagedDatabaseRestoreDetailsOperationsExtensions /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -49,8 +48,7 @@ public static ManagedDatabaseRestoreDetailsResult Get(this IManagedDatabaseResto /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperations.cs index ecc653d66f3f..6497306dd8b8 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperations.cs @@ -54,8 +54,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Gets a list of managed databases. /// /// - /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -87,6 +86,21 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (managedInstanceName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); @@ -95,7 +109,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-06-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -146,7 +160,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -184,7 +198,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex = new CloudException(_errorBody.Message); @@ -249,8 +263,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Gets a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -285,6 +298,21 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (managedInstanceName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); @@ -297,7 +325,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-06-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -350,7 +378,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -388,7 +416,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex = new CloudException(_errorBody.Message); @@ -453,8 +481,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Creates a new database or updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -482,8 +509,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Deletes a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -508,8 +534,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -533,12 +558,220 @@ internal ManagedDatabasesOperations(SqlManagementClient client) return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the managed instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListInaccessibleByInstanceWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (managedInstanceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2020-02-02-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("managedInstanceName", managedInstanceName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListInaccessibleByInstance", 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/managedInstances/{managedInstanceName}/inaccessibleManagedDatabases").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{managedInstanceName}", System.Uri.EscapeDataString(managedInstanceName)); + _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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Completes the restore operation on a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -566,8 +799,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Creates a new database or updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -605,6 +837,21 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (managedInstanceName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); @@ -625,7 +872,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-06-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -679,7 +926,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -691,11 +938,11 @@ internal ManagedDatabasesOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; - if (parameters != null) + if(parameters != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -723,7 +970,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex = new CloudException(_errorBody.Message); @@ -806,8 +1053,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Deletes a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -839,6 +1085,21 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (managedInstanceName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); @@ -851,7 +1112,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-06-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -904,7 +1165,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -942,7 +1203,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex = new CloudException(_errorBody.Message); @@ -989,8 +1250,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Updates an existing 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -1028,6 +1288,21 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (managedInstanceName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); @@ -1044,7 +1319,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-06-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1098,7 +1373,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1110,11 +1385,11 @@ internal ManagedDatabasesOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; - if (parameters != null) + if(parameters != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -1142,7 +1417,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex = new CloudException(_errorBody.Message); @@ -1207,8 +1482,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) /// Completes the restore operation on a managed 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -1243,6 +1517,21 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (managedInstanceName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); @@ -1263,7 +1552,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-06-01-preview"; + string apiVersion = "2020-02-02-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1317,7 +1606,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1329,11 +1618,11 @@ internal ManagedDatabasesOperations(SqlManagementClient client) // Serialize Request string _requestContent = null; - if (parameters != null) + if(parameters != null) { _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); } // Set Credentials if (Client.Credentials != null) @@ -1361,7 +1650,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex = new CloudException(_errorBody.Message); @@ -1478,7 +1767,180 @@ internal ManagedDatabasesOperations(SqlManagementClient client) if (customHeaders != null) { - foreach (var _header in customHeaders) + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListInaccessibleByInstanceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListInaccessibleByInstanceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) { if (_httpRequest.Headers.Contains(_header.Key)) { @@ -1516,7 +1978,7 @@ internal ManagedDatabasesOperations(SqlManagementClient client) try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex = new CloudException(_errorBody.Message); @@ -1578,4 +2040,4 @@ internal ManagedDatabasesOperations(SqlManagementClient client) } } -} \ No newline at end of file +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperationsExtensions.cs index a4e4e4af9ac8..5dbeea1e0f01 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedDatabasesOperationsExtensions.cs @@ -28,8 +28,7 @@ public static partial class ManagedDatabasesOperationsExtensions /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -46,8 +45,7 @@ public static IPage ListByInstance(this IManagedDatabasesOperat /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -70,8 +68,7 @@ public static IPage ListByInstance(this IManagedDatabasesOperat /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -91,8 +88,7 @@ public static ManagedDatabase Get(this IManagedDatabasesOperations operations, s /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -118,8 +114,7 @@ public static ManagedDatabase Get(this IManagedDatabasesOperations operations, s /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -142,8 +137,7 @@ public static ManagedDatabase CreateOrUpdate(this IManagedDatabasesOperations op /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -172,8 +166,7 @@ public static ManagedDatabase CreateOrUpdate(this IManagedDatabasesOperations op /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -193,8 +186,7 @@ public static void Delete(this IManagedDatabasesOperations operations, string re /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -217,8 +209,7 @@ public static void Delete(this IManagedDatabasesOperations operations, string re /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -241,8 +232,7 @@ public static ManagedDatabase Update(this IManagedDatabasesOperations operations /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -264,6 +254,46 @@ public static ManagedDatabase Update(this IManagedDatabasesOperations operations } } + /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the managed instance. + /// + public static IPage ListInaccessibleByInstance(this IManagedDatabasesOperations operations, string resourceGroupName, string managedInstanceName) + { + return operations.ListInaccessibleByInstanceAsync(resourceGroupName, managedInstanceName).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the managed instance. + /// + /// + /// The cancellation token. + /// + public static async Task> ListInaccessibleByInstanceAsync(this IManagedDatabasesOperations operations, string resourceGroupName, string managedInstanceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListInaccessibleByInstanceWithHttpMessagesAsync(resourceGroupName, managedInstanceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Completes the restore operation on a managed database. /// @@ -271,8 +301,7 @@ public static ManagedDatabase Update(this IManagedDatabasesOperations operations /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -295,8 +324,7 @@ public static void CompleteRestore(this IManagedDatabasesOperations operations, /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -322,8 +350,7 @@ public static void CompleteRestore(this IManagedDatabasesOperations operations, /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -346,8 +373,7 @@ public static ManagedDatabase BeginCreateOrUpdate(this IManagedDatabasesOperatio /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -376,8 +402,7 @@ public static ManagedDatabase BeginCreateOrUpdate(this IManagedDatabasesOperatio /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -397,8 +422,7 @@ public static void BeginDelete(this IManagedDatabasesOperations operations, stri /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -421,8 +445,7 @@ public static void BeginDelete(this IManagedDatabasesOperations operations, stri /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -445,8 +468,7 @@ public static ManagedDatabase BeginUpdate(this IManagedDatabasesOperations opera /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -475,8 +497,7 @@ public static ManagedDatabase BeginUpdate(this IManagedDatabasesOperations opera /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -499,8 +520,7 @@ public static void BeginCompleteRestore(this IManagedDatabasesOperations operati /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. @@ -553,5 +573,39 @@ public static IPage ListByInstanceNext(this IManagedDatabasesOp } } + /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListInaccessibleByInstanceNext(this IManagedDatabasesOperations operations, string nextPageLink) + { + return operations.ListInaccessibleByInstanceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of inaccessible managed databases in a managed instance + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListInaccessibleByInstanceNextAsync(this IManagedDatabasesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListInaccessibleByInstanceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperations.cs index c29329ed913d..aaa3ffaac776 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperations.cs @@ -51,15 +51,38 @@ internal ManagedInstancesOperations(SqlManagementClient client) public SqlManagementClient Client { get; private set; } /// - /// Gets a list of all managed instances in an instance pool. + /// Failovers a managed instance. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the managed instance. + /// + /// + /// The type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task FailoverWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, managedInstanceName, replicaType, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets a list of managed instances in a resource group. /// /// /// 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 instance pool name. - /// /// /// Headers that will be added to request. /// @@ -81,16 +104,12 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByInstancePoolWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - if (instancePoolName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "instancePoolName"); - } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -104,16 +123,14 @@ internal ManagedInstancesOperations(SqlManagementClient client) _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("instancePoolName", instancePoolName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByInstancePool", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", 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/instancePools/{instancePoolName}/managedInstances").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{instancePoolName}", System.Uri.EscapeDataString(instancePoolName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (apiVersion != null) @@ -246,12 +263,15 @@ internal ManagedInstancesOperations(SqlManagementClient client) } /// - /// Gets a list of managed instances in a resource group. + /// Gets a managed instance. /// /// /// 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 managed instance. + /// /// /// Headers that will be added to request. /// @@ -273,12 +293,16 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } + if (managedInstanceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -292,14 +316,16 @@ internal ManagedInstancesOperations(SqlManagementClient client) _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("managedInstanceName", managedInstanceName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{managedInstanceName}", System.Uri.EscapeDataString(managedInstanceName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (apiVersion != null) @@ -399,7 +425,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -412,7 +438,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -432,7 +458,56 @@ internal ManagedInstancesOperations(SqlManagementClient client) } /// - /// Gets a managed instance. + /// Creates or updates a managed instance. + /// + /// + /// 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 managed instance. + /// + /// + /// The requested managed instance resource state. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, ManagedInstance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, managedInstanceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Deletes a managed instance. + /// + /// + /// 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 managed instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, managedInstanceName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Updates a managed instance. /// /// /// The name of the resource group that contains the resource. You can obtain @@ -441,6 +516,32 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// The name of the managed instance. /// + /// + /// The requested managed instance resource state. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, ManagedInstanceUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginUpdateWithHttpMessagesAsync(resourceGroupName, managedInstanceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets a list of all managed instances in an instance 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 instance pool name. + /// /// /// Headers that will be added to request. /// @@ -462,15 +563,15 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByInstancePoolWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - if (managedInstanceName == null) + if (instancePoolName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); + throw new ValidationException(ValidationRules.CannotBeNull, "instancePoolName"); } if (Client.SubscriptionId == null) { @@ -485,16 +586,16 @@ internal ManagedInstancesOperations(SqlManagementClient client) _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("managedInstanceName", managedInstanceName); + tracingParameters.Add("instancePoolName", instancePoolName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByInstancePool", 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/managedInstances/{managedInstanceName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/managedInstances").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{managedInstanceName}", System.Uri.EscapeDataString(managedInstanceName)); + _url = _url.Replace("{instancePoolName}", System.Uri.EscapeDataString(instancePoolName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (apiVersion != null) @@ -594,7 +695,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -607,7 +708,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -627,84 +728,195 @@ internal ManagedInstancesOperations(SqlManagementClient client) } /// - /// Creates or updates a managed instance. + /// Gets a list of all managed instances in the subscription. /// - /// - /// 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 managed instance. - /// - /// - /// The requested managed instance resource state. - /// /// - /// The headers that will be added to request. + /// Headers that will be added to request. /// /// /// The cancellation token. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, ManagedInstance parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - // Send Request - AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, managedInstanceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2020-02-02-preview"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances").ToString(); + _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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } - /// - /// Deletes a managed instance. - /// - /// - /// 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 managed instance. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, managedInstanceName, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; } /// - /// Updates a managed instance. + /// Failovers a managed instance. /// /// - /// 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 resource group. The name is case insensitive. /// /// /// The name of the managed instance. /// - /// - /// The requested managed instance resource state. + /// + /// The type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' /// /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, ManagedInstanceUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginUpdateWithHttpMessagesAsync(resourceGroupName, managedInstanceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Gets a list of all managed instances in the subscription. - /// - /// /// Headers that will be added to request. /// /// @@ -713,9 +925,6 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -725,13 +934,36 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginFailoverWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-02-02-preview"; + if (managedInstanceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); + } + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -739,19 +971,28 @@ internal ManagedInstancesOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("managedInstanceName", managedInstanceName); + tracingParameters.Add("replicaType", replicaType); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + 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}/providers/Microsoft.Sql/managedInstances").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/failover").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{managedInstanceName}", System.Uri.EscapeDataString(managedInstanceName)); List _queryParameters = new List(); if (apiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); } + if (replicaType != null) + { + _queryParameters.Add(string.Format("replicaType={0}", System.Uri.EscapeDataString(replicaType))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -759,7 +1000,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -810,7 +1051,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -845,31 +1086,13 @@ internal ManagedInstancesOperations(SqlManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -877,32 +1100,6 @@ internal ManagedInstancesOperations(SqlManagementClient client) return _result; } - /// - /// Failovers a managed instance. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the managed instance. - /// - /// - /// The type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task FailoverWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginFailoverWithHttpMessagesAsync(resourceGroupName, managedInstanceName, replicaType, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - /// /// Creates or updates a managed instance. /// @@ -1518,190 +1715,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) } /// - /// Failovers a managed instance. - /// - /// - /// 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 managed instance to failover. - /// - /// - /// The type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' - /// - /// - /// 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 managedInstanceName, string replicaType = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (managedInstanceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "managedInstanceName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - string apiVersion = "2019-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("managedInstanceName", managedInstanceName); - tracingParameters.Add("replicaType", replicaType); - 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/managedInstances/{managedInstanceName}/failover").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{managedInstanceName}", System.Uri.EscapeDataString(managedInstanceName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (replicaType != null) - { - _queryParameters.Add(string.Format("replicaType={0}", System.Uri.EscapeDataString(replicaType))); - } - 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 all managed instances in an instance pool. + /// Gets a list of managed instances in a resource group. /// /// /// The NextLink from the previous successful call to List operation. @@ -1727,7 +1741,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByInstancePoolNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -1742,7 +1756,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByInstancePoolNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -1874,7 +1888,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) } /// - /// Gets a list of managed instances in a resource group. + /// Gets a list of all managed instances in an instance pool. /// /// /// The NextLink from the previous successful call to List operation. @@ -1900,7 +1914,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByInstancePoolNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -1915,7 +1929,7 @@ internal ManagedInstancesOperations(SqlManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByInstancePoolNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperationsExtensions.cs index ab0f853584b4..4f774c2c2835 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ManagedInstancesOperationsExtensions.cs @@ -22,45 +22,48 @@ namespace Microsoft.Azure.Management.Sql public static partial class ManagedInstancesOperationsExtensions { /// - /// Gets a list of all managed instances in an instance pool. + /// Failovers a managed instance. /// /// /// 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 resource group. The name is case insensitive. /// - /// - /// The instance pool name. + /// + /// The name of the managed instance. /// - public static IPage ListByInstancePool(this IManagedInstancesOperations operations, string resourceGroupName, string instancePoolName) + /// + /// The type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' + /// + public static void Failover(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string)) { - return operations.ListByInstancePoolAsync(resourceGroupName, instancePoolName).GetAwaiter().GetResult(); + operations.FailoverAsync(resourceGroupName, managedInstanceName, replicaType).GetAwaiter().GetResult(); } /// - /// Gets a list of all managed instances in an instance pool. + /// Failovers a managed instance. /// /// /// 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 resource group. The name is case insensitive. /// - /// - /// The instance pool name. + /// + /// The name of the managed instance. + /// + /// + /// The type of replica to be failed over. Possible values include: 'Primary', + /// 'ReadableSecondary' /// /// /// The cancellation token. /// - public static async Task> ListByInstancePoolAsync(this IManagedInstancesOperations operations, string resourceGroupName, string instancePoolName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task FailoverAsync(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByInstancePoolWithHttpMessagesAsync(resourceGroupName, instancePoolName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + (await operations.FailoverWithHttpMessagesAsync(resourceGroupName, managedInstanceName, replicaType, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// @@ -276,6 +279,48 @@ public static ManagedInstance Update(this IManagedInstancesOperations operations } } + /// + /// Gets a list of all managed instances in an instance 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 instance pool name. + /// + public static IPage ListByInstancePool(this IManagedInstancesOperations operations, string resourceGroupName, string instancePoolName) + { + return operations.ListByInstancePoolAsync(resourceGroupName, instancePoolName).GetAwaiter().GetResult(); + } + + /// + /// Gets a list of all managed instances in an instance 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 instance pool name. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByInstancePoolAsync(this IManagedInstancesOperations operations, string resourceGroupName, string instancePoolName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByInstancePoolWithHttpMessagesAsync(resourceGroupName, instancePoolName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets a list of all managed instances in the subscription. /// @@ -320,9 +365,9 @@ public static IPage List(this IManagedInstancesOperations opera /// The type of replica to be failed over. Possible values include: 'Primary', /// 'ReadableSecondary' /// - public static void Failover(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string)) + public static void BeginFailover(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string)) { - operations.FailoverAsync(resourceGroupName, managedInstanceName, replicaType).GetAwaiter().GetResult(); + operations.BeginFailoverAsync(resourceGroupName, managedInstanceName, replicaType).GetAwaiter().GetResult(); } /// @@ -344,9 +389,9 @@ public static IPage List(this IManagedInstancesOperations opera /// /// The cancellation token. /// - public static async Task FailoverAsync(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task BeginFailoverAsync(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.FailoverWithHttpMessagesAsync(resourceGroupName, managedInstanceName, replicaType, null, cancellationToken).ConfigureAwait(false)).Dispose(); + (await operations.BeginFailoverWithHttpMessagesAsync(resourceGroupName, managedInstanceName, replicaType, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// @@ -485,52 +530,7 @@ public static ManagedInstance BeginUpdate(this IManagedInstancesOperations opera } /// - /// Failovers a managed instance. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the managed instance. - /// - /// - /// The type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' - /// - public static void BeginFailover(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string)) - { - operations.BeginFailoverAsync(resourceGroupName, managedInstanceName, replicaType).GetAwaiter().GetResult(); - } - - /// - /// Failovers a managed instance. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the managed instance. - /// - /// - /// The type of replica to be failed over. Possible values include: 'Primary', - /// 'ReadableSecondary' - /// - /// - /// The cancellation token. - /// - public static async Task BeginFailoverAsync(this IManagedInstancesOperations operations, string resourceGroupName, string managedInstanceName, string replicaType = default(string), CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.BeginFailoverWithHttpMessagesAsync(resourceGroupName, managedInstanceName, replicaType, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Gets a list of all managed instances in an instance pool. + /// Gets a list of managed instances in a resource group. /// /// /// The operations group for this extension method. @@ -538,13 +538,13 @@ public static ManagedInstance BeginUpdate(this IManagedInstancesOperations opera /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByInstancePoolNext(this IManagedInstancesOperations operations, string nextPageLink) + public static IPage ListByResourceGroupNext(this IManagedInstancesOperations operations, string nextPageLink) { - return operations.ListByInstancePoolNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByResourceGroupNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// - /// Gets a list of all managed instances in an instance pool. + /// Gets a list of managed instances in a resource group. /// /// /// The operations group for this extension method. @@ -555,16 +555,16 @@ public static IPage ListByInstancePoolNext(this IManagedInstanc /// /// The cancellation token. /// - public static async Task> ListByInstancePoolNextAsync(this IManagedInstancesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByResourceGroupNextAsync(this IManagedInstancesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByInstancePoolNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByResourceGroupNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } /// - /// Gets a list of managed instances in a resource group. + /// Gets a list of all managed instances in an instance pool. /// /// /// The operations group for this extension method. @@ -572,13 +572,13 @@ public static IPage ListByInstancePoolNext(this IManagedInstanc /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListByResourceGroupNext(this IManagedInstancesOperations operations, string nextPageLink) + public static IPage ListByInstancePoolNext(this IManagedInstancesOperations operations, string nextPageLink) { - return operations.ListByResourceGroupNextAsync(nextPageLink).GetAwaiter().GetResult(); + return operations.ListByInstancePoolNextAsync(nextPageLink).GetAwaiter().GetResult(); } /// - /// Gets a list of managed instances in a resource group. + /// Gets a list of all managed instances in an instance pool. /// /// /// The operations group for this extension method. @@ -589,9 +589,9 @@ public static IPage ListByResourceGroupNext(this IManagedInstan /// /// The cancellation token. /// - public static async Task> ListByResourceGroupNextAsync(this IManagedInstancesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByInstancePoolNextAsync(this IManagedInstancesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByResourceGroupNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByInstancePoolNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/AuthenticationType.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/AuthenticationType.cs deleted file mode 100644 index 1735cc6cadf7..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/AuthenticationType.cs +++ /dev/null @@ -1,60 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; - - /// - /// Defines values for AuthenticationType. - /// - [JsonConverter(typeof(StringEnumConverter))] - public enum AuthenticationType - { - [EnumMember(Value = "SQL")] - SQL, - [EnumMember(Value = "ADPassword")] - ADPassword - } - internal static class AuthenticationTypeEnumExtension - { - internal static string ToSerializedValue(this AuthenticationType? value) - { - return value == null ? null : ((AuthenticationType)value).ToSerializedValue(); - } - - internal static string ToSerializedValue(this AuthenticationType value) - { - switch( value ) - { - case AuthenticationType.SQL: - return "SQL"; - case AuthenticationType.ADPassword: - return "ADPassword"; - } - return null; - } - - internal static AuthenticationType? ParseAuthenticationType(this string value) - { - switch( value ) - { - case "SQL": - return AuthenticationType.SQL; - case "ADPassword": - return AuthenticationType.ADPassword; - } - return null; - } - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/AutoPauseDelayTimeRange.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/AutoPauseDelayTimeRange.cs new file mode 100644 index 000000000000..e516ef733611 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/AutoPauseDelayTimeRange.cs @@ -0,0 +1,97 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Supported auto pause delay time range + /// + public partial class AutoPauseDelayTimeRange + { + /// + /// Initializes a new instance of the AutoPauseDelayTimeRange class. + /// + public AutoPauseDelayTimeRange() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the AutoPauseDelayTimeRange class. + /// + /// Minimum value + /// Maximum value + /// Step value for discrete values between the + /// minimum value and the maximum value. + /// Default value is no value is + /// provided + /// Unit of time that delay is expressed in. + /// Possible values include: 'Minutes' + /// Value that is used to not pause + /// (infinite delay before pause) + public AutoPauseDelayTimeRange(int? minValue = default(int?), int? maxValue = default(int?), int? stepSize = default(int?), int? defaultProperty = default(int?), string unit = default(string), int? doNotPauseValue = default(int?)) + { + MinValue = minValue; + MaxValue = maxValue; + StepSize = stepSize; + DefaultProperty = defaultProperty; + Unit = unit; + DoNotPauseValue = doNotPauseValue; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets minimum value + /// + [JsonProperty(PropertyName = "minValue")] + public int? MinValue { get; private set; } + + /// + /// Gets maximum value + /// + [JsonProperty(PropertyName = "maxValue")] + public int? MaxValue { get; private set; } + + /// + /// Gets step value for discrete values between the minimum value and + /// the maximum value. + /// + [JsonProperty(PropertyName = "stepSize")] + public int? StepSize { get; private set; } + + /// + /// Gets default value is no value is provided + /// + [JsonProperty(PropertyName = "default")] + public int? DefaultProperty { get; private set; } + + /// + /// Gets unit of time that delay is expressed in. Possible values + /// include: 'Minutes' + /// + [JsonProperty(PropertyName = "unit")] + public string Unit { get; private set; } + + /// + /// Gets value that is used to not pause (infinite delay before pause) + /// + [JsonProperty(PropertyName = "doNotPauseValue")] + public int? DoNotPauseValue { get; private set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/BackupShortTermRetentionPolicy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/BackupShortTermRetentionPolicy.cs index a3666f867d33..c1f8aa1f2397 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/BackupShortTermRetentionPolicy.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/BackupShortTermRetentionPolicy.cs @@ -40,10 +40,15 @@ public BackupShortTermRetentionPolicy() /// The backup retention period in days. /// This is how many days Point-in-Time Restore will be /// supported. - public BackupShortTermRetentionPolicy(string id = default(string), string name = default(string), string type = default(string), int? retentionDays = default(int?)) + /// The differential backup + /// interval in hours. This is how many interval hours between each + /// differential backup will be supported. This is only applicable to + /// live databases but not dropped databases. + public BackupShortTermRetentionPolicy(string id = default(string), string name = default(string), string type = default(string), int? retentionDays = default(int?), int? diffBackupIntervalInHours = default(int?)) : base(id, name, type) { RetentionDays = retentionDays; + DiffBackupIntervalInHours = diffBackupIntervalInHours; CustomInit(); } @@ -59,5 +64,14 @@ public BackupShortTermRetentionPolicy() [JsonProperty(PropertyName = "properties.retentionDays")] public int? RetentionDays { get; set; } + /// + /// Gets or sets the differential backup interval in hours. This is how + /// many interval hours between each differential backup will be + /// supported. This is only applicable to live databases but not + /// dropped databases. + /// + [JsonProperty(PropertyName = "properties.diffBackupIntervalInHours")] + public int? DiffBackupIntervalInHours { get; set; } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CapabilityGroup.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CapabilityGroup.cs index 17a2378a8184..b1b3d583cc8f 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CapabilityGroup.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CapabilityGroup.cs @@ -19,5 +19,7 @@ public static class CapabilityGroup public const string SupportedEditions = "supportedEditions"; public const string SupportedElasticPoolEditions = "supportedElasticPoolEditions"; public const string SupportedManagedInstanceVersions = "supportedManagedInstanceVersions"; + public const string SupportedInstancePoolEditions = "supportedInstancePoolEditions"; + public const string SupportedManagedInstanceEditions = "supportedManagedInstanceEditions"; } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityRequest.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityRequest.cs index 707d7cce78c2..2a038d4fc11a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityRequest.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityRequest.cs @@ -33,8 +33,6 @@ public CheckNameAvailabilityRequest() /// Initializes a new instance of the CheckNameAvailabilityRequest /// class. /// - /// The name whose availability is to be - /// checked. public CheckNameAvailabilityRequest(string name) { Name = name; @@ -54,14 +52,11 @@ static CheckNameAvailabilityRequest() partial void CustomInit(); /// - /// Gets or sets the name whose availability is to be checked. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// The type of resource that is used as the scope of the availability - /// check. /// [JsonProperty(PropertyName = "type")] public static string Type { get; private set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityResponse.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityResponse.cs index 65a8c5fc01e9..ae612275b439 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityResponse.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/CheckNameAvailabilityResponse.cs @@ -14,8 +14,7 @@ namespace Microsoft.Azure.Management.Sql.Models using System.Linq; /// - /// A response indicating whether the specified name for a resource is - /// available. + /// The result of a name availability check. /// public partial class CheckNameAvailabilityResponse { @@ -32,20 +31,20 @@ public CheckNameAvailabilityResponse() /// Initializes a new instance of the CheckNameAvailabilityResponse /// class. /// + /// The name whose availability was checked. /// True if the name is available, otherwise /// false. - /// A message explaining why the name is - /// unavailable. Will be null if the name is available. - /// The name whose availability was checked. /// The reason code explaining why the name is - /// unavailable. Will be null if the name is available. Possible values - /// include: 'Invalid', 'AlreadyExists' - public CheckNameAvailabilityResponse(bool? available = default(bool?), string message = default(string), string name = default(string), CheckNameAvailabilityReason? reason = default(CheckNameAvailabilityReason?)) + /// unavailable. Will be undefined if the name is available. Possible + /// values include: 'Invalid', 'AlreadyExists' + /// A message explaining why the name is + /// unavailable. Will be undefined if the name is available. + public CheckNameAvailabilityResponse(string name = default(string), bool? available = default(bool?), CheckNameAvailabilityReason? reason = default(CheckNameAvailabilityReason?), string message = default(string)) { - Available = available; - Message = message; Name = name; + Available = available; Reason = reason; + Message = message; CustomInit(); } @@ -54,32 +53,32 @@ public CheckNameAvailabilityResponse() /// partial void CustomInit(); - /// - /// Gets true if the name is available, otherwise false. - /// - [JsonProperty(PropertyName = "available")] - public bool? Available { get; private set; } - - /// - /// Gets a message explaining why the name is unavailable. Will be null - /// if the name is available. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; private set; } - /// /// Gets the name whose availability was checked. /// [JsonProperty(PropertyName = "name")] public string Name { get; private set; } + /// + /// Gets true if the name is available, otherwise false. + /// + [JsonProperty(PropertyName = "available")] + public bool? Available { get; private set; } + /// /// Gets the reason code explaining why the name is unavailable. Will - /// be null if the name is available. Possible values include: + /// be undefined if the name is available. Possible values include: /// 'Invalid', 'AlreadyExists' /// [JsonProperty(PropertyName = "reason")] public CheckNameAvailabilityReason? Reason { get; private set; } + /// + /// Gets a message explaining why the name is unavailable. Will be + /// undefined if the name is available. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; private set; } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/Database.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/Database.cs index e5d1cbad1171..29cf0e8f0a62 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/Database.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/Database.cs @@ -152,35 +152,39 @@ public Database() /// redundant, which means the replicas of this database will be spread /// across multiple availability zones. /// The license type to apply for this - /// database. Possible values include: 'LicenseIncluded', + /// database. `LicenseIncluded` if you need a license, or `BasePrice` + /// if you have a license and are eligible for the Azure Hybrid + /// Benefit. Possible values include: 'LicenseIncluded', /// 'BasePrice' /// The max log size for this /// database. /// This records the earliest start /// date and time that restore is available for this database (ISO8601 /// format). - /// If enabled, connections that have - /// application intent set to readonly in their connection string may - /// be routed to a readonly secondary replica. This property is only - /// settable for Premium and Business Critical databases. Possible - /// values include: 'Enabled', 'Disabled' + /// The state of read-only routing. If enabled, + /// connections that have application intent set to readonly in their + /// connection string may be routed to a readonly secondary replica in + /// the same region. Possible values include: 'Enabled', + /// 'Disabled' /// The number of readonly secondary - /// replicas associated with the database to which readonly application - /// intent connections may be routed. This property is only settable - /// for Hyperscale edition databases. + /// replicas associated with the database. /// The name and tier of the SKU. /// Time in minutes after which database /// is automatically paused. A value of -1 means that automatic pause /// is disabled + /// The storage account type used to + /// store backups for this database. Currently the only supported + /// option is GRS (GeoRedundantStorage). Possible values include: + /// 'GRS', 'LRS', 'ZRS' /// Minimal capacity that database will /// always have allocated, if not paused /// The date when database was paused by user - /// configuration or action (ISO8601 format). Null if the database is + /// configuration or action(ISO8601 format). Null if the database is /// ready. /// The date when database was resumed by /// user action or database login (ISO8601 format). Null if the /// database is paused. - public Database(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), string managedBy = default(string), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? readReplicaCount = default(int?), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?)) + public Database(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), string managedBy = default(string), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? readReplicaCount = default(int?), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), string storageAccountType = default(string), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?)) : base(location, id, name, type, tags) { Sku = sku; @@ -214,6 +218,7 @@ public Database() ReadReplicaCount = readReplicaCount; CurrentSku = currentSku; AutoPauseDelay = autoPauseDelay; + StorageAccountType = storageAccountType; MinCapacity = minCapacity; PausedDate = pausedDate; ResumedDate = resumedDate; @@ -444,7 +449,9 @@ public Database() public bool? ZoneRedundant { get; set; } /// - /// Gets or sets the license type to apply for this database. Possible + /// Gets or sets the license type to apply for this database. + /// `LicenseIncluded` if you need a license, or `BasePrice` if you have + /// a license and are eligible for the Azure Hybrid Benefit. Possible /// values include: 'LicenseIncluded', 'BasePrice' /// [JsonProperty(PropertyName = "properties.licenseType")] @@ -464,20 +471,17 @@ public Database() public System.DateTime? EarliestRestoreDate { get; private set; } /// - /// Gets or sets if enabled, connections that have application intent - /// set to readonly in their connection string may be routed to a - /// readonly secondary replica. This property is only settable for - /// Premium and Business Critical databases. Possible values include: - /// 'Enabled', 'Disabled' + /// Gets or sets the state of read-only routing. If enabled, + /// connections that have application intent set to readonly in their + /// connection string may be routed to a readonly secondary replica in + /// the same region. Possible values include: 'Enabled', 'Disabled' /// [JsonProperty(PropertyName = "properties.readScale")] public string ReadScale { get; set; } /// /// Gets or sets the number of readonly secondary replicas associated - /// with the database to which readonly application intent connections - /// may be routed. This property is only settable for Hyperscale - /// edition databases. + /// with the database. /// [JsonProperty(PropertyName = "properties.readReplicaCount")] public int? ReadReplicaCount { get; set; } @@ -495,6 +499,14 @@ public Database() [JsonProperty(PropertyName = "properties.autoPauseDelay")] public int? AutoPauseDelay { get; set; } + /// + /// Gets or sets the storage account type used to store backups for + /// this database. Currently the only supported option is GRS + /// (GeoRedundantStorage). Possible values include: 'GRS', 'LRS', 'ZRS' + /// + [JsonProperty(PropertyName = "properties.storageAccountType")] + public string StorageAccountType { get; set; } + /// /// Gets or sets minimal capacity that database will always have /// allocated, if not paused @@ -504,7 +516,7 @@ public Database() /// /// Gets the date when database was paused by user configuration or - /// action (ISO8601 format). Null if the database is ready. + /// action(ISO8601 format). Null if the database is ready. /// [JsonProperty(PropertyName = "properties.pausedDate")] public System.DateTime? PausedDate { get; private set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseBlobAuditingPolicy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseBlobAuditingPolicy.cs index b4f9bc89e6db..639db988b972 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseBlobAuditingPolicy.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseBlobAuditingPolicy.cs @@ -46,9 +46,19 @@ public DatabaseBlobAuditingPolicy() /// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is /// required. /// Specifies the identifier key - /// of the auditing storage account. If state is Enabled and - /// storageEndpoint is specified, storageAccountAccessKey is - /// required. + /// of the auditing storage account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// Specifies the number of days to keep in /// the audit logs in the storage account. /// Specifies the Actions-Groups @@ -200,8 +210,19 @@ public DatabaseBlobAuditingPolicy() /// /// Gets or sets specifies the identifier key of the auditing storage - /// account. If state is Enabled and storageEndpoint is specified, - /// storageAccountAccessKey is required. + /// account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// [JsonProperty(PropertyName = "properties.storageAccountAccessKey")] public string StorageAccountAccessKey { get; set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseEdition.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseEdition.cs deleted file mode 100644 index 61860575afdd..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseEdition.cs +++ /dev/null @@ -1,34 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - - /// - /// Defines values for DatabaseEdition. - /// - public static class DatabaseEdition - { - public const string Web = "Web"; - public const string Business = "Business"; - public const string Basic = "Basic"; - public const string Standard = "Standard"; - public const string Premium = "Premium"; - public const string PremiumRS = "PremiumRS"; - public const string Free = "Free"; - public const string Stretch = "Stretch"; - public const string DataWarehouse = "DataWarehouse"; - public const string System = "System"; - public const string System2 = "System2"; - public const string GeneralPurpose = "GeneralPurpose"; - public const string BusinessCritical = "BusinessCritical"; - public const string Hyperscale = "Hyperscale"; - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseUpdate.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseUpdate.cs index 275cd2e70a33..e076f81f96d2 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseUpdate.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseUpdate.cs @@ -129,36 +129,40 @@ public DatabaseUpdate() /// redundant, which means the replicas of this database will be spread /// across multiple availability zones. /// The license type to apply for this - /// database. Possible values include: 'LicenseIncluded', + /// database. `LicenseIncluded` if you need a license, or `BasePrice` + /// if you have a license and are eligible for the Azure Hybrid + /// Benefit. Possible values include: 'LicenseIncluded', /// 'BasePrice' /// The max log size for this /// database. /// This records the earliest start /// date and time that restore is available for this database (ISO8601 /// format). - /// If enabled, connections that have - /// application intent set to readonly in their connection string may - /// be routed to a readonly secondary replica. This property is only - /// settable for Premium and Business Critical databases. Possible - /// values include: 'Enabled', 'Disabled' + /// The state of read-only routing. If enabled, + /// connections that have application intent set to readonly in their + /// connection string may be routed to a readonly secondary replica in + /// the same region. Possible values include: 'Enabled', + /// 'Disabled' /// The number of readonly secondary - /// replicas associated with the database to which readonly application - /// intent connections may be routed. This property is only settable - /// for Hyperscale edition databases. + /// replicas associated with the database. /// The name and tier of the SKU. /// Time in minutes after which database /// is automatically paused. A value of -1 means that automatic pause /// is disabled + /// The storage account type used to + /// store backups for this database. Currently the only supported + /// option is GRS (GeoRedundantStorage). Possible values include: + /// 'GRS', 'LRS', 'ZRS' /// Minimal capacity that database will /// always have allocated, if not paused /// The date when database was paused by user - /// configuration or action (ISO8601 format). Null if the database is + /// configuration or action(ISO8601 format). Null if the database is /// ready. /// The date when database was resumed by /// user action or database login (ISO8601 format). Null if the /// database is paused. /// Resource tags. - public DatabaseUpdate(Sku sku = default(Sku), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? readReplicaCount = default(int?), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?), IDictionary tags = default(IDictionary)) + public DatabaseUpdate(Sku sku = default(Sku), string createMode = default(string), string collation = default(string), long? maxSizeBytes = default(long?), string sampleName = default(string), string elasticPoolId = default(string), string sourceDatabaseId = default(string), string status = default(string), System.Guid? databaseId = default(System.Guid?), System.DateTime? creationDate = default(System.DateTime?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string defaultSecondaryLocation = default(string), string failoverGroupId = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?), string recoveryServicesRecoveryPointId = default(string), string longTermRetentionBackupResourceId = default(string), string recoverableDatabaseId = default(string), string restorableDroppedDatabaseId = default(string), string catalogCollation = default(string), bool? zoneRedundant = default(bool?), string licenseType = default(string), long? maxLogSizeBytes = default(long?), System.DateTime? earliestRestoreDate = default(System.DateTime?), string readScale = default(string), int? readReplicaCount = default(int?), Sku currentSku = default(Sku), int? autoPauseDelay = default(int?), string storageAccountType = default(string), double? minCapacity = default(double?), System.DateTime? pausedDate = default(System.DateTime?), System.DateTime? resumedDate = default(System.DateTime?), IDictionary tags = default(IDictionary)) { Sku = sku; CreateMode = createMode; @@ -189,6 +193,7 @@ public DatabaseUpdate() ReadReplicaCount = readReplicaCount; CurrentSku = currentSku; AutoPauseDelay = autoPauseDelay; + StorageAccountType = storageAccountType; MinCapacity = minCapacity; PausedDate = pausedDate; ResumedDate = resumedDate; @@ -392,7 +397,9 @@ public DatabaseUpdate() public bool? ZoneRedundant { get; set; } /// - /// Gets or sets the license type to apply for this database. Possible + /// Gets or sets the license type to apply for this database. + /// `LicenseIncluded` if you need a license, or `BasePrice` if you have + /// a license and are eligible for the Azure Hybrid Benefit. Possible /// values include: 'LicenseIncluded', 'BasePrice' /// [JsonProperty(PropertyName = "properties.licenseType")] @@ -412,20 +419,17 @@ public DatabaseUpdate() public System.DateTime? EarliestRestoreDate { get; private set; } /// - /// Gets or sets if enabled, connections that have application intent - /// set to readonly in their connection string may be routed to a - /// readonly secondary replica. This property is only settable for - /// Premium and Business Critical databases. Possible values include: - /// 'Enabled', 'Disabled' + /// Gets or sets the state of read-only routing. If enabled, + /// connections that have application intent set to readonly in their + /// connection string may be routed to a readonly secondary replica in + /// the same region. Possible values include: 'Enabled', 'Disabled' /// [JsonProperty(PropertyName = "properties.readScale")] public string ReadScale { get; set; } /// /// Gets or sets the number of readonly secondary replicas associated - /// with the database to which readonly application intent connections - /// may be routed. This property is only settable for Hyperscale - /// edition databases. + /// with the database. /// [JsonProperty(PropertyName = "properties.readReplicaCount")] public int? ReadReplicaCount { get; set; } @@ -443,6 +447,14 @@ public DatabaseUpdate() [JsonProperty(PropertyName = "properties.autoPauseDelay")] public int? AutoPauseDelay { get; set; } + /// + /// Gets or sets the storage account type used to store backups for + /// this database. Currently the only supported option is GRS + /// (GeoRedundantStorage). Possible values include: 'GRS', 'LRS', 'ZRS' + /// + [JsonProperty(PropertyName = "properties.storageAccountType")] + public string StorageAccountType { get; set; } + /// /// Gets or sets minimal capacity that database will always have /// allocated, if not paused @@ -452,7 +464,7 @@ public DatabaseUpdate() /// /// Gets the date when database was paused by user configuration or - /// action (ISO8601 format). Null if the database is ready. + /// action(ISO8601 format). Null if the database is ready. /// [JsonProperty(PropertyName = "properties.pausedDate")] public System.DateTime? PausedDate { get; private set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseVulnerabilityAssessment.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseVulnerabilityAssessment.cs index 0fcc79220867..4ad6c58749bf 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseVulnerabilityAssessment.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/DatabaseVulnerabilityAssessment.cs @@ -42,8 +42,8 @@ public DatabaseVulnerabilityAssessment() /// https://myStorage.blob.core.windows.net/VaScans/). It is required /// if server level vulnerability assessment policy doesn't set /// A shared access signature (SAS - /// Key) that has write access to the blob container specified in - /// 'storageContainerPath' parameter. If 'storageAccountAccessKey' + /// Key) that has read and write access to the blob container specified + /// in 'storageContainerPath' parameter. If 'storageAccountAccessKey' /// isn't specified, StorageContainerSasKey is required. /// Specifies the identifier key /// of the storage account for vulnerability assessment scan results. @@ -75,10 +75,10 @@ public DatabaseVulnerabilityAssessment() public string StorageContainerPath { get; set; } /// - /// Gets or sets a shared access signature (SAS Key) that has write - /// access to the blob container specified in 'storageContainerPath' - /// parameter. If 'storageAccountAccessKey' isn't specified, - /// StorageContainerSasKey is required. + /// Gets or sets a shared access signature (SAS Key) that has read and + /// write access to the blob container specified in + /// 'storageContainerPath' parameter. If 'storageAccountAccessKey' + /// isn't specified, StorageContainerSasKey is required. /// [JsonProperty(PropertyName = "properties.storageContainerSasKey")] public string StorageContainerSasKey { get; set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/EditionCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/EditionCapability.cs index f68ebcfb7e50..6876d1efeb61 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/EditionCapability.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/EditionCapability.cs @@ -36,15 +36,21 @@ public EditionCapability() /// service objectives for the edition. /// Whether or not zone redundancy is /// supported for the edition. + /// The read scale capability for the + /// edition. + /// The list of supported + /// storage capabilities for this edition /// The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled' /// The reason for the capability not being /// available. - public EditionCapability(string name = default(string), IList supportedServiceLevelObjectives = default(IList), bool? zoneRedundant = default(bool?), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + public EditionCapability(string name = default(string), IList supportedServiceLevelObjectives = default(IList), bool? zoneRedundant = default(bool?), ReadScaleCapability readScale = default(ReadScaleCapability), IList supportedStorageCapabilities = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) { Name = name; SupportedServiceLevelObjectives = supportedServiceLevelObjectives; ZoneRedundant = zoneRedundant; + ReadScale = readScale; + SupportedStorageCapabilities = supportedStorageCapabilities; Status = status; Reason = reason; CustomInit(); @@ -73,6 +79,18 @@ public EditionCapability() [JsonProperty(PropertyName = "zoneRedundant")] public bool? ZoneRedundant { get; private set; } + /// + /// Gets the read scale capability for the edition. + /// + [JsonProperty(PropertyName = "readScale")] + public ReadScaleCapability ReadScale { get; private set; } + + /// + /// Gets the list of supported storage capabilities for this edition + /// + [JsonProperty(PropertyName = "supportedStorageCapabilities")] + public IList SupportedStorageCapabilities { get; private set; } + /// /// Gets the status of the capability. Possible values include: /// 'Visible', 'Available', 'Default', 'Disabled' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ElasticPoolPerformanceLevelCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ElasticPoolPerformanceLevelCapability.cs index 7f42a53b6408..9dfae52b9858 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ElasticPoolPerformanceLevelCapability.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ElasticPoolPerformanceLevelCapability.cs @@ -48,11 +48,13 @@ public ElasticPoolPerformanceLevelCapability() /// per database max sizes. /// The list of /// supported per database max performance levels. + /// Whether or not zone redundancy is + /// supported for the performance level. /// The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled' /// The reason for the capability not being /// available. - public ElasticPoolPerformanceLevelCapability(PerformanceLevelCapability performanceLevel = default(PerformanceLevelCapability), Sku sku = default(Sku), IList supportedLicenseTypes = default(IList), int? maxDatabaseCount = default(int?), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), IList supportedMaxSizes = default(IList), IList supportedPerDatabaseMaxSizes = default(IList), IList supportedPerDatabaseMaxPerformanceLevels = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + public ElasticPoolPerformanceLevelCapability(PerformanceLevelCapability performanceLevel = default(PerformanceLevelCapability), Sku sku = default(Sku), IList supportedLicenseTypes = default(IList), int? maxDatabaseCount = default(int?), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), IList supportedMaxSizes = default(IList), IList supportedPerDatabaseMaxSizes = default(IList), IList supportedPerDatabaseMaxPerformanceLevels = default(IList), bool? zoneRedundant = default(bool?), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) { PerformanceLevel = performanceLevel; Sku = sku; @@ -62,6 +64,7 @@ public ElasticPoolPerformanceLevelCapability() SupportedMaxSizes = supportedMaxSizes; SupportedPerDatabaseMaxSizes = supportedPerDatabaseMaxSizes; SupportedPerDatabaseMaxPerformanceLevels = supportedPerDatabaseMaxPerformanceLevels; + ZoneRedundant = zoneRedundant; Status = status; Reason = reason; CustomInit(); @@ -120,6 +123,13 @@ public ElasticPoolPerformanceLevelCapability() [JsonProperty(PropertyName = "supportedPerDatabaseMaxPerformanceLevels")] public IList SupportedPerDatabaseMaxPerformanceLevels { get; private set; } + /// + /// Gets whether or not zone redundancy is supported for the + /// performance level. + /// + [JsonProperty(PropertyName = "zoneRedundant")] + public bool? ZoneRedundant { get; private set; } + /// /// Gets the status of the capability. Possible values include: /// 'Visible', 'Available', 'Default', 'Disabled' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExportRequest.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExportDatabaseDefinition.cs similarity index 56% rename from sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExportRequest.cs rename to sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExportDatabaseDefinition.cs index 24d7c5b4fd6b..0a98139a22b7 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExportRequest.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExportDatabaseDefinition.cs @@ -15,34 +15,33 @@ namespace Microsoft.Azure.Management.Sql.Models using System.Linq; /// - /// Export database parameters. + /// Contains the information necessary to perform export database + /// operation. /// - public partial class ExportRequest + public partial class ExportDatabaseDefinition { /// - /// Initializes a new instance of the ExportRequest class. + /// Initializes a new instance of the ExportDatabaseDefinition class. /// - public ExportRequest() + public ExportDatabaseDefinition() { CustomInit(); } /// - /// Initializes a new instance of the ExportRequest class. + /// Initializes a new instance of the ExportDatabaseDefinition class. /// - /// The type of the storage key to use. - /// Possible values include: 'StorageAccessKey', - /// 'SharedAccessKey' - /// The storage key to use. If storage key - /// type is SharedAccessKey, it must be preceded with a "?." - /// The storage uri to use. - /// The name of the SQL - /// administrator. - /// The password of the SQL - /// administrator. - /// The authentication type. Possible - /// values include: 'SQL', 'ADPassword' - public ExportRequest(StorageKeyType storageKeyType, string storageKey, string storageUri, string administratorLogin, string administratorLoginPassword, AuthenticationType? authenticationType = default(AuthenticationType?)) + /// Storage key type. Possible values + /// include: 'SharedAccessKey', 'StorageAccessKey' + /// Storage key. + /// Storage Uri. + /// Administrator login name. + /// Administrator login + /// password. + /// Authentication type. + /// Optional resource information to + /// enable network isolation for request. + public ExportDatabaseDefinition(string storageKeyType, string storageKey, string storageUri, string administratorLogin, string administratorLoginPassword, string authenticationType = default(string), NetworkIsolationSettings networkIsolation = default(NetworkIsolationSettings)) { StorageKeyType = storageKeyType; StorageKey = storageKey; @@ -50,6 +49,7 @@ public ExportRequest() AdministratorLogin = administratorLogin; AdministratorLoginPassword = administratorLoginPassword; AuthenticationType = authenticationType; + NetworkIsolation = networkIsolation; CustomInit(); } @@ -59,43 +59,48 @@ public ExportRequest() partial void CustomInit(); /// - /// Gets or sets the type of the storage key to use. Possible values - /// include: 'StorageAccessKey', 'SharedAccessKey' + /// Gets or sets storage key type. Possible values include: + /// 'SharedAccessKey', 'StorageAccessKey' /// [JsonProperty(PropertyName = "storageKeyType")] - public StorageKeyType StorageKeyType { get; set; } + public string StorageKeyType { get; set; } /// - /// Gets or sets the storage key to use. If storage key type is - /// SharedAccessKey, it must be preceded with a "?." + /// Gets or sets storage key. /// [JsonProperty(PropertyName = "storageKey")] public string StorageKey { get; set; } /// - /// Gets or sets the storage uri to use. + /// Gets or sets storage Uri. /// [JsonProperty(PropertyName = "storageUri")] public string StorageUri { get; set; } /// - /// Gets or sets the name of the SQL administrator. + /// Gets or sets administrator login name. /// [JsonProperty(PropertyName = "administratorLogin")] public string AdministratorLogin { get; set; } /// - /// Gets or sets the password of the SQL administrator. + /// Gets or sets administrator login password. /// [JsonProperty(PropertyName = "administratorLoginPassword")] public string AdministratorLoginPassword { get; set; } /// - /// Gets or sets the authentication type. Possible values include: - /// 'SQL', 'ADPassword' + /// Gets or sets authentication type. /// [JsonProperty(PropertyName = "authenticationType")] - public AuthenticationType? AuthenticationType { get; set; } + public string AuthenticationType { get; set; } + + /// + /// Gets or sets optional resource information to enable network + /// isolation for request. + /// + [JsonProperty(PropertyName = "networkIsolation")] + public NetworkIsolationSettings NetworkIsolation { get; set; } /// /// Validate the object. @@ -105,6 +110,10 @@ public ExportRequest() /// public virtual void Validate() { + if (StorageKeyType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageKeyType"); + } if (StorageKey == null) { throw new ValidationException(ValidationRules.CannotBeNull, "StorageKey"); diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicy.cs index 26e8b807a859..fb45c749c8e3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicy.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicy.cs @@ -49,9 +49,19 @@ public ExtendedDatabaseBlobAuditingPolicy() /// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is /// required. /// Specifies the identifier key - /// of the auditing storage account. If state is Enabled and - /// storageEndpoint is specified, storageAccountAccessKey is - /// required. + /// of the auditing storage account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// Specifies the number of days to keep in /// the audit logs in the storage account. /// Specifies the Actions-Groups @@ -204,8 +214,19 @@ public ExtendedDatabaseBlobAuditingPolicy() /// /// Gets or sets specifies the identifier key of the auditing storage - /// account. If state is Enabled and storageEndpoint is specified, - /// storageAccountAccessKey is required. + /// account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// [JsonProperty(PropertyName = "properties.storageAccountAccessKey")] public string StorageAccountAccessKey { get; set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs index 31f94db40baa..f7e2e879b2bf 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs @@ -49,9 +49,19 @@ public ExtendedServerBlobAuditingPolicy() /// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is /// required. /// Specifies the identifier key - /// of the auditing storage account. If state is Enabled and - /// storageEndpoint is specified, storageAccountAccessKey is - /// required. + /// of the auditing storage account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// Specifies the number of days to keep in /// the audit logs in the storage account. /// Specifies the Actions-Groups @@ -204,8 +214,19 @@ public ExtendedServerBlobAuditingPolicy() /// /// Gets or sets specifies the identifier key of the auditing storage - /// account. If state is Enabled and storageEndpoint is specified, - /// storageAccountAccessKey is required. + /// account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// [JsonProperty(PropertyName = "properties.storageAccountAccessKey")] public string StorageAccountAccessKey { get; set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExistingDatabaseDefinition.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExistingDatabaseDefinition.cs new file mode 100644 index 000000000000..3cca5ca109c9 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExistingDatabaseDefinition.cs @@ -0,0 +1,137 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contains the information necessary to perform import operation for + /// existing database. + /// + public partial class ImportExistingDatabaseDefinition + { + /// + /// Initializes a new instance of the ImportExistingDatabaseDefinition + /// class. + /// + public ImportExistingDatabaseDefinition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ImportExistingDatabaseDefinition + /// class. + /// + /// Storage key type. Possible values + /// include: 'SharedAccessKey', 'StorageAccessKey' + /// Storage key. + /// Storage Uri. + /// Administrator login name. + /// Administrator login + /// password. + /// Authentication type. + /// Optional resource information to + /// enable network isolation for request. + public ImportExistingDatabaseDefinition(string storageKeyType, string storageKey, string storageUri, string administratorLogin, string administratorLoginPassword, string authenticationType = default(string), NetworkIsolationSettings networkIsolation = default(NetworkIsolationSettings)) + { + StorageKeyType = storageKeyType; + StorageKey = storageKey; + StorageUri = storageUri; + AdministratorLogin = administratorLogin; + AdministratorLoginPassword = administratorLoginPassword; + AuthenticationType = authenticationType; + NetworkIsolation = networkIsolation; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets storage key type. Possible values include: + /// 'SharedAccessKey', 'StorageAccessKey' + /// + [JsonProperty(PropertyName = "storageKeyType")] + public string StorageKeyType { get; set; } + + /// + /// Gets or sets storage key. + /// + [JsonProperty(PropertyName = "storageKey")] + public string StorageKey { get; set; } + + /// + /// Gets or sets storage Uri. + /// + [JsonProperty(PropertyName = "storageUri")] + public string StorageUri { get; set; } + + /// + /// Gets or sets administrator login name. + /// + [JsonProperty(PropertyName = "administratorLogin")] + public string AdministratorLogin { get; set; } + + /// + /// Gets or sets administrator login password. + /// + [JsonProperty(PropertyName = "administratorLoginPassword")] + public string AdministratorLoginPassword { get; set; } + + /// + /// Gets or sets authentication type. + /// + [JsonProperty(PropertyName = "authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets optional resource information to enable network + /// isolation for request. + /// + [JsonProperty(PropertyName = "networkIsolation")] + public NetworkIsolationSettings NetworkIsolation { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (StorageKeyType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageKeyType"); + } + if (StorageKey == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageKey"); + } + if (StorageUri == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageUri"); + } + if (AdministratorLogin == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AdministratorLogin"); + } + if (AdministratorLoginPassword == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AdministratorLoginPassword"); + } + } + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExportResponse.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExportOperationResult.cs similarity index 55% rename from sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExportResponse.cs rename to sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExportOperationResult.cs index d0c551fe42ea..548a1664d3b2 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExportResponse.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExportOperationResult.cs @@ -13,53 +13,56 @@ namespace Microsoft.Azure.Management.Sql.Models using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// - /// Response for Import/Export Get operation. + /// An ImportExport operation result resource. /// [Rest.Serialization.JsonTransformation] - public partial class ImportExportResponse : ProxyResource + public partial class ImportExportOperationResult : ProxyResource { /// - /// Initializes a new instance of the ImportExportResponse class. + /// Initializes a new instance of the ImportExportOperationResult + /// class. /// - public ImportExportResponse() + public ImportExportOperationResult() { CustomInit(); } /// - /// Initializes a new instance of the ImportExportResponse class. + /// Initializes a new instance of the ImportExportOperationResult + /// class. /// /// Resource ID. /// Resource name. /// Resource type. - /// The request type of the - /// operation. - /// The request type of the operation. - /// The name of the server. - /// The name of the database. - /// The status message returned from the - /// server. - /// The operation status last modified - /// time. - /// The operation queued time. - /// The blob uri. - /// The error message returned from the - /// server. - public ImportExportResponse(string id = default(string), string name = default(string), string type = default(string), string requestType = default(string), System.Guid? requestId = default(System.Guid?), string serverName = default(string), string databaseName = default(string), string status = default(string), string lastModifiedTime = default(string), string queuedTime = default(string), string blobUri = default(string), string errorMessage = default(string)) + /// Request Id. + /// Request type. + /// Queued time. + /// Last modified time. + /// Blob Uri. + /// Server name. + /// Database name. + /// Operation status. + /// Error message. + /// Gets the status of private + /// endpoints associated with this request. + public ImportExportOperationResult(string id = default(string), string name = default(string), string type = default(string), System.Guid? requestId = default(System.Guid?), string requestType = default(string), string queuedTime = default(string), string lastModifiedTime = default(string), string blobUri = default(string), string serverName = default(string), string databaseName = default(string), string status = default(string), string errorMessage = default(string), IList privateEndpointConnections = default(IList)) : base(id, name, type) { - RequestType = requestType; RequestId = requestId; + RequestType = requestType; + QueuedTime = queuedTime; + LastModifiedTime = lastModifiedTime; + BlobUri = blobUri; ServerName = serverName; DatabaseName = databaseName; Status = status; - LastModifiedTime = lastModifiedTime; - QueuedTime = queuedTime; - BlobUri = blobUri; ErrorMessage = errorMessage; + PrivateEndpointConnections = privateEndpointConnections; CustomInit(); } @@ -69,58 +72,64 @@ public ImportExportResponse() partial void CustomInit(); /// - /// Gets the request type of the operation. + /// Gets request Id. /// - [JsonProperty(PropertyName = "properties.requestType")] - public string RequestType { get; private set; } + [JsonProperty(PropertyName = "properties.requestId")] + public System.Guid? RequestId { get; private set; } /// - /// Gets the request type of the operation. + /// Gets request type. /// - [JsonProperty(PropertyName = "properties.requestId")] - public System.Guid? RequestId { get; private set; } + [JsonProperty(PropertyName = "properties.requestType")] + public string RequestType { get; private set; } /// - /// Gets the name of the server. + /// Gets queued time. /// - [JsonProperty(PropertyName = "properties.serverName")] - public string ServerName { get; private set; } + [JsonProperty(PropertyName = "properties.queuedTime")] + public string QueuedTime { get; private set; } /// - /// Gets the name of the database. + /// Gets last modified time. /// - [JsonProperty(PropertyName = "properties.databaseName")] - public string DatabaseName { get; private set; } + [JsonProperty(PropertyName = "properties.lastModifiedTime")] + public string LastModifiedTime { get; private set; } /// - /// Gets the status message returned from the server. + /// Gets blob Uri. /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; private set; } + [JsonProperty(PropertyName = "properties.blobUri")] + public string BlobUri { get; private set; } /// - /// Gets the operation status last modified time. + /// Gets server name. /// - [JsonProperty(PropertyName = "properties.lastModifiedTime")] - public string LastModifiedTime { get; private set; } + [JsonProperty(PropertyName = "properties.serverName")] + public string ServerName { get; private set; } /// - /// Gets the operation queued time. + /// Gets database name. /// - [JsonProperty(PropertyName = "properties.queuedTime")] - public string QueuedTime { get; private set; } + [JsonProperty(PropertyName = "properties.databaseName")] + public string DatabaseName { get; private set; } /// - /// Gets the blob uri. + /// Gets operation status. /// - [JsonProperty(PropertyName = "properties.blobUri")] - public string BlobUri { get; private set; } + [JsonProperty(PropertyName = "properties.status")] + public string Status { get; private set; } /// - /// Gets the error message returned from the server. + /// Gets error message. /// [JsonProperty(PropertyName = "properties.errorMessage")] public string ErrorMessage { get; private set; } + /// + /// Gets the status of private endpoints associated with this request. + /// + [JsonProperty(PropertyName = "properties.privateEndpointConnections")] + public IList PrivateEndpointConnections { get; private set; } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExtensionRequest.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExtensionRequest.cs deleted file mode 100644 index 7718b700a6b7..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportExtensionRequest.cs +++ /dev/null @@ -1,158 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Import database parameters. - /// - [Rest.Serialization.JsonTransformation] - public partial class ImportExtensionRequest - { - /// - /// Initializes a new instance of the ImportExtensionRequest class. - /// - public ImportExtensionRequest() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ImportExtensionRequest class. - /// - /// The type of the storage key to use. - /// Possible values include: 'StorageAccessKey', - /// 'SharedAccessKey' - /// The storage key to use. If storage key - /// type is SharedAccessKey, it must be preceded with a "?." - /// The storage uri to use. - /// The name of the SQL - /// administrator. - /// The password of the SQL - /// administrator. - /// The name of the extension. - /// The type of the extension. - /// The authentication type. Possible - /// values include: 'SQL', 'ADPassword' - public ImportExtensionRequest(StorageKeyType storageKeyType, string storageKey, string storageUri, string administratorLogin, string administratorLoginPassword, string name = default(string), string type = default(string), AuthenticationType? authenticationType = default(AuthenticationType?)) - { - Name = name; - Type = type; - StorageKeyType = storageKeyType; - StorageKey = storageKey; - StorageUri = storageUri; - AdministratorLogin = administratorLogin; - AdministratorLoginPassword = administratorLoginPassword; - AuthenticationType = authenticationType; - CustomInit(); - } - /// - /// Static constructor for ImportExtensionRequest class. - /// - static ImportExtensionRequest() - { - OperationMode = "Import"; - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the extension. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } - - /// - /// Gets or sets the type of the extension. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; set; } - - /// - /// Gets or sets the type of the storage key to use. Possible values - /// include: 'StorageAccessKey', 'SharedAccessKey' - /// - [JsonProperty(PropertyName = "properties.storageKeyType")] - public StorageKeyType StorageKeyType { get; set; } - - /// - /// Gets or sets the storage key to use. If storage key type is - /// SharedAccessKey, it must be preceded with a "?." - /// - [JsonProperty(PropertyName = "properties.storageKey")] - public string StorageKey { get; set; } - - /// - /// Gets or sets the storage uri to use. - /// - [JsonProperty(PropertyName = "properties.storageUri")] - public string StorageUri { get; set; } - - /// - /// Gets or sets the name of the SQL administrator. - /// - [JsonProperty(PropertyName = "properties.administratorLogin")] - public string AdministratorLogin { get; set; } - - /// - /// Gets or sets the password of the SQL administrator. - /// - [JsonProperty(PropertyName = "properties.administratorLoginPassword")] - public string AdministratorLoginPassword { get; set; } - - /// - /// Gets or sets the authentication type. Possible values include: - /// 'SQL', 'ADPassword' - /// - [JsonProperty(PropertyName = "properties.authenticationType")] - public AuthenticationType? AuthenticationType { get; set; } - - /// - /// The type of import operation being performed. This is always - /// Import. - /// - [JsonProperty(PropertyName = "properties.operationMode")] - public static string OperationMode { get; private set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (StorageKey == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "StorageKey"); - } - if (StorageUri == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "StorageUri"); - } - if (AdministratorLogin == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AdministratorLogin"); - } - if (AdministratorLoginPassword == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "AdministratorLoginPassword"); - } - } - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportNewDatabaseDefinition.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportNewDatabaseDefinition.cs new file mode 100644 index 000000000000..db630e00fd92 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportNewDatabaseDefinition.cs @@ -0,0 +1,171 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contains the information necessary to perform import operation for new + /// database. + /// + public partial class ImportNewDatabaseDefinition + { + /// + /// Initializes a new instance of the ImportNewDatabaseDefinition + /// class. + /// + public ImportNewDatabaseDefinition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ImportNewDatabaseDefinition + /// class. + /// + /// Storage key type. Possible values + /// include: 'SharedAccessKey', 'StorageAccessKey' + /// Storage key. + /// Storage Uri. + /// Administrator login name. + /// Administrator login + /// password. + /// Name of the import database. + /// Edition of the import database. + /// Service level objective name of + /// the import database. + /// Max size in bytes for the import + /// database. + /// Authentication type. + /// Optional resource information to + /// enable network isolation for request. + public ImportNewDatabaseDefinition(string storageKeyType, string storageKey, string storageUri, string administratorLogin, string administratorLoginPassword, string databaseName = default(string), string edition = default(string), string serviceObjectiveName = default(string), string maxSizeBytes = default(string), string authenticationType = default(string), NetworkIsolationSettings networkIsolation = default(NetworkIsolationSettings)) + { + DatabaseName = databaseName; + Edition = edition; + ServiceObjectiveName = serviceObjectiveName; + MaxSizeBytes = maxSizeBytes; + StorageKeyType = storageKeyType; + StorageKey = storageKey; + StorageUri = storageUri; + AdministratorLogin = administratorLogin; + AdministratorLoginPassword = administratorLoginPassword; + AuthenticationType = authenticationType; + NetworkIsolation = networkIsolation; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the import database. + /// + [JsonProperty(PropertyName = "databaseName")] + public string DatabaseName { get; set; } + + /// + /// Gets or sets edition of the import database. + /// + [JsonProperty(PropertyName = "edition")] + public string Edition { get; set; } + + /// + /// Gets or sets service level objective name of the import database. + /// + [JsonProperty(PropertyName = "serviceObjectiveName")] + public string ServiceObjectiveName { get; set; } + + /// + /// Gets or sets max size in bytes for the import database. + /// + [JsonProperty(PropertyName = "maxSizeBytes")] + public string MaxSizeBytes { get; set; } + + /// + /// Gets or sets storage key type. Possible values include: + /// 'SharedAccessKey', 'StorageAccessKey' + /// + [JsonProperty(PropertyName = "storageKeyType")] + public string StorageKeyType { get; set; } + + /// + /// Gets or sets storage key. + /// + [JsonProperty(PropertyName = "storageKey")] + public string StorageKey { get; set; } + + /// + /// Gets or sets storage Uri. + /// + [JsonProperty(PropertyName = "storageUri")] + public string StorageUri { get; set; } + + /// + /// Gets or sets administrator login name. + /// + [JsonProperty(PropertyName = "administratorLogin")] + public string AdministratorLogin { get; set; } + + /// + /// Gets or sets administrator login password. + /// + [JsonProperty(PropertyName = "administratorLoginPassword")] + public string AdministratorLoginPassword { get; set; } + + /// + /// Gets or sets authentication type. + /// + [JsonProperty(PropertyName = "authenticationType")] + public string AuthenticationType { get; set; } + + /// + /// Gets or sets optional resource information to enable network + /// isolation for request. + /// + [JsonProperty(PropertyName = "networkIsolation")] + public NetworkIsolationSettings NetworkIsolation { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (StorageKeyType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageKeyType"); + } + if (StorageKey == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageKey"); + } + if (StorageUri == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StorageUri"); + } + if (AdministratorLogin == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AdministratorLogin"); + } + if (AdministratorLoginPassword == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "AdministratorLoginPassword"); + } + } + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportRequest.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportRequest.cs deleted file mode 100644 index c33dde0409a7..000000000000 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ImportRequest.cs +++ /dev/null @@ -1,174 +0,0 @@ -// -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Sql.Models -{ - using Microsoft.Rest; - using Newtonsoft.Json; - using System.Linq; - - /// - /// Import database parameters. - /// - public partial class ImportRequest : ExportRequest - { - /// - /// Initializes a new instance of the ImportRequest class. - /// - public ImportRequest() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the ImportRequest class. - /// - /// The type of the storage key to use. - /// Possible values include: 'StorageAccessKey', - /// 'SharedAccessKey' - /// The storage key to use. If storage key - /// type is SharedAccessKey, it must be preceded with a "?." - /// The storage uri to use. - /// The name of the SQL - /// administrator. - /// The password of the SQL - /// administrator. - /// The name of the database to - /// import. - /// The edition for the database being created. - /// - /// The list of SKUs may vary by region and support offer. To determine - /// the SKUs (including the SKU name, tier/edition, family, and - /// capacity) that are available to your subscription in an Azure - /// region, use the `Capabilities_ListByLocation` REST API or one of - /// the following commands: - /// - /// ```azurecli - /// az sql db list-editions -l <location> -o table - /// ```` - /// - /// ```powershell - /// Get-AzSqlServerServiceObjective -Location <location> - /// ```` - /// . Possible values include: 'Web', 'Business', 'Basic', 'Standard', - /// 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', - /// 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', - /// 'Hyperscale' - /// The name of the service - /// objective to assign to the database. Possible values include: - /// 'System', 'System0', 'System1', 'System2', 'System3', 'System4', - /// 'System2L', 'System3L', 'System4L', 'Free', 'Basic', 'S0', 'S1', - /// 'S2', 'S3', 'S4', 'S6', 'S7', 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', - /// 'P6', 'P11', 'P15', 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100', - /// 'DW200', 'DW300', 'DW400', 'DW500', 'DW600', 'DW1000', 'DW1200', - /// 'DW1000c', 'DW1500', 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', - /// 'DW2500c', 'DW3000c', 'DW6000', 'DW5000c', 'DW6000c', 'DW7500c', - /// 'DW10000c', 'DW15000c', 'DW30000c', 'DS100', 'DS200', 'DS300', - /// 'DS400', 'DS500', 'DS600', 'DS1000', 'DS1200', 'DS1500', 'DS2000', - /// 'ElasticPool' - /// The maximum size for the newly imported - /// database. - /// The authentication type. Possible - /// values include: 'SQL', 'ADPassword' - public ImportRequest(StorageKeyType storageKeyType, string storageKey, string storageUri, string administratorLogin, string administratorLoginPassword, string databaseName, string edition, string serviceObjectiveName, string maxSizeBytes, AuthenticationType? authenticationType = default(AuthenticationType?)) - : base(storageKeyType, storageKey, storageUri, administratorLogin, administratorLoginPassword, authenticationType) - { - DatabaseName = databaseName; - Edition = edition; - ServiceObjectiveName = serviceObjectiveName; - MaxSizeBytes = maxSizeBytes; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name of the database to import. - /// - [JsonProperty(PropertyName = "databaseName")] - public string DatabaseName { get; set; } - - /// - /// Gets or sets the edition for the database being created. - /// - /// The list of SKUs may vary by region and support offer. To determine - /// the SKUs (including the SKU name, tier/edition, family, and - /// capacity) that are available to your subscription in an Azure - /// region, use the `Capabilities_ListByLocation` REST API or one of - /// the following commands: - /// - /// ```azurecli - /// az sql db list-editions -l &lt;location&gt; -o table - /// ```` - /// - /// ```powershell - /// Get-AzSqlServerServiceObjective -Location &lt;location&gt; - /// ```` - /// . Possible values include: 'Web', 'Business', 'Basic', 'Standard', - /// 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', - /// 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', - /// 'Hyperscale' - /// - [JsonProperty(PropertyName = "edition")] - public string Edition { get; set; } - - /// - /// Gets or sets the name of the service objective to assign to the - /// database. Possible values include: 'System', 'System0', 'System1', - /// 'System2', 'System3', 'System4', 'System2L', 'System3L', - /// 'System4L', 'Free', 'Basic', 'S0', 'S1', 'S2', 'S3', 'S4', 'S6', - /// 'S7', 'S9', 'S12', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', - /// 'PRS1', 'PRS2', 'PRS4', 'PRS6', 'DW100', 'DW200', 'DW300', 'DW400', - /// 'DW500', 'DW600', 'DW1000', 'DW1200', 'DW1000c', 'DW1500', - /// 'DW1500c', 'DW2000', 'DW2000c', 'DW3000', 'DW2500c', 'DW3000c', - /// 'DW6000', 'DW5000c', 'DW6000c', 'DW7500c', 'DW10000c', 'DW15000c', - /// 'DW30000c', 'DS100', 'DS200', 'DS300', 'DS400', 'DS500', 'DS600', - /// 'DS1000', 'DS1200', 'DS1500', 'DS2000', 'ElasticPool' - /// - [JsonProperty(PropertyName = "serviceObjectiveName")] - public string ServiceObjectiveName { get; set; } - - /// - /// Gets or sets the maximum size for the newly imported database. - /// - [JsonProperty(PropertyName = "maxSizeBytes")] - public string MaxSizeBytes { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public override void Validate() - { - base.Validate(); - if (DatabaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "DatabaseName"); - } - if (Edition == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Edition"); - } - if (ServiceObjectiveName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ServiceObjectiveName"); - } - if (MaxSizeBytes == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "MaxSizeBytes"); - } - } - } -} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolEditionCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolEditionCapability.cs new file mode 100644 index 000000000000..01ed3b9fb65a --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolEditionCapability.cs @@ -0,0 +1,82 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The instance pool capability + /// + public partial class InstancePoolEditionCapability + { + /// + /// Initializes a new instance of the InstancePoolEditionCapability + /// class. + /// + public InstancePoolEditionCapability() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the InstancePoolEditionCapability + /// class. + /// + /// The instance pool version name. + /// The supported families. + /// The status of the capability. Possible values + /// include: 'Visible', 'Available', 'Default', 'Disabled' + /// The reason for the capability not being + /// available. + public InstancePoolEditionCapability(string name = default(string), IList supportedFamilies = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + { + Name = name; + SupportedFamilies = supportedFamilies; + Status = status; + Reason = reason; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the instance pool version name. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets the supported families. + /// + [JsonProperty(PropertyName = "supportedFamilies")] + public IList SupportedFamilies { get; private set; } + + /// + /// Gets the status of the capability. Possible values include: + /// 'Visible', 'Available', 'Default', 'Disabled' + /// + [JsonProperty(PropertyName = "status")] + public CapabilityStatus? Status { get; private set; } + + /// + /// Gets or sets the reason for the capability not being available. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolFamilyCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolFamilyCapability.cs new file mode 100644 index 000000000000..ecfc3e5e09c7 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolFamilyCapability.cs @@ -0,0 +1,92 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The instance pool family capability. + /// + public partial class InstancePoolFamilyCapability + { + /// + /// Initializes a new instance of the InstancePoolFamilyCapability + /// class. + /// + public InstancePoolFamilyCapability() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the InstancePoolFamilyCapability + /// class. + /// + /// Family name. + /// List of supported license + /// types. + /// List of supported virtual cores + /// values. + /// The status of the capability. Possible values + /// include: 'Visible', 'Available', 'Default', 'Disabled' + /// The reason for the capability not being + /// available. + public InstancePoolFamilyCapability(string name = default(string), IList supportedLicenseTypes = default(IList), IList supportedVcoresValues = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + { + Name = name; + SupportedLicenseTypes = supportedLicenseTypes; + SupportedVcoresValues = supportedVcoresValues; + Status = status; + Reason = reason; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets family name. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets list of supported license types. + /// + [JsonProperty(PropertyName = "supportedLicenseTypes")] + public IList SupportedLicenseTypes { get; private set; } + + /// + /// Gets list of supported virtual cores values. + /// + [JsonProperty(PropertyName = "supportedVcoresValues")] + public IList SupportedVcoresValues { get; private set; } + + /// + /// Gets the status of the capability. Possible values include: + /// 'Visible', 'Available', 'Default', 'Disabled' + /// + [JsonProperty(PropertyName = "status")] + public CapabilityStatus? Status { get; private set; } + + /// + /// Gets or sets the reason for the capability not being available. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolVcoresCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolVcoresCapability.cs new file mode 100644 index 000000000000..6d5c653c1846 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/InstancePoolVcoresCapability.cs @@ -0,0 +1,88 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The managed instance virtual cores capability. + /// + public partial class InstancePoolVcoresCapability + { + /// + /// Initializes a new instance of the InstancePoolVcoresCapability + /// class. + /// + public InstancePoolVcoresCapability() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the InstancePoolVcoresCapability + /// class. + /// + /// The virtual cores identifier. + /// The virtual cores value. + /// Storage limit. + /// The status of the capability. Possible values + /// include: 'Visible', 'Available', 'Default', 'Disabled' + /// The reason for the capability not being + /// available. + public InstancePoolVcoresCapability(string name = default(string), int? value = default(int?), MaxSizeCapability storageLimit = default(MaxSizeCapability), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + { + Name = name; + Value = value; + StorageLimit = storageLimit; + Status = status; + Reason = reason; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the virtual cores identifier. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets the virtual cores value. + /// + [JsonProperty(PropertyName = "value")] + public int? Value { get; private set; } + + /// + /// Gets storage limit. + /// + [JsonProperty(PropertyName = "storageLimit")] + public MaxSizeCapability StorageLimit { get; private set; } + + /// + /// Gets the status of the capability. Possible values include: + /// 'Visible', 'Available', 'Default', 'Disabled' + /// + [JsonProperty(PropertyName = "status")] + public CapabilityStatus? Status { get; private set; } + + /// + /// Gets or sets the reason for the capability not being available. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstance.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstance.cs index 39e3bb0b60a5..52cd6203274a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstance.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstance.cs @@ -105,6 +105,8 @@ public ManagedInstance() /// Europe Standard Time". /// The Id of the instance pool this /// managed server belongs to. + /// Specifies maintenance + /// configuration id to apply to this managed instance. /// Minimal TLS version. Allowed /// values: 'None', '1.0', '1.1', '1.2' /// The storage account type used to @@ -136,6 +138,7 @@ public ManagedInstance() ProxyOverride = proxyOverride; TimezoneId = timezoneId; InstancePoolId = instancePoolId; + MaintenanceConfigurationId = maintenanceConfigurationId; MinimalTlsVersion = minimalTlsVersion; StorageAccountType = storageAccountType; CustomInit(); @@ -306,6 +309,13 @@ public ManagedInstance() [JsonProperty(PropertyName = "properties.instancePoolId")] public string InstancePoolId { get; set; } + /// + /// Gets or sets specifies maintenance configuration id to apply to + /// this managed instance. + /// + [JsonProperty(PropertyName = "properties.maintenanceConfigurationId")] + public string MaintenanceConfigurationId { get; set; } + /// /// Gets or sets minimal TLS version. Allowed values: 'None', '1.0', /// '1.1', '1.2' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceFamilyCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceFamilyCapability.cs index 0e2270ab9283..df268f844004 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceFamilyCapability.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceFamilyCapability.cs @@ -39,20 +39,16 @@ public ManagedInstanceFamilyCapability() /// types. /// List of supported virtual cores /// values. - /// Included size. - /// Storage size ranges. /// The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled' /// The reason for the capability not being /// available. - public ManagedInstanceFamilyCapability(string name = default(string), string sku = default(string), IList supportedLicenseTypes = default(IList), IList supportedVcoresValues = default(IList), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), IList supportedStorageSizes = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + public ManagedInstanceFamilyCapability(string name = default(string), string sku = default(string), IList supportedLicenseTypes = default(IList), IList supportedVcoresValues = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) { Name = name; Sku = sku; SupportedLicenseTypes = supportedLicenseTypes; SupportedVcoresValues = supportedVcoresValues; - IncludedMaxSize = includedMaxSize; - SupportedStorageSizes = supportedStorageSizes; Status = status; Reason = reason; CustomInit(); @@ -87,18 +83,6 @@ public ManagedInstanceFamilyCapability() [JsonProperty(PropertyName = "supportedVcoresValues")] public IList SupportedVcoresValues { get; private set; } - /// - /// Gets included size. - /// - [JsonProperty(PropertyName = "includedMaxSize")] - public MaxSizeCapability IncludedMaxSize { get; private set; } - - /// - /// Gets storage size ranges. - /// - [JsonProperty(PropertyName = "supportedStorageSizes")] - public IList SupportedStorageSizes { get; private set; } - /// /// Gets the status of the capability. Possible values include: /// 'Visible', 'Available', 'Default', 'Disabled' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstancePrivateLinkServiceConnectionStateProperty.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstancePrivateLinkServiceConnectionStateProperty.cs new file mode 100644 index 000000000000..19079afb92e3 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstancePrivateLinkServiceConnectionStateProperty.cs @@ -0,0 +1,87 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + public partial class ManagedInstancePrivateLinkServiceConnectionStateProperty + { + /// + /// Initializes a new instance of the + /// ManagedInstancePrivateLinkServiceConnectionStateProperty class. + /// + public ManagedInstancePrivateLinkServiceConnectionStateProperty() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ManagedInstancePrivateLinkServiceConnectionStateProperty class. + /// + /// The private link service connection + /// status. + /// The private link service connection + /// description. + /// The private link service connection + /// description. + public ManagedInstancePrivateLinkServiceConnectionStateProperty(string status, string description, string actionsRequired = default(string)) + { + Status = status; + Description = description; + ActionsRequired = actionsRequired; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the private link service connection status. + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets the private link service connection description. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets the private link service connection description. + /// + [JsonProperty(PropertyName = "actionsRequired")] + public string ActionsRequired { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Status == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Status"); + } + if (Description == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Description"); + } + } + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceUpdate.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceUpdate.cs index c7a69145d33a..ee021f2b815c 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceUpdate.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceUpdate.cs @@ -97,6 +97,8 @@ public ManagedInstanceUpdate() /// Europe Standard Time". /// The Id of the instance pool this /// managed server belongs to. + /// Specifies maintenance + /// configuration id to apply to this managed instance. /// Minimal TLS version. Allowed /// values: 'None', '1.0', '1.1', '1.2' /// The storage account type used to @@ -127,6 +129,7 @@ public ManagedInstanceUpdate() ProxyOverride = proxyOverride; TimezoneId = timezoneId; InstancePoolId = instancePoolId; + MaintenanceConfigurationId = maintenanceConfigurationId; MinimalTlsVersion = minimalTlsVersion; StorageAccountType = storageAccountType; Tags = tags; @@ -290,6 +293,13 @@ public ManagedInstanceUpdate() [JsonProperty(PropertyName = "properties.instancePoolId")] public string InstancePoolId { get; set; } + /// + /// Gets or sets specifies maintenance configuration id to apply to + /// this managed instance. + /// + [JsonProperty(PropertyName = "properties.maintenanceConfigurationId")] + public string MaintenanceConfigurationId { get; set; } + /// /// Gets or sets minimal TLS version. Allowed values: 'None', '1.0', /// '1.1', '1.2' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVcoresCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVcoresCapability.cs index 5d8c8e6adbfb..c252dd6a583a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVcoresCapability.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVcoresCapability.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.Management.Sql.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -33,14 +35,24 @@ public ManagedInstanceVcoresCapability() /// /// The virtual cores identifier. /// The virtual cores value. + /// Included size. + /// Storage size ranges. + /// True if this service objective + /// is supported for managed instances in an instance pool. + /// True if this service objective is + /// supported for standalone managed instances. /// The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled' /// The reason for the capability not being /// available. - public ManagedInstanceVcoresCapability(string name = default(string), int? value = default(int?), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + public ManagedInstanceVcoresCapability(string name = default(string), int? value = default(int?), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), IList supportedStorageSizes = default(IList), bool? instancePoolSupported = default(bool?), bool? standaloneSupported = default(bool?), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) { Name = name; Value = value; + IncludedMaxSize = includedMaxSize; + SupportedStorageSizes = supportedStorageSizes; + InstancePoolSupported = instancePoolSupported; + StandaloneSupported = standaloneSupported; Status = status; Reason = reason; CustomInit(); @@ -63,6 +75,32 @@ public ManagedInstanceVcoresCapability() [JsonProperty(PropertyName = "value")] public int? Value { get; private set; } + /// + /// Gets included size. + /// + [JsonProperty(PropertyName = "includedMaxSize")] + public MaxSizeCapability IncludedMaxSize { get; private set; } + + /// + /// Gets storage size ranges. + /// + [JsonProperty(PropertyName = "supportedStorageSizes")] + public IList SupportedStorageSizes { get; private set; } + + /// + /// Gets true if this service objective is supported for managed + /// instances in an instance pool. + /// + [JsonProperty(PropertyName = "instancePoolSupported")] + public bool? InstancePoolSupported { get; private set; } + + /// + /// Gets true if this service objective is supported for standalone + /// managed instances. + /// + [JsonProperty(PropertyName = "standaloneSupported")] + public bool? StandaloneSupported { get; private set; } + /// /// Gets the status of the capability. Possible values include: /// 'Visible', 'Available', 'Default', 'Disabled' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVersionCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVersionCapability.cs index e715d86d3e63..2278b208d4c5 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVersionCapability.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVersionCapability.cs @@ -36,14 +36,17 @@ public ManagedInstanceVersionCapability() /// The server version name. /// The list of supported managed /// instance editions. + /// The list of supported + /// instance pool editions. /// The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled' /// The reason for the capability not being /// available. - public ManagedInstanceVersionCapability(string name = default(string), IList supportedEditions = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + public ManagedInstanceVersionCapability(string name = default(string), IList supportedEditions = default(IList), IList supportedInstancePoolEditions = default(IList), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) { Name = name; SupportedEditions = supportedEditions; + SupportedInstancePoolEditions = supportedInstancePoolEditions; Status = status; Reason = reason; CustomInit(); @@ -66,6 +69,12 @@ public ManagedInstanceVersionCapability() [JsonProperty(PropertyName = "supportedEditions")] public IList SupportedEditions { get; private set; } + /// + /// Gets the list of supported instance pool editions. + /// + [JsonProperty(PropertyName = "supportedInstancePoolEditions")] + public IList SupportedInstancePoolEditions { get; private set; } + /// /// Gets the status of the capability. Possible values include: /// 'Visible', 'Available', 'Default', 'Disabled' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVulnerabilityAssessment.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVulnerabilityAssessment.cs index aec229e8d1eb..7c46e6d77625 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVulnerabilityAssessment.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ManagedInstanceVulnerabilityAssessment.cs @@ -41,8 +41,8 @@ public ManagedInstanceVulnerabilityAssessment() /// Resource name. /// Resource type. /// A shared access signature (SAS - /// Key) that has write access to the blob container specified in - /// 'storageContainerPath' parameter. If 'storageAccountAccessKey' + /// Key) that has read and write access to the blob container specified + /// in 'storageContainerPath' parameter. If 'storageAccountAccessKey' /// isn't specified, StorageContainerSasKey is required. /// Specifies the identifier key /// of the storage account for vulnerability assessment scan results. @@ -72,10 +72,10 @@ public ManagedInstanceVulnerabilityAssessment() public string StorageContainerPath { get; set; } /// - /// Gets or sets a shared access signature (SAS Key) that has write - /// access to the blob container specified in 'storageContainerPath' - /// parameter. If 'storageAccountAccessKey' isn't specified, - /// StorageContainerSasKey is required. + /// Gets or sets a shared access signature (SAS Key) that has read and + /// write access to the blob container specified in + /// 'storageContainerPath' parameter. If 'storageAccountAccessKey' + /// isn't specified, StorageContainerSasKey is required. /// [JsonProperty(PropertyName = "properties.storageContainerSasKey")] public string StorageContainerSasKey { get; set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/MinCapacityCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/MinCapacityCapability.cs new file mode 100644 index 000000000000..b713250cad8e --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/MinCapacityCapability.cs @@ -0,0 +1,70 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The min capacity capability + /// + public partial class MinCapacityCapability + { + /// + /// Initializes a new instance of the MinCapacityCapability class. + /// + public MinCapacityCapability() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MinCapacityCapability class. + /// + /// Min capacity value + /// The status of the capability. Possible values + /// include: 'Visible', 'Available', 'Default', 'Disabled' + /// The reason for the capability not being + /// available. + public MinCapacityCapability(double? value = default(double?), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + { + Value = value; + Status = status; + Reason = reason; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets min capacity value + /// + [JsonProperty(PropertyName = "value")] + public double? Value { get; private set; } + + /// + /// Gets the status of the capability. Possible values include: + /// 'Visible', 'Available', 'Default', 'Disabled' + /// + [JsonProperty(PropertyName = "status")] + public CapabilityStatus? Status { get; private set; } + + /// + /// Gets or sets the reason for the capability not being available. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/NetworkIsolationSettings.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/NetworkIsolationSettings.cs new file mode 100644 index 000000000000..b83f3b2b33fa --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/NetworkIsolationSettings.cs @@ -0,0 +1,72 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contains the ARM resources for which to create private endpoint + /// connection. + /// + public partial class NetworkIsolationSettings + { + /// + /// Initializes a new instance of the NetworkIsolationSettings class. + /// + public NetworkIsolationSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkIsolationSettings class. + /// + /// The resource id for the + /// storage account used to store BACPAC file. If set, private endpoint + /// connection will be created for the storage account. Must match + /// storage account used for StorageUri parameter. + /// The resource id for the SQL + /// server which is the target of this request. If set, private + /// endpoint connection will be created for the SQL server. Must match + /// server which is target of the operation. + public NetworkIsolationSettings(string storageAccountResourceId = default(string), string sqlServerResourceId = default(string)) + { + StorageAccountResourceId = storageAccountResourceId; + SqlServerResourceId = sqlServerResourceId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the resource id for the storage account used to store + /// BACPAC file. If set, private endpoint connection will be created + /// for the storage account. Must match storage account used for + /// StorageUri parameter. + /// + [JsonProperty(PropertyName = "storageAccountResourceId")] + public string StorageAccountResourceId { get; set; } + + /// + /// Gets or sets the resource id for the SQL server which is the target + /// of this request. If set, private endpoint connection will be + /// created for the SQL server. Must match server which is target of + /// the operation. + /// + [JsonProperty(PropertyName = "sqlServerResourceId")] + public string SqlServerResourceId { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/PauseDelayTimeUnit.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/PauseDelayTimeUnit.cs new file mode 100644 index 000000000000..3f1dbe1e042c --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/PauseDelayTimeUnit.cs @@ -0,0 +1,21 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + + /// + /// Defines values for PauseDelayTimeUnit. + /// + public static class PauseDelayTimeUnit + { + public const string Minutes = "Minutes"; + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/PrivateEndpointConnectionRequestStatus.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/PrivateEndpointConnectionRequestStatus.cs new file mode 100644 index 000000000000..e65d5eece7a2 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/PrivateEndpointConnectionRequestStatus.cs @@ -0,0 +1,72 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contains the private endpoint connection requests status. + /// + public partial class PrivateEndpointConnectionRequestStatus + { + /// + /// Initializes a new instance of the + /// PrivateEndpointConnectionRequestStatus class. + /// + public PrivateEndpointConnectionRequestStatus() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// PrivateEndpointConnectionRequestStatus class. + /// + /// Resource id for which the + /// private endpoint is created. + /// The connection name for + /// the private endpoint. + /// Status of this private endpoint + /// connection. + public PrivateEndpointConnectionRequestStatus(string privateLinkServiceId = default(string), string privateEndpointConnectionName = default(string), string status = default(string)) + { + PrivateLinkServiceId = privateLinkServiceId; + PrivateEndpointConnectionName = privateEndpointConnectionName; + Status = status; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets resource id for which the private endpoint is created. + /// + [JsonProperty(PropertyName = "privateLinkServiceId")] + public string PrivateLinkServiceId { get; private set; } + + /// + /// Gets the connection name for the private endpoint. + /// + [JsonProperty(PropertyName = "privateEndpointConnectionName")] + public string PrivateEndpointConnectionName { get; private set; } + + /// + /// Gets status of this private endpoint connection. + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; private set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ReadScaleCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ReadScaleCapability.cs new file mode 100644 index 000000000000..1055b0b9c412 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ReadScaleCapability.cs @@ -0,0 +1,71 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The read scale capability. + /// + public partial class ReadScaleCapability + { + /// + /// Initializes a new instance of the ReadScaleCapability class. + /// + public ReadScaleCapability() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ReadScaleCapability class. + /// + /// The maximum number of read scale + /// replicas. + /// The status of the capability. Possible values + /// include: 'Visible', 'Available', 'Default', 'Disabled' + /// The reason for the capability not being + /// available. + public ReadScaleCapability(int? maxNumberOfReplicas = default(int?), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + { + MaxNumberOfReplicas = maxNumberOfReplicas; + Status = status; + Reason = reason; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the maximum number of read scale replicas. + /// + [JsonProperty(PropertyName = "maxNumberOfReplicas")] + public int? MaxNumberOfReplicas { get; private set; } + + /// + /// Gets the status of the capability. Possible values include: + /// 'Visible', 'Available', 'Default', 'Disabled' + /// + [JsonProperty(PropertyName = "status")] + public CapabilityStatus? Status { get; private set; } + + /// + /// Gets or sets the reason for the capability not being available. + /// + [JsonProperty(PropertyName = "reason")] + public string Reason { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerBlobAuditingPolicy.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerBlobAuditingPolicy.cs index c7a9ac26f54a..ff252b229b69 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerBlobAuditingPolicy.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerBlobAuditingPolicy.cs @@ -45,9 +45,19 @@ public ServerBlobAuditingPolicy() /// Enabled, storageEndpoint or isAzureMonitorTargetEnabled is /// required. /// Specifies the identifier key - /// of the auditing storage account. If state is Enabled and - /// storageEndpoint is specified, storageAccountAccessKey is - /// required. + /// of the auditing storage account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// Specifies the number of days to keep in /// the audit logs in the storage account. /// Specifies the Actions-Groups @@ -192,8 +202,19 @@ public ServerBlobAuditingPolicy() /// /// Gets or sets specifies the identifier key of the auditing storage - /// account. If state is Enabled and storageEndpoint is specified, - /// storageAccountAccessKey is required. + /// account. + /// If state is Enabled and storageEndpoint is specified, not + /// specifying the storageAccountAccessKey will use SQL server + /// system-assigned managed identity to access the storage. + /// Prerequisites for using managed identity authentication: + /// 1. Assign SQL Server a system-assigned managed identity in Azure + /// Active Directory (AAD). + /// 2. Grant SQL Server identity access to the storage account by + /// adding 'Storage Blob Data Contributor' RBAC role to the server + /// identity. + /// For more information, see [Auditing to storage using Managed + /// Identity + /// authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// [JsonProperty(PropertyName = "properties.storageAccountAccessKey")] public string StorageAccountAccessKey { get; set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerVulnerabilityAssessment.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerVulnerabilityAssessment.cs index a66171057791..0fe8baa64ded 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerVulnerabilityAssessment.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServerVulnerabilityAssessment.cs @@ -41,8 +41,8 @@ public ServerVulnerabilityAssessment() /// Resource name. /// Resource type. /// A shared access signature (SAS - /// Key) that has write access to the blob container specified in - /// 'storageContainerPath' parameter. If 'storageAccountAccessKey' + /// Key) that has read and write access to the blob container specified + /// in 'storageContainerPath' parameter. If 'storageAccountAccessKey' /// isn't specified, StorageContainerSasKey is required. /// Specifies the identifier key /// of the storage account for vulnerability assessment scan results. @@ -72,10 +72,10 @@ public ServerVulnerabilityAssessment() public string StorageContainerPath { get; set; } /// - /// Gets or sets a shared access signature (SAS Key) that has write - /// access to the blob container specified in 'storageContainerPath' - /// parameter. If 'storageAccountAccessKey' isn't specified, - /// StorageContainerSasKey is required. + /// Gets or sets a shared access signature (SAS Key) that has read and + /// write access to the blob container specified in + /// 'storageContainerPath' parameter. If 'storageAccountAccessKey' + /// isn't specified, StorageContainerSasKey is required. /// [JsonProperty(PropertyName = "properties.storageContainerSasKey")] public string StorageContainerSasKey { get; set; } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServiceObjectiveCapability.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServiceObjectiveCapability.cs index 57a002937dfe..b6a9fcc01c28 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServiceObjectiveCapability.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/ServiceObjectiveCapability.cs @@ -40,11 +40,18 @@ public ServiceObjectiveCapability() /// List of supported license /// types. /// The included (free) max size. + /// Whether or not zone redundancy is + /// supported for the service objective. + /// Supported time range for auto + /// pause delay + /// List of supported min + /// capacities + /// The compute model /// The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled' /// The reason for the capability not being /// available. - public ServiceObjectiveCapability(System.Guid? id = default(System.Guid?), string name = default(string), IList supportedMaxSizes = default(IList), PerformanceLevelCapability performanceLevel = default(PerformanceLevelCapability), Sku sku = default(Sku), IList supportedLicenseTypes = default(IList), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) + public ServiceObjectiveCapability(System.Guid? id = default(System.Guid?), string name = default(string), IList supportedMaxSizes = default(IList), PerformanceLevelCapability performanceLevel = default(PerformanceLevelCapability), Sku sku = default(Sku), IList supportedLicenseTypes = default(IList), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), bool? zoneRedundant = default(bool?), AutoPauseDelayTimeRange supportedAutoPauseDelay = default(AutoPauseDelayTimeRange), IList supportedMinCapacities = default(IList), string computeModel = default(string), CapabilityStatus? status = default(CapabilityStatus?), string reason = default(string)) { Id = id; Name = name; @@ -53,6 +60,10 @@ public ServiceObjectiveCapability() Sku = sku; SupportedLicenseTypes = supportedLicenseTypes; IncludedMaxSize = includedMaxSize; + ZoneRedundant = zoneRedundant; + SupportedAutoPauseDelay = supportedAutoPauseDelay; + SupportedMinCapacities = supportedMinCapacities; + ComputeModel = computeModel; Status = status; Reason = reason; CustomInit(); @@ -105,6 +116,31 @@ public ServiceObjectiveCapability() [JsonProperty(PropertyName = "includedMaxSize")] public MaxSizeCapability IncludedMaxSize { get; private set; } + /// + /// Gets whether or not zone redundancy is supported for the service + /// objective. + /// + [JsonProperty(PropertyName = "zoneRedundant")] + public bool? ZoneRedundant { get; private set; } + + /// + /// Gets supported time range for auto pause delay + /// + [JsonProperty(PropertyName = "supportedAutoPauseDelay")] + public AutoPauseDelayTimeRange SupportedAutoPauseDelay { get; private set; } + + /// + /// Gets list of supported min capacities + /// + [JsonProperty(PropertyName = "supportedMinCapacities")] + public IList SupportedMinCapacities { get; private set; } + + /// + /// Gets the compute model + /// + [JsonProperty(PropertyName = "computeModel")] + public string ComputeModel { get; private set; } + /// /// Gets the status of the capability. Possible values include: /// 'Visible', 'Available', 'Default', 'Disabled' diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/StorageKeyType.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/StorageKeyType.cs index b1e639658412..ccbd48d44a48 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/StorageKeyType.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/StorageKeyType.cs @@ -10,51 +10,13 @@ namespace Microsoft.Azure.Management.Sql.Models { - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for StorageKeyType. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum StorageKeyType + public static class StorageKeyType { - [EnumMember(Value = "StorageAccessKey")] - StorageAccessKey, - [EnumMember(Value = "SharedAccessKey")] - SharedAccessKey - } - internal static class StorageKeyTypeEnumExtension - { - internal static string ToSerializedValue(this StorageKeyType? value) - { - return value == null ? null : ((StorageKeyType)value).ToSerializedValue(); - } - - internal static string ToSerializedValue(this StorageKeyType value) - { - switch( value ) - { - case StorageKeyType.StorageAccessKey: - return "StorageAccessKey"; - case StorageKeyType.SharedAccessKey: - return "SharedAccessKey"; - } - return null; - } - - internal static StorageKeyType? ParseStorageKeyType(this string value) - { - switch( value ) - { - case "StorageAccessKey": - return StorageKeyType.StorageAccessKey; - case "SharedAccessKey": - return StorageKeyType.SharedAccessKey; - } - return null; - } + public const string SharedAccessKey = "SharedAccessKey"; + public const string StorageAccessKey = "StorageAccessKey"; } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/UnlinkParameters.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/UnlinkParameters.cs new file mode 100644 index 000000000000..773e905009a0 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/UnlinkParameters.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Represents the parameters for Unlink Replication Link request. + /// + public partial class UnlinkParameters + { + /// + /// Initializes a new instance of the UnlinkParameters class. + /// + public UnlinkParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the UnlinkParameters class. + /// + /// Determines whether link will be + /// terminated in a forced or a friendly way. + public UnlinkParameters(bool? forcedTermination = default(bool?)) + { + ForcedTermination = forcedTermination; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets determines whether link will be terminated in a forced + /// or a friendly way. + /// + [JsonProperty(PropertyName = "forcedTermination")] + public bool? ForcedTermination { get; set; } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/WorkloadClassifier.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/WorkloadClassifier.cs new file mode 100644 index 000000000000..c8c86d0bbbb3 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/WorkloadClassifier.cs @@ -0,0 +1,115 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Workload classifier operations for a data warehouse + /// + [Rest.Serialization.JsonTransformation] + public partial class WorkloadClassifier : ProxyResource + { + /// + /// Initializes a new instance of the WorkloadClassifier class. + /// + public WorkloadClassifier() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the WorkloadClassifier class. + /// + /// The workload classifier member + /// name. + /// Resource ID. + /// Resource name. + /// Resource type. + /// The workload classifier label. + /// The workload classifier context. + /// The workload classifier start time for + /// classification. + /// The workload classifier end time for + /// classification. + /// The workload classifier + /// importance. + public WorkloadClassifier(string memberName, string id = default(string), string name = default(string), string type = default(string), string label = default(string), string context = default(string), string startTime = default(string), string endTime = default(string), string importance = default(string)) + : base(id, name, type) + { + MemberName = memberName; + Label = label; + Context = context; + StartTime = startTime; + EndTime = endTime; + Importance = importance; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the workload classifier member name. + /// + [JsonProperty(PropertyName = "properties.memberName")] + public string MemberName { get; set; } + + /// + /// Gets or sets the workload classifier label. + /// + [JsonProperty(PropertyName = "properties.label")] + public string Label { get; set; } + + /// + /// Gets or sets the workload classifier context. + /// + [JsonProperty(PropertyName = "properties.context")] + public string Context { get; set; } + + /// + /// Gets or sets the workload classifier start time for classification. + /// + [JsonProperty(PropertyName = "properties.startTime")] + public string StartTime { get; set; } + + /// + /// Gets or sets the workload classifier end time for classification. + /// + [JsonProperty(PropertyName = "properties.endTime")] + public string EndTime { get; set; } + + /// + /// Gets or sets the workload classifier importance. + /// + [JsonProperty(PropertyName = "properties.importance")] + public string Importance { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (MemberName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "MemberName"); + } + } + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/WorkloadGroup.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/WorkloadGroup.cs new file mode 100644 index 000000000000..feac7eea8cc5 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/Models/WorkloadGroup.cs @@ -0,0 +1,114 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Workload group operations for a data warehouse + /// + [Rest.Serialization.JsonTransformation] + public partial class WorkloadGroup : ProxyResource + { + /// + /// Initializes a new instance of the WorkloadGroup class. + /// + public WorkloadGroup() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the WorkloadGroup class. + /// + /// The workload group minimum + /// percentage resource. + /// The workload group cap percentage + /// resource. + /// The workload group + /// request minimum grant percentage. + /// Resource ID. + /// Resource name. + /// Resource type. + /// The workload group + /// request maximum grant percentage. + /// The workload group importance + /// level. + /// The workload group query + /// execution timeout. + public WorkloadGroup(int minResourcePercent, int maxResourcePercent, double minResourcePercentPerRequest, string id = default(string), string name = default(string), string type = default(string), double? maxResourcePercentPerRequest = default(double?), string importance = default(string), int? queryExecutionTimeout = default(int?)) + : base(id, name, type) + { + MinResourcePercent = minResourcePercent; + MaxResourcePercent = maxResourcePercent; + MinResourcePercentPerRequest = minResourcePercentPerRequest; + MaxResourcePercentPerRequest = maxResourcePercentPerRequest; + Importance = importance; + QueryExecutionTimeout = queryExecutionTimeout; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the workload group minimum percentage resource. + /// + [JsonProperty(PropertyName = "properties.minResourcePercent")] + public int MinResourcePercent { get; set; } + + /// + /// Gets or sets the workload group cap percentage resource. + /// + [JsonProperty(PropertyName = "properties.maxResourcePercent")] + public int MaxResourcePercent { get; set; } + + /// + /// Gets or sets the workload group request minimum grant percentage. + /// + [JsonProperty(PropertyName = "properties.minResourcePercentPerRequest")] + public double MinResourcePercentPerRequest { get; set; } + + /// + /// Gets or sets the workload group request maximum grant percentage. + /// + [JsonProperty(PropertyName = "properties.maxResourcePercentPerRequest")] + public double? MaxResourcePercentPerRequest { get; set; } + + /// + /// Gets or sets the workload group importance level. + /// + [JsonProperty(PropertyName = "properties.importance")] + public string Importance { get; set; } + + /// + /// Gets or sets the workload group query execution timeout. + /// + [JsonProperty(PropertyName = "properties.queryExecutionTimeout")] + public int? QueryExecutionTimeout { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + //Nothing to validate + } + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperations.cs index 3c745fd9c417..7861ec699f79 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperations.cs @@ -515,6 +515,38 @@ internal ReplicationLinksOperations(SqlManagementClient client) return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task UnlinkWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginUnlinkWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, linkId, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Lists a database's replication links. /// @@ -1105,5 +1137,211 @@ internal ReplicationLinksOperations(SqlManagementClient client) return _result; } + /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + /// + /// 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 BeginUnlinkWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serverName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); + } + if (databaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "databaseName"); + } + if (linkId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "linkId"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + string apiVersion = "2014-04-01"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serverName", serverName); + tracingParameters.Add("databaseName", databaseName); + tracingParameters.Add("linkId", linkId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginUnlink", 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}/replicationLinks/{linkId}/unlink").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _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("{linkId}", System.Uri.EscapeDataString(linkId)); + List _queryParameters = new List(); + if (apiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 202 && (int)_statusCode != 204) + { + 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; + } + } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperationsExtensions.cs index 87eab086f901..345f961efc83 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ReplicationLinksOperationsExtensions.cs @@ -234,6 +234,63 @@ public static void FailoverAllowDataLoss(this IReplicationLinksOperations operat (await operations.FailoverAllowDataLossWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, linkId, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + public static void Unlink(this IReplicationLinksOperations operations, string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters) + { + operations.UnlinkAsync(resourceGroupName, serverName, databaseName, linkId, parameters).GetAwaiter().GetResult(); + } + + /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + /// + /// The cancellation token. + /// + public static async Task UnlinkAsync(this IReplicationLinksOperations operations, string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UnlinkWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, linkId, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Lists a database's replication links. /// @@ -388,5 +445,62 @@ public static void BeginFailoverAllowDataLoss(this IReplicationLinksOperations o (await operations.BeginFailoverAllowDataLossWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, linkId, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + public static void BeginUnlink(this IReplicationLinksOperations operations, string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters) + { + operations.BeginUnlinkAsync(resourceGroupName, serverName, databaseName, linkId, parameters).GetAwaiter().GetResult(); + } + + /// + /// Deletes a database replication link in forced or friendly way. + /// + /// + /// 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 that has the replication link to be failed over. + /// + /// + /// The ID of the replication link to be failed over. + /// + /// + /// The required parameters for unlinking replication link. + /// + /// + /// The cancellation token. + /// + public static async Task BeginUnlinkAsync(this IReplicationLinksOperations operations, string resourceGroupName, string serverName, string databaseName, string linkId, UnlinkParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginUnlinkWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, linkId, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + } } 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 8e9b95d7666d..ec16afe5f47c 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 @@ -20,8 +20,8 @@ public static IEnumerable> ApiInfo_SqlManagementCl return new Tuple[] { new Tuple("Sql", "BackupLongTermRetentionPolicies", "2017-03-01-preview"), - new Tuple("Sql", "BackupShortTermRetentionPolicies", "2017-10-01-preview"), - new Tuple("Sql", "Capabilities", "2017-10-01-preview"), + new Tuple("Sql", "BackupShortTermRetentionPolicies", "2020-02-02-preview"), + new Tuple("Sql", "Capabilities", "2018-06-01-preview"), new Tuple("Sql", "DataMaskingPolicies", "2014-04-01"), new Tuple("Sql", "DataMaskingRules", "2014-04-01"), new Tuple("Sql", "DatabaseAutomaticTuning", "2015-05-01-preview"), @@ -33,8 +33,8 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "DatabaseVulnerabilityAssessmentScans", "2017-10-01-preview"), 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", "Databases", "2019-06-01-preview"), + new Tuple("Sql", "Databases", "2020-02-02-preview"), new Tuple("Sql", "ElasticPoolActivities", "2014-04-01"), new Tuple("Sql", "ElasticPoolDatabaseActivities", "2014-04-01"), new Tuple("Sql", "ElasticPoolOperations", "2017-10-01-preview"), @@ -47,6 +47,7 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "FailoverGroups", "2015-05-01-preview"), new Tuple("Sql", "FirewallRules", "2014-04-01"), new Tuple("Sql", "GeoBackupPolicies", "2014-04-01"), + new Tuple("Sql", "ImportExport", "2020-02-02-preview"), new Tuple("Sql", "InstanceFailoverGroups", "2017-10-01-preview"), new Tuple("Sql", "InstancePools", "2018-06-01-preview"), new Tuple("Sql", "JobAgents", "2017-03-01-preview"), @@ -61,7 +62,7 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "LongTermRetentionBackups", "2017-03-01-preview"), new Tuple("Sql", "LongTermRetentionManagedInstanceBackups", "2018-06-01-preview"), new Tuple("Sql", "ManagedBackupShortTermRetentionPolicies", "2017-03-01-preview"), - new Tuple("Sql", "ManagedDatabaseRestoreDetails", "2019-06-01-preview"), + new Tuple("Sql", "ManagedDatabaseRestoreDetails", "2020-02-02-preview"), new Tuple("Sql", "ManagedDatabaseSecurityAlertPolicies", "2017-03-01-preview"), new Tuple("Sql", "ManagedDatabaseSensitivityLabels", "2018-06-01-preview"), new Tuple("Sql", "ManagedDatabaseVulnerabilityAssessmentRuleBaselines", "2017-10-01-preview"), @@ -69,10 +70,11 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "ManagedDatabaseVulnerabilityAssessments", "2017-10-01-preview"), new Tuple("Sql", "ManagedDatabases", "2020-02-02-preview"), new Tuple("Sql", "ManagedInstanceAdministrators", "2017-03-01-preview"), + new Tuple("Sql", "ManagedInstanceAzureADOnlyAuthentications", "2020-02-02-preview"), new Tuple("Sql", "ManagedInstanceEncryptionProtectors", "2017-10-01-preview"), new Tuple("Sql", "ManagedInstanceKeys", "2017-10-01-preview"), - new Tuple("Sql", "ManagedInstanceOperations", "2019-06-01-preview"), new Tuple("Sql", "ManagedInstanceLongTermRetentionPolicies", "2018-06-01-preview"), + new Tuple("Sql", "ManagedInstanceOperations", "2019-06-01-preview"), new Tuple("Sql", "ManagedInstanceTdeCertificates", "2017-10-01-preview"), new Tuple("Sql", "ManagedInstanceVulnerabilityAssessments", "2018-06-01-preview"), new Tuple("Sql", "ManagedInstances", "2019-06-01-preview"), @@ -91,7 +93,8 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "RestorePoints", "2017-03-01-preview"), new Tuple("Sql", "SensitivityLabels", "2017-03-01-preview"), new Tuple("Sql", "ServerAutomaticTuning", "2017-03-01-preview"), - new Tuple("Sql", "ServerAzureADAdministrators", "2014-04-01"), + new Tuple("Sql", "ServerAzureADAdministrators", "2019-06-01-preview"), + new Tuple("Sql", "ServerAzureADOnlyAuthentications", "2020-02-02-preview"), new Tuple("Sql", "ServerBlobAuditingPolicies", "2017-03-01-preview"), new Tuple("Sql", "ServerCommunicationLinks", "2014-04-01"), new Tuple("Sql", "ServerConnectionPolicies", "2014-04-01"), @@ -101,32 +104,23 @@ public static IEnumerable> ApiInfo_SqlManagementCl new Tuple("Sql", "ServerUsages", "2014-04-01"), new Tuple("Sql", "ServerVulnerabilityAssessments", "2018-06-01-preview"), new Tuple("Sql", "Servers", "2019-06-01-preview"), - new Tuple("Sql", "Servers", "2015-05-01-preview"), + new Tuple("Sql", "Servers", "2020-02-02-preview"), new Tuple("Sql", "ServiceObjectives", "2014-04-01"), new Tuple("Sql", "ServiceTierAdvisors", "2014-04-01"), new Tuple("Sql", "SubscriptionUsages", "2015-05-01-preview"), new Tuple("Sql", "SyncAgents", "2015-05-01-preview"), - new Tuple("Sql", "SyncGroups", "2015-05-01-preview"), - new Tuple("Sql", "SyncMembers", "2015-05-01-preview"), + new Tuple("Sql", "SyncGroups", "2019-06-01-preview"), + new Tuple("Sql", "SyncMembers", "2019-06-01-preview"), new Tuple("Sql", "TdeCertificates", "2017-10-01-preview"), new Tuple("Sql", "TransparentDataEncryptionActivities", "2014-04-01"), new Tuple("Sql", "TransparentDataEncryptions", "2014-04-01"), new Tuple("Sql", "Usages", "2018-06-01-preview"), new Tuple("Sql", "VirtualClusters", "2015-05-01-preview"), new Tuple("Sql", "VirtualNetworkRules", "2015-05-01-preview"), + new Tuple("Sql", "WorkloadClassifiers", "2019-06-01-preview"), + new Tuple("Sql", "WorkloadGroups", "2019-06-01-preview"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=."; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "615259b6d33d3029de2d6e403ffe0c12776da1d4"; - 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/Generated/ServersOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ServersOperations.cs index b3040eac702b..6fb27c3a7ea6 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ServersOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ServersOperations.cs @@ -876,6 +876,32 @@ internal ServersOperations(SqlManagementClient client) return _result; } + /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> ImportDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginImportDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Creates or updates a server. /// @@ -1490,6 +1516,219 @@ internal ServersOperations(SqlManagementClient client) return _result; } + /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginImportDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters, 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 (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2020-02-02-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("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginImportDatabase", 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}/import").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); + _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; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets a list of servers in a resource groups. /// diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ServersOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ServersOperationsExtensions.cs index 92d5362a701a..89784f56684a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ServersOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ServersOperationsExtensions.cs @@ -296,6 +296,54 @@ public static CheckNameAvailabilityResponse CheckNameAvailability(this IServersO } } + /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + public static ImportExportOperationResult ImportDatabase(this IServersOperations operations, string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters) + { + return operations.ImportDatabaseAsync(resourceGroupName, serverName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + /// + /// The cancellation token. + /// + public static async Task ImportDatabaseAsync(this IServersOperations operations, string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ImportDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Creates or updates a server. /// @@ -431,6 +479,54 @@ public static Server BeginUpdate(this IServersOperations operations, string reso } } + /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + public static ImportExportOperationResult BeginImportDatabase(this IServersOperations operations, string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters) + { + return operations.BeginImportDatabaseAsync(resourceGroupName, serverName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Imports a bacpac into a new 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 database import request parameters. + /// + /// + /// The cancellation token. + /// + public static async Task BeginImportDatabaseAsync(this IServersOperations operations, string resourceGroupName, string serverName, ImportNewDatabaseDefinition parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginImportDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets a list of servers in a resource groups. /// diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SqlManagementClient.cs index 4c0f249b7cf1..722f55eb1e1a 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SqlManagementClient.cs @@ -55,19 +55,20 @@ public partial class SqlManagementClient : ServiceClient, I public string SubscriptionId { get; set; } /// - /// Gets or sets the preferred language for the response. + /// The preferred language for the response. /// public string AcceptLanguage { get; set; } /// - /// Gets or sets the retry timeout in seconds for Long Running Operations. - /// Default value is 30. + /// The retry timeout in seconds for Long Running Operations. Default value is + /// 30. /// public int? LongRunningOperationRetryTimeout { get; set; } /// - /// When set to true a unique x-ms-client-request-id value is generated and - /// included in each request. Default is true. + /// Whether a unique x-ms-client-request-id should be generated. When set to + /// true a unique x-ms-client-request-id value is generated and included in + /// each request. Default is true. /// public bool? GenerateClientRequestId { get; set; } @@ -396,11 +397,6 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IInstanceFailoverGroupsOperations InstanceFailoverGroups { get; private set; } - /// - /// Gets the IBackupShortTermRetentionPoliciesOperations. - /// - public virtual IBackupShortTermRetentionPoliciesOperations BackupShortTermRetentionPolicies { get; private set; } - /// /// Gets the ITdeCertificatesOperations. /// @@ -451,11 +447,6 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IUsagesOperations Usages { get; private set; } - /// - /// Gets the IManagedInstancesOperations. - /// - public virtual IManagedInstancesOperations ManagedInstances { get; private set; } - /// /// Gets the IPrivateEndpointConnectionsOperations. /// @@ -486,6 +477,16 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IManagedInstanceLongTermRetentionPoliciesOperations ManagedInstanceLongTermRetentionPolicies { get; private set; } + /// + /// Gets the IWorkloadGroupsOperations. + /// + public virtual IWorkloadGroupsOperations WorkloadGroups { get; private set; } + + /// + /// Gets the IWorkloadClassifiersOperations. + /// + public virtual IWorkloadClassifiersOperations WorkloadClassifiers { get; private set; } + /// /// Gets the IManagedInstanceOperations. /// @@ -506,6 +507,16 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual ISyncMembersOperations SyncMembers { get; private set; } + /// + /// Gets the IManagedInstancesOperations. + /// + public virtual IManagedInstancesOperations ManagedInstances { get; private set; } + + /// + /// Gets the IBackupShortTermRetentionPoliciesOperations. + /// + public virtual IBackupShortTermRetentionPoliciesOperations BackupShortTermRetentionPolicies { get; private set; } + /// /// Gets the IManagedDatabaseRestoreDetailsOperations. /// @@ -521,6 +532,11 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IServerAzureADOnlyAuthenticationsOperations ServerAzureADOnlyAuthentications { get; private set; } + /// + /// Gets the IImportExportOperations. + /// + public virtual IImportExportOperations ImportExport { get; private set; } + /// /// Gets the IManagedInstanceAzureADOnlyAuthenticationsOperations. /// @@ -792,7 +808,6 @@ private void Initialize() ManagedDatabaseVulnerabilityAssessmentScans = new ManagedDatabaseVulnerabilityAssessmentScansOperations(this); ManagedDatabaseVulnerabilityAssessments = new ManagedDatabaseVulnerabilityAssessmentsOperations(this); InstanceFailoverGroups = new InstanceFailoverGroupsOperations(this); - BackupShortTermRetentionPolicies = new BackupShortTermRetentionPoliciesOperations(this); TdeCertificates = new TdeCertificatesOperations(this); ManagedInstanceTdeCertificates = new ManagedInstanceTdeCertificatesOperations(this); ManagedInstanceKeys = new ManagedInstanceKeysOperations(this); @@ -803,20 +818,24 @@ private void Initialize() ManagedDatabaseSensitivityLabels = new ManagedDatabaseSensitivityLabelsOperations(this); InstancePools = new InstancePoolsOperations(this); Usages = new UsagesOperations(this); - ManagedInstances = new ManagedInstancesOperations(this); PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); PrivateLinkResources = new PrivateLinkResourcesOperations(this); Servers = new ServersOperations(this); Capabilities = new CapabilitiesOperations(this); LongTermRetentionManagedInstanceBackups = new LongTermRetentionManagedInstanceBackupsOperations(this); ManagedInstanceLongTermRetentionPolicies = new ManagedInstanceLongTermRetentionPoliciesOperations(this); + WorkloadGroups = new WorkloadGroupsOperations(this); + WorkloadClassifiers = new WorkloadClassifiersOperations(this); ManagedInstanceOperations = new ManagedInstanceOperations(this); ServerAzureADAdministrators = new ServerAzureADAdministratorsOperations(this); SyncGroups = new SyncGroupsOperations(this); SyncMembers = new SyncMembersOperations(this); + ManagedInstances = new ManagedInstancesOperations(this); + BackupShortTermRetentionPolicies = new BackupShortTermRetentionPoliciesOperations(this); ManagedDatabaseRestoreDetails = new ManagedDatabaseRestoreDetailsOperations(this); ManagedDatabases = new ManagedDatabasesOperations(this); ServerAzureADOnlyAuthentications = new ServerAzureADOnlyAuthenticationsOperations(this); + ImportExport = new ImportExportOperations(this); ManagedInstanceAzureADOnlyAuthentications = new ManagedInstanceAzureADOnlyAuthenticationsOperations(this); BaseUri = new System.Uri("https://management.azure.com"); AcceptLanguage = "en-US"; @@ -853,4 +872,4 @@ private void Initialize() DeserializationSettings.Converters.Add(new CloudErrorJsonConverter()); } } -} \ No newline at end of file +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncGroupsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncGroupsOperations.cs index 9271bf23ee14..71d69dcc0a8f 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncGroupsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncGroupsOperations.cs @@ -87,7 +87,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -323,7 +323,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -561,7 +561,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -791,7 +791,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -983,7 +983,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1178,7 +1178,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1477,7 +1477,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1685,7 +1685,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1887,7 +1887,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2122,7 +2122,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2324,7 +2324,7 @@ internal SyncGroupsOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncMembersOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncMembersOperations.cs index 570159ca7802..0b4acf9c3534 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncMembersOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SyncMembersOperations.cs @@ -116,7 +116,7 @@ internal SyncMembersOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -433,7 +433,7 @@ internal SyncMembersOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -653,7 +653,7 @@ internal SyncMembersOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -914,7 +914,7 @@ internal SyncMembersOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1158,7 +1158,7 @@ internal SyncMembersOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1369,7 +1369,7 @@ internal SyncMembersOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1595,7 +1595,7 @@ internal SyncMembersOperations(SqlManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2015-05-01-preview"; + string apiVersion = "2019-06-01-preview"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadClassifiersOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadClassifiersOperations.cs new file mode 100644 index 000000000000..3aca3cda1e20 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadClassifiersOperations.cs @@ -0,0 +1,1188 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// WorkloadClassifiersOperations operations. + /// + internal partial class WorkloadClassifiersOperations : IServiceOperations, IWorkloadClassifiersOperations + { + /// + /// Initializes a new instance of the WorkloadClassifiersOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal WorkloadClassifiersOperations(SqlManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the SqlManagementClient + /// + public SqlManagementClient Client { get; private set; } + + /// + /// Gets a workload classifier + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, 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 (workloadGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadGroupName"); + } + if (workloadClassifierName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadClassifierName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-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("workloadGroupName", workloadGroupName); + tracingParameters.Add("workloadClassifierName", workloadClassifierName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}").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("{workloadGroupName}", System.Uri.EscapeDataString(workloadGroupName)); + _url = _url.Replace("{workloadClassifierName}", System.Uri.EscapeDataString(workloadClassifierName)); + _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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to delete. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets the list of workload classifiers for a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifiers from. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByWorkloadGroupWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, 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 (workloadGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadGroupName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-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("workloadGroupName", workloadGroupName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByWorkloadGroup", 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}/workloadGroups/{workloadGroupName}/workloadClassifiers").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("{workloadGroupName}", System.Uri.EscapeDataString(workloadGroupName)); + _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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters, 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 (workloadGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadGroupName"); + } + if (workloadClassifierName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadClassifierName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-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("workloadGroupName", workloadGroupName); + tracingParameters.Add("workloadClassifierName", workloadClassifierName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}").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("{workloadGroupName}", System.Uri.EscapeDataString(workloadGroupName)); + _url = _url.Replace("{workloadClassifierName}", System.Uri.EscapeDataString(workloadClassifierName)); + _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("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to delete. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, 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 (workloadGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadGroupName"); + } + if (workloadClassifierName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadClassifierName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-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("workloadGroupName", workloadGroupName); + tracingParameters.Add("workloadClassifierName", workloadClassifierName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}").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("{workloadGroupName}", System.Uri.EscapeDataString(workloadGroupName)); + _url = _url.Replace("{workloadClassifierName}", System.Uri.EscapeDataString(workloadClassifierName)); + _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("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) + { + 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 the list of workload classifiers for a workload group + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByWorkloadGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByWorkloadGroupNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadClassifiersOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadClassifiersOperationsExtensions.cs new file mode 100644 index 000000000000..c8cc02707fd7 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadClassifiersOperationsExtensions.cs @@ -0,0 +1,419 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for WorkloadClassifiersOperations. + /// + public static partial class WorkloadClassifiersOperationsExtensions + { + /// + /// Gets a workload classifier + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier. + /// + public static WorkloadClassifier Get(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName) + { + return operations.GetAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName).GetAwaiter().GetResult(); + } + + /// + /// Gets a workload classifier + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + public static WorkloadClassifier CreateOrUpdate(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to delete. + /// + public static void Delete(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName) + { + operations.DeleteAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to delete. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Gets the list of workload classifiers for a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifiers from. + /// + public static IPage ListByWorkloadGroup(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName) + { + return operations.ListByWorkloadGroupAsync(resourceGroupName, serverName, databaseName, workloadGroupName).GetAwaiter().GetResult(); + } + + /// + /// Gets the list of workload classifiers for a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifiers from. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByWorkloadGroupAsync(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByWorkloadGroupWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + public static WorkloadClassifier BeginCreateOrUpdate(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters) + { + return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates or updates a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to create/update. + /// + /// + /// The properties of the workload classifier. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, WorkloadClassifier parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to delete. + /// + public static void BeginDelete(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName) + { + operations.BeginDeleteAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a workload classifier. + /// + /// + /// 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. + /// + /// + /// The name of the workload group from which to receive the classifier from. + /// + /// + /// The name of the workload classifier to delete. + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this IWorkloadClassifiersOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, string workloadClassifierName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, workloadClassifierName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Gets the list of workload classifiers for a workload group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByWorkloadGroupNext(this IWorkloadClassifiersOperations operations, string nextPageLink) + { + return operations.ListByWorkloadGroupNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets the list of workload classifiers for a workload group + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByWorkloadGroupNextAsync(this IWorkloadClassifiersOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByWorkloadGroupNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadGroupsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadGroupsOperations.cs new file mode 100644 index 000000000000..186476f74931 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadGroupsOperations.cs @@ -0,0 +1,1146 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// WorkloadGroupsOperations operations. + /// + internal partial class WorkloadGroupsOperations : IServiceOperations, IWorkloadGroupsOperations + { + /// + /// Initializes a new instance of the WorkloadGroupsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal WorkloadGroupsOperations(SqlManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the SqlManagementClient + /// + public SqlManagementClient Client { get; private set; } + + /// + /// Gets a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, 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 (workloadGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadGroupName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-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("workloadGroupName", workloadGroupName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}").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("{workloadGroupName}", System.Uri.EscapeDataString(workloadGroupName)); + _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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send Request + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Gets the list of workload groups + /// + /// + /// 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. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByDatabaseWithHttpMessagesAsync(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 = "2019-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, "ListByDatabase", 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}/workloadGroups").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("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters, 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 (workloadGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadGroupName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-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("workloadGroupName", workloadGroupName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}").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("{workloadGroupName}", System.Uri.EscapeDataString(workloadGroupName)); + _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("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, string workloadGroupName, 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 (workloadGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workloadGroupName"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string apiVersion = "2019-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("workloadGroupName", workloadGroupName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/workloadGroups/{workloadGroupName}").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("{workloadGroupName}", System.Uri.EscapeDataString(workloadGroupName)); + _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("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) + { + 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 the list of workload groups + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByDatabaseNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadGroupsOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadGroupsOperationsExtensions.cs new file mode 100644 index 000000000000..0d86adccc315 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/WorkloadGroupsOperationsExtensions.cs @@ -0,0 +1,383 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.Sql +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for WorkloadGroupsOperations. + /// + public static partial class WorkloadGroupsOperationsExtensions + { + /// + /// Gets a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + public static WorkloadGroup Get(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName) + { + return operations.GetAsync(resourceGroupName, serverName, databaseName, workloadGroupName).GetAwaiter().GetResult(); + } + + /// + /// Gets a workload group + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + public static WorkloadGroup CreateOrUpdate(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serverName, databaseName, workloadGroupName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + public static void Delete(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName) + { + operations.DeleteAsync(resourceGroupName, serverName, databaseName, workloadGroupName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Gets the list of workload groups + /// + /// + /// 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. + /// + public static IPage ListByDatabase(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName) + { + return operations.ListByDatabaseAsync(resourceGroupName, serverName, databaseName).GetAwaiter().GetResult(); + } + + /// + /// Gets the list of workload groups + /// + /// + /// 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. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByDatabaseAsync(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByDatabaseWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + public static WorkloadGroup BeginCreateOrUpdate(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters) + { + return operations.BeginCreateOrUpdateAsync(resourceGroupName, serverName, databaseName, workloadGroupName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates or updates a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group. + /// + /// + /// The requested workload group state. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, WorkloadGroup parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + public static void BeginDelete(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName) + { + operations.BeginDeleteAsync(resourceGroupName, serverName, databaseName, workloadGroupName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a workload group. + /// + /// + /// 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. + /// + /// + /// The name of the workload group to delete. + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteAsync(this IWorkloadGroupsOperations operations, string resourceGroupName, string serverName, string databaseName, string workloadGroupName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, workloadGroupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Gets the list of workload groups + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByDatabaseNext(this IWorkloadGroupsOperations operations, string nextPageLink) + { + return operations.ListByDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Gets the list of workload groups + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByDatabaseNextAsync(this IWorkloadGroupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} 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 77e2df0014bd..8759adf04087 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,12 +7,13 @@ Microsoft.Azure.Management.Sql Azure SQL Management SDK library Microsoft.Azure.Management.Sql - 1.44.1-preview + 1.44.2-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 230a677b310f..88ef1b013d6c 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.44.1.0")] +[assembly: AssemblyFileVersion("1.44.2.0")] diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseCrudScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseCrudScenarioTests.cs index 23d828bedd80..c7e82fa46d30 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseCrudScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseCrudScenarioTests.cs @@ -44,7 +44,7 @@ public void TestCreateDropDatabase() Assert.NotNull(db1); // Create a database with all parameters specified - // + // dbName = SqlManagementTestUtilities.GenerateName(); var db2Input = new Database() { @@ -54,7 +54,8 @@ public void TestCreateDropDatabase() MaxSizeBytes = 2 * 1024L * 1024L * 1024L, Tags = tags, CreateMode = "Default", - SampleName = SampleName.AdventureWorksLT + SampleName = SampleName.AdventureWorksLT, + StorageAccountType = "GRS", }; var db2 = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, dbName, db2Input); Assert.NotNull(db2); @@ -105,19 +106,30 @@ public void TestCreateDropDatabase() var db7Input = new Database() { Location = server.Location, - Sku = new Microsoft.Azure.Management.Sql.Models.Sku("HS_Gen5_4", DatabaseEdition.Hyperscale), + Sku = new Microsoft.Azure.Management.Sql.Models.Sku("HS_Gen5_4", "Hyperscale"), ReadReplicaCount = 4, }; var db7 = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, dbName, db7Input); Assert.NotNull(db7); SqlManagementTestUtilities.ValidateDatabase(db7Input, db7, dbName); + dbName = SqlManagementTestUtilities.GenerateName(); + var db8Input = new Database() + { + Location = server.Location, + StorageAccountType = "GRS", + }; + var db8 = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, dbName, db8Input); + Assert.NotNull(db8); + SqlManagementTestUtilities.ValidateDatabase(db8Input, db8, dbName); + sqlClient.Databases.Delete(resourceGroup.Name, server.Name, db1.Name); sqlClient.Databases.Delete(resourceGroup.Name, server.Name, db2.Name); sqlClient.Databases.Delete(resourceGroup.Name, server.Name, db4.Name); sqlClient.Databases.Delete(resourceGroup.Name, server.Name, db5.Name); sqlClient.Databases.Delete(resourceGroup.Name, server.Name, db6.Name); sqlClient.Databases.Delete(resourceGroup.Name, server.Name, db7.Name); + sqlClient.Databases.Delete(resourceGroup.Name, server.Name, db8.Name); } } @@ -240,7 +252,7 @@ private void TestUpdateDatabase( // Upgrade Edition + SLO Name // dynamic updateEditionAndSloInput = createModelFunc(); - updateEditionAndSloInput.Sku = new Microsoft.Azure.Management.Sql.Models.Sku(ServiceObjectiveName.S0, DatabaseEdition.Standard); + updateEditionAndSloInput.Sku = new Microsoft.Azure.Management.Sql.Models.Sku(ServiceObjectiveName.S0, "Standard"); var db2 = updateFunc(resourceGroup.Name, server.Name, dbName, updateEditionAndSloInput); SqlManagementTestUtilities.ValidateDatabase(updateEditionAndSloInput, db2, dbName); @@ -363,7 +375,7 @@ public void TestGetAndListDatabase() } } } - + [Fact] public void TestRemoveDatabaseFromPool() { @@ -379,7 +391,7 @@ public void TestRemoveDatabaseFromPool() }; // Create an elastic pool - // + // string epName = SqlManagementTestUtilities.GenerateName(); var epInput = new ElasticPool() { diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticJobAgentScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticJobAgentScenarioTests.cs index c316020a04c3..7136a2d1d3da 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticJobAgentScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticJobAgentScenarioTests.cs @@ -419,7 +419,7 @@ public void TestCreateUpdateDropJobStep() TableName = "tbl", SubscriptionId = new Guid(), Credential = credential.Id, - Type = JobTargetType.SqlDatabase + Type = JobStepOutputType.SqlDatabase } }); diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticPoolCrudScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticPoolCrudScenarioTests.cs index 3ccc1d675e57..228ac38df2b3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticPoolCrudScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ElasticPoolCrudScenarioTests.cs @@ -169,7 +169,7 @@ public async Task TestCancelUpdateElasticPoolOperation() // Make sure the elastic pool is not updated due to cancel operation var epGetResponse = sqlClient.ElasticPools.Get(resourceGroup.Name, server.Name, epName); Assert.Equal(125, epGetResponse.Dtu); - Assert.Equal(DatabaseEdition.Premium, epGetResponse.Edition); + Assert.Equal("Premium", epGetResponse.Edition); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ImportExportScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ImportExportScenarioTests.cs index f7ce4021dda3..145f0dd30966 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ImportExportScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ImportExportScenarioTests.cs @@ -24,16 +24,28 @@ public class ImportExportScenarioTests [Fact] public void TestImportExistingDatabase() { - TestImportExport(true, "TestImportExistingDatabase"); + TestImportExport(true, "TestImportExistingDatabase", false); } [Fact] public void TestImportNewDatabase() { - TestImportExport(false, "TestImportNewDatabase"); + TestImportExport(false, "TestImportNewDatabase", false); } - public void TestImportExport(bool preexistingDatabase, string testName) + [Fact] + public void TestImportExistingDatabase_NetworkIsolation() + { + TestImportExport(true, "TestImportExistingDatabase_NetworkIsolation", true); + } + + [Fact] + public void TestImportNewDatabase_NetworkIsolation() + { + TestImportExport(false, "TestImportNewDatabase_NetworkIsolation", true); + } + + public void TestImportExport(bool preexistingDatabase, string testName, bool useNetworkIsolation) { using (SqlManagementTestContext context = new SqlManagementTestContext(this, testName)) { @@ -41,14 +53,16 @@ public void TestImportExport(bool preexistingDatabase, string testName) Server server = context.CreateServer(resourceGroup); SqlManagementClient sqlClient = context.GetClient(); + string storageAccountName = SqlManagementTestUtilities.GenerateName(prefix: "sqlcrudtest"); + // Begin creating storage account and container - Task storageContainerTask = CreateStorageContainer(context, resourceGroup); + Task storageContainerTask = CreateStorageContainer(context, resourceGroup, storageAccountName); string login = SqlManagementTestUtilities.DefaultLogin; string password = SqlManagementTestUtilities.DefaultPassword; string dbName = SqlManagementTestUtilities.GenerateName(); string dbName2 = SqlManagementTestUtilities.GenerateName(); - string storageAccountName = SqlManagementTestUtilities.GenerateName("sqlcrudstorage"); + Dictionary tags = new Dictionary() { { "tagKey1", "TagValue1" } @@ -85,46 +99,82 @@ public void TestImportExport(bool preexistingDatabase, string testName) "{0}/{1}.bacpac", storageContainerInfo.StorageContainerUri, dbName); - // Export database to bacpac - sqlClient.Databases.Export(resourceGroup.Name, server.Name, dbName, new ExportRequest() + string sqlServerResourceId = $"/subscriptions/{sqlClient.SubscriptionId}/resourceGroups/{resourceGroup.Name}/providers/Microsoft.Sql/servers/{server.Name}"; + string storageAccountResourceId = $"/subscriptions/{sqlClient.SubscriptionId}/resourcegroups/{resourceGroup.Name}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}"; + + var exportDatabaseDefinition = new ExportDatabaseDefinition() { AdministratorLogin = login, AdministratorLoginPassword = password, - AuthenticationType = AuthenticationType.SQL, + AuthenticationType = "SQL", StorageKey = storageContainerInfo.StorageAccountKey, - StorageKeyType = StorageKeyType.StorageAccessKey, + StorageKeyType = StorageKeyType.StorageAccessKey.ToString(), StorageUri = exportBacpacLink - }); + }; + + if (useNetworkIsolation) + { + exportDatabaseDefinition.NetworkIsolation = new NetworkIsolationSettings() + { + SqlServerResourceId = sqlServerResourceId, + StorageAccountResourceId = storageAccountResourceId + }; + } + + // Export database to bacpac + sqlClient.Databases.Export(resourceGroup.Name, server.Name, dbName, exportDatabaseDefinition); // Import bacpac to new/existing database if (preexistingDatabase) { - // Import bacpac to existing database - sqlClient.Databases.CreateImportOperation(resourceGroup.Name, server.Name, dbName2, new ImportExtensionRequest() + var importDatabaseDefinition = new ImportExistingDatabaseDefinition() { AdministratorLogin = login, AdministratorLoginPassword = password, - AuthenticationType = AuthenticationType.SQL, + AuthenticationType = "SQL", StorageKey = storageContainerInfo.StorageAccountKey, - StorageKeyType = StorageKeyType.StorageAccessKey, + StorageKeyType = StorageKeyType.StorageAccessKey.ToString(), StorageUri = exportBacpacLink - }); + }; + + if (useNetworkIsolation) + { + importDatabaseDefinition.NetworkIsolation = new NetworkIsolationSettings() + { + SqlServerResourceId = sqlServerResourceId, + StorageAccountResourceId = storageAccountResourceId + }; + } + + // Import bacpac to existing database + sqlClient.ImportExport.Import(resourceGroup.Name, server.Name, dbName2, importDatabaseDefinition); } else { - sqlClient.Databases.Import(resourceGroup.Name, server.Name, new ImportRequest() + var importDatabaseDefinition = new ImportNewDatabaseDefinition() { AdministratorLogin = login, AdministratorLoginPassword = password, - AuthenticationType = AuthenticationType.SQL, + AuthenticationType = "SQL", StorageKey = storageContainerInfo.StorageAccountKey, - StorageKeyType = StorageKeyType.StorageAccessKey, + StorageKeyType = StorageKeyType.StorageAccessKey.ToString(), StorageUri = exportBacpacLink, DatabaseName = dbName2, Edition = SqlTestConstants.DefaultDatabaseEdition, ServiceObjectiveName = ServiceObjectiveName.Basic, MaxSizeBytes = (2 * 1024L * 1024L * 1024L).ToString(), - }); + }; + + if (useNetworkIsolation) + { + importDatabaseDefinition.NetworkIsolation = new NetworkIsolationSettings() + { + SqlServerResourceId = sqlServerResourceId, + StorageAccountResourceId = storageAccountResourceId + }; + } + + sqlClient.Servers.ImportDatabase(resourceGroup.Name, server.Name, importDatabaseDefinition); } } } @@ -135,12 +185,12 @@ private struct StorageContainerInfo public Uri StorageContainerUri; } - private async Task CreateStorageContainer(SqlManagementTestContext context, ResourceGroup resourceGroup) + private async Task CreateStorageContainer(SqlManagementTestContext context, ResourceGroup resourceGroup, string storageAccountName) { StorageManagementClient storageClient = context.GetClient(); StorageAccount storageAccount = await storageClient.StorageAccounts.CreateAsync( resourceGroup.Name, - accountName: SqlManagementTestUtilities.GenerateName(prefix: "sqlcrudtest"), // '-' is not allowed + accountName: storageAccountName, // '-' is not allowed parameters: new StorageAccountCreateParameters( new Microsoft.Azure.Management.Storage.Models.Sku(SkuName.StandardLRS, SkuTier.Standard), Kind.BlobStorage, diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ManagedInstanceLongTermRetentionTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ManagedInstanceLongTermRetentionTests.cs index b902c195955c..f583d8edd8b9 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ManagedInstanceLongTermRetentionTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/ManagedInstanceLongTermRetentionTests.cs @@ -105,7 +105,7 @@ public void TestManagedIntanceLongTermRetentionCrud() parameters: new ManagedDatabase { Location = locationName, - CreateMode = CreateMode.RestoreLongTermRetentionBackup, + CreateMode = ManagedDatabaseCreateMode.RestoreLongTermRetentionBackup, LongTermRetentionBackupResourceId = backup.Id }); } @@ -155,7 +155,7 @@ public void TestManagedInstanceLongTermRetentionResourceGroupBasedCrud() parameters: new ManagedDatabase { Location = locationName, - CreateMode = CreateMode.RestoreLongTermRetentionBackup, + CreateMode = ManagedDatabaseCreateMode.RestoreLongTermRetentionBackup, LongTermRetentionBackupResourceId = backup.Id }); diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/DatabaseCrudScenarioTests/TestCreateDropDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/DatabaseCrudScenarioTests/TestCreateDropDatabase.json index d3a218b2fd84..9308daf60804 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/DatabaseCrudScenarioTests/TestCreateDropDatabase.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/DatabaseCrudScenarioTests/TestCreateDropDatabase.json @@ -1,13 +1,13 @@ { "Entries": [ { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourcegroups/sqlcrudtest-8679?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg2Nzk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourcegroups/sqlcrudtest-5569?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTU1Njk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"canada central\",\r\n \"tags\": {\r\n \"sqlcrudtest-8679\": \"2019-09-12 20:02:47Z\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {\r\n \"sqlcrudtest-5569\": \"2020-09-04 02:27:27Z\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "31583467-0ed5-4593-8574-c5e453566ee9" + "624e24e5-a1ad-4a97-b182-14085bab67d2" ], "accept-language": [ "en-US" @@ -15,7 +15,7 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", + "OSVersion/Microsoft.Windows.10.0.14393.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ], "Content-Type": [ @@ -30,7 +30,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:02:50 GMT" + "Fri, 04 Sep 2020 02:27:29 GMT" ], "Pragma": [ "no-cache" @@ -39,13 +39,13 @@ "1199" ], "x-ms-request-id": [ - "d2e4f70c-e2bb-4e72-bb7e-c89a06416703" + "a032b8fa-1763-4141-b864-aa013463d381" ], "x-ms-correlation-request-id": [ - "d2e4f70c-e2bb-4e72-bb7e-c89a06416703" + "a032b8fa-1763-4141-b864-aa013463d381" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200250Z:d2e4f70c-e2bb-4e72-bb7e-c89a06416703" + "WESTUS:20200904T022729Z:a032b8fa-1763-4141-b864-aa013463d381" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -63,17 +63,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679\",\r\n \"name\": \"sqlcrudtest-8679\",\r\n \"location\": \"canadacentral\",\r\n \"tags\": {\r\n \"sqlcrudtest-8679\": \"2019-09-12 20:02:47Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569\",\r\n \"name\": \"sqlcrudtest-5569\",\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"sqlcrudtest-5569\": \"2020-09-04 02:27:27Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"canada central\",\r\n \"tags\": {}\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"Southeast Asia\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "82655266-0f74-4352-897e-30660fe51947" + "b336fd3c-4e73-4a16-b0ac-74326297e796" ], "accept-language": [ "en-US" @@ -81,8 +81,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -96,13 +96,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:02:51 GMT" + "Fri, 04 Sep 2020 02:27:36 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverOperationResults/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverOperationResults/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview" ], "Retry-After": [ "1" @@ -111,19 +111,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "39f778ff-e046-43f6-9f6d-a2a3002b6b70" + "7e6d410f-60f2-468a-8b9f-366a1e82e757" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "6b0aba45-8a0b-41ab-92af-b6e2fb138d4c" + "414c0bf6-5f12-47fd-bbeb-aad2cecd22a9" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200252Z:6b0aba45-8a0b-41ab-92af-b6e2fb138d4c" + "WESTUS:20200904T022736Z:414c0bf6-5f12-47fd-bbeb-aad2cecd22a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -132,7 +132,7 @@ "nosniff" ], "Content-Length": [ - "74" + "73" ], "Content-Type": [ "application/json; charset=utf-8" @@ -141,20 +141,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zOWY3NzhmZi1lMDQ2LTQzZjYtOWY2ZC1hMmEzMDAyYjZiNzA/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83ZTZkNDEwZi02MGYyLTQ2OGEtOGI5Zi0zNjZhMWU4MmU3NTc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -162,7 +162,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:02:52 GMT" + "Fri, 04 Sep 2020 02:27:37 GMT" ], "Pragma": [ "no-cache" @@ -174,16 +174,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "7b3ee33b-bb38-4c55-bda5-1415b2fec4ec" + "6311e05e-151e-43bb-86af-de14bce1444e" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], "x-ms-correlation-request-id": [ - "537e2647-7c99-4870-8ee5-c8784fe40207" + "fc70be61-a4c1-4980-8be0-eb15d3e5e942" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200253Z:537e2647-7c99-4870-8ee5-c8784fe40207" + "WESTUS:20200904T022738Z:fc70be61-a4c1-4980-8be0-eb15d3e5e942" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -192,7 +192,7 @@ "nosniff" ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -201,20 +201,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"39f778ff-e046-43f6-9f6d-a2a3002b6b70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"7e6d410f-60f2-468a-8b9f-366a1e82e757\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zOWY3NzhmZi1lMDQ2LTQzZjYtOWY2ZC1hMmEzMDAyYjZiNzA/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83ZTZkNDEwZi02MGYyLTQ2OGEtOGI5Zi0zNjZhMWU4MmU3NTc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -222,7 +222,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:02:53 GMT" + "Fri, 04 Sep 2020 02:27:39 GMT" ], "Pragma": [ "no-cache" @@ -234,16 +234,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "b76dd341-09b6-4a4d-9114-54f3ca43f70e" + "1dc2be0f-0d5d-4f43-bbfc-f41f2ca7c119" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], "x-ms-correlation-request-id": [ - "b6dea867-c364-473e-a07b-c7f59d472a85" + "54a7ab0c-1413-4517-a28f-02277004aa7c" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200254Z:b6dea867-c364-473e-a07b-c7f59d472a85" + "WESTUS:20200904T022739Z:54a7ab0c-1413-4517-a28f-02277004aa7c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -252,7 +252,7 @@ "nosniff" ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -261,20 +261,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"39f778ff-e046-43f6-9f6d-a2a3002b6b70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"7e6d410f-60f2-468a-8b9f-366a1e82e757\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zOWY3NzhmZi1lMDQ2LTQzZjYtOWY2ZC1hMmEzMDAyYjZiNzA/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83ZTZkNDEwZi02MGYyLTQ2OGEtOGI5Zi0zNjZhMWU4MmU3NTc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -282,7 +282,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:02:54 GMT" + "Fri, 04 Sep 2020 02:27:40 GMT" ], "Pragma": [ "no-cache" @@ -294,16 +294,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "6a0beec5-7278-4b52-b96b-775249952ef2" + "b1e84de4-db0f-4468-97f3-8359fc783b9f" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], "x-ms-correlation-request-id": [ - "efa57845-0c29-4714-b9f7-2216740abf97" + "46ca049e-eabc-475b-adee-606ee196f9a9" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200255Z:efa57845-0c29-4714-b9f7-2216740abf97" + "WESTUS:20200904T022740Z:46ca049e-eabc-475b-adee-606ee196f9a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -312,7 +312,7 @@ "nosniff" ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -321,20 +321,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"39f778ff-e046-43f6-9f6d-a2a3002b6b70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"7e6d410f-60f2-468a-8b9f-366a1e82e757\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zOWY3NzhmZi1lMDQ2LTQzZjYtOWY2ZC1hMmEzMDAyYjZiNzA/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83ZTZkNDEwZi02MGYyLTQ2OGEtOGI5Zi0zNjZhMWU4MmU3NTc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -342,28 +342,28 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:02:56 GMT" + "Fri, 04 Sep 2020 02:27:41 GMT" ], "Pragma": [ "no-cache" ], "Retry-After": [ - "1" + "20" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "cacdd9eb-e056-4223-b1b7-242452a7c953" + "c3a3600d-38bc-40ae-8a82-9de625e07850" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], "x-ms-correlation-request-id": [ - "d22fa1da-6bbf-4326-90ac-ea1819e23816" + "7f1b26a1-ba04-47f5-8c4d-c6941cd5e3fa" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200256Z:d22fa1da-6bbf-4326-90ac-ea1819e23816" + "WESTUS:20200904T022741Z:7f1b26a1-ba04-47f5-8c4d-c6941cd5e3fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -372,7 +372,7 @@ "nosniff" ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -381,20 +381,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"39f778ff-e046-43f6-9f6d-a2a3002b6b70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"7e6d410f-60f2-468a-8b9f-366a1e82e757\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zOWY3NzhmZi1lMDQ2LTQzZjYtOWY2ZC1hMmEzMDAyYjZiNzA/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83ZTZkNDEwZi02MGYyLTQ2OGEtOGI5Zi0zNjZhMWU4MmU3NTc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -402,7 +402,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:02:57 GMT" + "Fri, 04 Sep 2020 02:28:01 GMT" ], "Pragma": [ "no-cache" @@ -414,16 +414,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "70684c61-747a-4349-85b2-1c475644fd2f" + "ef92e6a9-9999-4a48-89d0-39db8a8371a6" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], "x-ms-correlation-request-id": [ - "8151ba0a-2690-40c8-a009-7b1534af085e" + "1fa3c492-c188-421d-8dcf-876ed99398c6" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200257Z:8151ba0a-2690-40c8-a009-7b1534af085e" + "WESTUS:20200904T022801Z:1fa3c492-c188-421d-8dcf-876ed99398c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -432,7 +432,7 @@ "nosniff" ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -441,20 +441,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"39f778ff-e046-43f6-9f6d-a2a3002b6b70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"7e6d410f-60f2-468a-8b9f-366a1e82e757\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zOWY3NzhmZi1lMDQ2LTQzZjYtOWY2ZC1hMmEzMDAyYjZiNzA/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83ZTZkNDEwZi02MGYyLTQ2OGEtOGI5Zi0zNjZhMWU4MmU3NTc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -462,7 +462,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:03:17 GMT" + "Fri, 04 Sep 2020 02:28:21 GMT" ], "Pragma": [ "no-cache" @@ -474,16 +474,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "bbbb6126-e2c5-4dae-9a52-4f09d78dafee" + "6f5b14d8-813a-4348-bd66-a51894be73ea" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], "x-ms-correlation-request-id": [ - "e7466e42-d23e-41ae-bc1a-b1947eb6fb9b" + "8d4c27ef-148e-439f-a087-19602dd6d97e" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200318Z:e7466e42-d23e-41ae-bc1a-b1947eb6fb9b" + "WESTUS:20200904T022822Z:8d4c27ef-148e-439f-a087-19602dd6d97e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -492,7 +492,7 @@ "nosniff" ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -501,20 +501,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"39f778ff-e046-43f6-9f6d-a2a3002b6b70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"7e6d410f-60f2-468a-8b9f-366a1e82e757\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/serverAzureAsyncOperation/39f778ff-e046-43f6-9f6d-a2a3002b6b70?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zOWY3NzhmZi1lMDQ2LTQzZjYtOWY2ZC1hMmEzMDAyYjZiNzA/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/serverAzureAsyncOperation/7e6d410f-60f2-468a-8b9f-366a1e82e757?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83ZTZkNDEwZi02MGYyLTQ2OGEtOGI5Zi0zNjZhMWU4MmU3NTc/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -522,7 +522,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:03:37 GMT" + "Fri, 04 Sep 2020 02:28:41 GMT" ], "Pragma": [ "no-cache" @@ -534,16 +534,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "9f740c60-7ca5-46fb-8c48-9613f1704e77" + "437037fe-cc3c-4cd4-a6b9-cdac167b2bb0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], "x-ms-correlation-request-id": [ - "a728482f-fefd-4f75-b228-2c5966da97b3" + "2a9ec9ec-7ee8-4a6b-8fa8-885b6fde07cf" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200338Z:a728482f-fefd-4f75-b228-2c5966da97b3" + "WESTUS:20200904T022842Z:2a9ec9ec-7ee8-4a6b-8fa8-885b6fde07cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -552,7 +552,7 @@ "nosniff" ], "Content-Length": [ - "107" + "106" ], "Content-Type": [ "application/json; charset=utf-8" @@ -561,20 +561,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"39f778ff-e046-43f6-9f6d-a2a3002b6b70\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:02:52.057Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"7e6d410f-60f2-468a-8b9f-366a1e82e757\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:27:36.57Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -582,7 +582,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:03:38 GMT" + "Fri, 04 Sep 2020 02:28:42 GMT" ], "Pragma": [ "no-cache" @@ -591,16 +591,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "32b2bc1a-f334-4a6e-a28f-36d909dc0c16" + "82360059-1eee-409d-a739-ebe0a937b150" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], "x-ms-correlation-request-id": [ - "bbd5b878-49f6-4342-a27a-7ad8a5d91243" + "6479195c-3ed0-49c4-890e-731743ecd39f" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200338Z:bbd5b878-49f6-4342-a27a-7ad8a5d91243" + "WESTUS:20200904T022842Z:6479195c-3ed0-49c4-890e-731743ecd39f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -609,7 +609,7 @@ "nosniff" ], "Content-Length": [ - "399" + "463" ], "Content-Type": [ "application/json; charset=utf-8" @@ -618,17 +618,17 @@ "-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-1579.database.windows.net\"\r\n },\r\n \"location\": \"canadacentral\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579\",\r\n \"name\": \"sqlcrudtest-1579\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "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-9821.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821\",\r\n \"name\": \"sqlcrudtest-9821\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6953?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02OTUzP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1791?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNzkxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"canadacentral\"\r\n}", + "RequestBody": "{\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "c933a31a-b49e-49db-a821-74b353a5d992" + "1783f4dc-9a68-4bda-890d-bf28fcc4d367" ], "accept-language": [ "en-US" @@ -636,8 +636,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -651,13 +651,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:03:39 GMT" + "Fri, 04 Sep 2020 02:28:46 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/442e5767-e251-445a-8bc4-ece51616548d?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/33ad2693-ccfd-41a4-a65e-8c49a2f41ff4?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -666,19 +666,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/442e5767-e251-445a-8bc4-ece51616548d?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/33ad2693-ccfd-41a4-a65e-8c49a2f41ff4?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "442e5767-e251-445a-8bc4-ece51616548d" + "33ad2693-ccfd-41a4-a65e-8c49a2f41ff4" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "b9da3c66-c9ac-4ec3-9373-3663f4530d22" + "23e9f5af-7bd1-4b59-9c79-fc8126e65073" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200339Z:b9da3c66-c9ac-4ec3-9373-3663f4530d22" + "WESTUS:20200904T022846Z:23e9f5af-7bd1-4b59-9c79-fc8126e65073" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -687,7 +687,7 @@ "nosniff" ], "Content-Length": [ - "76" + "75" ], "Content-Type": [ "application/json; charset=utf-8" @@ -696,20 +696,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:03:39.343Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:28:46.61Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/442e5767-e251-445a-8bc4-ece51616548d?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzQ0MmU1NzY3LWUyNTEtNDQ1YS04YmM0LWVjZTUxNjE2NTQ4ZD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/33ad2693-ccfd-41a4-a65e-8c49a2f41ff4?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzMzYWQyNjkzLWNjZmQtNDFhNC1hNjVlLThjNDlhMmY0MWZmND9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -717,7 +717,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:03:54 GMT" + "Fri, 04 Sep 2020 02:29:01 GMT" ], "Pragma": [ "no-cache" @@ -729,16 +729,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "afbdfedf-2294-4282-83ab-069f5fe5de36" + "78453da4-6347-4e47-ac28-5673aa6873be" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], "x-ms-correlation-request-id": [ - "3a4f6624-935e-45d2-b4c4-0a4447311989" + "c236d178-2fb3-4ce8-99df-a5b3dae2aadb" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200354Z:3a4f6624-935e-45d2-b4c4-0a4447311989" + "WESTUS:20200904T022902Z:c236d178-2fb3-4ce8-99df-a5b3dae2aadb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -747,7 +747,7 @@ "nosniff" ], "Content-Length": [ - "108" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -756,20 +756,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"442e5767-e251-445a-8bc4-ece51616548d\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:03:39.343Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"33ad2693-ccfd-41a4-a65e-8c49a2f41ff4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:28:46.61Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/442e5767-e251-445a-8bc4-ece51616548d?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzQ0MmU1NzY3LWUyNTEtNDQ1YS04YmM0LWVjZTUxNjE2NTQ4ZD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/33ad2693-ccfd-41a4-a65e-8c49a2f41ff4?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzMzYWQyNjkzLWNjZmQtNDFhNC1hNjVlLThjNDlhMmY0MWZmND9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -777,7 +777,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:09 GMT" + "Fri, 04 Sep 2020 02:29:16 GMT" ], "Pragma": [ "no-cache" @@ -789,16 +789,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "3fd73bc1-19a6-43c1-b70d-ca1f4103b92e" + "e3d13420-45e2-4649-b122-d499a58b5f5c" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], "x-ms-correlation-request-id": [ - "c80ea2de-d9c8-4bc9-bdae-f3fe6aee7b1e" + "96b262d2-3a42-4da7-96d5-40295dcff078" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200409Z:c80ea2de-d9c8-4bc9-bdae-f3fe6aee7b1e" + "WESTUS:20200904T022917Z:96b262d2-3a42-4da7-96d5-40295dcff078" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -816,20 +816,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"442e5767-e251-445a-8bc4-ece51616548d\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:03:39.343Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"33ad2693-ccfd-41a4-a65e-8c49a2f41ff4\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:28:46.61Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6953?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02OTUzP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/33ad2693-ccfd-41a4-a65e-8c49a2f41ff4?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzMzYWQyNjkzLWNjZmQtNDFhNC1hNjVlLThjNDlhMmY0MWZmND9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -837,25 +837,85 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:09 GMT" + "Fri, 04 Sep 2020 02:29:31 GMT" ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "d2fa3556-ee5c-43d9-8f9f-541386787c9e" + "607f7284-d85f-475f-a080-2b5ac99b15a9" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], "x-ms-correlation-request-id": [ - "867b877e-e497-4a07-ad64-7fc86840a1c4" + "0eb3965b-0b43-442f-bd8b-7fe51a055f27" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T022932Z:0eb3965b-0b43-442f-bd8b-7fe51a055f27" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"33ad2693-ccfd-41a4-a65e-8c49a2f41ff4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:28:46.61Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1791?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNzkxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:29:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b28e1b20-76ee-4dd7-b75f-2a20c2c115c6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "cb2e1640-4511-4aab-9929-654b4076b6e9" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200409Z:867b877e-e497-4a07-ad64-7fc86840a1c4" + "WESTUS:20200904T022932Z:cb2e1640-4511-4aab-9929-654b4076b6e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -864,7 +924,7 @@ "nosniff" ], "Content-Length": [ - "1001" + "1026" ], "Content-Type": [ "application/json; charset=utf-8" @@ -873,17 +933,17 @@ "-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\": \"15e40f80-3854-41aa-8bea-8e1f283d03cf\",\r\n \"creationDate\": \"2019-09-12T20:04:04.923Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"canadaeast\",\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-09-12T20:34:04.923Z\",\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\": \"canadacentral\",\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6953\",\r\n \"name\": \"sqlcrudtest-6953\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "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\": \"9b51bb86-64f6-4ee1-a79f-fe70ac5a1e2a\",\r\n \"creationDate\": \"2020-09-04T02:29:24.413Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"eastasia\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-04T02:59:24.413Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1791\",\r\n \"name\": \"sqlcrudtest-1791\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-7162?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03MTYyP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7153?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03MTUzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 2147483648,\r\n \"sampleName\": \"AdventureWorksLT\"\r\n },\r\n \"location\": \"canadacentral\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n }\r\n}", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"createMode\": \"Default\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 2147483648,\r\n \"sampleName\": \"AdventureWorksLT\",\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "0f642de5-2e68-401a-8c00-84da8461388c" + "cd4f27f2-8274-44c4-86ac-7eb0e2c8b9f5" ], "accept-language": [ "en-US" @@ -891,14 +951,14 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "297" + "331" ] }, "ResponseHeaders": { @@ -906,13 +966,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:09 GMT" + "Fri, 04 Sep 2020 02:29:33 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/b743cde9-020a-4cb2-9795-0c52d2ff1209?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/202071b3-b526-4845-8cf7-d23a42036deb?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -921,19 +981,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/b743cde9-020a-4cb2-9795-0c52d2ff1209?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/202071b3-b526-4845-8cf7-d23a42036deb?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "b743cde9-020a-4cb2-9795-0c52d2ff1209" + "202071b3-b526-4845-8cf7-d23a42036deb" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "18b85845-2deb-486f-bac3-2837603991b9" + "64390127-291f-42ea-b0c2-ab38ef679cd7" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200410Z:18b85845-2deb-486f-bac3-2837603991b9" + "WESTUS:20200904T022934Z:64390127-291f-42ea-b0c2-ab38ef679cd7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -951,20 +1011,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:04:10.343Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:29:34.773Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/b743cde9-020a-4cb2-9795-0c52d2ff1209?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2I3NDNjZGU5LTAyMGEtNGNiMi05Nzk1LTBjNTJkMmZmMTIwOT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/202071b3-b526-4845-8cf7-d23a42036deb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzIwMjA3MWIzLWI1MjYtNDg0NS04Y2Y3LWQyM2E0MjAzNmRlYj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -972,7 +1032,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:24 GMT" + "Fri, 04 Sep 2020 02:29:50 GMT" ], "Pragma": [ "no-cache" @@ -984,16 +1044,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "4ed2e43d-0480-45f5-ba17-96202f8fcdab" + "ed5329e5-bed8-4ad4-9905-be716e5cdc3f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11987" ], "x-ms-correlation-request-id": [ - "d808a9b7-55d0-407b-8a0e-a2168810aa21" + "b12e44d4-8fc1-446b-b113-b36064914296" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200425Z:d808a9b7-55d0-407b-8a0e-a2168810aa21" + "WESTUS:20200904T022950Z:b12e44d4-8fc1-446b-b113-b36064914296" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1011,20 +1071,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"b743cde9-020a-4cb2-9795-0c52d2ff1209\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:04:10.343Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"202071b3-b526-4845-8cf7-d23a42036deb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:29:34.773Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/b743cde9-020a-4cb2-9795-0c52d2ff1209?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2I3NDNjZGU5LTAyMGEtNGNiMi05Nzk1LTBjNTJkMmZmMTIwOT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/202071b3-b526-4845-8cf7-d23a42036deb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzIwMjA3MWIzLWI1MjYtNDg0NS04Y2Y3LWQyM2E0MjAzNmRlYj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1032,7 +1092,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:40 GMT" + "Fri, 04 Sep 2020 02:30:05 GMT" ], "Pragma": [ "no-cache" @@ -1044,16 +1104,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "6ece8c19-5a04-42a4-b1b2-6b64d908c21f" + "ab645474-5401-4cab-b881-f10e5268716e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "11986" ], "x-ms-correlation-request-id": [ - "9ba69d5f-8db2-4724-9f86-20525d8dd97a" + "fdf84e75-d41c-48a5-8072-3dbeab48d177" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200440Z:9ba69d5f-8db2-4724-9f86-20525d8dd97a" + "WESTUS:20200904T023005Z:fdf84e75-d41c-48a5-8072-3dbeab48d177" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1071,20 +1131,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"b743cde9-020a-4cb2-9795-0c52d2ff1209\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:04:10.343Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"202071b3-b526-4845-8cf7-d23a42036deb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:29:34.773Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/b743cde9-020a-4cb2-9795-0c52d2ff1209?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2I3NDNjZGU5LTAyMGEtNGNiMi05Nzk1LTBjNTJkMmZmMTIwOT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/202071b3-b526-4845-8cf7-d23a42036deb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzIwMjA3MWIzLWI1MjYtNDg0NS04Y2Y3LWQyM2E0MjAzNmRlYj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1092,7 +1152,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:55 GMT" + "Fri, 04 Sep 2020 02:30:20 GMT" ], "Pragma": [ "no-cache" @@ -1104,16 +1164,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "b453d404-d7a0-483d-abaf-89ea0f96834e" + "1e4647e6-490b-47ba-8c06-aa825bd091c8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "11985" ], "x-ms-correlation-request-id": [ - "0e3e32d2-2962-42c7-a293-950fd617e2a5" + "404f758b-f174-4e4a-bc4c-401768ec1f3e" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200456Z:0e3e32d2-2962-42c7-a293-950fd617e2a5" + "WESTUS:20200904T023020Z:404f758b-f174-4e4a-bc4c-401768ec1f3e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1131,20 +1191,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"b743cde9-020a-4cb2-9795-0c52d2ff1209\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:04:10.343Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"202071b3-b526-4845-8cf7-d23a42036deb\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:29:34.773Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-7162?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03MTYyP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7153?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03MTUzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1152,7 +1212,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:55 GMT" + "Fri, 04 Sep 2020 02:30:20 GMT" ], "Pragma": [ "no-cache" @@ -1161,16 +1221,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "fe9c9124-2fd0-4da0-a9d0-6ccd28d477ca" + "b8effefb-3da2-4063-8f71-2eef84f64d7b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "11984" ], "x-ms-correlation-request-id": [ - "91f7437e-2854-483c-97c9-878d5f8f3b83" + "b2b10467-1802-4d88-8b39-2d824b488740" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200456Z:91f7437e-2854-483c-97c9-878d5f8f3b83" + "WESTUS:20200904T023020Z:b2b10467-1802-4d88-8b39-2d824b488740" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1179,7 +1239,7 @@ "nosniff" ], "Content-Length": [ - "899" + "924" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1188,17 +1248,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 2147483648,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"8922b15d-b757-42b9-a99d-b53246f8aec8\",\r\n \"creationDate\": \"2019-09-12T20:04:50.33Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"canadaeast\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2019-09-12T20:34:50.33Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n }\r\n },\r\n \"location\": \"canadacentral\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n },\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-7162\",\r\n \"name\": \"sqlcrudtest-7162\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 2147483648,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"4485ad9a-275d-4301-ad4f-af8c02b7602e\",\r\n \"creationDate\": \"2020-09-04T02:30:17.29Z\",\r\n \"currentServiceObjectiveName\": \"Basic\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"defaultSecondaryLocation\": \"eastasia\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-09-04T03:00:17.29Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 5\r\n },\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n },\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7153\",\r\n \"name\": \"sqlcrudtest-7153\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-3342?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzQyP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-4457?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00NDU3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"location\": \"canadacentral\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n }\r\n}", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "3acb0d3c-35c2-4f77-a28f-4715d9f7924d" + "87a03426-49f7-49f0-bd60-712a46e22deb" ], "accept-language": [ "en-US" @@ -1206,8 +1266,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1221,13 +1281,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:04:58 GMT" + "Fri, 04 Sep 2020 02:30:23 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/9ea23f82-ba6f-41fe-9eab-1d6de284f27e?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/ee0f6dc6-67af-4026-ae17-637d46c56d7b?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -1236,19 +1296,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/9ea23f82-ba6f-41fe-9eab-1d6de284f27e?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ee0f6dc6-67af-4026-ae17-637d46c56d7b?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "9ea23f82-ba6f-41fe-9eab-1d6de284f27e" + "ee0f6dc6-67af-4026-ae17-637d46c56d7b" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "4982d1b6-0016-419d-b993-f13c4fe2c039" + "118286c0-c9ea-4112-8be9-0c9bc4616104" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200458Z:4982d1b6-0016-419d-b993-f13c4fe2c039" + "WESTUS:20200904T023024Z:118286c0-c9ea-4112-8be9-0c9bc4616104" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1257,7 +1317,7 @@ "nosniff" ], "Content-Length": [ - "75" + "76" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1266,20 +1326,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:04:58.34Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:30:23.867Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/9ea23f82-ba6f-41fe-9eab-1d6de284f27e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzllYTIzZjgyLWJhNmYtNDFmZS05ZWFiLTFkNmRlMjg0ZjI3ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ee0f6dc6-67af-4026-ae17-637d46c56d7b?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2VlMGY2ZGM2LTY3YWYtNDAyNi1hZTE3LTYzN2Q0NmM1NmQ3Yj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1287,7 +1347,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:05:12 GMT" + "Fri, 04 Sep 2020 02:30:38 GMT" ], "Pragma": [ "no-cache" @@ -1299,16 +1359,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "c9975872-29a5-4183-8e2c-f3c10574d4ad" + "bcf5f796-8a2e-4629-9f6b-5b0e2eb36a9f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "11983" ], "x-ms-correlation-request-id": [ - "0217415d-9d05-4525-bbba-b4c8fe4634cd" + "564a7984-1f0b-4ce8-88d6-9f4aab59f50b" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200513Z:0217415d-9d05-4525-bbba-b4c8fe4634cd" + "WESTUS:20200904T023039Z:564a7984-1f0b-4ce8-88d6-9f4aab59f50b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1317,7 +1377,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1326,20 +1386,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"9ea23f82-ba6f-41fe-9eab-1d6de284f27e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:04:58.34Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"ee0f6dc6-67af-4026-ae17-637d46c56d7b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:30:23.867Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/9ea23f82-ba6f-41fe-9eab-1d6de284f27e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzllYTIzZjgyLWJhNmYtNDFmZS05ZWFiLTFkNmRlMjg0ZjI3ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ee0f6dc6-67af-4026-ae17-637d46c56d7b?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2VlMGY2ZGM2LTY3YWYtNDAyNi1hZTE3LTYzN2Q0NmM1NmQ3Yj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1347,7 +1407,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:05:27 GMT" + "Fri, 04 Sep 2020 02:30:54 GMT" ], "Pragma": [ "no-cache" @@ -1359,16 +1419,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "e0bde6ed-927b-45e3-85a6-5b4fb71bd181" + "ea683bb6-04d8-4100-8ff9-582f250ef75e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" + "11982" ], "x-ms-correlation-request-id": [ - "97792f3f-40b0-4393-bd14-21853f428e49" + "74c42b20-fde0-4dc0-a0b9-d58faa49a431" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200528Z:97792f3f-40b0-4393-bd14-21853f428e49" + "WESTUS:20200904T023054Z:74c42b20-fde0-4dc0-a0b9-d58faa49a431" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1377,7 +1437,7 @@ "nosniff" ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1386,20 +1446,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"9ea23f82-ba6f-41fe-9eab-1d6de284f27e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:04:58.34Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"ee0f6dc6-67af-4026-ae17-637d46c56d7b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:30:23.867Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-3342?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzQyP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/ee0f6dc6-67af-4026-ae17-637d46c56d7b?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2VlMGY2ZGM2LTY3YWYtNDAyNi1hZTE3LTYzN2Q0NmM1NmQ3Yj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1407,25 +1467,85 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:05:28 GMT" + "Fri, 04 Sep 2020 02:31:09 GMT" ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "5c4acf92-04e3-4adc-9056-ebacafa45fa2" + "c41a9d50-7061-47f6-ad13-9a06cd32ac4d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" + "11981" + ], + "x-ms-correlation-request-id": [ + "f6d207d6-69b3-44af-9c40-ae7f3e29b3c0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023109Z:f6d207d6-69b3-44af-9c40-ae7f3e29b3c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ee0f6dc6-67af-4026-ae17-637d46c56d7b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:30:23.867Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-4457?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00NDU3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:31:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "0ad50300-716c-497f-a0a7-5d3618b31f1f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" ], "x-ms-correlation-request-id": [ - "c04e70b3-b89b-4ec6-aae1-84c32a9c0bb7" + "fd34a3a1-4ee7-4ae5-8a37-f5c7a038447e" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200529Z:c04e70b3-b89b-4ec6-aae1-84c32a9c0bb7" + "WESTUS:20200904T023109Z:fd34a3a1-4ee7-4ae5-8a37-f5c7a038447e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1434,7 +1554,7 @@ "nosniff" ], "Content-Length": [ - "911" + "936" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1443,17 +1563,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 268435456000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"40639a4b-eb7a-47ed-be36-57d2fb3e42ed\",\r\n \"creationDate\": \"2019-09-12T20:05:28.137Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"canadaeast\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2019-09-12T20:35:28.137Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n }\r\n },\r\n \"location\": \"canadacentral\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n },\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-3342\",\r\n \"name\": \"sqlcrudtest-3342\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 268435456000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"bb3213d5-a101-4538-83de-c51b965cb8c9\",\r\n \"creationDate\": \"2020-09-04T02:31:02.117Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"eastasia\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-09-04T03:01:02.117Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n },\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-4457\",\r\n \"name\": \"sqlcrudtest-4457\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-788?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03ODg/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-2763?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNzYzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_S_Gen5_2\"\r\n },\r\n \"properties\": {\r\n \"autoPauseDelay\": 360,\r\n \"minCapacity\": 0.5\r\n },\r\n \"location\": \"canadacentral\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n }\r\n}", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_S_Gen5_2\"\r\n },\r\n \"properties\": {\r\n \"autoPauseDelay\": 360,\r\n \"minCapacity\": 0.5\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "e6922d25-8d82-46a7-b79e-83768ecb893a" + "8e008976-c5b4-483a-be9c-02fec1c8a156" ], "accept-language": [ "en-US" @@ -1461,8 +1581,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1476,13 +1596,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:05:28 GMT" + "Fri, 04 Sep 2020 02:31:11 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/83b5ee83-996d-403a-9985-00071f002af5?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/4a2c13a9-b328-468a-a989-32300070b489?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -1491,19 +1611,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/83b5ee83-996d-403a-9985-00071f002af5?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/4a2c13a9-b328-468a-a989-32300070b489?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "83b5ee83-996d-403a-9985-00071f002af5" + "4a2c13a9-b328-468a-a989-32300070b489" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "76f90a1b-4098-42b1-b69b-7b470136f8c6" + "6286610d-7d4e-4e35-844a-4b162081f081" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200529Z:76f90a1b-4098-42b1-b69b-7b470136f8c6" + "WESTUS:20200904T023111Z:6286610d-7d4e-4e35-844a-4b162081f081" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1521,20 +1641,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:05:29.59Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:31:11.46Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/83b5ee83-996d-403a-9985-00071f002af5?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzgzYjVlZTgzLTk5NmQtNDAzYS05OTg1LTAwMDcxZjAwMmFmNT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/4a2c13a9-b328-468a-a989-32300070b489?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzRhMmMxM2E5LWIzMjgtNDY4YS1hOTg5LTMyMzAwMDcwYjQ4OT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1542,7 +1662,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:05:44 GMT" + "Fri, 04 Sep 2020 02:31:26 GMT" ], "Pragma": [ "no-cache" @@ -1554,16 +1674,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "d9dd5b61-4370-4fc0-9828-b1d02a438d24" + "1dee986a-4962-4da5-882f-05f376ca0e0d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" + "11979" ], "x-ms-correlation-request-id": [ - "a158b839-34ed-4ecf-983a-edb01956b983" + "5fdfae41-9edc-445b-9f2e-c0f39e34ffb6" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200544Z:a158b839-34ed-4ecf-983a-edb01956b983" + "WESTUS:20200904T023127Z:5fdfae41-9edc-445b-9f2e-c0f39e34ffb6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1581,20 +1701,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"83b5ee83-996d-403a-9985-00071f002af5\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:05:29.59Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"4a2c13a9-b328-468a-a989-32300070b489\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:31:11.46Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/83b5ee83-996d-403a-9985-00071f002af5?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzgzYjVlZTgzLTk5NmQtNDAzYS05OTg1LTAwMDcxZjAwMmFmNT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/4a2c13a9-b328-468a-a989-32300070b489?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzRhMmMxM2E5LWIzMjgtNDY4YS1hOTg5LTMyMzAwMDcwYjQ4OT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1602,7 +1722,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:05:59 GMT" + "Fri, 04 Sep 2020 02:31:41 GMT" ], "Pragma": [ "no-cache" @@ -1614,16 +1734,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "a4bf0fc8-42fd-40a2-9fdd-0bb1bd57a2c6" + "86ecbf16-c5c5-4c5d-b9ae-4581920de9dd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" + "11978" ], "x-ms-correlation-request-id": [ - "7f14b9ac-5eef-4297-894b-6b770539e675" + "fc121aa0-9039-4d45-acb4-7925912e5436" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200600Z:7f14b9ac-5eef-4297-894b-6b770539e675" + "WESTUS:20200904T023142Z:fc121aa0-9039-4d45-acb4-7925912e5436" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1641,20 +1761,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"83b5ee83-996d-403a-9985-00071f002af5\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:05:29.59Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"4a2c13a9-b328-468a-a989-32300070b489\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:31:11.46Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/83b5ee83-996d-403a-9985-00071f002af5?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzgzYjVlZTgzLTk5NmQtNDAzYS05OTg1LTAwMDcxZjAwMmFmNT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/4a2c13a9-b328-468a-a989-32300070b489?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzRhMmMxM2E5LWIzMjgtNDY4YS1hOTg5LTMyMzAwMDcwYjQ4OT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1662,7 +1782,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:06:14 GMT" + "Fri, 04 Sep 2020 02:31:57 GMT" ], "Pragma": [ "no-cache" @@ -1674,16 +1794,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "96e72649-211a-4f50-bf9a-0ebe163a606a" + "ff082276-ce31-4b59-a85d-52e17386c59d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" + "11977" ], "x-ms-correlation-request-id": [ - "105d9bf9-9167-4b48-a0cb-a5e71343c262" + "00001de6-e04e-4061-a1dc-07ba2da34ee7" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200615Z:105d9bf9-9167-4b48-a0cb-a5e71343c262" + "WESTUS:20200904T023157Z:00001de6-e04e-4061-a1dc-07ba2da34ee7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1701,20 +1821,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"83b5ee83-996d-403a-9985-00071f002af5\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:05:29.59Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"4a2c13a9-b328-468a-a989-32300070b489\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:31:11.46Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-788?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03ODg/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-2763?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNzYzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1722,7 +1842,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:06:15 GMT" + "Fri, 04 Sep 2020 02:31:57 GMT" ], "Pragma": [ "no-cache" @@ -1731,16 +1851,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "2fcd9a71-a382-4f66-aec6-a4dd0eb6ae13" + "fa119325-5f69-4e92-ae82-68bad1ed92ff" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11978" + "11976" ], "x-ms-correlation-request-id": [ - "4971da65-4cac-425a-a339-97db15ebd177" + "b1dd14df-f781-4657-a60f-f7045bcd3088" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200615Z:4971da65-4cac-425a-a339-97db15ebd177" + "WESTUS:20200904T023158Z:b1dd14df-f781-4657-a60f-f7045bcd3088" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1749,7 +1869,7 @@ "nosniff" ], "Content-Length": [ - "1091" + "1084" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1758,17 +1878,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_S_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore,serverless\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"2b2ebe76-a75b-4780-b1d5-2fdb13e067f2\",\r\n \"creationDate\": \"2019-09-12T20:06:07.153Z\",\r\n \"currentServiceObjectiveName\": \"GP_S_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_S_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"canadaeast\",\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-09-12T20:36:07.153Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"GP_S_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"autoPauseDelay\": 360,\r\n \"minCapacity\": 0.5\r\n },\r\n \"location\": \"canadacentral\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n },\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-788\",\r\n \"name\": \"sqlcrudtest-788\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_S_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore,serverless\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"c2ba2cb4-e52a-43e5-8f45-25280d07e977\",\r\n \"creationDate\": \"2020-09-04T02:31:47.76Z\",\r\n \"currentServiceObjectiveName\": \"GP_S_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_S_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"eastasia\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-04T03:01:47.76Z\",\r\n \"readScale\": \"Disabled\",\r\n \"readReplicaCount\": 0,\r\n \"currentSku\": {\r\n \"name\": \"GP_S_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"autoPauseDelay\": 360,\r\n \"storageAccountType\": \"GRS\",\r\n \"minCapacity\": 0.5\r\n },\r\n \"location\": \"southeastasia\",\r\n \"tags\": {\r\n \"tagKey1\": \"TagValue1\"\r\n },\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-2763\",\r\n \"name\": \"sqlcrudtest-2763\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-4229?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MjI5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-936?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC05MzY/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"P1\"\r\n },\r\n \"properties\": {\r\n \"readScale\": \"Enabled\"\r\n },\r\n \"location\": \"canadacentral\"\r\n}", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"P1\"\r\n },\r\n \"properties\": {\r\n \"readScale\": \"Enabled\"\r\n },\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "d53822dd-3823-47b7-9d1c-2ed5f5f25978" + "0734f47d-be35-459c-9c8a-1d8888cdcec8" ], "accept-language": [ "en-US" @@ -1776,8 +1896,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1791,13 +1911,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:06:15 GMT" + "Fri, 04 Sep 2020 02:32:00 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/0929878a-9073-4a8b-a90f-14ca5564b0df?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/483a4de9-d386-4302-b362-147112130b0a?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -1806,19 +1926,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/0929878a-9073-4a8b-a90f-14ca5564b0df?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/483a4de9-d386-4302-b362-147112130b0a?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "0929878a-9073-4a8b-a90f-14ca5564b0df" + "483a4de9-d386-4302-b362-147112130b0a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], "x-ms-correlation-request-id": [ - "6d297b75-232f-4ac9-a3ef-4d122c46464e" + "a98862dc-ccb3-4972-9ff9-3c9ab798d6d4" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200616Z:6d297b75-232f-4ac9-a3ef-4d122c46464e" + "WESTUS:20200904T023200Z:a98862dc-ccb3-4972-9ff9-3c9ab798d6d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1836,20 +1956,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:06:16.157Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:32:00.663Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/0929878a-9073-4a8b-a90f-14ca5564b0df?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzA5Mjk4NzhhLTkwNzMtNGE4Yi1hOTBmLTE0Y2E1NTY0YjBkZj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/483a4de9-d386-4302-b362-147112130b0a?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzQ4M2E0ZGU5LWQzODYtNDMwMi1iMzYyLTE0NzExMjEzMGIwYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1857,7 +1977,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:06:30 GMT" + "Fri, 04 Sep 2020 02:32:15 GMT" ], "Pragma": [ "no-cache" @@ -1869,16 +1989,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "442ee2e8-f7d9-4a15-b2a5-6027d309ce36" + "487803b0-d7ca-45c4-a641-4c820f9c05c3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" + "11975" ], "x-ms-correlation-request-id": [ - "153f8118-e950-474f-ad7a-0ab22c22e316" + "153d6c46-387f-4fbd-b9d9-0bd1f4256907" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200631Z:153f8118-e950-474f-ad7a-0ab22c22e316" + "WESTUS:20200904T023216Z:153d6c46-387f-4fbd-b9d9-0bd1f4256907" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1896,20 +2016,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"0929878a-9073-4a8b-a90f-14ca5564b0df\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:06:16.157Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"483a4de9-d386-4302-b362-147112130b0a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:32:00.663Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/0929878a-9073-4a8b-a90f-14ca5564b0df?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzA5Mjk4NzhhLTkwNzMtNGE4Yi1hOTBmLTE0Y2E1NTY0YjBkZj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/483a4de9-d386-4302-b362-147112130b0a?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzQ4M2E0ZGU5LWQzODYtNDMwMi1iMzYyLTE0NzExMjEzMGIwYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1917,7 +2037,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:06:45 GMT" + "Fri, 04 Sep 2020 02:32:30 GMT" ], "Pragma": [ "no-cache" @@ -1929,16 +2049,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "b9c705c9-0117-4986-bb8b-13be1bb67790" + "4cf4be01-e349-461b-bab4-78ef1a448f77" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11976" + "11974" ], "x-ms-correlation-request-id": [ - "9c2610fa-b18b-4338-9f07-055d83106cf9" + "cbb97baf-ba9f-4a78-969f-9dc0a1e19059" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200646Z:9c2610fa-b18b-4338-9f07-055d83106cf9" + "WESTUS:20200904T023231Z:cbb97baf-ba9f-4a78-969f-9dc0a1e19059" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1956,20 +2076,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"0929878a-9073-4a8b-a90f-14ca5564b0df\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:06:16.157Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"483a4de9-d386-4302-b362-147112130b0a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:32:00.663Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/0929878a-9073-4a8b-a90f-14ca5564b0df?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzA5Mjk4NzhhLTkwNzMtNGE4Yi1hOTBmLTE0Y2E1NTY0YjBkZj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/483a4de9-d386-4302-b362-147112130b0a?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzQ4M2E0ZGU5LWQzODYtNDMwMi1iMzYyLTE0NzExMjEzMGIwYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -1977,7 +2097,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:07:01 GMT" + "Fri, 04 Sep 2020 02:32:45 GMT" ], "Pragma": [ "no-cache" @@ -1989,16 +2109,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "bc485fff-df51-43c2-b757-7fce62f8aa4c" + "b643eed7-f8d2-4e66-ad9a-3443b42f7159" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11975" + "11973" ], "x-ms-correlation-request-id": [ - "7703d080-801a-4d30-80ce-9d5d327d6118" + "59481959-e079-45fe-a7d3-75e8f371f3fe" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200701Z:7703d080-801a-4d30-80ce-9d5d327d6118" + "WESTUS:20200904T023246Z:59481959-e079-45fe-a7d3-75e8f371f3fe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2016,20 +2136,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"0929878a-9073-4a8b-a90f-14ca5564b0df\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:06:16.157Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"483a4de9-d386-4302-b362-147112130b0a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:32:00.663Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/0929878a-9073-4a8b-a90f-14ca5564b0df?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzA5Mjk4NzhhLTkwNzMtNGE4Yi1hOTBmLTE0Y2E1NTY0YjBkZj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/483a4de9-d386-4302-b362-147112130b0a?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzQ4M2E0ZGU5LWQzODYtNDMwMi1iMzYyLTE0NzExMjEzMGIwYT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2037,7 +2157,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:07:16 GMT" + "Fri, 04 Sep 2020 02:33:00 GMT" ], "Pragma": [ "no-cache" @@ -2049,16 +2169,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "1a2d8e3d-4ead-46fe-ba28-624daa979c34" + "227a290b-0a82-4bd6-9c6a-034dfb061c14" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11974" + "11972" ], "x-ms-correlation-request-id": [ - "a3bf879d-8570-4a10-b8bd-28e7c9663bb5" + "49b0ceba-e4c8-4623-9cd8-6eceb14cd305" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200717Z:a3bf879d-8570-4a10-b8bd-28e7c9663bb5" + "WESTUS:20200904T023301Z:49b0ceba-e4c8-4623-9cd8-6eceb14cd305" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2076,20 +2196,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"0929878a-9073-4a8b-a90f-14ca5564b0df\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:06:16.157Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"483a4de9-d386-4302-b362-147112130b0a\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:32:00.663Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-4229?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MjI5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-936?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC05MzY/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2097,7 +2217,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:07:17 GMT" + "Fri, 04 Sep 2020 02:33:01 GMT" ], "Pragma": [ "no-cache" @@ -2106,16 +2226,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "dbbaea90-50ea-4dbd-8672-0a166d724630" + "b7184c1d-4c48-4435-9a97-8ef6207f2399" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11973" + "11971" ], "x-ms-correlation-request-id": [ - "10b5443b-e45a-4004-a496-1b29e006103b" + "32042e77-2cca-4efc-ab03-cb7adbc465ce" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200717Z:10b5443b-e45a-4004-a496-1b29e006103b" + "WESTUS:20200904T023302Z:32042e77-2cca-4efc-ab03-cb7adbc465ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2124,7 +2244,7 @@ "nosniff" ], "Content-Length": [ - "877" + "898" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2133,17 +2253,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"tier\": \"Premium\",\r\n \"capacity\": 125\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 536870912000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"46eecb7e-96ea-44a4-8437-6c8750fde998\",\r\n \"creationDate\": \"2019-09-12T20:07:07.423Z\",\r\n \"currentServiceObjectiveName\": \"P1\",\r\n \"requestedServiceObjectiveName\": \"P1\",\r\n \"defaultSecondaryLocation\": \"canadaeast\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2019-09-12T20:37:07.423Z\",\r\n \"readScale\": \"Enabled\",\r\n \"readReplicaCount\": 1,\r\n \"currentSku\": {\r\n \"name\": \"Premium\",\r\n \"tier\": \"Premium\",\r\n \"capacity\": 125\r\n }\r\n },\r\n \"location\": \"canadacentral\",\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-4229\",\r\n \"name\": \"sqlcrudtest-4229\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"tier\": \"Premium\",\r\n \"capacity\": 125\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 536870912000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"e6e76a7c-7bcd-4704-8f18-305564be9ff2\",\r\n \"creationDate\": \"2020-09-04T02:32:53.82Z\",\r\n \"currentServiceObjectiveName\": \"P1\",\r\n \"requestedServiceObjectiveName\": \"P1\",\r\n \"defaultSecondaryLocation\": \"eastasia\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2020-09-04T03:02:53.82Z\",\r\n \"readScale\": \"Enabled\",\r\n \"readReplicaCount\": 1,\r\n \"currentSku\": {\r\n \"name\": \"Premium\",\r\n \"tier\": \"Premium\",\r\n \"capacity\": 125\r\n },\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-936\",\r\n \"name\": \"sqlcrudtest-936\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6958?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02OTU4P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1826?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xODI2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"HS_Gen5_4\",\r\n \"tier\": \"Hyperscale\"\r\n },\r\n \"properties\": {\r\n \"readReplicaCount\": 4\r\n },\r\n \"location\": \"canadacentral\"\r\n}", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"HS_Gen5_4\",\r\n \"tier\": \"Hyperscale\"\r\n },\r\n \"properties\": {\r\n \"readReplicaCount\": 4\r\n },\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "d8037348-6558-43aa-bb41-06fb46a98fcf" + "f3c1c6ea-e489-4028-90dd-ba638c59af90" ], "accept-language": [ "en-US" @@ -2151,8 +2271,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2166,13 +2286,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:07:18 GMT" + "Fri, 04 Sep 2020 02:33:05 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -2181,19 +2301,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "67255308-65d7-4a36-bd9c-6f23c7e20f9e" + "d196d11a-be09-4018-bac5-d4900bed06e3" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], "x-ms-correlation-request-id": [ - "8ecb7ff8-4526-4663-94f7-adfaa5fcf794" + "0c4edae2-3fbc-4780-89bd-757b3efdc442" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200718Z:8ecb7ff8-4526-4663-94f7-adfaa5fcf794" + "WESTUS:20200904T023306Z:0c4edae2-3fbc-4780-89bd-757b3efdc442" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2202,7 +2322,7 @@ "nosniff" ], "Content-Length": [ - "75" + "76" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2211,20 +2331,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2232,7 +2352,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:07:33 GMT" + "Fri, 04 Sep 2020 02:33:21 GMT" ], "Pragma": [ "no-cache" @@ -2244,16 +2364,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "40b763fa-564f-4ca0-a64a-7b51c0fd423b" + "74d3457b-bca7-4c75-945a-609d47c60c0b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11972" + "11970" ], "x-ms-correlation-request-id": [ - "381e1453-f5da-40a6-a21e-d9f6f871cda2" + "ea041ce3-01a8-489b-8015-9bbfa9a719e7" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200733Z:381e1453-f5da-40a6-a21e-d9f6f871cda2" + "WESTUS:20200904T023321Z:ea041ce3-01a8-489b-8015-9bbfa9a719e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2262,7 +2382,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2271,20 +2391,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2292,7 +2412,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:07:47 GMT" + "Fri, 04 Sep 2020 02:33:36 GMT" ], "Pragma": [ "no-cache" @@ -2304,16 +2424,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "08b5878b-4f45-4479-968f-cb07f8191aa6" + "16117ba3-d6a3-4aa6-8e63-feec2d0996c0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11971" + "11969" ], "x-ms-correlation-request-id": [ - "30b49769-f6c4-49ba-9787-dae181717854" + "77f0474f-1b90-4a2c-b258-a1ca8966b088" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200748Z:30b49769-f6c4-49ba-9787-dae181717854" + "WESTUS:20200904T023337Z:77f0474f-1b90-4a2c-b258-a1ca8966b088" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2322,7 +2442,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2331,20 +2451,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2352,7 +2472,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:08:02 GMT" + "Fri, 04 Sep 2020 02:33:52 GMT" ], "Pragma": [ "no-cache" @@ -2364,16 +2484,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "da0ad835-2a91-4c27-931e-07d62e4933ce" + "3ff87741-fa58-421d-8e57-4e998aafc9ba" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11970" + "11968" ], "x-ms-correlation-request-id": [ - "90f44ee0-d30e-4d35-bba3-df1cb260f0e1" + "7f1ce52b-0ef5-4430-b273-0098801b1da2" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200803Z:90f44ee0-d30e-4d35-bba3-df1cb260f0e1" + "WESTUS:20200904T023352Z:7f1ce52b-0ef5-4430-b273-0098801b1da2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2382,7 +2502,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2391,20 +2511,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2412,7 +2532,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:08:19 GMT" + "Fri, 04 Sep 2020 02:34:07 GMT" ], "Pragma": [ "no-cache" @@ -2424,16 +2544,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "5f59c57c-98df-4f32-9778-dc3b4f000dbb" + "9e2156df-6147-4d8a-8c9b-3f512a45ab1e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11969" + "11967" ], "x-ms-correlation-request-id": [ - "e9598c2d-e975-477e-b73e-d9ea96eaedec" + "66007729-15c6-4cb9-8c11-6cdf94baeb3a" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200819Z:e9598c2d-e975-477e-b73e-d9ea96eaedec" + "WESTUS:20200904T023407Z:66007729-15c6-4cb9-8c11-6cdf94baeb3a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2442,7 +2562,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2451,20 +2571,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2472,7 +2592,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:08:33 GMT" + "Fri, 04 Sep 2020 02:34:22 GMT" ], "Pragma": [ "no-cache" @@ -2484,16 +2604,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "032d65d9-0016-40f9-b49d-95247cbabfcb" + "0bc08b7d-fe53-412a-a460-d551d6c25b04" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11968" + "11966" ], "x-ms-correlation-request-id": [ - "55c59b29-4b8e-4ccb-9287-0490082b00e6" + "01a7385e-a07b-4e5c-9a0e-8e92d287528b" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200834Z:55c59b29-4b8e-4ccb-9287-0490082b00e6" + "WESTUS:20200904T023422Z:01a7385e-a07b-4e5c-9a0e-8e92d287528b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2502,7 +2622,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2511,20 +2631,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2532,7 +2652,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:08:48 GMT" + "Fri, 04 Sep 2020 02:34:37 GMT" ], "Pragma": [ "no-cache" @@ -2544,16 +2664,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "f38c8027-e11c-4afe-8488-482a99e318b1" + "0dc01600-7940-4dd8-a30d-90dbd067bb62" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11967" + "11965" ], "x-ms-correlation-request-id": [ - "63009549-bdc4-4f6c-a905-872d22dc96c3" + "e372cc71-8436-47d7-8df6-ddaae345e483" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200849Z:63009549-bdc4-4f6c-a905-872d22dc96c3" + "WESTUS:20200904T023437Z:e372cc71-8436-47d7-8df6-ddaae345e483" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2562,7 +2682,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2571,20 +2691,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2592,7 +2712,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:03 GMT" + "Fri, 04 Sep 2020 02:34:52 GMT" ], "Pragma": [ "no-cache" @@ -2604,16 +2724,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "626705d7-f422-43e7-87d2-7492d347d160" + "3aaa488a-7485-423b-8d38-7f105fcc1230" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11966" + "11964" ], "x-ms-correlation-request-id": [ - "0e4e2c1d-d51d-4673-8a40-3f93296a90ed" + "a5b1eb94-6eba-45af-b100-3e43ad2ce654" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200904Z:0e4e2c1d-d51d-4673-8a40-3f93296a90ed" + "WESTUS:20200904T023453Z:a5b1eb94-6eba-45af-b100-3e43ad2ce654" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2622,7 +2742,7 @@ "nosniff" ], "Content-Length": [ - "107" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2631,20 +2751,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/67255308-65d7-4a36-bd9c-6f23c7e20f9e?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzY3MjU1MzA4LTY1ZDctNGEzNi1iZDljLTZmMjNjN2UyMGY5ZT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2652,7 +2772,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:18 GMT" + "Fri, 04 Sep 2020 02:35:07 GMT" ], "Pragma": [ "no-cache" @@ -2664,16 +2784,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "f71c6139-5b0c-4409-81a9-efadf3d368c1" + "dc85e331-cb4b-4ab6-8b72-fed70d734ab0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11965" + "11963" ], "x-ms-correlation-request-id": [ - "0dc1b7eb-f2f3-40b7-9605-6e25cf97465a" + "517424e2-1a01-40f9-96c6-7f816df13bcb" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200919Z:0dc1b7eb-f2f3-40b7-9605-6e25cf97465a" + "WESTUS:20200904T023508Z:517424e2-1a01-40f9-96c6-7f816df13bcb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2682,7 +2802,7 @@ "nosniff" ], "Content-Length": [ - "106" + "108" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2691,20 +2811,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"67255308-65d7-4a36-bd9c-6f23c7e20f9e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:07:18.24Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6958?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02OTU4P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d196d11a-be09-4018-bac5-d4900bed06e3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxOTZkMTFhLWJlMDktNDAxOC1iYWM1LWQ0OTAwYmVkMDZlMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2712,25 +2832,28 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:18 GMT" + "Fri, 04 Sep 2020 02:35:22 GMT" ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "38ca6602-a53f-4268-b0fb-5a980e13add9" + "3ded9722-b4a0-43f1-a9a7-d2d86dbe0d27" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11964" + "11962" ], "x-ms-correlation-request-id": [ - "db09f185-23e6-4bce-8667-cdc4f1416b7b" + "edad291e-da3e-4e15-b3d3-b0a6b472cd09" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200919Z:db09f185-23e6-4bce-8667-cdc4f1416b7b" + "WESTUS:20200904T023523Z:edad291e-da3e-4e15-b3d3-b0a6b472cd09" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2739,7 +2862,7 @@ "nosniff" ], "Content-Length": [ - "942" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2748,26 +2871,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"HS_Gen5\",\r\n \"tier\": \"Hyperscale\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 4\r\n },\r\n \"kind\": \"v12.0,user,vcore,hyperscale\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": -1,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"6b3f43f7-019e-4800-b44d-8363b3ba01e8\",\r\n \"creationDate\": \"2019-09-12T20:09:11.147Z\",\r\n \"currentServiceObjectiveName\": \"HS_Gen5_4\",\r\n \"requestedServiceObjectiveName\": \"HS_Gen5_4\",\r\n \"defaultSecondaryLocation\": \"canadaeast\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"earliestRestoreDate\": \"2019-09-12T20:09:11.147Z\",\r\n \"readScale\": \"Enabled\",\r\n \"readReplicaCount\": 4,\r\n \"currentSku\": {\r\n \"name\": \"HS_Gen5\",\r\n \"tier\": \"Hyperscale\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 4\r\n }\r\n },\r\n \"location\": \"canadacentral\",\r\n \"id\": \"/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6958\",\r\n \"name\": \"sqlcrudtest-6958\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d196d11a-be09-4018-bac5-d4900bed06e3\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:33:06.463Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6953?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02OTUzP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1826?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xODI2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "ceefde21-553b-459d-a371-4bd9cdeffcf3" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2775,34 +2892,25 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:19 GMT" + "Fri, 04 Sep 2020 02:35:23 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/9aeb9d53-c920-4843-966a-e9c2f58c2f4c?api-version=2017-10-01-preview" - ], - "Retry-After": [ - "15" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/9aeb9d53-c920-4843-966a-e9c2f58c2f4c?api-version=2017-10-01-preview" - ], "x-ms-request-id": [ - "9aeb9d53-c920-4843-966a-e9c2f58c2f4c" + "db7a4f9a-9e90-4003-92ad-5268d2de3a77" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" ], "x-ms-correlation-request-id": [ - "f08e4fc1-21d3-4cf3-a6da-0b9fb5216825" + "b1012d22-0298-451e-a0c0-20a70e75e880" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200920Z:f08e4fc1-21d3-4cf3-a6da-0b9fb5216825" + "WESTUS:20200904T023524Z:b1012d22-0298-451e-a0c0-20a70e75e880" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2811,7 +2919,7 @@ "nosniff" ], "Content-Length": [ - "73" + "967" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2820,20 +2928,32 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:09:20.43Z\"\r\n}", - "StatusCode": 202 + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"HS_Gen5\",\r\n \"tier\": \"Hyperscale\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 4\r\n },\r\n \"kind\": \"v12.0,user,vcore,hyperscale\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": -1,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"2f6abd7c-b454-4112-992d-162dd72e75a3\",\r\n \"creationDate\": \"2020-09-04T02:35:20.547Z\",\r\n \"currentServiceObjectiveName\": \"HS_Gen5_4\",\r\n \"requestedServiceObjectiveName\": \"HS_Gen5_4\",\r\n \"defaultSecondaryLocation\": \"eastasia\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"earliestRestoreDate\": \"2020-09-04T02:35:20.547Z\",\r\n \"readScale\": \"Enabled\",\r\n \"readReplicaCount\": 4,\r\n \"currentSku\": {\r\n \"name\": \"HS_Gen5\",\r\n \"tier\": \"Hyperscale\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 4\r\n },\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1826\",\r\n \"name\": \"sqlcrudtest-1826\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/9aeb9d53-c920-4843-966a-e9c2f58c2f4c?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzlhZWI5ZDUzLWM5MjAtNDg0My05NjZhLWU5YzJmNThjMmY0Yz9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7928?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03OTI4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\"\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "5ffac50b-b2d0-4417-b610-0eb3abae6b67" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "93" ] }, "ResponseHeaders": { @@ -2841,28 +2961,34 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:35 GMT" + "Fri, 04 Sep 2020 02:35:28 GMT" ], "Pragma": [ "no-cache" ], + "Location": [ + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/9db96a16-663f-4f12-a3f5-0f685123a72c?api-version=2019-06-01-preview" + ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/9db96a16-663f-4f12-a3f5-0f685123a72c?api-version=2019-06-01-preview" + ], "x-ms-request-id": [ - "375b0ac9-7747-444f-9781-b0eab5cf75bb" + "9db96a16-663f-4f12-a3f5-0f685123a72c" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11963" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" ], "x-ms-correlation-request-id": [ - "79f77c4b-de15-476d-b57a-e8faa0dee0d4" + "7ab4dc9c-43e8-4a10-9614-ba0d5ec0f823" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200935Z:79f77c4b-de15-476d-b57a-e8faa0dee0d4" + "WESTUS:20200904T023529Z:7ab4dc9c-43e8-4a10-9614-ba0d5ec0f823" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2871,7 +2997,7 @@ "nosniff" ], "Content-Length": [ - "106" + "76" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2880,20 +3006,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"9aeb9d53-c920-4843-966a-e9c2f58c2f4c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:09:20.43Z\"\r\n}", - "StatusCode": 200 + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:35:29.557Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/9aeb9d53-c920-4843-966a-e9c2f58c2f4c?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzlhZWI5ZDUzLWM5MjAtNDg0My05NjZhLWU5YzJmNThjMmY0Yz9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/9db96a16-663f-4f12-a3f5-0f685123a72c?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzlkYjk2YTE2LTY2M2YtNGYxMi1hM2Y1LTBmNjg1MTIzYTcyYz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2901,25 +3027,28 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:35 GMT" + "Fri, 04 Sep 2020 02:35:44 GMT" ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "7004fcdb-a4ce-4b71-8112-9e08ef5e3dbb" + "968cd6d9-7302-4e74-8eeb-47b94a304216" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11962" + "11960" ], "x-ms-correlation-request-id": [ - "cd7b4dbd-8125-47aa-98e7-f4477a0dbad3" + "f08a1af5-fd06-47f4-8e29-014401bc63a8" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200935Z:cd7b4dbd-8125-47aa-98e7-f4477a0dbad3" + "WESTUS:20200904T023544Z:f08a1af5-fd06-47f4-8e29-014401bc63a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2928,23 +3057,329 @@ "nosniff" ], "Content-Length": [ - "0" + "108" ], - "Expires": [ - "-1" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"9db96a16-663f-4f12-a3f5-0f685123a72c\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-04T02:35:29.557Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/9db96a16-663f-4f12-a3f5-0f685123a72c?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzlkYjk2YTE2LTY2M2YtNGYxMi1hM2Y1LTBmNjg1MTIzYTcyYz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:35:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "a2fb7319-4e2f-4e00-9bbe-d150488dcb72" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11959" + ], + "x-ms-correlation-request-id": [ + "1b845556-e38a-488d-b6e1-2f6ba42f9840" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023600Z:1b845556-e38a-488d-b6e1-2f6ba42f9840" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"9db96a16-663f-4f12-a3f5-0f685123a72c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:35:29.557Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7928?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03OTI4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:35:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f54ce9f8-ac45-453e-9d9d-e2911b0a5ca6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11958" + ], + "x-ms-correlation-request-id": [ + "cd1bba3c-157c-4072-aaae-8a4d09d0e8c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023600Z:cd1bba3c-157c-4072-aaae-8a4d09d0e8c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1026" + ], + "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\": \"b69dc919-2286-4824-bc2b-99b577c8b48a\",\r\n \"creationDate\": \"2020-09-04T02:35:57.343Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"eastasia\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-04T03:05:57.343Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"southeastasia\",\r\n \"id\": \"/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7928\",\r\n \"name\": \"sqlcrudtest-7928\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1791?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xNzkxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ed20e215-cb70-4b13-b5ad-9ca7199d64c4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:36:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/0604277a-a433-4451-9acc-b2b7fc6b03a1?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/0604277a-a433-4451-9acc-b2b7fc6b03a1?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "0604277a-a433-4451-9acc-b2b7fc6b03a1" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "d510c604-0411-43a8-a810-e989efcc834a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023601Z:d510c604-0411-43a8-a810-e989efcc834a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "74" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:36:00.933Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/0604277a-a433-4451-9acc-b2b7fc6b03a1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzA2MDQyNzdhLWE0MzMtNDQ1MS05YWNjLWIyYjdmYzZiMDNhMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:36:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "91f3ae06-2a98-412e-b643-d766d5960654" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11957" + ], + "x-ms-correlation-request-id": [ + "7eb8094b-48a1-4a47-84bb-6a7fa1e12cff" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023616Z:7eb8094b-48a1-4a47-84bb-6a7fa1e12cff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"0604277a-a433-4451-9acc-b2b7fc6b03a1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:36:00.933Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/0604277a-a433-4451-9acc-b2b7fc6b03a1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzA2MDQyNzdhLWE0MzMtNDQ1MS05YWNjLWIyYjdmYzZiMDNhMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:36:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f85bb431-ffce-4b73-a043-d569d663cf0a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11956" + ], + "x-ms-correlation-request-id": [ + "b47a6e59-7282-4dd9-a903-6c8cef2f7cf0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023616Z:b47a6e59-7282-4dd9-a903-6c8cef2f7cf0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, "ResponseBody": "", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-7162?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03MTYyP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7153?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03MTUzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bf7da1fd-97db-4751-9d34-0224de73cf74" + "b5315b9b-8278-4f61-b3fa-2c24ac4a88c2" ], "accept-language": [ "en-US" @@ -2952,8 +3387,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -2961,13 +3396,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:35 GMT" + "Fri, 04 Sep 2020 02:36:17 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/9a1e236a-c03c-484b-b53d-e1b38bbc0206?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/8210cfd3-c02f-4e07-941c-63bb4c8173c6?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -2976,19 +3411,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/9a1e236a-c03c-484b-b53d-e1b38bbc0206?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8210cfd3-c02f-4e07-941c-63bb4c8173c6?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "9a1e236a-c03c-484b-b53d-e1b38bbc0206" + "8210cfd3-c02f-4e07-941c-63bb4c8173c6" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], "x-ms-correlation-request-id": [ - "275b10da-fd72-4065-9d61-cb972c8937d0" + "d094ff1a-4bdf-4cd5-a748-8b1d257f63b4" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200936Z:275b10da-fd72-4065-9d61-cb972c8937d0" + "WESTUS:20200904T023617Z:d094ff1a-4bdf-4cd5-a748-8b1d257f63b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2997,7 +3432,7 @@ "nosniff" ], "Content-Length": [ - "73" + "74" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3006,20 +3441,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:09:36.01Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:36:17.347Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/9a1e236a-c03c-484b-b53d-e1b38bbc0206?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzlhMWUyMzZhLWMwM2MtNDg0Yi1iNTNkLWUxYjM4YmJjMDIwNj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/8210cfd3-c02f-4e07-941c-63bb4c8173c6?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzgyMTBjZmQzLWMwMmYtNGUwNy05NDFjLTYzYmI0YzgxNzNjNj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3027,7 +3462,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:50 GMT" + "Fri, 04 Sep 2020 02:36:32 GMT" ], "Pragma": [ "no-cache" @@ -3039,16 +3474,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "889de6d9-306f-4ed1-9fd8-455aabf5ccbc" + "469aff66-28bc-4f45-8e37-83f286d9704f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11961" + "11955" ], "x-ms-correlation-request-id": [ - "2979a0e6-833e-4ab6-af36-8a0dd4c56022" + "c3eebfe1-5311-4128-952b-291f1eb0553c" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200951Z:2979a0e6-833e-4ab6-af36-8a0dd4c56022" + "WESTUS:20200904T023632Z:c3eebfe1-5311-4128-952b-291f1eb0553c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3057,7 +3492,7 @@ "nosniff" ], "Content-Length": [ - "106" + "107" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3066,20 +3501,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"9a1e236a-c03c-484b-b53d-e1b38bbc0206\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:09:36.01Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"8210cfd3-c02f-4e07-941c-63bb4c8173c6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:36:17.347Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/9a1e236a-c03c-484b-b53d-e1b38bbc0206?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzlhMWUyMzZhLWMwM2MtNDg0Yi1iNTNkLWUxYjM4YmJjMDIwNj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/8210cfd3-c02f-4e07-941c-63bb4c8173c6?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzgyMTBjZmQzLWMwMmYtNGUwNy05NDFjLTYzYmI0YzgxNzNjNj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3087,7 +3522,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:50 GMT" + "Fri, 04 Sep 2020 02:36:32 GMT" ], "Pragma": [ "no-cache" @@ -3096,16 +3531,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "847174d4-70fa-49f2-8a27-62c904f9c3e8" + "7c7d57e6-c4a6-49e8-aed2-62d8d79beaf8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11960" + "11954" ], "x-ms-correlation-request-id": [ - "5ef56706-8ae9-4803-932f-9cf140e1b822" + "45f1d38b-4a81-4640-9848-4e1deeb0520f" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200951Z:5ef56706-8ae9-4803-932f-9cf140e1b822" + "WESTUS:20200904T023632Z:45f1d38b-4a81-4640-9848-4e1deeb0520f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3124,13 +3559,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-3342?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzQyP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-4457?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00NDU3P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cfee5290-7d05-44d3-a55b-c3ce4479968f" + "4fab92bd-d8e3-4c17-8790-44153d676874" ], "accept-language": [ "en-US" @@ -3138,8 +3573,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3147,13 +3582,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:09:51 GMT" + "Fri, 04 Sep 2020 02:36:33 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/701fb5b0-7991-491a-afe4-e82eca2dcfa9?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/27ced3a2-0ed3-4182-8690-006bd56c90a1?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -3162,19 +3597,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/701fb5b0-7991-491a-afe4-e82eca2dcfa9?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/27ced3a2-0ed3-4182-8690-006bd56c90a1?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "701fb5b0-7991-491a-afe4-e82eca2dcfa9" + "27ced3a2-0ed3-4182-8690-006bd56c90a1" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], "x-ms-correlation-request-id": [ - "fbc89c7a-1548-478a-99d8-2dd24a303c44" + "86549f37-53b5-44b6-85b0-7ed03e166723" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T200951Z:fbc89c7a-1548-478a-99d8-2dd24a303c44" + "WESTUS:20200904T023633Z:86549f37-53b5-44b6-85b0-7ed03e166723" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3192,20 +3627,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:09:51.557Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:36:33.503Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/701fb5b0-7991-491a-afe4-e82eca2dcfa9?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzcwMWZiNWIwLTc5OTEtNDkxYS1hZmU0LWU4MmVjYTJkY2ZhOT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/27ced3a2-0ed3-4182-8690-006bd56c90a1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI3Y2VkM2EyLTBlZDMtNDE4Mi04NjkwLTAwNmJkNTZjOTBhMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3213,7 +3648,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:06 GMT" + "Fri, 04 Sep 2020 02:36:48 GMT" ], "Pragma": [ "no-cache" @@ -3225,16 +3660,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "054b7b68-b00e-441a-a3e3-b6e6ae7c3a8f" + "09c2e96d-c65e-41bc-9e43-7120a1dadc6c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11959" + "11953" ], "x-ms-correlation-request-id": [ - "38a7a114-c6bc-4e5d-b039-576896a2855e" + "a60a65a4-cbe7-4463-86c5-ed664fbbe0a0" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201006Z:38a7a114-c6bc-4e5d-b039-576896a2855e" + "WESTUS:20200904T023648Z:a60a65a4-cbe7-4463-86c5-ed664fbbe0a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3252,20 +3687,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"701fb5b0-7991-491a-afe4-e82eca2dcfa9\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:09:51.557Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"27ced3a2-0ed3-4182-8690-006bd56c90a1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:36:33.503Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/701fb5b0-7991-491a-afe4-e82eca2dcfa9?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzcwMWZiNWIwLTc5OTEtNDkxYS1hZmU0LWU4MmVjYTJkY2ZhOT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/27ced3a2-0ed3-4182-8690-006bd56c90a1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzI3Y2VkM2EyLTBlZDMtNDE4Mi04NjkwLTAwNmJkNTZjOTBhMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3273,7 +3708,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:06 GMT" + "Fri, 04 Sep 2020 02:36:48 GMT" ], "Pragma": [ "no-cache" @@ -3282,16 +3717,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "f95831a2-53f2-4c64-893e-00777586668a" + "4928c7e9-44b9-4914-b5a6-6eb1d50844f5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11958" + "11952" ], "x-ms-correlation-request-id": [ - "d5f54a0c-794a-4fd5-872a-b52834015f6e" + "42046bf3-433f-406c-9dbb-3eb8f0512e85" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201007Z:d5f54a0c-794a-4fd5-872a-b52834015f6e" + "WESTUS:20200904T023649Z:42046bf3-433f-406c-9dbb-3eb8f0512e85" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3310,13 +3745,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-788?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03ODg/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-2763?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNzYzP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fa64c8a1-d63b-488b-942b-3c808bd212a2" + "ce469cea-ba55-4714-b1b3-5c8a5815cccc" ], "accept-language": [ "en-US" @@ -3324,8 +3759,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3333,13 +3768,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:07 GMT" + "Fri, 04 Sep 2020 02:36:49 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/a1391586-c464-4194-8c52-157dca2e74d6?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/f2f5e417-b1d1-4005-a485-8b6a81048966?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -3348,19 +3783,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/a1391586-c464-4194-8c52-157dca2e74d6?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f2f5e417-b1d1-4005-a485-8b6a81048966?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "a1391586-c464-4194-8c52-157dca2e74d6" + "f2f5e417-b1d1-4005-a485-8b6a81048966" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], "x-ms-correlation-request-id": [ - "74133cdb-42ba-4f60-b526-57657a40de85" + "8350125b-094e-4133-8221-6b3691030e21" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201007Z:74133cdb-42ba-4f60-b526-57657a40de85" + "WESTUS:20200904T023649Z:8350125b-094e-4133-8221-6b3691030e21" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3378,20 +3813,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:10:07.567Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:36:49.693Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/a1391586-c464-4194-8c52-157dca2e74d6?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2ExMzkxNTg2LWM0NjQtNDE5NC04YzUyLTE1N2RjYTJlNzRkNj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/f2f5e417-b1d1-4005-a485-8b6a81048966?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2YyZjVlNDE3LWIxZDEtNDAwNS1hNDg1LThiNmE4MTA0ODk2Nj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3399,7 +3834,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:22 GMT" + "Fri, 04 Sep 2020 02:37:04 GMT" ], "Pragma": [ "no-cache" @@ -3411,16 +3846,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "4a9bb820-1cdb-4bf2-a8d0-c46a85611096" + "2898478c-1351-463a-bacb-92788d2d6936" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11957" + "11951" ], "x-ms-correlation-request-id": [ - "ea263fc6-fcbc-46fd-8d04-bb1e3812b3e4" + "e03bfb07-e656-455e-aa58-425e57c040a6" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201022Z:ea263fc6-fcbc-46fd-8d04-bb1e3812b3e4" + "WESTUS:20200904T023705Z:e03bfb07-e656-455e-aa58-425e57c040a6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3438,20 +3873,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"a1391586-c464-4194-8c52-157dca2e74d6\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:10:07.567Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"f2f5e417-b1d1-4005-a485-8b6a81048966\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:36:49.693Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/a1391586-c464-4194-8c52-157dca2e74d6?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzL2ExMzkxNTg2LWM0NjQtNDE5NC04YzUyLTE1N2RjYTJlNzRkNj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/f2f5e417-b1d1-4005-a485-8b6a81048966?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzL2YyZjVlNDE3LWIxZDEtNDAwNS1hNDg1LThiNmE4MTA0ODk2Nj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3459,7 +3894,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:22 GMT" + "Fri, 04 Sep 2020 02:37:04 GMT" ], "Pragma": [ "no-cache" @@ -3468,16 +3903,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "721f86cf-52c8-4105-9aa5-3d0c5e6e3d4b" + "a8a9c7c7-ada1-4911-8207-1a2514631b24" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11956" + "11950" ], "x-ms-correlation-request-id": [ - "1e75438b-55e6-4d98-a8dc-0de1987f34bd" + "62159031-6ff5-4706-b8f2-7464d8c7fe49" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201023Z:1e75438b-55e6-4d98-a8dc-0de1987f34bd" + "WESTUS:20200904T023705Z:62159031-6ff5-4706-b8f2-7464d8c7fe49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3496,13 +3931,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-4229?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00MjI5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-936?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC05MzY/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ea7debf2-76ba-4c5f-a26f-f99602acf744" + "ff3c42a5-5c80-4492-8fcd-7f857e35506d" ], "accept-language": [ "en-US" @@ -3510,8 +3945,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3519,13 +3954,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:22 GMT" + "Fri, 04 Sep 2020 02:37:05 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/7ddd3507-eedd-415a-be14-11e4d0eb44c8?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/63746bfc-dd58-4599-b4e0-1316cbc8a1c1?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -3534,19 +3969,19 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/7ddd3507-eedd-415a-be14-11e4d0eb44c8?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/63746bfc-dd58-4599-b4e0-1316cbc8a1c1?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "7ddd3507-eedd-415a-be14-11e4d0eb44c8" + "63746bfc-dd58-4599-b4e0-1316cbc8a1c1" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], "x-ms-correlation-request-id": [ - "9fe83c8c-1367-4624-9418-e13ba5718c42" + "10bddca1-1760-479f-a160-248bbd8dad3c" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201023Z:9fe83c8c-1367-4624-9418-e13ba5718c42" + "WESTUS:20200904T023706Z:10bddca1-1760-479f-a160-248bbd8dad3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3564,20 +3999,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:10:23.347Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:37:05.913Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/7ddd3507-eedd-415a-be14-11e4d0eb44c8?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzdkZGQzNTA3LWVlZGQtNDE1YS1iZTE0LTExZTRkMGViNDRjOD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/63746bfc-dd58-4599-b4e0-1316cbc8a1c1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzYzNzQ2YmZjLWRkNTgtNDU5OS1iNGUwLTEzMTZjYmM4YTFjMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3585,7 +4020,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:38 GMT" + "Fri, 04 Sep 2020 02:37:20 GMT" ], "Pragma": [ "no-cache" @@ -3597,16 +4032,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "13079e5e-6a3c-4055-9ccf-0a95de25b9d3" + "64f76086-ebdc-47a7-88cd-a9760bdb2b6f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11955" + "11949" ], "x-ms-correlation-request-id": [ - "d2c61e7a-36e0-440d-aa52-3d88110f1c4f" + "0ad97f37-9b57-4147-8df3-a0dd378e2023" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201038Z:d2c61e7a-36e0-440d-aa52-3d88110f1c4f" + "WESTUS:20200904T023721Z:0ad97f37-9b57-4147-8df3-a0dd378e2023" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3624,20 +4059,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"7ddd3507-eedd-415a-be14-11e4d0eb44c8\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:10:23.347Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"63746bfc-dd58-4599-b4e0-1316cbc8a1c1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:37:05.913Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/7ddd3507-eedd-415a-be14-11e4d0eb44c8?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzdkZGQzNTA3LWVlZGQtNDE1YS1iZTE0LTExZTRkMGViNDRjOD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/63746bfc-dd58-4599-b4e0-1316cbc8a1c1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzYzNzQ2YmZjLWRkNTgtNDU5OS1iNGUwLTEzMTZjYmM4YTFjMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3645,7 +4080,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:38 GMT" + "Fri, 04 Sep 2020 02:37:20 GMT" ], "Pragma": [ "no-cache" @@ -3654,16 +4089,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "301b47e3-aa7c-4e54-8fe8-c459d8123df8" + "79643092-20c0-44c8-b2fd-83814560e0fd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11954" + "11948" ], "x-ms-correlation-request-id": [ - "dac8dc57-b842-4e87-86fc-9aacd39fa0ee" + "2f08f9b4-4d94-4f7e-acd4-6bef046cfadc" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201038Z:dac8dc57-b842-4e87-86fc-9aacd39fa0ee" + "WESTUS:20200904T023721Z:2f08f9b4-4d94-4f7e-acd4-6bef046cfadc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3682,13 +4117,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/servers/sqlcrudtest-1579/databases/sqlcrudtest-6958?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0xNTc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02OTU4P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-1826?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xODI2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b801237b-0699-49fc-ad81-39eafec16966" + "17c628d5-d9c9-4782-83ad-866036f8daed" ], "accept-language": [ "en-US" @@ -3696,8 +4131,8 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3705,13 +4140,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:38 GMT" + "Fri, 04 Sep 2020 02:37:21 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/049e1487-84e5-43e8-82c7-5ff336e62ed7?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/b5d4c2eb-1d6f-4511-8017-6f408c2eb060?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -3720,19 +4155,205 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/049e1487-84e5-43e8-82c7-5ff336e62ed7?api-version=2017-10-01-preview" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/b5d4c2eb-1d6f-4511-8017-6f408c2eb060?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "049e1487-84e5-43e8-82c7-5ff336e62ed7" + "b5d4c2eb-1d6f-4511-8017-6f408c2eb060" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14994" ], "x-ms-correlation-request-id": [ - "1d086ef5-5fd0-492d-b821-02301cdcf780" + "03191723-5df7-4b29-933a-4a2d0018170b" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201039Z:1d086ef5-5fd0-492d-b821-02301cdcf780" + "WESTUS:20200904T023722Z:03191723-5df7-4b29-933a-4a2d0018170b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:37:22.07Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/b5d4c2eb-1d6f-4511-8017-6f408c2eb060?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2I1ZDRjMmViLTFkNmYtNDUxMS04MDE3LTZmNDA4YzJlYjA2MD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:37:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "36a102c4-f0fe-4f17-8844-0e49bb12b43a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11947" + ], + "x-ms-correlation-request-id": [ + "a54600ae-b0e0-4933-b241-056b20f56f0e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023737Z:a54600ae-b0e0-4933-b241-056b20f56f0e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"b5d4c2eb-1d6f-4511-8017-6f408c2eb060\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:37:22.07Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/b5d4c2eb-1d6f-4511-8017-6f408c2eb060?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzL2I1ZDRjMmViLTFkNmYtNDUxMS04MDE3LTZmNDA4YzJlYjA2MD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:37:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "64c30e52-4bb4-420e-9fc4-d89a4cab1235" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11946" + ], + "x-ms-correlation-request-id": [ + "9abd4e77-9760-498f-99f0-555bc668d681" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023737Z:9abd4e77-9760-498f-99f0-555bc668d681" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/servers/sqlcrudtest-9821/databases/sqlcrudtest-7928?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05ODIxL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC03OTI4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c33db461-8b2d-4767-81c5-740e47288082" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 04 Sep 2020 02:37:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/d120035d-4295-44e7-b1c0-c119f309f2a1?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d120035d-4295-44e7-b1c0-c119f309f2a1?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "d120035d-4295-44e7-b1c0-c119f309f2a1" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "6167abfa-882f-4fe9-b86a-576f059725d6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20200904T023738Z:6167abfa-882f-4fe9-b86a-576f059725d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3750,20 +4371,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2019-09-12T20:10:39.003Z\"\r\n}", + "ResponseBody": "{\r\n \"operation\": \"DropLogicalDatabase\",\r\n \"startTime\": \"2020-09-04T02:37:38.217Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseAzureAsyncOperation/049e1487-84e5-43e8-82c7-5ff336e62ed7?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzA0OWUxNDg3LTg0ZTUtNDNlOC04MmM3LTVmZjMzNmU2MmVkNz9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseAzureAsyncOperation/d120035d-4295-44e7-b1c0-c119f309f2a1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2QxMjAwMzVkLTQyOTUtNDRlNy1iMWMwLWMxMTlmMzA5ZjJhMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3771,7 +4392,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:53 GMT" + "Fri, 04 Sep 2020 02:37:52 GMT" ], "Pragma": [ "no-cache" @@ -3783,16 +4404,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "cf24e19e-f875-43ed-9a34-9339fb26664a" + "a08555f7-a5c0-4296-bf9e-2de81d157eaf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11953" + "11945" ], "x-ms-correlation-request-id": [ - "171264be-e620-42c9-b645-4cc13c5df025" + "10f10327-e9f3-4997-87a9-0d37b6dcc6a2" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201054Z:171264be-e620-42c9-b645-4cc13c5df025" + "WESTUS:20200904T023753Z:10f10327-e9f3-4997-87a9-0d37b6dcc6a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3810,20 +4431,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"name\": \"049e1487-84e5-43e8-82c7-5ff336e62ed7\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-09-12T20:10:39.003Z\"\r\n}", + "ResponseBody": "{\r\n \"name\": \"d120035d-4295-44e7-b1c0-c119f309f2a1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-04T02:37:38.217Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourceGroups/sqlcrudtest-8679/providers/Microsoft.Sql/locations/canadacentral/databaseOperationResults/049e1487-84e5-43e8-82c7-5ff336e62ed7?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg2NzkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2NhbmFkYWNlbnRyYWwvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzLzA0OWUxNDg3LTg0ZTUtNDNlOC04MmM3LTVmZjMzNmU2MmVkNz9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourceGroups/sqlcrudtest-5569/providers/Microsoft.Sql/locations/southeastasia/databaseOperationResults/d120035d-4295-44e7-b1c0-c119f309f2a1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTU1NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3NvdXRoZWFzdGFzaWEvZGF0YWJhc2VPcGVyYXRpb25SZXN1bHRzL2QxMjAwMzVkLTQyOTUtNDRlNy1iMWMwLWMxMTlmMzA5ZjJhMT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.35.0.0" + "OSVersion/Microsoft.Windows.10.0.14393.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" ] }, "ResponseHeaders": { @@ -3831,7 +4452,7 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:54 GMT" + "Fri, 04 Sep 2020 02:37:53 GMT" ], "Pragma": [ "no-cache" @@ -3840,16 +4461,16 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "75f2b7ba-4396-4a2e-a119-ac741b93b473" + "dcc81118-abf1-4952-ac51-472289f2355a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11952" + "11944" ], "x-ms-correlation-request-id": [ - "cfbde2e7-a6bb-4349-aae6-f69829d0e724" + "cca8658f-01f4-42b5-8d56-763b8db112e1" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201054Z:cfbde2e7-a6bb-4349-aae6-f69829d0e724" + "WESTUS:20200904T023753Z:cca8658f-01f4-42b5-8d56-763b8db112e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3868,13 +4489,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/resourcegroups/sqlcrudtest-8679?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjBkZDAyMTAtZjBjZi00YWJhLTg0MzktN2Q1OTcyNDEyMzg0L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg2Nzk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/resourcegroups/sqlcrudtest-5569?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMTFjNDRhNjQtZmVmOC00ZjNiLWJkMjQtNWZlYTFjNzY5ZWQ1L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTU1Njk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6fbce6e5-3819-4702-bc1f-5a732d5e7a3d" + "acc4de1e-0bc2-4911-a213-87e05b711da0" ], "accept-language": [ "en-US" @@ -3882,7 +4503,7 @@ "User-Agent": [ "FxVersion/4.6.26614.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.6.3.9600.", + "OSVersion/Microsoft.Windows.10.0.14393.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ] }, @@ -3891,13 +4512,13 @@ "no-cache" ], "Date": [ - "Thu, 12 Sep 2019 20:10:56 GMT" + "Fri, 04 Sep 2020 02:37:57 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/20dd0210-f0cf-4aba-8439-7d5972412384/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDg2NzktQ0FOQURBQ0VOVFJBTCIsImpvYkxvY2F0aW9uIjoiY2FuYWRhY2VudHJhbCJ9?api-version=2017-05-10" + "https://management.azure.com/subscriptions/11c44a64-fef8-4f3b-bd24-5fea1c769ed5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDU1NjktU09VVEhFQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoic291dGhlYXN0YXNpYSJ9?api-version=2017-05-10" ], "Retry-After": [ "15" @@ -3906,13 +4527,13 @@ "14999" ], "x-ms-request-id": [ - "cae5fc94-bc9d-42dc-b149-95554066fe5b" + "6920ed12-b438-4497-9cee-f950913ea1c5" ], "x-ms-correlation-request-id": [ - "cae5fc94-bc9d-42dc-b149-95554066fe5b" + "6920ed12-b438-4497-9cee-f950913ea1c5" ], "x-ms-routing-request-id": [ - "WESTUS:20190912T201057Z:cae5fc94-bc9d-42dc-b149-95554066fe5b" + "WESTUS:20200904T023758Z:6920ed12-b438-4497-9cee-f950913ea1c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3933,22 +4554,23 @@ ], "Names": { "CreateResourceGroup": [ - "sqlcrudtest-8679" + "sqlcrudtest-5569" ], "CreateServer": [ - "sqlcrudtest-1579" + "sqlcrudtest-9821" ], "TestCreateDropDatabase": [ - "sqlcrudtest-6953", - "sqlcrudtest-7162", - "sqlcrudtest-3342", - "sqlcrudtest-788", - "sqlcrudtest-4229", - "sqlcrudtest-6958" + "sqlcrudtest-1791", + "sqlcrudtest-7153", + "sqlcrudtest-4457", + "sqlcrudtest-2763", + "sqlcrudtest-936", + "sqlcrudtest-1826", + "sqlcrudtest-7928" ] }, "Variables": { - "SubscriptionId": "20dd0210-f0cf-4aba-8439-7d5972412384", - "DefaultLocation": "canada central" + "SubscriptionId": "11c44a64-fef8-4f3b-bd24-5fea1c769ed5", + "DefaultLocation": "Southeast Asia" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportExistingDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportExistingDatabase.json index 35b95d923d72..7310dec2ba31 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportExistingDatabase.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportExistingDatabase.json @@ -1,114 +1,108 @@ { "Entries": [ { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourcegroups/sqlcrudtest-8751?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg3NTE/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-9985?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTk5ODU/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\",\r\n \"tags\": {\r\n \"sqlcrudtest-8751\": \"2018-03-28 19:12:22Z\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"West Central US\",\r\n \"tags\": {\r\n \"sqlcrudtest-9985\": \"2020-09-07 02:54:00Z\"\r\n }\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "100" - ], "x-ms-client-request-id": [ - "07a86aa3-4bfa-410d-866b-72236d10728f" + "267ba0e5-e071-4a73-9076-37f1aa02b24e" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751\",\r\n \"name\": \"sqlcrudtest-8751\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"sqlcrudtest-8751\": \"2018-03-28 19:12:22Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "240" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "104" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:12:24 GMT" + "Mon, 07 Sep 2020 02:54:02 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-request-id": [ - "10893448-c27f-4219-943d-f4c6e0e3b57d" + "4613b0f7-a791-4be1-b020-985cdcd93c4f" ], "x-ms-correlation-request-id": [ - "10893448-c27f-4219-943d-f4c6e0e3b57d" + "4613b0f7-a791-4be1-b020-985cdcd93c4f" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191224Z:10893448-c27f-4219-943d-f4c6e0e3b57d" + "BRAZILUS:20200907T025402Z:4613b0f7-a791-4be1-b020-985cdcd93c4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "243" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985\",\r\n \"name\": \"sqlcrudtest-9985\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {\r\n \"sqlcrudtest-9985\": \"2020-09-07 02:54:00Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"tags\": {},\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"West Central US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "185" - ], "x-ms-client-request-id": [ - "c500761e-70f2-45e9-abb5-43fdfb7520e6" + "bdf8ff50-4cee-4f9e-8e54-68d1d9b45231" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2018-03-28T19:12:29.993Z\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "74" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "189" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:12:29 GMT" + "Mon, 07 Sep 2020 02:54:05 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/serverOperationResults/37f80e9f-4cd5-4351-9d83-e80a8f13e898?api-version=2015-05-01-preview" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverOperationResults/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview" ], "Retry-After": [ "1" @@ -117,577 +111,622 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37f80e9f-4cd5-4351-9d83-e80a8f13e898?api-version=2015-05-01-preview" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "37f80e9f-4cd5-4351-9d83-e80a8f13e898" + "cca990c5-dc3d-4db8-9320-d050fd9c91e8" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1199" ], "x-ms-correlation-request-id": [ - "d472011c-239b-43f5-8c21-e31d46b39572" + "01ed790b-348e-4caf-9cd1-ada1c71250c0" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191230Z:d472011c-239b-43f5-8c21-e31d46b39572" + "BRAZILUS:20200907T025406Z:01ed790b-348e-4caf-9cd1-ada1c71250c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37f80e9f-4cd5-4351-9d83-e80a8f13e898?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zN2Y4MGU5Zi00Y2Q1LTQzNTEtOWQ4My1lODBhOGYxM2U4OTg/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9jY2E5OTBjNS1kYzNkLTRkYjgtOTMyMC1kMDUwZmQ5YzkxZTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"37f80e9f-4cd5-4351-9d83-e80a8f13e898\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:12:29.993Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:12:39 GMT" + "Mon, 07 Sep 2020 02:54:06 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ - "20" + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "727ae2a0-277e-4cab-9e57-11e9957a829a" + "34d6a692-bee6-4b8b-a8b8-28e97948c28d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "11999" ], "x-ms-correlation-request-id": [ - "8aa0bc92-37d8-4dfe-88ec-542471775b59" + "158bd627-75b9-4f7a-af4b-ff2709271de6" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191240Z:8aa0bc92-37d8-4dfe-88ec-542471775b59" + "BRAZILUS:20200907T025407Z:158bd627-75b9-4f7a-af4b-ff2709271de6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"cca990c5-dc3d-4db8-9320-d050fd9c91e8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37f80e9f-4cd5-4351-9d83-e80a8f13e898?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zN2Y4MGU5Zi00Y2Q1LTQzNTEtOWQ4My1lODBhOGYxM2U4OTg/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9jY2E5OTBjNS1kYzNkLTRkYjgtOTMyMC1kMDUwZmQ5YzkxZTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"37f80e9f-4cd5-4351-9d83-e80a8f13e898\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:12:29.993Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:12:59 GMT" + "Mon, 07 Sep 2020 02:54:07 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ - "20" + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "fcc8f17f-0884-4c30-a18f-874629fe2ae8" + "424a1a0d-9814-418b-951c-2abb53362517" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "11998" ], "x-ms-correlation-request-id": [ - "78b466cd-17fc-47b3-a220-84d53480b73c" + "f1a220ed-dde5-4059-a06d-7d2ffaa533e5" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191300Z:78b466cd-17fc-47b3-a220-84d53480b73c" + "BRAZILUS:20200907T025408Z:f1a220ed-dde5-4059-a06d-7d2ffaa533e5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"cca990c5-dc3d-4db8-9320-d050fd9c91e8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37f80e9f-4cd5-4351-9d83-e80a8f13e898?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zN2Y4MGU5Zi00Y2Q1LTQzNTEtOWQ4My1lODBhOGYxM2U4OTg/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9jY2E5OTBjNS1kYzNkLTRkYjgtOTMyMC1kMDUwZmQ5YzkxZTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"37f80e9f-4cd5-4351-9d83-e80a8f13e898\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:12:29.993Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:13:19 GMT" + "Mon, 07 Sep 2020 02:54:08 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ - "20" + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "f60daf5f-0f4d-49fb-8589-87edbb192387" + "61bdbbd6-1ba0-490e-8e89-dd16434657e0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "11997" ], "x-ms-correlation-request-id": [ - "d2992cb0-98da-4021-883a-65ea11081e54" + "3206c711-de16-4bad-b1ee-7df967becc78" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191320Z:d2992cb0-98da-4021-883a-65ea11081e54" + "BRAZILUS:20200907T025409Z:3206c711-de16-4bad-b1ee-7df967becc78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"cca990c5-dc3d-4db8-9320-d050fd9c91e8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37f80e9f-4cd5-4351-9d83-e80a8f13e898?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zN2Y4MGU5Zi00Y2Q1LTQzNTEtOWQ4My1lODBhOGYxM2U4OTg/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9jY2E5OTBjNS1kYzNkLTRkYjgtOTMyMC1kMDUwZmQ5YzkxZTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"37f80e9f-4cd5-4351-9d83-e80a8f13e898\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-28T19:12:29.993Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:13:40 GMT" + "Mon, 07 Sep 2020 02:54:09 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ - "15" + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "9aedbf12-ef0f-4081-8948-19d2f64f7481" + "5f37fbea-b719-4390-8920-6a1cfd7741d5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "11996" ], "x-ms-correlation-request-id": [ - "4d5a52d8-ed74-47c0-ae31-335bdfbf7bb8" + "0e1cc0ad-8afd-434d-878a-e6d383af8f36" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191340Z:4d5a52d8-ed74-47c0-ae31-335bdfbf7bb8" + "BRAZILUS:20200907T025410Z:0e1cc0ad-8afd-434d-878a-e6d383af8f36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"cca990c5-dc3d-4db8-9320-d050fd9c91e8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9jY2E5OTBjNS1kYzNkLTRkYjgtOTMyMC1kMDUwZmQ5YzkxZTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "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-4278.database.windows.net\"\r\n },\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278\",\r\n \"name\": \"sqlcrudtest-4278\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:13:40 GMT" + "Mon, 07 Sep 2020 02:54:10 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "20" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "580eafa7-cbfa-4d7c-9339-5d5a629e39dc" + "fd04bab1-95b8-4e7b-89fe-3e0bbd8984d9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "11995" ], "x-ms-correlation-request-id": [ - "dbdfac73-af9c-45a1-8cd2-9f3710844a25" + "97ac6e54-8c5b-4fb0-9714-705cfb3149d1" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191341Z:dbdfac73-af9c-45a1-8cd2-9f3710844a25" + "BRAZILUS:20200907T025411Z:97ac6e54-8c5b-4fb0-9714-705cfb3149d1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"cca990c5-dc3d-4db8-9320-d050fd9c91e8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/firewallRules/sqlcrudtest-7057?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2ZpcmV3YWxsUnVsZXMvc3FsY3J1ZHRlc3QtNzA1Nz9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9jY2E5OTBjNS1kYzNkLTRkYjgtOTMyMC1kMDUwZmQ5YzkxZTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "101" - ], - "x-ms-client-request-id": [ - "b4e9f5a0-2228-4527-aaae-ad4434f42bff" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/firewallRules/sqlcrudtest-7057\",\r\n \"name\": \"sqlcrudtest-7057\",\r\n \"type\": \"Microsoft.Sql/servers/firewallRules\",\r\n \"location\": \"West Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "358" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:13:43 GMT" + "Mon, 07 Sep 2020 02:54:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "5a551969-297c-4f05-a4fa-e1f9848bd9ed" + "82bf4909-a7fa-4891-b942-dfd5d2f6550b" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" ], - "Preference-Applied": [ - "return-content" + "x-ms-correlation-request-id": [ + "addd585a-6b5c-45b0-8d7f-fbb1d75332c2" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025431Z:addd585a-6b5c-45b0-8d7f-fbb1d75332c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "30197b27-02ff-4bf2-8d70-24cffed7cd43" + "Content-Length": [ + "107" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191343Z:30197b27-02ff-4bf2-8d70-24cffed7cd43" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"name\": \"cca990c5-dc3d-4db8-9320-d050fd9c91e8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"westeurope\"\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/cca990c5-dc3d-4db8-9320-d050fd9c91e8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi9jY2E5OTBjNS1kYzNkLTRkYjgtOTMyMC1kMDUwZmQ5YzkxZTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "32" - ], - "x-ms-client-request-id": [ - "b5a79248-2955-4212-8122-0df445f4a2ce" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2018-03-28T19:13:45.933Z\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "76" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:13:45 GMT" + "Mon, 07 Sep 2020 02:54:51 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseOperationResults/6b7c3651-ae54-401c-a697-c8ac49f5c0eb?api-version=2017-10-01-preview" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/6b7c3651-ae54-401c-a697-c8ac49f5c0eb?api-version=2017-10-01-preview" - ], "x-ms-request-id": [ - "6b7c3651-ae54-401c-a697-c8ac49f5c0eb" + "1f24fecb-d35d-4753-a827-c4ab8c6c9d5c" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" ], "x-ms-correlation-request-id": [ - "26e572f0-91e6-4c74-a91e-494093d6719f" + "9c6499f5-d2eb-4a19-9384-6a22cc7265cb" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191346Z:26e572f0-91e6-4c74-a91e-494093d6719f" + "BRAZILUS:20200907T025451Z:9c6499f5-d2eb-4a19-9384-6a22cc7265cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"cca990c5-dc3d-4db8-9320-d050fd9c91e8\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T02:54:05.83Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Storage/storageAccounts/sqlcrudtest7398?api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDczOTg/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"accessTier\": \"Cool\"\r\n }\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "155" - ], - "x-ms-client-request-id": [ - "03b50abf-83f3-48e4-b809-f8c78eb7b6a6" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Content-Type": [ - "text/plain; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:13:46 GMT" + "Mon, 07 Sep 2020 02:54:51 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/c3edd3cf-93e6-4849-9b07-c12529829436?monitor=true&api-version=2017-06-01" + "Server": [ + "Microsoft-HTTPAPI/2.0" ], - "Retry-After": [ - "17" + "x-ms-request-id": [ + "283de758-4f00-4001-9f7c-fba334e6f0c2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "55ff674e-c996-486a-ac95-d8e6dce5302b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025451Z:55ff674e-c996-486a-ac95-d8e6dce5302b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "463" + ], + "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-6358.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358\",\r\n \"name\": \"sqlcrudtest-6358\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/firewallRules/sqlcrudtest-5354?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2ZpcmV3YWxsUnVsZXMvc3FsY3J1ZHRlc3QtNTM1ND9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f9b38bde-7f6c-4272-b057-12707ec042f6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "101" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 02:54:52 GMT" ], "Server": [ - "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "c3edd3cf-93e6-4849-9b07-c12529829436" + "21ede17c-d759-4edf-8809-948fc7d3c01d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1198" ], "x-ms-correlation-request-id": [ - "21db8528-5620-42ac-817d-51119a90e592" + "e7452b1d-d849-4a9f-baae-8dae005ec42a" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191347Z:21db8528-5620-42ac-817d-51119a90e592" + "BRAZILUS:20200907T025452Z:e7452b1d-d849-4a9f-baae-8dae005ec42a" ], - "X-Content-Type-Options": [ - "nosniff" + "Content-Length": [ + "362" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/firewallRules/sqlcrudtest-5354\",\r\n \"name\": \"sqlcrudtest-5354\",\r\n \"type\": \"Microsoft.Sql/servers/firewallRules\",\r\n \"location\": \"West Central US\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/6b7c3651-ae54-401c-a697-c8ac49f5c0eb?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzZiN2MzNjUxLWFlNTQtNDAxYy1hNjk3LWM4YWM0OWY1YzBlYj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-2890?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yODkwP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "bd9a0202-9437-4b30-a366-ad032e7346b8" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"6b7c3651-ae54-401c-a697-c8ac49f5c0eb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:13:45.933Z\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:00 GMT" + "Mon, 07 Sep 2020 02:54:53 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseOperationResults/cd7c3b7f-14b8-479c-83e3-92bc9a856547?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -695,438 +734,509 @@ "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/cd7c3b7f-14b8-479c-83e3-92bc9a856547?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "4a064ab8-33bf-4a7c-ba73-3e8349803a0e" + "cd7c3b7f-14b8-479c-83e3-92bc9a856547" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-correlation-request-id": [ - "99273c73-8f12-42d2-aa96-00e7b374bede" + "fe707f40-5263-43a8-92cd-6f46b93b75ff" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191401Z:99273c73-8f12-42d2-aa96-00e7b374bede" + "BRAZILUS:20200907T025453Z:fe707f40-5263-43a8-92cd-6f46b93b75ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-07T02:54:53.593Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/6b7c3651-ae54-401c-a697-c8ac49f5c0eb?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzZiN2MzNjUxLWFlNTQtNDAxYy1hNjk3LWM4YWM0OWY1YzBlYj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Storage/storageAccounts/sqlcrudtest3703?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDM3MDM/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"accessTier\": \"Cool\"\r\n }\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "380b35d8-6860-4ec3-be11-3d994f91b9f7" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "158" ] }, - "ResponseBody": "{\r\n \"name\": \"6b7c3651-ae54-401c-a697-c8ac49f5c0eb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:13:45.933Z\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 02:54:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/5ccabbb4-fc00-4c94-a746-8b9b9cbe8790?monitor=true&api-version=2017-06-01" + ], + "Retry-After": [ + "17" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5ccabbb4-fc00-4c94-a746-8b9b9cbe8790" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "43b54151-4028-4f56-9e43-eb6565103010" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025454Z:43b54151-4028-4f56-9e43-eb6565103010" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], "Content-Type": [ - "application/json; charset=utf-8" + "text/plain; charset=utf-8" ], "Expires": [ "-1" - ], + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/cd7c3b7f-14b8-479c-83e3-92bc9a856547?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2NkN2MzYjdmLTE0YjgtNDc5Yy04M2UzLTkyYmM5YTg1NjU0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:15 GMT" + "Mon, 07 Sep 2020 02:55:08 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "2500d7e8-a97e-4b24-8c28-aa53f3b0ccf6" + "72f30357-e60d-4422-a88f-c003ef63c665" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "11991" ], "x-ms-correlation-request-id": [ - "5a5ab2c2-e809-4445-b6dc-16020168e3e4" + "af677d8c-51ff-48ca-abe0-cea813a4f09d" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191416Z:5a5ab2c2-e809-4445-b6dc-16020168e3e4" + "BRAZILUS:20200907T025508Z:af677d8c-51ff-48ca-abe0-cea813a4f09d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"cd7c3b7f-14b8-479c-83e3-92bc9a856547\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:53.593Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/6b7c3651-ae54-401c-a697-c8ac49f5c0eb?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzZiN2MzNjUxLWFlNTQtNDAxYy1hNjk3LWM4YWM0OWY1YzBlYj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/cd7c3b7f-14b8-479c-83e3-92bc9a856547?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2NkN2MzYjdmLTE0YjgtNDc5Yy04M2UzLTkyYmM5YTg1NjU0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"6b7c3651-ae54-401c-a697-c8ac49f5c0eb\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-28T19:13:45.933Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:31 GMT" + "Mon, 07 Sep 2020 02:55:23 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "6c933659-55e7-44c5-8077-7c6cb70eff4a" + "6fb1bf7c-36ed-4df3-8390-ba4311703dba" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "11990" ], "x-ms-correlation-request-id": [ - "5de05147-514d-4056-8cb3-7892de215ac0" + "3765fd29-0ca3-400c-950d-268ef515668b" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191431Z:5de05147-514d-4056-8cb3-7892de215ac0" + "BRAZILUS:20200907T025524Z:3765fd29-0ca3-400c-950d-268ef515668b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"cd7c3b7f-14b8-479c-83e3-92bc9a856547\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:54:53.593Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/c3edd3cf-93e6-4849-9b07-c12529829436?monitor=true&api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGV1cm9wZS9hc3luY29wZXJhdGlvbnMvYzNlZGQzY2YtOTNlNi00ODQ5LTliMDctYzEyNTI5ODI5NDM2P21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/cd7c3b7f-14b8-479c-83e3-92bc9a856547?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2NkN2MzYjdmLTE0YjgtNDc5Yy04M2UzLTkyYmM5YTg1NjU0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Content-Type": [ - "text/plain; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:03 GMT" + "Mon, 07 Sep 2020 02:55:38 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/c3edd3cf-93e6-4849-9b07-c12529829436?monitor=true&api-version=2017-06-01" - ], "Retry-After": [ - "17" + "15" ], "Server": [ - "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "e2fc2a5a-b36c-4996-b84f-4755fc256a92" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "ccee79a8-e4c2-4b21-9735-67b35fd3c373" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "11989" ], "x-ms-correlation-request-id": [ - "2d662e27-3a02-4a13-81f5-4f5f52075d57" + "9e301300-a1a6-44b1-a4f4-b077d7ab7099" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191404Z:2d662e27-3a02-4a13-81f5-4f5f52075d57" + "BRAZILUS:20200907T025539Z:9e301300-a1a6-44b1-a4f4-b077d7ab7099" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"cd7c3b7f-14b8-479c-83e3-92bc9a856547\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T02:54:53.593Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/c3edd3cf-93e6-4849-9b07-c12529829436?monitor=true&api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGV1cm9wZS9hc3luY29wZXJhdGlvbnMvYzNlZGQzY2YtOTNlNi00ODQ5LTliMDctYzEyNTI5ODI5NDM2P21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/5ccabbb4-fc00-4c94-a746-8b9b9cbe8790?monitor=true&api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGNlbnRyYWx1cy9hc3luY29wZXJhdGlvbnMvNWNjYWJiYjQtZmMwMC00Yzk0LWE3NDYtOGI5YjljYmU4NzkwP21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Storage/storageAccounts/sqlcrudtest7398\",\r\n \"name\": \"sqlcrudtest7398\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"trustedDirectories\": [\r\n \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n ],\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2018-03-28T19:13:46.1049016Z\"\r\n },\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2018-03-28T19:13:46.1049016Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Cool\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2018-03-28T19:13:46.0580272Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sqlcrudtest7398.blob.core.windows.net/\",\r\n \"table\": \"https://sqlcrudtest7398.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"westeurope\",\r\n \"statusOfPrimary\": \"available\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:20 GMT" + "Mon, 07 Sep 2020 02:55:11 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Server": [ "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "f6fb3636-dc04-40e3-9085-d131e8d5d4cc" + "d0abbbc7-086f-4306-a6ae-25f462dd8c87" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "11997" ], "x-ms-correlation-request-id": [ - "b56b2175-d3d4-45bd-a7b8-f7beb1cbb9da" + "48bdb8c3-235f-472e-95d5-4cf0aea201dd" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191421Z:b56b2175-d3d4-45bd-a7b8-f7beb1cbb9da" + "BRAZILUS:20200907T025511Z:48bdb8c3-235f-472e-95d5-4cf0aea201dd" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "980" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Storage/storageAccounts/sqlcrudtest3703\",\r\n \"name\": \"sqlcrudtest3703\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T02:54:54.013066Z\"\r\n },\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T02:54:54.013066Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Cool\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2020-09-07T02:54:53.9506247Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sqlcrudtest3703.blob.core.windows.net/\",\r\n \"table\": \"https://sqlcrudtest3703.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"westcentralus\",\r\n \"statusOfPrimary\": \"available\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Storage/storageAccounts/sqlcrudtest7398/listKeys?api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDczOTgvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Storage/storageAccounts/sqlcrudtest3703/listKeys?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDM3MDMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ec9fca46-c525-4d61-9992-4ef755e8a43a" + "d98accc3-bdbc-4f87-aa74-4c5873f2975c" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" ] }, - "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"0DIUmzA/jkRMHz1GYH+VIvW4FREPFYcuvglCojJvFynLWjYqPR/a06JyQ9jkUeflTExSfF9snssScCd+OfkxoQ==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"DFG1FvQvEoT/gB0toUI5zrbOE+3h/RdetROy5xqD0IUvh/C7i57QIF7DlUoEHf0+zCFlqaWNgVB6c6CS95iLjQ==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:20 GMT" + "Mon, 07 Sep 2020 02:55:11 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Server": [ "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "95942140-8f03-4d00-83bd-65861dba1fb0" + "06f57070-9d62-49e8-ba52-e39f9460f315" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "11999" ], "x-ms-correlation-request-id": [ - "b6920065-9bd3-492e-a337-dd5cc589042f" + "3e72e677-becf-4a36-a66b-adb53874441a" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191421Z:b6920065-9bd3-492e-a337-dd5cc589042f" + "BRAZILUS:20200907T025511Z:3e72e677-becf-4a36-a66b-adb53874441a" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "288" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"1NQiYLbzy++Zkx8qbX9UFibnpx6WvbR2e5z04j9dJFOwijIbks6tGYLweP2KKDapaXevi6OnJXk0DkKzvOKY1w==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"Lmlp8FlO/uHjMGhz7K4/YMP0v/tn8Qwzy/MkJmiXoR546ul8a0sRsWxI3ZBbyr7GPYiEwxwTZFQNAZ9wi1PF9Q==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-2890?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yODkwP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 268435456000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"7ab34298-8625-4e40-86c1-ab12696fbe39\",\r\n \"creationDate\": \"2018-03-28T19:13:46.153Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"North Europe\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2018-03-28T19:44:23.34Z\",\r\n \"readScale\": \"Disabled\"\r\n },\r\n \"location\": \"westeurope\",\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359\",\r\n \"name\": \"sqlcrudtest-3359\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:31 GMT" + "Mon, 07 Sep 2020 02:55:38 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "0fca1819-80a1-49b3-b048-a2bdbb36b033" + "47ad0822-3ab5-4ef3-8c79-23b585fa8e1d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "11988" ], "x-ms-correlation-request-id": [ - "f599a3e0-49b0-48c7-8db7-e093c8259f8e" + "0346ab1e-320a-44ac-8b63-752e8516eeb4" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191431Z:f599a3e0-49b0-48c7-8db7-e093c8259f8e" + "BRAZILUS:20200907T025539Z:0346ab1e-320a-44ac-8b63-752e8516eeb4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "1025" + ], + "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\": \"b548e829-9aa6-47f3-9bef-70f9104f625b\",\r\n \"creationDate\": \"2020-09-07T02:55:28.437Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T03:25:28.437Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-2890\",\r\n \"name\": \"sqlcrudtest-2890\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-1088?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xMDg4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"westeurope\"\r\n}", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "32" - ], "x-ms-client-request-id": [ - "27a5f743-1736-4ec9-a91b-cf10978560c7" + "d3d42431-07f2-4de5-b270-5c3e1ff955f8" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2018-03-28T19:14:32.95Z\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "75" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:33 GMT" + "Mon, 07 Sep 2020 02:55:39 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseOperationResults/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseOperationResults/242543b5-89fe-4c47-9287-38cdd718399b?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -1135,1370 +1245,1349 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/242543b5-89fe-4c47-9287-38cdd718399b?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "25c383e9-9fd5-4a82-9321-7f3da80edc70" + "242543b5-89fe-4c47-9287-38cdd718399b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1196" ], "x-ms-correlation-request-id": [ - "58a55582-e80d-4ec7-9eba-b34632064522" + "11290998-6c64-45fb-9fa3-08c3e7e99780" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191433Z:58a55582-e80d-4ec7-9eba-b34632064522" + "BRAZILUS:20200907T025540Z:11290998-6c64-45fb-9fa3-08c3e7e99780" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-07T02:55:39.953Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI1YzM4M2U5LTlmZDUtNGE4Mi05MzIxLTdmM2RhODBlZGM3MD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/242543b5-89fe-4c47-9287-38cdd718399b?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI0MjU0M2I1LTg5ZmUtNGM0Ny05Mjg3LTM4Y2RkNzE4Mzk5Yj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"25c383e9-9fd5-4a82-9321-7f3da80edc70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:14:32.95Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:14:48 GMT" + "Mon, 07 Sep 2020 02:55:54 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "402c8934-2029-4467-a84a-d73d6e8936b5" + "41115f73-54bb-4e50-8921-998d6d624fd0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "11987" ], "x-ms-correlation-request-id": [ - "674238d9-1a0e-4a2e-aebf-e352de13e3a5" + "9f6b9da9-875b-4c0a-8d23-fd8eea33a44e" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191448Z:674238d9-1a0e-4a2e-aebf-e352de13e3a5" + "BRAZILUS:20200907T025555Z:9f6b9da9-875b-4c0a-8d23-fd8eea33a44e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI1YzM4M2U5LTlmZDUtNGE4Mi05MzIxLTdmM2RhODBlZGM3MD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"25c383e9-9fd5-4a82-9321-7f3da80edc70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:14:32.95Z\"\r\n}", - "ResponseHeaders": { + ], + "Content-Length": [ + "108" + ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 28 Mar 2018 19:15:03 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Retry-After": [ - "15" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" - ], - "x-ms-request-id": [ - "0cc4b0e6-6821-4c72-85c5-e291330328a8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" - ], - "x-ms-correlation-request-id": [ - "b839d947-90a7-4ae2-82df-af698bee604f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191503Z:b839d947-90a7-4ae2-82df-af698bee604f" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" ] }, + "ResponseBody": "{\r\n \"name\": \"242543b5-89fe-4c47-9287-38cdd718399b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:55:39.953Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI1YzM4M2U5LTlmZDUtNGE4Mi05MzIxLTdmM2RhODBlZGM3MD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/242543b5-89fe-4c47-9287-38cdd718399b?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI0MjU0M2I1LTg5ZmUtNGM0Ny05Mjg3LTM4Y2RkNzE4Mzk5Yj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"25c383e9-9fd5-4a82-9321-7f3da80edc70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:14:32.95Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:15:18 GMT" + "Mon, 07 Sep 2020 02:56:10 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "a562048a-88e7-4f50-8b0f-dac05c939dd1" + "ffbf2e89-c862-42b4-b1cd-5d9da6ee59b7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "11986" ], "x-ms-correlation-request-id": [ - "b7c83fb1-0b7a-4fbf-9ba8-26b49d70c891" + "5abbf0d5-5fb6-47fe-b690-5aa3cac08dd8" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191519Z:b7c83fb1-0b7a-4fbf-9ba8-26b49d70c891" + "BRAZILUS:20200907T025610Z:5abbf0d5-5fb6-47fe-b690-5aa3cac08dd8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"242543b5-89fe-4c47-9287-38cdd718399b\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:55:39.953Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI1YzM4M2U5LTlmZDUtNGE4Mi05MzIxLTdmM2RhODBlZGM3MD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/242543b5-89fe-4c47-9287-38cdd718399b?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI0MjU0M2I1LTg5ZmUtNGM0Ny05Mjg3LTM4Y2RkNzE4Mzk5Yj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"25c383e9-9fd5-4a82-9321-7f3da80edc70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:14:32.95Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:15:33 GMT" + "Mon, 07 Sep 2020 02:56:25 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "bd07805e-7e75-4ede-be2b-281e25b8f3c4" + "d90c85d2-6a87-4a24-85f9-1c10c47bf50e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "11985" ], "x-ms-correlation-request-id": [ - "bb803874-f56a-496b-8001-623bc4f81791" + "72424f53-03a9-4cd2-bd78-3ddfd950f030" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191534Z:bb803874-f56a-496b-8001-623bc4f81791" + "BRAZILUS:20200907T025625Z:72424f53-03a9-4cd2-bd78-3ddfd950f030" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"242543b5-89fe-4c47-9287-38cdd718399b\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T02:55:39.953Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI1YzM4M2U5LTlmZDUtNGE4Mi05MzIxLTdmM2RhODBlZGM3MD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-1088?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xMDg4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"25c383e9-9fd5-4a82-9321-7f3da80edc70\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T19:14:32.95Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:15:48 GMT" + "Mon, 07 Sep 2020 02:56:25 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Retry-After": [ - "15" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "171c1cbd-3ae1-4ab8-8eb0-ba0b53b54993" + "48e97c52-3802-4689-a8fb-4b8fdc534f7d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "11984" ], "x-ms-correlation-request-id": [ - "c73fe020-9d0e-4436-8a8a-04e0bcd09b86" + "33776949-c436-42cd-b584-5e74494cb272" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191549Z:c73fe020-9d0e-4436-8a8a-04e0bcd09b86" + "BRAZILUS:20200907T025625Z:33776949-c436-42cd-b584-5e74494cb272" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "1023" + ], + "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\": \"eb8cefb5-ba37-4183-b8c3-9686babc7084\",\r\n \"creationDate\": \"2020-09-07T02:56:14.72Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T03:26:14.72Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-1088\",\r\n \"name\": \"sqlcrudtest-1088\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/25c383e9-9fd5-4a82-9321-7f3da80edc70?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzI1YzM4M2U5LTlmZDUtNGE4Mi05MzIxLTdmM2RhODBlZGM3MD9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-1088?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xMDg4P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { + "x-ms-client-request-id": [ + "c8b15d84-167a-4f58-9a9d-458bce1d8ca4" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"25c383e9-9fd5-4a82-9321-7f3da80edc70\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-28T19:14:32.95Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:16:04 GMT" + "Mon, 07 Sep 2020 02:56:25 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Retry-After": [ - "15" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "dfa5dc6e-72cc-439f-8753-7d10890ed4a0" + "a8704d1b-fee2-48d4-8639-a7f398203da8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "11983" ], "x-ms-correlation-request-id": [ - "97090bdd-830d-4181-9e6b-3d5acf9c3a2f" + "638b6e4a-f2fc-48bb-932e-f972eaf499bf" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191604Z:97090bdd-830d-4181-9e6b-3d5acf9c3a2f" + "BRAZILUS:20200907T025625Z:638b6e4a-f2fc-48bb-932e-f972eaf499bf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "1023" + ], + "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\": \"eb8cefb5-ba37-4183-b8c3-9686babc7084\",\r\n \"creationDate\": \"2020-09-07T02:56:14.72Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T03:26:14.72Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-1088\",\r\n \"name\": \"sqlcrudtest-1088\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-2890/export?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yODkwL2V4cG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"1NQiYLbzy++Zkx8qbX9UFibnpx6WvbR2e5z04j9dJFOwijIbks6tGYLweP2KKDapaXevi6OnJXk0DkKzvOKY1w==\",\r\n \"storageUri\": \"https://sqlcrudtest3703.blob.core.windows.net/container/sqlcrudtest-2890.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\"\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "ac3011d4-22f0-423f-86eb-7d63489a7229" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 268435456000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"bea3e64b-35cb-4e93-85d1-a8166d0562ed\",\r\n \"creationDate\": \"2018-03-28T19:14:33.153Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"North Europe\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2018-03-28T19:46:02.423Z\",\r\n \"readScale\": \"Disabled\"\r\n },\r\n \"location\": \"westeurope\",\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696\",\r\n \"name\": \"sqlcrudtest-5696\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "370" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:16:04 GMT" + "Mon, 07 Sep 2020 02:56:26 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview" + ], + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview" ], "x-ms-request-id": [ - "9be1930a-e9a5-49c5-a301-72f2c3d958bd" + "867c4a87-3eed-461b-a70c-d44e8b5f270c" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-correlation-request-id": [ - "e6cf5cd0-6a91-4a3d-86d4-3dd8b1cbb359" + "fd1a39ad-0c16-4249-821e-c49acfc42350" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191604Z:e6cf5cd0-6a91-4a3d-86d4-3dd8b1cbb359" + "BRAZILUS:20200907T025627Z:fd1a39ad-0c16-4249-821e-c49acfc42350" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"operation\": \"Export\",\r\n \"startTime\": \"2020-09-07T02:56:27.0632692Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2P2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMjhmYzhhOWUtMmYwYi00NGRiLTgzY2UtYmU3MTM1NGY5NGVkLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "ef55e84c-e381-4fa9-b4b3-5742e0788e8f" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 268435456000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"bea3e64b-35cb-4e93-85d1-a8166d0562ed\",\r\n \"creationDate\": \"2018-03-28T19:14:33.153Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"North Europe\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2018-03-28T19:46:02.423Z\",\r\n \"readScale\": \"Disabled\"\r\n },\r\n \"location\": \"westeurope\",\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696\",\r\n \"name\": \"sqlcrudtest-5696\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:16:05 GMT" + "Mon, 07 Sep 2020 02:56:42 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "f28fe078-d879-4f0e-9e35-f372875b36e3" + "f29dbd1c-598a-46e3-a907-1d3bccb770c1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "11982" ], "x-ms-correlation-request-id": [ - "017ecf6b-430c-4ab1-85fd-9f76efbfdc2e" + "bbabacac-49a7-4e29-a974-1ece6f437951" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T191605Z:017ecf6b-430c-4ab1-85fd-9f76efbfdc2e" + "BRAZILUS:20200907T025642Z:bbabacac-49a7-4e29-a974-1ece6f437951" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:56:26Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/export?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5L2V4cG9ydD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"0DIUmzA/jkRMHz1GYH+VIvW4FREPFYcuvglCojJvFynLWjYqPR/a06JyQ9jkUeflTExSfF9snssScCd+OfkxoQ==\",\r\n \"storageUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\"\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMjhmYzhhOWUtMmYwYi00NGRiLTgzY2UtYmU3MTM1NGY5NGVkLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "370" - ], - "x-ms-client-request-id": [ - "6a91d491-7251-4913-8246-7634302a5db5" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"Export\",\r\n \"startTime\": \"2018-03-28T19:16:06.708Z\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "60" - ], - "Content-Type": [ - "application/xml; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:16:06 GMT" + "Mon, 07 Sep 2020 02:56:57 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "ad7e754d-e40c-443f-8b06-d3e1f7fef51e" + "8107ec51-c6ce-4b17-b880-97a7cc77778f" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" ], - "Preference-Applied": [ - "return-content" + "x-ms-correlation-request-id": [ + "9fa1329b-0fcb-48fa-94f3-7627cc9617f3" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025657Z:9fa1329b-0fcb-48fa-94f3-7627cc9617f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "4aeea79e-f809-4c49-806c-99c63ab04e3e" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191606Z:4aeea79e-f809-4c49-806c-99c63ab04e3e" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:56:26Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYzZkM2VhYTMtZTY1NC00N2FhLWJjYTktYmJmN2U1YTY3Njc2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMjhmYzhhOWUtMmYwYi00NGRiLTgzY2UtYmU3MTM1NGY5NGVkLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-3359\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:16:11 PM\",\r\n \"queuedTime\": \"3/28/2018 7:16:06 PM\",\r\n \"requestId\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "394" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:16:36 GMT" + "Mon, 07 Sep 2020 02:57:12 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "4131ea70-d5b2-4b47-994a-33de9bd34659" + "ef1900ed-8d50-4ab5-aac0-5d47fce37f42" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "6e2744d6-fa4e-4311-a72b-0df18109cc7c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025712Z:6e2744d6-fa4e-4311-a72b-0df18109cc7c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "274f3d0c-aae9-426e-8a9f-bcedd51ece82" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191637Z:274f3d0c-aae9-426e-8a9f-bcedd51ece82" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:56:26Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYzZkM2VhYTMtZTY1NC00N2FhLWJjYTktYmJmN2U1YTY3Njc2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMjhmYzhhOWUtMmYwYi00NGRiLTgzY2UtYmU3MTM1NGY5NGVkLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-3359\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:16:11 PM\",\r\n \"queuedTime\": \"3/28/2018 7:16:06 PM\",\r\n \"requestId\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "394" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:17:07 GMT" + "Mon, 07 Sep 2020 02:57:28 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "45203057-9e6b-461b-b4d4-fefb5073cf94" + "7c29ac5d-0fa5-46c1-9a26-ae5730eac4ce" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "69600c8c-6ae3-4983-8284-6fe68505524f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025728Z:69600c8c-6ae3-4983-8284-6fe68505524f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "192f2509-fa73-416b-8fd5-cf6497f20ed6" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191707Z:192f2509-fa73-416b-8fd5-cf6497f20ed6" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:57:26Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYzZkM2VhYTMtZTY1NC00N2FhLWJjYTktYmJmN2U1YTY3Njc2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMjhmYzhhOWUtMmYwYi00NGRiLTgzY2UtYmU3MTM1NGY5NGVkLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-3359\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:16:11 PM\",\r\n \"queuedTime\": \"3/28/2018 7:16:06 PM\",\r\n \"requestId\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "394" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:17:36 GMT" + "Mon, 07 Sep 2020 02:57:42 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "ea7fa149-2643-4f68-b52c-dfb4e4120c21" + "61dc9dd9-68bc-4d3b-bd8a-ad373030dbd3" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "70ac447a-230f-4d2e-b487-11a885951037" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025743Z:70ac447a-230f-4d2e-b487-11a885951037" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "0366a121-84c2-41da-be51-fc89e106e8c9" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191737Z:0366a121-84c2-41da-be51-fc89e106e8c9" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:57:26Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYzZkM2VhYTMtZTY1NC00N2FhLWJjYTktYmJmN2U1YTY3Njc2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMjhmYzhhOWUtMmYwYi00NGRiLTgzY2UtYmU3MTM1NGY5NGVkLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-3359\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:16:11 PM\",\r\n \"queuedTime\": \"3/28/2018 7:16:06 PM\",\r\n \"requestId\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "394" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:18:07 GMT" + "Mon, 07 Sep 2020 02:57:58 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "29de4cf6-5a56-4d34-b242-2f9f14bed5f7" + "fbdc64e7-0349-43f8-b62f-ea30a34dd48e" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "3aa16fec-0285-4c57-8b41-57979733c46b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025758Z:3aa16fec-0285-4c57-8b41-57979733c46b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "25569d36-2e2d-4061-b8e0-94bc20ea2581" + "Content-Length": [ + "103" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191807Z:25569d36-2e2d-4061-b8e0-94bc20ea2581" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T02:57:49Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYzZkM2VhYTMtZTY1NC00N2FhLWJjYTktYmJmN2U1YTY3Njc2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/28fc8a9e-2f0b-44db-83ce-be71354f94ed-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvMjhmYzhhOWUtMmYwYi00NGRiLTgzY2UtYmU3MTM1NGY5NGVkLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"name\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\",\r\n \"properties\": {\r\n \"requestId\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"requestType\": \"Export\",\r\n \"queuedTime\": \"3/28/2018 7:16:06 PM\",\r\n \"lastModifiedTime\": \"3/28/2018 7:18:30 PM\",\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"serverName\": \"sqlcrudtest-4278\",\r\n \"databaseName\": \"sqlcrudtest-3359\",\r\n \"status\": \"Completed\",\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:18:37 GMT" + "Mon, 07 Sep 2020 02:57:58 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "9c2c9f7e-113c-4182-be84-433a42fecb66" + "3c0c5693-7f1e-415b-9f34-709ddd9fff6a" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "e7e54b10-03c4-40fe-acec-3846e5a6d001" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025758Z:e7e54b10-03c4-40fe-acec-3846e5a6d001" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "1e912e36-1693-4721-841f-487f0943dcf4" + "Content-Length": [ + "545" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191838Z:1e912e36-1693-4721-841f-487f0943dcf4" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"requestType\": \"ExportDatabase\",\r\n \"queuedTime\": \"9/7/2020 2:56:26 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 2:57:49 AM\",\r\n \"blobUri\": \"https://sqlcrudtest3703.blob.core.windows.net/container/sqlcrudtest-2890.bacpac\",\r\n \"serverName\": \"sqlcrudtest-6358\",\r\n \"databaseName\": \"sqlcrudtest-2890\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"name\": \"28fc8a9e-2f0b-44db-83ce-be71354f94ed\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0zMzU5L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYzZkM2VhYTMtZTY1NC00N2FhLWJjYTktYmJmN2U1YTY3Njc2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-9985/providers/Microsoft.Sql/servers/sqlcrudtest-6358/databases/sqlcrudtest-1088/import?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTk5ODUvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MzU4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0xMDg4L2ltcG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"1NQiYLbzy++Zkx8qbX9UFibnpx6WvbR2e5z04j9dJFOwijIbks6tGYLweP2KKDapaXevi6OnJXk0DkKzvOKY1w==\",\r\n \"storageUri\": \"https://sqlcrudtest3703.blob.core.windows.net/container/sqlcrudtest-2890.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\"\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "6e61e34d-9a37-4db4-8007-34cab9bd7206" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-3359/importExportOperationResults/c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"name\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\",\r\n \"properties\": {\r\n \"requestId\": \"c6d3eaa3-e654-47aa-bca9-bbf7e5a67676\",\r\n \"requestType\": \"Export\",\r\n \"queuedTime\": \"3/28/2018 7:16:06 PM\",\r\n \"lastModifiedTime\": \"3/28/2018 7:18:30 PM\",\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"serverName\": \"sqlcrudtest-4278\",\r\n \"databaseName\": \"sqlcrudtest-3359\",\r\n \"status\": \"Completed\",\r\n \"errorMessage\": null\r\n }\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + "application/json; charset=utf-8" ], + "Content-Length": [ + "370" + ] + }, + "ResponseHeaders": { "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:18:38 GMT" + "Mon, 07 Sep 2020 02:57:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview" ], "x-ms-request-id": [ - "ce58ab75-edea-4c15-b5f1-015f8901e4ff" + "990b7047-8439-43db-a05d-fc12eed50a3d" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "8e4d25be-5861-4ddc-85cc-290e1b8e05c9" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025759Z:8e4d25be-5861-4ddc-85cc-290e1b8e05c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "9f076a2d-3926-4fa9-9738-6799824b4c4d" + "Content-Length": [ + "65" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191838Z:9f076a2d-3926-4fa9-9738-6799824b4c4d" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"operation\": \"Import\",\r\n \"startTime\": \"2020-09-07T02:57:59.8129334Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2L2V4dGVuc2lvbnMvaW1wb3J0P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"0DIUmzA/jkRMHz1GYH+VIvW4FREPFYcuvglCojJvFynLWjYqPR/a06JyQ9jkUeflTExSfF9snssScCd+OfkxoQ==\",\r\n \"storageUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\",\r\n \"operationMode\": \"Import\"\r\n }\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMTIzMTdiMWQtNjk3Yi00YTA3LTk3MGItZWY0ZjI3OThjMTYxLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "438" - ], - "x-ms-client-request-id": [ - "1c85c1e0-0765-4bc1-9063-696e3c1981f8" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"Import\",\r\n \"startTime\": \"2018-03-28T19:18:39.616Z\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "60" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:18:39 GMT" + "Mon, 07 Sep 2020 02:58:14 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "20ceabc8-786b-4ea8-94c7-78f70f556ace" + "122f70c2-f380-4f83-b87f-f2d21173250e" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" ], - "Preference-Applied": [ - "return-content" + "x-ms-correlation-request-id": [ + "b9f05bbd-5da6-4ee3-917b-1d9eb44065de" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025815Z:b9f05bbd-5da6-4ee3-917b-1d9eb44065de" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "01985b9e-7e88-43c1-af32-9072c431782f" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191839Z:01985b9e-7e88-43c1-af32-9072c431782f" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:57:59Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2L2V4dGVuc2lvbnMvaW1wb3J0L2ltcG9ydEV4dGVuc2lvbk9wZXJhdGlvblJlc3VsdHMvZTdkZmIyYjAtOWM5Ni00M2U2LWFhM2EtMWRkYTQ5YjY3NDcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMTIzMTdiMWQtNjk3Yi00YTA3LTk3MGItZWY0ZjI3OThjMTYxLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-5696\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:18:41 PM\",\r\n \"queuedTime\": \"3/28/2018 7:18:39 PM\",\r\n \"requestId\": \"e7dfb2b0-9c96-43e6-aa3a-1dda49b67470\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:19:09 GMT" + "Mon, 07 Sep 2020 02:58:29 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "da960106-f466-4ce2-a66d-fb2dda8622e9" + "8b206f90-99e2-44aa-b443-5e8275b259ca" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "7e14a86f-acf2-4393-ba79-f744336470ee" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025830Z:7e14a86f-acf2-4393-ba79-f744336470ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "99d81dc8-71c3-4f70-b046-fc6c426ab81b" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191910Z:99d81dc8-71c3-4f70-b046-fc6c426ab81b" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:57:59Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2L2V4dGVuc2lvbnMvaW1wb3J0L2ltcG9ydEV4dGVuc2lvbk9wZXJhdGlvblJlc3VsdHMvZTdkZmIyYjAtOWM5Ni00M2U2LWFhM2EtMWRkYTQ5YjY3NDcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMTIzMTdiMWQtNjk3Yi00YTA3LTk3MGItZWY0ZjI3OThjMTYxLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-5696\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:18:41 PM\",\r\n \"queuedTime\": \"3/28/2018 7:18:39 PM\",\r\n \"requestId\": \"e7dfb2b0-9c96-43e6-aa3a-1dda49b67470\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:19:39 GMT" + "Mon, 07 Sep 2020 02:58:45 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "36ea80c6-c495-472e-a821-ad20bc87611c" + "a80e84eb-f142-4ea3-ba32-7814c86b99ca" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "71fa73dd-6c67-4e2a-aaf3-a06b29843224" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025845Z:71fa73dd-6c67-4e2a-aaf3-a06b29843224" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "b38f8288-4922-4b2d-b5fb-2823f1571911" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T191940Z:b38f8288-4922-4b2d-b5fb-2823f1571911" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:57:59Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2L2V4dGVuc2lvbnMvaW1wb3J0L2ltcG9ydEV4dGVuc2lvbk9wZXJhdGlvblJlc3VsdHMvZTdkZmIyYjAtOWM5Ni00M2U2LWFhM2EtMWRkYTQ5YjY3NDcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMTIzMTdiMWQtNjk3Yi00YTA3LTk3MGItZWY0ZjI3OThjMTYxLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-5696\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:18:41 PM\",\r\n \"queuedTime\": \"3/28/2018 7:18:39 PM\",\r\n \"requestId\": \"e7dfb2b0-9c96-43e6-aa3a-1dda49b67470\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:20:10 GMT" + "Mon, 07 Sep 2020 02:59:00 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "80a93bad-ee51-43ba-8e10-e34afdd06210" + "d73e937b-ba3b-4f23-87b0-19d1704d92be" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "ff925df7-9537-4686-8bef-bc7986517e21" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025900Z:ff925df7-9537-4686-8bef-bc7986517e21" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "3455eb4c-8009-42c3-8eb3-f2ac8cef71aa" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T192010Z:3455eb4c-8009-42c3-8eb3-f2ac8cef71aa" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T02:58:59Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2L2V4dGVuc2lvbnMvaW1wb3J0L2ltcG9ydEV4dGVuc2lvbk9wZXJhdGlvblJlc3VsdHMvZTdkZmIyYjAtOWM5Ni00M2U2LWFhM2EtMWRkYTQ5YjY3NDcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vMTIzMTdiMWQtNjk3Yi00YTA3LTk3MGItZWY0ZjI3OThjMTYxLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-5696\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 7:18:41 PM\",\r\n \"queuedTime\": \"3/28/2018 7:18:39 PM\",\r\n \"requestId\": \"e7dfb2b0-9c96-43e6-aa3a-1dda49b67470\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-4278.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:20:40 GMT" + "Mon, 07 Sep 2020 02:59:15 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "93c6cafb-9b69-4002-ae65-ad17b4fb7782" + "41597dae-ba98-4beb-a11a-c37886891ba8" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "28f8b920-7339-429e-91a2-487ec46aac50" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025915Z:28f8b920-7339-429e-91a2-487ec46aac50" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "38dc17fd-ead0-4c7b-8f00-1f4c4c0d4339" + "Content-Length": [ + "103" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T192040Z:38dc17fd-ead0-4c7b-8f00-1f4c4c0d4339" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T02:59:11Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import/importExtensionOperationResults/e7dfb2b0-9c96-43e6-aa3a-1dda49b67470?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg3NTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC00Mjc4L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC01Njk2L2V4dGVuc2lvbnMvaW1wb3J0L2ltcG9ydEV4dGVuc2lvbk9wZXJhdGlvblJlc3VsdHMvZTdkZmIyYjAtOWM5Ni00M2U2LWFhM2EtMWRkYTQ5YjY3NDcwP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/12317b1d-697b-4a07-970b-ef4f2798c161-sqlcrudtest-6358?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvMTIzMTdiMWQtNjk3Yi00YTA3LTk3MGItZWY0ZjI3OThjMTYxLXNxbGNydWR0ZXN0LTYzNTg/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8751/providers/Microsoft.Sql/servers/sqlcrudtest-4278/databases/sqlcrudtest-5696/extensions/import\",\r\n \"name\": \"import\",\r\n \"type\": \"Microsoft.Sql/servers/databases/extensions\",\r\n \"properties\": {\r\n \"requestId\": \"e7dfb2b0-9c96-43e6-aa3a-1dda49b67470\",\r\n \"requestType\": \"Import\",\r\n \"queuedTime\": \"3/28/2018 7:18:39 PM\",\r\n \"lastModifiedTime\": \"3/28/2018 7:20:59 PM\",\r\n \"blobUri\": \"https://sqlcrudtest7398.blob.core.windows.net/container/sqlcrudtest-3359.bacpac\",\r\n \"serverName\": \"sqlcrudtest-4278\",\r\n \"databaseName\": \"sqlcrudtest-5696\",\r\n \"status\": \"Completed\",\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "620" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:21:10 GMT" + "Mon, 07 Sep 2020 02:59:15 GMT" + ], + "Pragma": [ + "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "19e6542d-bfd9-4da8-8852-412d10408ef4" + "112f384d-a53f-447a-9503-fff3c6839d55" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "70c7627c-25de-4866-9617-efacff00feb8" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T025915Z:70c7627c-25de-4866-9617-efacff00feb8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "67c491a7-9194-4a11-983c-4f5c316bf682" + "Content-Length": [ + "555" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T192111Z:67c491a7-9194-4a11-983c-4f5c316bf682" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"requestType\": \"ImportToExistingDatabase\",\r\n \"queuedTime\": \"9/7/2020 2:57:58 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 2:59:11 AM\",\r\n \"blobUri\": \"https://sqlcrudtest3703.blob.core.windows.net/container/sqlcrudtest-2890.bacpac\",\r\n \"serverName\": \"sqlcrudtest-6358\",\r\n \"databaseName\": \"sqlcrudtest-1088\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"name\": \"12317b1d-697b-4a07-970b-ef4f2798c161\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourcegroups/sqlcrudtest-8751?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg3NTE/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-9985?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTk5ODU/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9dcf76da-4148-48a8-a4b8-e1b39db98b8d" + "79162562-361c-4bb8-970c-62e4c20ae476" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 19:21:13 GMT" + "Mon, 07 Sep 2020 02:59:16 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDg3NTEtV0VTVEVVUk9QRSIsImpvYkxvY2F0aW9uIjoid2VzdGV1cm9wZSJ9?api-version=2017-05-10" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDk5ODUtV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2017-05-10" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" ], "x-ms-request-id": [ - "516563ff-d062-4846-8f75-8fc2b67bc3de" + "497117a1-6f6f-4c53-8298-a75b0c0075dc" ], "x-ms-correlation-request-id": [ - "516563ff-d062-4846-8f75-8fc2b67bc3de" + "497117a1-6f6f-4c53-8298-a75b0c0075dc" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T192113Z:516563ff-d062-4846-8f75-8fc2b67bc3de" + "BRAZILUS:20200907T025917Z:497117a1-6f6f-4c53-8298-a75b0c0075dc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 202 } ], "Names": { "CreateResourceGroup": [ - "sqlcrudtest-8751" + "sqlcrudtest-9985" ], "CreateServer": [ - "sqlcrudtest-4278" - ], - "CreateStorageContainer": [ - "sqlcrudtest7398" + "sqlcrudtest-6358" ], "TestImportExport": [ - "sqlcrudtest-3359", - "sqlcrudtest-5696", - "sqlcrudstorage2090", - "sqlcrudtest-7057" + "sqlcrudtest3703", + "sqlcrudtest-2890", + "sqlcrudtest-1088", + "sqlcrudtest-5354" ] }, "Variables": { - "SubscriptionId": "df7c055c-6310-4374-9852-10ef71ce5f85", - "DefaultLocation": "West Europe" + "SubscriptionId": "b75889fa-6661-44e0-a844-cd96ec938991", + "DefaultLocation": "West Central US" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportExistingDatabase_NetworkIsolation.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportExistingDatabase_NetworkIsolation.json new file mode 100644 index 000000000000..937d0773e46a --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportExistingDatabase_NetworkIsolation.json @@ -0,0 +1,4873 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-8442?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg0NDI/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West Central US\",\r\n \"tags\": {\r\n \"sqlcrudtest-8442\": \"2020-09-07 00:29:38Z\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9ccfa48e-6758-4ab5-8c9e-8e9cebf487ad" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "104" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:29:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "122af567-78f0-4f82-b2c2-4f120b649a9f" + ], + "x-ms-correlation-request-id": [ + "122af567-78f0-4f82-b2c2-4f120b649a9f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T002940Z:122af567-78f0-4f82-b2c2-4f120b649a9f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "243" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442\",\r\n \"name\": \"sqlcrudtest-8442\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {\r\n \"sqlcrudtest-8442\": \"2020-09-07 00:29:38Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"West Central US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ae078c9b-7e41-41c3-87d0-e9323ae2e5ef" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "189" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:29:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverOperationResults/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "78fac0b7-7960-4ddc-b236-e5f7788c5cfb" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "48831053-30a5-4e28-adad-cb612503fc04" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T002942Z:48831053-30a5-4e28-adad-cb612503fc04" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83OGZhYzBiNy03OTYwLTRkZGMtYjIzNi1lNWY3Nzg4YzVjZmI/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:29:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "df3cfd9a-9ca0-47ca-abe8-253e5e100aa2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11947" + ], + "x-ms-correlation-request-id": [ + "aa17813b-495d-4e4b-8a68-2276d5eaaf63" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T002943Z:aa17813b-495d-4e4b-8a68-2276d5eaaf63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"78fac0b7-7960-4ddc-b236-e5f7788c5cfb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83OGZhYzBiNy03OTYwLTRkZGMtYjIzNi1lNWY3Nzg4YzVjZmI/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:29:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "30808eec-1480-4f63-96b6-e8199fca7802" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11946" + ], + "x-ms-correlation-request-id": [ + "7054ede1-c982-4f0a-9fc9-9020010d7c3a" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T002944Z:7054ede1-c982-4f0a-9fc9-9020010d7c3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"78fac0b7-7960-4ddc-b236-e5f7788c5cfb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83OGZhYzBiNy03OTYwLTRkZGMtYjIzNi1lNWY3Nzg4YzVjZmI/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:29:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "ddb4bb35-ebaa-4441-a4b5-517546661d33" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11945" + ], + "x-ms-correlation-request-id": [ + "1f8c3a6c-8b19-4455-9c50-c501f7ceedc7" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T002946Z:1f8c3a6c-8b19-4455-9c50-c501f7ceedc7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"78fac0b7-7960-4ddc-b236-e5f7788c5cfb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83OGZhYzBiNy03OTYwLTRkZGMtYjIzNi1lNWY3Nzg4YzVjZmI/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:29:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f3ed5b9b-f816-4aa4-82e1-5b1e4fc0dd97" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11944" + ], + "x-ms-correlation-request-id": [ + "7039e142-2c3a-4be0-9931-581c83600f5e" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T002947Z:7039e142-2c3a-4be0-9931-581c83600f5e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"78fac0b7-7960-4ddc-b236-e5f7788c5cfb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83OGZhYzBiNy03OTYwLTRkZGMtYjIzNi1lNWY3Nzg4YzVjZmI/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:29:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f4923da0-2457-40ba-9305-6b481ccebb80" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11943" + ], + "x-ms-correlation-request-id": [ + "b4621cba-5bf5-492b-a927-68c93d4a693f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T002948Z:b4621cba-5bf5-492b-a927-68c93d4a693f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"78fac0b7-7960-4ddc-b236-e5f7788c5cfb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83OGZhYzBiNy03OTYwLTRkZGMtYjIzNi1lNWY3Nzg4YzVjZmI/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "a9bfad2a-cae7-4244-9101-6b8b3057d401" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11942" + ], + "x-ms-correlation-request-id": [ + "2ca209c0-4170-48ca-a7d8-9874dd1ba680" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003008Z:2ca209c0-4170-48ca-a7d8-9874dd1ba680" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"78fac0b7-7960-4ddc-b236-e5f7788c5cfb\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/78fac0b7-7960-4ddc-b236-e5f7788c5cfb?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi83OGZhYzBiNy03OTYwLTRkZGMtYjIzNi1lNWY3Nzg4YzVjZmI/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "de5d31a9-ccf7-47c8-937f-76eb73cd79de" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11941" + ], + "x-ms-correlation-request-id": [ + "4110c94a-632c-46bd-aa8b-fac25bcc5846" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003028Z:4110c94a-632c-46bd-aa8b-fac25bcc5846" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"78fac0b7-7960-4ddc-b236-e5f7788c5cfb\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:29:42.48Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d55c0414-212a-425a-984b-bc1977f0fd1c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11940" + ], + "x-ms-correlation-request-id": [ + "6e7e2b64-b2a6-4d18-b995-464a271254cb" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003028Z:6e7e2b64-b2a6-4d18-b995-464a271254cb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "463" + ], + "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-2662.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662\",\r\n \"name\": \"sqlcrudtest-2662\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/firewallRules/sqlcrudtest-3093?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2ZpcmV3YWxsUnVsZXMvc3FsY3J1ZHRlc3QtMzA5Mz9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5856d4f1-048a-4ad0-8824-869c7fd8ee2b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "101" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:29 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "eeccf953-4fcb-4c61-9e8a-0df1e762514d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "0168e8bb-52a2-412c-8127-b3f3913318f9" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003029Z:0168e8bb-52a2-412c-8127-b3f3913318f9" + ], + "Content-Length": [ + "362" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/firewallRules/sqlcrudtest-3093\",\r\n \"name\": \"sqlcrudtest-3093\",\r\n \"type\": \"Microsoft.Sql/servers/firewallRules\",\r\n \"location\": \"West Central US\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6320?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02MzIwP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b1422dbd-7fae-4d14-b9c2-3da57861182c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseOperationResults/3279946b-1da7-48bb-b2f0-231027ec8ff8?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/3279946b-1da7-48bb-b2f0-231027ec8ff8?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "3279946b-1da7-48bb-b2f0-231027ec8ff8" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-correlation-request-id": [ + "11e1726c-89f9-4e6d-9c1e-f82d3d8fc5ec" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003030Z:11e1726c-89f9-4e6d-9c1e-f82d3d8fc5ec" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-07T00:30:30.057Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Storage/storageAccounts/sqlcrudtest8121?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDgxMjE/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"accessTier\": \"Cool\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9732f2e8-8f5a-43f3-9453-eff2f80a6aad" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "158" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/822b8f32-8676-4232-8dd0-d539f7526dbd?monitor=true&api-version=2017-06-01" + ], + "Retry-After": [ + "17" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "822b8f32-8676-4232-8dd0-d539f7526dbd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-correlation-request-id": [ + "284e73c6-15e2-40ed-9a4a-7d4b2dbb75ac" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003030Z:284e73c6-15e2-40ed-9a4a-7d4b2dbb75ac" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Content-Type": [ + "text/plain; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/3279946b-1da7-48bb-b2f0-231027ec8ff8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzMyNzk5NDZiLTFkYTctNDhiYi1iMmYwLTIzMTAyN2VjOGZmOD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8ce76bdc-b3aa-49c7-80e1-e913a22f3b96" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11939" + ], + "x-ms-correlation-request-id": [ + "40d55f3a-4caa-4e0b-823b-e6bdb07bea63" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003045Z:40d55f3a-4caa-4e0b-823b-e6bdb07bea63" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"3279946b-1da7-48bb-b2f0-231027ec8ff8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:30:30.057Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/3279946b-1da7-48bb-b2f0-231027ec8ff8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzMyNzk5NDZiLTFkYTctNDhiYi1iMmYwLTIzMTAyN2VjOGZmOD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "2fe16295-2bc5-47d7-9888-8621e2cba56b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11937" + ], + "x-ms-correlation-request-id": [ + "1b6e516d-25e6-4cf0-ba6f-9bfaa099ba0b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003100Z:1b6e516d-25e6-4cf0-ba6f-9bfaa099ba0b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"3279946b-1da7-48bb-b2f0-231027ec8ff8\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:30:30.057Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/3279946b-1da7-48bb-b2f0-231027ec8ff8?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzMyNzk5NDZiLTFkYTctNDhiYi1iMmYwLTIzMTAyN2VjOGZmOD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:31:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "13c24a28-aa24-4a8b-92b0-9c29a7f407e2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11936" + ], + "x-ms-correlation-request-id": [ + "5a3529f0-f640-468b-bb80-7b5c65bd1227" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003115Z:5a3529f0-f640-468b-bb80-7b5c65bd1227" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"3279946b-1da7-48bb-b2f0-231027ec8ff8\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:30:30.057Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/822b8f32-8676-4232-8dd0-d539f7526dbd?monitor=true&api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGNlbnRyYWx1cy9hc3luY29wZXJhdGlvbnMvODIyYjhmMzItODY3Ni00MjMyLThkZDAtZDUzOWY3NTI2ZGJkP21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "77f73e07-cd34-4482-ae37-545b0556830a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11938" + ], + "x-ms-correlation-request-id": [ + "6b6703f2-2a45-427e-8ad7-650703e8d32c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003047Z:6b6703f2-2a45-427e-8ad7-650703e8d32c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "980" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Storage/storageAccounts/sqlcrudtest8121\",\r\n \"name\": \"sqlcrudtest8121\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T00:30:29.6871846Z\"\r\n },\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T00:30:29.6871846Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Cool\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2020-09-07T00:30:29.640334Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sqlcrudtest8121.blob.core.windows.net/\",\r\n \"table\": \"https://sqlcrudtest8121.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"westcentralus\",\r\n \"statusOfPrimary\": \"available\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Storage/storageAccounts/sqlcrudtest8121/listKeys?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDgxMjEvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2ca8a1a5-8a95-44c9-91bb-cc4058a03c60" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:30:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8e38a67d-64a6-410d-aac7-34703ad83835" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "1e4ed03f-48b4-48bd-83f7-b54a8e4d2912" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003047Z:1e4ed03f-48b4-48bd-83f7-b54a8e4d2912" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "288" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"o85ddqivD3PybP6k+GQ8CLzjgOeGCMT33ZjoXKPqbg26BxArWmbkD0vm9QA+G/GyOlKc0Zh3l+OaPyoUy9ZZAQ==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"Q8ybku9nuf/F6Qu0lWJhT0dRlOBUeTNwvc+A7JTyM66EWgtT8/KLGiL3tRt1V9P6LnTqkBchsfg7NIoJDudH3Q==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6320?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02MzIwP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:31:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "30a6e4a9-ea26-479c-bb30-d71115168aa8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11935" + ], + "x-ms-correlation-request-id": [ + "5d39cda9-9f0c-49be-bcc5-700645614396" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003115Z:5d39cda9-9f0c-49be-bcc5-700645614396" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1023" + ], + "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\": \"cbef6d77-c842-4bdd-ab2c-bd2408e1c4d1\",\r\n \"creationDate\": \"2020-09-07T00:31:05.12Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T01:01:05.12Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6320\",\r\n \"name\": \"sqlcrudtest-6320\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6055?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02MDU1P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "53ebc746-5620-45d1-aa4d-96d8295b2a3d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:31:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseOperationResults/f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1187" + ], + "x-ms-correlation-request-id": [ + "9fb81b27-cc35-4095-8cb0-1d80e1fe39d0" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003116Z:9fb81b27-cc35-4095-8cb0-1d80e1fe39d0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-07T00:31:16.417Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2Y1Yjg4MWVkLTI2NGYtNGUxMS1hNmM5LWRjZmRiYmVlOWY4ZT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:31:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "ff1fc9b4-6d10-4a3e-af08-44cb28e65285" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11934" + ], + "x-ms-correlation-request-id": [ + "943d8961-344f-4d4e-901e-63053798b74e" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003131Z:943d8961-344f-4d4e-901e-63053798b74e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:31:16.417Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2Y1Yjg4MWVkLTI2NGYtNGUxMS1hNmM5LWRjZmRiYmVlOWY4ZT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:31:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "53ffd58f-c341-4898-b82d-44bc5f386413" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11933" + ], + "x-ms-correlation-request-id": [ + "d15f4625-6f20-4258-9be3-afcfb5423d30" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003146Z:d15f4625-6f20-4258-9be3-afcfb5423d30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:31:16.417Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2Y1Yjg4MWVkLTI2NGYtNGUxMS1hNmM5LWRjZmRiYmVlOWY4ZT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:32:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "837e668d-3031-465e-8211-8e2e9ff22045" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11932" + ], + "x-ms-correlation-request-id": [ + "7f004ff8-5b80-49bb-9364-290d78a7f9e2" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003201Z:7f004ff8-5b80-49bb-9364-290d78a7f9e2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"f5b881ed-264f-4e11-a6c9-dcfdbbee9f8e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:31:16.417Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6055?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02MDU1P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:32:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "1a8d873e-1352-4981-b36b-75211a6cf306" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11931" + ], + "x-ms-correlation-request-id": [ + "3b8de10d-6503-45a0-9ec9-b881b0c78150" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003202Z:3b8de10d-6503-45a0-9ec9-b881b0c78150" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1021" + ], + "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\": \"948d0b4e-ec1f-4a7f-aa0f-ebed31b9dae3\",\r\n \"creationDate\": \"2020-09-07T00:31:51.4Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T01:01:51.4Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6055\",\r\n \"name\": \"sqlcrudtest-6055\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6055?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02MDU1P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "45f6dbc9-1d04-4573-9870-603de464ed06" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:32:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "01ca833a-3847-4a01-b4d4-d5a7032f2ef6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11930" + ], + "x-ms-correlation-request-id": [ + "fd48bf39-fc8d-4786-967e-74e6a43d0878" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003202Z:fd48bf39-fc8d-4786-967e-74e6a43d0878" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1021" + ], + "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\": \"948d0b4e-ec1f-4a7f-aa0f-ebed31b9dae3\",\r\n \"creationDate\": \"2020-09-07T00:31:51.4Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T01:01:51.4Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6055\",\r\n \"name\": \"sqlcrudtest-6055\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6320/export?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02MzIwL2V4cG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"o85ddqivD3PybP6k+GQ8CLzjgOeGCMT33ZjoXKPqbg26BxArWmbkD0vm9QA+G/GyOlKc0Zh3l+OaPyoUy9ZZAQ==\",\r\n \"storageUri\": \"https://sqlcrudtest8121.blob.core.windows.net/container/sqlcrudtest-6320.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\",\r\n \"networkIsolation\": {\r\n \"storageAccountResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-8442/providers/Microsoft.Storage/storageAccounts/sqlcrudtest8121\",\r\n \"sqlServerResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a06a873c-14ab-4848-a832-e9e100b31da3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "744" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:32:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview" + ], + "x-ms-request-id": [ + "d18eb12e-14c8-4d14-805c-c67410f6e791" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "3cf0759f-ab74-4f0c-83a4-7699aff9ac95" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003203Z:3cf0759f-ab74-4f0c-83a4-7699aff9ac95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"Export\",\r\n \"startTime\": \"2020-09-07T00:32:03.5092004Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:32:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "ac0da7ae-8865-4ea0-b153-cb3ffb7474eb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11929" + ], + "x-ms-correlation-request-id": [ + "df0b16ff-c12d-41df-a895-0dee2e85f8cf" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003218Z:df0b16ff-c12d-41df-a895-0dee2e85f8cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:32:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:32:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d3143219-4c8c-462d-830a-9186344b8fec" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11928" + ], + "x-ms-correlation-request-id": [ + "debd5e63-d581-410a-9fa4-3b147fa0b093" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003234Z:debd5e63-d581-410a-9fa4-3b147fa0b093" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:32:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:32:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7a0dc535-8b5c-4fd4-b8e4-7b0ab7a08aaa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11927" + ], + "x-ms-correlation-request-id": [ + "2f86f99c-0bc6-40b0-b82e-de5a6fa09f60" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003249Z:2f86f99c-0bc6-40b0-b82e-de5a6fa09f60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:32:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:33:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "1349568d-27ec-48e1-bd1f-d4dd7fa051c8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11926" + ], + "x-ms-correlation-request-id": [ + "ebc83184-a769-4a90-97b3-f1b2872ffac9" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003304Z:ebc83184-a769-4a90-97b3-f1b2872ffac9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:33:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:33:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "40ed52fb-5e95-4337-90ec-cfc348aba1f8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11925" + ], + "x-ms-correlation-request-id": [ + "38b3feac-233f-4120-8171-f0bb24673417" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003319Z:38b3feac-233f-4120-8171-f0bb24673417" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:33:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:33:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "708b89c0-03f0-4d4c-8ba2-b54bf440654d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11924" + ], + "x-ms-correlation-request-id": [ + "00ee0d53-4bc2-4d70-b410-4bc3e1480077" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003334Z:00ee0d53-4bc2-4d70-b410-4bc3e1480077" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:33:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:33:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "17bcf614-da0e-4ff5-8ced-cd544d275196" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11923" + ], + "x-ms-correlation-request-id": [ + "05e72721-1633-4f14-b54b-67170ea91c1c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003349Z:05e72721-1633-4f14-b54b-67170ea91c1c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:33:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:34:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8aa4b4c8-cf84-4d4d-8d23-e036da2d2a50" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11922" + ], + "x-ms-correlation-request-id": [ + "e17b7d3b-9c81-4ed5-9b5f-30253014b648" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003405Z:e17b7d3b-9c81-4ed5-9b5f-30253014b648" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:34:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:34:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3d9847b6-3f8b-4cc2-8709-29f1ad122165" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11921" + ], + "x-ms-correlation-request-id": [ + "d6bc81f7-bdb1-44c7-94c9-de1d84632f6a" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003420Z:d6bc81f7-bdb1-44c7-94c9-de1d84632f6a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:34:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:34:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9e56a43d-f7c4-449a-a331-a1f3c866b05a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11920" + ], + "x-ms-correlation-request-id": [ + "31ecbacf-6f3c-413c-aba1-2614b8776f8d" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003435Z:31ecbacf-6f3c-413c-aba1-2614b8776f8d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:34:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:34:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "0292f98f-b791-4709-b64a-91be4c60d5e1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11919" + ], + "x-ms-correlation-request-id": [ + "9d35fbf3-51dd-43a5-b530-9a11a2c9b7e3" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003450Z:9d35fbf3-51dd-43a5-b530-9a11a2c9b7e3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:34:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:35:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "79d27891-fdd1-4584-9198-266d1bdbfa30" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11918" + ], + "x-ms-correlation-request-id": [ + "fa32ba30-e2c0-4627-8726-825cb3fcda86" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003505Z:fa32ba30-e2c0-4627-8726-825cb3fcda86" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:35:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:35:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "84ff289a-a03c-4a38-95dd-85b6d76c421c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11917" + ], + "x-ms-correlation-request-id": [ + "83355413-35d5-4947-bf5d-50b22a2d09d4" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003520Z:83355413-35d5-4947-bf5d-50b22a2d09d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:35:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:35:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f562676c-55c9-470d-9575-294f14cca624" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11916" + ], + "x-ms-correlation-request-id": [ + "17f0ccd2-26f8-4f0d-b741-9f362be78dc6" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003536Z:17f0ccd2-26f8-4f0d-b741-9f362be78dc6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:35:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:35:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "e89a3216-b5db-4a10-99d0-ab935443700d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11915" + ], + "x-ms-correlation-request-id": [ + "6afd11d1-b5f7-4850-86b9-75d1c4f1c203" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003551Z:6afd11d1-b5f7-4850-86b9-75d1c4f1c203" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:35:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:36:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3e3eb601-4e13-44db-a5da-a17ac7d5fde4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11914" + ], + "x-ms-correlation-request-id": [ + "b0e67dae-34dc-4ffa-bb26-13eaec7c7b9e" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003606Z:b0e67dae-34dc-4ffa-bb26-13eaec7c7b9e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:36:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:36:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "4f1dfff2-fa47-459b-b8cd-52d6715e8b76" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11913" + ], + "x-ms-correlation-request-id": [ + "56ff8f01-aa0d-43e7-b687-0256fcbfb937" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003621Z:56ff8f01-aa0d-43e7-b687-0256fcbfb937" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:36:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:36:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b237bb5f-b476-4eb8-9b24-ec7257b4a7f4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11912" + ], + "x-ms-correlation-request-id": [ + "2fd23a05-0e7e-4a47-bc90-26680f4b3859" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003636Z:2fd23a05-0e7e-4a47-bc90-26680f4b3859" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:36:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:36:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "0e35dd50-d988-4e39-89f6-4227d8c57d4c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11911" + ], + "x-ms-correlation-request-id": [ + "f1a9a651-403b-4932-ac5e-f0ef78a2d6f0" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003651Z:f1a9a651-403b-4932-ac5e-f0ef78a2d6f0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:36:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:37:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d99ca0b6-d95a-4548-bb0b-685580506f49" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11910" + ], + "x-ms-correlation-request-id": [ + "89e6843f-c30a-4561-bfbb-abd022c65485" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003706Z:89e6843f-c30a-4561-bfbb-abd022c65485" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:37:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:37:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9c553578-e9c2-4a68-9018-4f8e922f1711" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11909" + ], + "x-ms-correlation-request-id": [ + "218b1379-cbbf-44e3-9676-4fdd1d251726" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003722Z:218b1379-cbbf-44e3-9676-4fdd1d251726" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:37:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:37:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f97edd1e-bf15-45a2-b61d-d8200458aa83" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11908" + ], + "x-ms-correlation-request-id": [ + "17dd5167-242f-454d-865b-4688c9177ead" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003737Z:17dd5167-242f-454d-865b-4688c9177ead" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:37:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:37:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "45bdeab5-3e31-46d9-9de0-6bc4dce13392" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11907" + ], + "x-ms-correlation-request-id": [ + "c7a45b5e-6a88-49b3-a1d9-5c2003926284" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003752Z:c7a45b5e-6a88-49b3-a1d9-5c2003926284" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:37:02Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:38:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "6ae01adf-b147-4c4e-8033-e4889907a259" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11906" + ], + "x-ms-correlation-request-id": [ + "7595af20-41b3-4ce1-9a1e-825f6da338c6" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003807Z:7595af20-41b3-4ce1-9a1e-825f6da338c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:38:03Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:38:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "ff3308f2-7b19-42ba-8105-087f8a6f29ed" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11905" + ], + "x-ms-correlation-request-id": [ + "9732fc63-96df-4f5a-bd45-9e56916c9a3a" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003822Z:9732fc63-96df-4f5a-bd45-9e56916c9a3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:38:09Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/a2d6257d-0980-44d2-8f47-8866c3f5db8a-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYTJkNjI1N2QtMDk4MC00NGQyLThmNDctODg2NmMzZjVkYjhhLXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:38:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "e807de07-994b-42ae-bc7c-7f28d37ab945" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11904" + ], + "x-ms-correlation-request-id": [ + "88742319-b87f-4fb5-8453-d8e022f4af46" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003823Z:88742319-b87f-4fb5-8453-d8e022f4af46" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "547" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"requestType\": \"ExportDatabase\",\r\n \"queuedTime\": \"9/7/2020 12:32:02 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 12:38:09 AM\",\r\n \"blobUri\": \"https://sqlcrudtest8121.blob.core.windows.net/container/sqlcrudtest-6320.bacpac\",\r\n \"serverName\": \"sqlcrudtest-2662\",\r\n \"databaseName\": \"sqlcrudtest-6320\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"name\": \"a2d6257d-0980-44d2-8f47-8866c3f5db8a\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662/databases/sqlcrudtest-6055/import?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg0NDIvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0yNjYyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC02MDU1L2ltcG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"o85ddqivD3PybP6k+GQ8CLzjgOeGCMT33ZjoXKPqbg26BxArWmbkD0vm9QA+G/GyOlKc0Zh3l+OaPyoUy9ZZAQ==\",\r\n \"storageUri\": \"https://sqlcrudtest8121.blob.core.windows.net/container/sqlcrudtest-6320.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\",\r\n \"networkIsolation\": {\r\n \"storageAccountResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-8442/providers/Microsoft.Storage/storageAccounts/sqlcrudtest8121\",\r\n \"sqlServerResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8442/providers/Microsoft.Sql/servers/sqlcrudtest-2662\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a13e4ba9-7f2f-4193-8ab7-c20e477e80c0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "744" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:38:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview" + ], + "x-ms-request-id": [ + "c0bb4d58-7450-49c3-bd10-ed4a55e6f164" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "0f0f45c1-0ba1-4938-8751-9741f1ca2df3" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003824Z:0f0f45c1-0ba1-4938-8751-9741f1ca2df3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "64" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"Import\",\r\n \"startTime\": \"2020-09-07T00:38:24.444665Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:38:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8ec1e82c-696c-4549-bfd0-dad01f791f80" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11903" + ], + "x-ms-correlation-request-id": [ + "17f1a1fc-bb0a-4ab0-a2a7-cc23ae9d5a04" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003839Z:17f1a1fc-bb0a-4ab0-a2a7-cc23ae9d5a04" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:38:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:38:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d9caf023-4330-4b89-b244-1168fd7e20ac" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11902" + ], + "x-ms-correlation-request-id": [ + "309fc9f4-a221-4a85-a309-b1ec26aca9bd" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003854Z:309fc9f4-a221-4a85-a309-b1ec26aca9bd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:38:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:39:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "45abf6f0-f2c1-426b-ae0b-26dd703a6921" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11901" + ], + "x-ms-correlation-request-id": [ + "780ca88c-904e-40d0-b4ed-9b486fd7b31e" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003909Z:780ca88c-904e-40d0-b4ed-9b486fd7b31e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:38:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:39:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "598fcded-3cdd-4691-90cc-f78c307d4f96" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11900" + ], + "x-ms-correlation-request-id": [ + "b4ef784c-58a2-4104-9b16-be84f13e3712" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003925Z:b4ef784c-58a2-4104-9b16-be84f13e3712" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:39:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:39:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f36b72d1-b429-45f9-9101-b5621deb1f7d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11899" + ], + "x-ms-correlation-request-id": [ + "17e3b189-4111-4eb5-8a44-fc3e5857a47e" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003940Z:17e3b189-4111-4eb5-8a44-fc3e5857a47e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:39:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:39:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "85141d0e-691a-4b24-8b2a-f873920cf8d7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11898" + ], + "x-ms-correlation-request-id": [ + "e60b1d0e-637e-475a-9c55-84c20fc71dd5" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T003955Z:e60b1d0e-637e-475a-9c55-84c20fc71dd5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:39:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:40:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "a97d09ed-b0ee-4736-8f40-ce590eaa3da7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11897" + ], + "x-ms-correlation-request-id": [ + "24981533-eb5e-44b4-a023-5d8da2a3880f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004010Z:24981533-eb5e-44b4-a023-5d8da2a3880f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:39:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:40:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7dad0b13-336a-4cd0-b4e1-afffcb7894ca" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11896" + ], + "x-ms-correlation-request-id": [ + "0e3402f3-b8d5-41ba-9800-9016483d063c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004025Z:0e3402f3-b8d5-41ba-9800-9016483d063c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:40:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:40:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b65bf13f-4d37-4dee-820a-339ae6c92266" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11895" + ], + "x-ms-correlation-request-id": [ + "3352c39a-0e86-4168-8736-a853e169d9c2" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004041Z:3352c39a-0e86-4168-8736-a853e169d9c2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:40:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:40:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "35ec8e32-4ce1-49a6-8bfa-3a6e85476747" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11894" + ], + "x-ms-correlation-request-id": [ + "f48e6d7e-0397-4b71-94f5-7fd9e9f2dd77" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004056Z:f48e6d7e-0397-4b71-94f5-7fd9e9f2dd77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:40:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:41:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5e68ea2f-2d93-450a-9d1f-b262c1c51ca7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11893" + ], + "x-ms-correlation-request-id": [ + "c351dc74-acd0-4762-b43c-2589a97806d9" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004111Z:c351dc74-acd0-4762-b43c-2589a97806d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:40:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:41:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3858deb9-3a4c-41af-9f9f-cde820ba1cc1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11892" + ], + "x-ms-correlation-request-id": [ + "c1cbb570-dd0d-45ed-8921-cb0fcd20594c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004126Z:c1cbb570-dd0d-45ed-8921-cb0fcd20594c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:41:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:41:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "af84ad2f-85c8-4773-a7b8-9900cfd68efb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11891" + ], + "x-ms-correlation-request-id": [ + "fe2cbe7f-373f-4621-a8e9-f078bee61686" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004141Z:fe2cbe7f-373f-4621-a8e9-f078bee61686" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:41:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:41:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5c644b03-b5f8-498d-b689-b3a4134d2f13" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11890" + ], + "x-ms-correlation-request-id": [ + "5dd38428-9f53-450a-b886-0233fccefa65" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004157Z:5dd38428-9f53-450a-b886-0233fccefa65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:41:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:42:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "93690584-2483-4f55-a74f-605846f3e7ed" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11889" + ], + "x-ms-correlation-request-id": [ + "53c54c75-8c0d-44c7-87ef-2d0b2b512669" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004212Z:53c54c75-8c0d-44c7-87ef-2d0b2b512669" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:41:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:42:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "cd6ca37b-b782-4835-aaee-5c9d6e51d39a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11888" + ], + "x-ms-correlation-request-id": [ + "bef900b4-d35e-4093-98a8-93d63cb17872" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004227Z:bef900b4-d35e-4093-98a8-93d63cb17872" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:42:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:42:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "12f872c4-2202-4104-9c24-fb18f1da7597" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11887" + ], + "x-ms-correlation-request-id": [ + "efd993c9-e687-4cbe-a034-fc7ced39d935" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004242Z:efd993c9-e687-4cbe-a034-fc7ced39d935" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:42:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:42:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "53fef295-29da-409b-99dc-6a70bd11774b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11886" + ], + "x-ms-correlation-request-id": [ + "513fead8-ae8d-4857-a906-2d01efae9caf" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004257Z:513fead8-ae8d-4857-a906-2d01efae9caf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:42:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:43:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "086dad36-3e4f-4edf-99aa-ed57a0adc16e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11885" + ], + "x-ms-correlation-request-id": [ + "78e5eb1d-b8eb-4c8b-b16a-c70eefaebeb9" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004312Z:78e5eb1d-b8eb-4c8b-b16a-c70eefaebeb9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:42:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:43:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "fdf24b22-6916-4b2e-9232-10563381d30c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11884" + ], + "x-ms-correlation-request-id": [ + "4199b69b-ff98-4ad2-a68a-1ab925e6f1ad" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004328Z:4199b69b-ff98-4ad2-a68a-1ab925e6f1ad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:43:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:43:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bd8cbca2-931e-4277-bbc9-3ab0633de069" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11883" + ], + "x-ms-correlation-request-id": [ + "f13d7602-026a-4a29-b123-6612f5c7d992" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004343Z:f13d7602-026a-4a29-b123-6612f5c7d992" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:43:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:43:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9046f591-528e-4220-ac57-02b69b915ef6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11882" + ], + "x-ms-correlation-request-id": [ + "3744876b-f4c8-4ad4-8204-fb93d87a67d2" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004358Z:3744876b-f4c8-4ad4-8204-fb93d87a67d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:43:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:44:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5d8c91b0-c5c7-4fc7-a550-772752a1bded" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11881" + ], + "x-ms-correlation-request-id": [ + "0d972298-5dfe-4769-9ea3-18ef6c7ba7c0" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004413Z:0d972298-5dfe-4769-9ea3-18ef6c7ba7c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:43:23Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:44:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "252fdc18-aed7-4871-9ca8-4a9a97172163" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11880" + ], + "x-ms-correlation-request-id": [ + "5b8fa441-4d7e-49b7-9115-47934d71d7f3" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004428Z:5b8fa441-4d7e-49b7-9115-47934d71d7f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:44:20Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/8e70a762-9543-461e-8c7b-ba974669e247-sqlcrudtest-2662?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvOGU3MGE3NjItOTU0My00NjFlLThjN2ItYmE5NzQ2NjllMjQ3LXNxbGNydWR0ZXN0LTI2NjI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:44:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "a3355b76-b844-4c75-b033-d88deed5a834" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11879" + ], + "x-ms-correlation-request-id": [ + "c3c4ed26-9b3a-46df-a818-5c1be550aae0" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004429Z:c3c4ed26-9b3a-46df-a818-5c1be550aae0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "557" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"requestType\": \"ImportToExistingDatabase\",\r\n \"queuedTime\": \"9/7/2020 12:38:23 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 12:44:20 AM\",\r\n \"blobUri\": \"https://sqlcrudtest8121.blob.core.windows.net/container/sqlcrudtest-6320.bacpac\",\r\n \"serverName\": \"sqlcrudtest-2662\",\r\n \"databaseName\": \"sqlcrudtest-6055\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"name\": \"8e70a762-9543-461e-8c7b-ba974669e247\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-8442?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg0NDI/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9fe8adeb-ebba-4827-aac4-d9f05106d1f6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:44:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDg0NDItV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2017-05-10" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "be93c72d-834b-41ef-9e02-23f51e25915b" + ], + "x-ms-correlation-request-id": [ + "be93c72d-834b-41ef-9e02-23f51e25915b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004430Z:be93c72d-834b-41ef-9e02-23f51e25915b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + } + ], + "Names": { + "CreateResourceGroup": [ + "sqlcrudtest-8442" + ], + "CreateServer": [ + "sqlcrudtest-2662" + ], + "TestImportExport": [ + "sqlcrudtest8121", + "sqlcrudtest-6320", + "sqlcrudtest-6055", + "sqlcrudtest-3093" + ] + }, + "Variables": { + "SubscriptionId": "b75889fa-6661-44e0-a844-cd96ec938991", + "DefaultLocation": "West Central US" + } +} \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportNewDatabase.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportNewDatabase.json index c80dbf512e60..d010876c400e 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportNewDatabase.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportNewDatabase.json @@ -1,114 +1,108 @@ { "Entries": [ { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourcegroups/sqlcrudtest-8943?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg5NDM/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-8893?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg4OTM/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"West Europe\",\r\n \"tags\": {\r\n \"sqlcrudtest-8943\": \"2018-03-28 20:14:08Z\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"West Central US\",\r\n \"tags\": {\r\n \"sqlcrudtest-8893\": \"2020-09-07 03:02:16Z\"\r\n }\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "100" - ], "x-ms-client-request-id": [ - "c38919bd-5e5d-4a60-8df0-3472490df552" + "9dcdcb46-0557-4a03-856f-1ab2d28cb3f7" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943\",\r\n \"name\": \"sqlcrudtest-8943\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {\r\n \"sqlcrudtest-8943\": \"2018-03-28 20:14:08Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "240" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "104" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:14:10 GMT" + "Mon, 07 Sep 2020 03:02:17 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1195" ], "x-ms-request-id": [ - "c470f580-5bb5-43a8-8ea6-0dbf744d8412" + "0df73153-6e62-40b7-98a5-5a27803b045d" ], "x-ms-correlation-request-id": [ - "c470f580-5bb5-43a8-8ea6-0dbf744d8412" + "0df73153-6e62-40b7-98a5-5a27803b045d" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201411Z:c470f580-5bb5-43a8-8ea6-0dbf744d8412" + "BRAZILUS:20200907T030218Z:0df73153-6e62-40b7-98a5-5a27803b045d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "243" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893\",\r\n \"name\": \"sqlcrudtest-8893\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {\r\n \"sqlcrudtest-8893\": \"2020-09-07 03:02:16Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MTU5P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"tags\": {},\r\n \"location\": \"West Europe\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"West Central US\",\r\n \"tags\": {}\r\n}", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "185" - ], "x-ms-client-request-id": [ - "dad34009-4c13-43d8-a78e-f77d90e6dc19" + "43516757-25bb-47ef-9f72-d0252ab0ab78" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2018-03-28T20:14:16.677Z\"\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "74" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "189" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:14:16 GMT" + "Mon, 07 Sep 2020 03:02:20 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/serverOperationResults/37eb91b8-3261-43a0-ba7d-1443e643ff4f?api-version=2015-05-01-preview" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverOperationResults/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview" ], "Retry-After": [ "1" @@ -117,638 +111,622 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37eb91b8-3261-43a0-ba7d-1443e643ff4f?api-version=2015-05-01-preview" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "37eb91b8-3261-43a0-ba7d-1443e643ff4f" + "28089140-f289-43b7-b0cc-9512b5cb1a6e" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "22a856c3-58d7-420c-9a10-874fbc5781ac" + "9b2e0acb-2459-4e94-9256-406d4d650b23" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201416Z:22a856c3-58d7-420c-9a10-874fbc5781ac" + "BRAZILUS:20200907T030221Z:9b2e0acb-2459-4e94-9256-406d4d650b23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37eb91b8-3261-43a0-ba7d-1443e643ff4f?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zN2ViOTFiOC0zMjYxLTQzYTAtYmE3ZC0xNDQzZTY0M2ZmNGY/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yODA4OTE0MC1mMjg5LTQzYjctYjBjYy05NTEyYjVjYjFhNmU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"37eb91b8-3261-43a0-ba7d-1443e643ff4f\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T20:14:16.677Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:14:26 GMT" + "Mon, 07 Sep 2020 03:02:22 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ - "20" + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "328aab6e-5dec-45f7-89d2-a360f84edc7b" + "fc007180-1472-4758-b0f7-973947cc038a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14999" + "11999" ], "x-ms-correlation-request-id": [ - "6e196cdd-2541-45eb-857b-d5384651cfe8" + "4fb4c299-f612-41b3-9d9b-bcf8fd6fff4f" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201427Z:6e196cdd-2541-45eb-857b-d5384651cfe8" + "BRAZILUS:20200907T030222Z:4fb4c299-f612-41b3-9d9b-bcf8fd6fff4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"28089140-f289-43b7-b0cc-9512b5cb1a6e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37eb91b8-3261-43a0-ba7d-1443e643ff4f?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zN2ViOTFiOC0zMjYxLTQzYTAtYmE3ZC0xNDQzZTY0M2ZmNGY/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yODA4OTE0MC1mMjg5LTQzYjctYjBjYy05NTEyYjVjYjFhNmU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"37eb91b8-3261-43a0-ba7d-1443e643ff4f\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T20:14:16.677Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:14:47 GMT" + "Mon, 07 Sep 2020 03:02:23 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ - "20" + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "9406761a-7761-4413-a546-bdcbe0880026" + "311cd087-088e-4eda-858f-c9ef25ff411f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" + "11998" ], "x-ms-correlation-request-id": [ - "d71acfc9-1aec-452b-94c8-1c22b00e1e22" + "036e5f3a-ef8b-41d0-be8e-1ab5a510fbfb" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201447Z:d71acfc9-1aec-452b-94c8-1c22b00e1e22" + "BRAZILUS:20200907T030223Z:036e5f3a-ef8b-41d0-be8e-1ab5a510fbfb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"28089140-f289-43b7-b0cc-9512b5cb1a6e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/serverAzureAsyncOperation/37eb91b8-3261-43a0-ba7d-1443e643ff4f?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8zN2ViOTFiOC0zMjYxLTQzYTAtYmE3ZC0xNDQzZTY0M2ZmNGY/YXBpLXZlcnNpb249MjAxNS0wNS0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yODA4OTE0MC1mMjg5LTQzYjctYjBjYy05NTEyYjVjYjFhNmU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"37eb91b8-3261-43a0-ba7d-1443e643ff4f\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-28T20:14:16.677Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:07 GMT" + "Mon, 07 Sep 2020 03:02:24 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ - "15" + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "9799486c-6b08-44b2-8777-c441146ed6c2" + "c773da11-fcc1-4944-91ef-d93362325a65" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "11997" ], "x-ms-correlation-request-id": [ - "1d95ebee-cb12-4d5f-b764-7d9f52cf6bf4" + "f55d16c3-ffbb-4421-a844-fe4040040b93" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201507Z:1d95ebee-cb12-4d5f-b764-7d9f52cf6bf4" + "BRAZILUS:20200907T030225Z:f55d16c3-ffbb-4421-a844-fe4040040b93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"28089140-f289-43b7-b0cc-9512b5cb1a6e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286?api-version=2015-05-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yODA4OTE0MC1mMjg5LTQzYjctYjBjYy05NTEyYjVjYjFhNmU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "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-7286.database.windows.net\"\r\n },\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286\",\r\n \"name\": \"sqlcrudtest-7286\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:07 GMT" + "Mon, 07 Sep 2020 03:02:25 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "97a7872d-fce5-40e2-b65a-6fe495f9efb3" + "aebfc68d-7e90-49ba-ad9c-c1ab45d6b412" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "11996" ], "x-ms-correlation-request-id": [ - "81bd894c-e9a1-4c8b-b838-1175dcb400fa" + "36e1a338-737d-445f-84e1-7e777fbd913c" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201507Z:81bd894c-e9a1-4c8b-b838-1175dcb400fa" + "BRAZILUS:20200907T030226Z:36e1a338-737d-445f-84e1-7e777fbd913c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"28089140-f289-43b7-b0cc-9512b5cb1a6e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/firewallRules/sqlcrudtest-9372?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ZpcmV3YWxsUnVsZXMvc3FsY3J1ZHRlc3QtOTM3Mj9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yODA4OTE0MC1mMjg5LTQzYjctYjBjYy05NTEyYjVjYjFhNmU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "101" - ], - "x-ms-client-request-id": [ - "3f34eedd-f547-4df9-aa4a-b620a0cb4c54" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/firewallRules/sqlcrudtest-9372\",\r\n \"name\": \"sqlcrudtest-9372\",\r\n \"type\": \"Microsoft.Sql/servers/firewallRules\",\r\n \"location\": \"West Europe\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "358" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:13 GMT" + "Mon, 07 Sep 2020 03:02:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "63a647f8-95f2-4efe-bc49-8396a559e542" + "4cac752d-b87d-40f8-81b3-81e9d2651127" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" ], - "Preference-Applied": [ - "return-content" + "x-ms-correlation-request-id": [ + "e3e6be18-4e8e-45ab-bcc2-6b1b0fb0c014" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030227Z:e3e6be18-4e8e-45ab-bcc2-6b1b0fb0c014" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "229658b9-0b05-471e-ab9f-d9290147cb7d" + "Content-Length": [ + "107" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201514Z:229658b9-0b05-471e-ab9f-d9290147cb7d" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 201 + "ResponseBody": "{\r\n \"name\": \"28089140-f289-43b7-b0cc-9512b5cb1a6e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Storage/storageAccounts/sqlcrudtest5639?api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDU2Mzk/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"location\": \"westeurope\",\r\n \"properties\": {\r\n \"accessTier\": \"Cool\"\r\n }\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yODA4OTE0MC1mMjg5LTQzYjctYjBjYy05NTEyYjVjYjFhNmU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "155" - ], - "x-ms-client-request-id": [ - "69eca864-f513-4889-9c22-6786af1222f0" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Content-Type": [ - "text/plain; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:15 GMT" + "Mon, 07 Sep 2020 03:02:47 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/6e6103ba-2dfc-43f4-820b-254cc208d22c?monitor=true&api-version=2017-06-01" - ], "Retry-After": [ - "17" + "20" ], "Server": [ - "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "6e6103ba-2dfc-43f4-820b-254cc208d22c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "90d96e86-8798-4746-b2f3-fe752fac4c15" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" ], "x-ms-correlation-request-id": [ - "dfda19fa-ac0c-40cf-9426-d67d09e2c6d4" + "d6c568d0-7d35-400c-a418-a26d780a034d" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201516Z:dfda19fa-ac0c-40cf-9426-d67d09e2c6d4" + "BRAZILUS:20200907T030247Z:d6c568d0-7d35-400c-a418-a26d780a034d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"28089140-f289-43b7-b0cc-9512b5cb1a6e\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"westeurope\"\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/28089140-f289-43b7-b0cc-9512b5cb1a6e?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi8yODA4OTE0MC1mMjg5LTQzYjctYjBjYy05NTEyYjVjYjFhNmU/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "32" - ], - "x-ms-client-request-id": [ - "036db67d-675f-4c23-8019-82cb98195b0a" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2018-03-28T20:15:17.973Z\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "76" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:17 GMT" + "Mon, 07 Sep 2020 03:03:07 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/databaseOperationResults/f755ab2a-f79b-4015-9062-81faa03bdd11?api-version=2017-10-01-preview" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/f755ab2a-f79b-4015-9062-81faa03bdd11?api-version=2017-10-01-preview" - ], "x-ms-request-id": [ - "f755ab2a-f79b-4015-9062-81faa03bdd11" + "25be2977-469f-4b86-96ef-17fbc7f6ef8f" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" ], "x-ms-correlation-request-id": [ - "84b4b228-4aa2-4d3d-b9aa-48be83aebe87" + "65a7229e-c5cc-45ab-8c43-3e992d7b15c1" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201518Z:84b4b228-4aa2-4d3d-b9aa-48be83aebe87" + "BRAZILUS:20200907T030307Z:65a7229e-c5cc-45ab-8c43-3e992d7b15c1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/f755ab2a-f79b-4015-9062-81faa03bdd11?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2Y3NTVhYjJhLWY3OWItNDAxNS05MDYyLTgxZmFhMDNiZGQxMT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"28089140-f289-43b7-b0cc-9512b5cb1a6e\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T03:02:21.47Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MTU5P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"name\": \"f755ab2a-f79b-4015-9062-81faa03bdd11\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T20:15:17.973Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:33 GMT" + "Mon, 07 Sep 2020 03:03:07 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Retry-After": [ - "15" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "b7bfc771-0b2f-47bc-bdab-1dc95f2824df" + "02127c78-c2aa-459f-b83e-ef718a25e3c4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "11992" ], "x-ms-correlation-request-id": [ - "0d08baa6-5a31-4610-a8ff-2e7ac5e9981f" + "05bcaab4-2383-41f0-8b1a-7d9cca7203c0" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201533Z:0d08baa6-5a31-4610-a8ff-2e7ac5e9981f" + "BRAZILUS:20200907T030307Z:05bcaab4-2383-41f0-8b1a-7d9cca7203c0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "463" + ], + "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-6159.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159\",\r\n \"name\": \"sqlcrudtest-6159\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/f755ab2a-f79b-4015-9062-81faa03bdd11?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2Y3NTVhYjJhLWY3OWItNDAxNS05MDYyLTgxZmFhMDNiZGQxMT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159/firewallRules/sqlcrudtest-1321?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MTU5L2ZpcmV3YWxsUnVsZXMvc3FsY3J1ZHRlc3QtMTMyMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "44673ade-bdec-494d-9b25-1801aa56d358" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"f755ab2a-f79b-4015-9062-81faa03bdd11\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2018-03-28T20:15:17.973Z\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "101" + ] + }, + "ResponseHeaders": { "Cache-Control": [ - "no-cache" + "no-store, no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:47 GMT" + "Mon, 07 Sep 2020 03:03:08 GMT" ], - "Pragma": [ - "no-cache" + "Server": [ + "Microsoft-HTTPAPI/2.0" ], - "Transfer-Encoding": [ - "chunked" + "x-ms-request-id": [ + "49a100e4-9790-4380-a283-d0da803cba0b" ], - "Retry-After": [ - "15" + "X-Content-Type-Options": [ + "nosniff" ], - "Server": [ - "Microsoft-HTTPAPI/2.0" + "Preference-Applied": [ + "return-content" ], - "Vary": [ - "Accept-Encoding" + "DataServiceVersion": [ + "3.0;" ], - "x-ms-request-id": [ - "e057a42c-8647-4575-9faa-16eb42bf27d6" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-correlation-request-id": [ - "2f0eb52d-aaa3-4c5b-b622-67060b451a94" + "2807acf2-4696-4848-b7cc-83569d6adc5b" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201548Z:2f0eb52d-aaa3-4c5b-b622-67060b451a94" + "BRAZILUS:20200907T030308Z:2807acf2-4696-4848-b7cc-83569d6adc5b" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Length": [ + "362" ], - "X-Content-Type-Options": [ - "nosniff" + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159/firewallRules/sqlcrudtest-1321\",\r\n \"name\": \"sqlcrudtest-1321\",\r\n \"type\": \"Microsoft.Sql/servers/firewallRules\",\r\n \"location\": \"West Central US\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/locations/westeurope/databaseAzureAsyncOperation/f755ab2a-f79b-4015-9062-81faa03bdd11?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RldXJvcGUvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uL2Y3NTVhYjJhLWY3OWItNDAxNS05MDYyLTgxZmFhMDNiZGQxMT9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159/databases/sqlcrudtest-2439?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MTU5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDM5P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "2e94fe25-2efa-4cbf-bafa-ecfa3fbdef33" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" - ] - }, - "ResponseBody": "{\r\n \"name\": \"f755ab2a-f79b-4015-9062-81faa03bdd11\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-28T20:15:17.973Z\"\r\n}", - "ResponseHeaders": { + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:16:02 GMT" + "Mon, 07 Sep 2020 03:03:10 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/databaseOperationResults/871e114a-29e6-4aca-91aa-477abfc661f9?api-version=2019-06-01-preview" ], "Retry-After": [ "15" @@ -756,63 +734,77 @@ "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/871e114a-29e6-4aca-91aa-477abfc661f9?api-version=2019-06-01-preview" ], "x-ms-request-id": [ - "b5f97c63-611b-465c-a9a7-7a035c8861cc" + "871e114a-29e6-4aca-91aa-477abfc661f9" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-correlation-request-id": [ - "e5d8de87-c623-431d-9491-57b2cb838f56" + "d772ffca-3b45-49ae-8e0f-09c960e9477e" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201603Z:e5d8de87-c623-431d-9491-57b2cb838f56" + "BRAZILUS:20200907T030311Z:d772ffca-3b45-49ae-8e0f-09c960e9477e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 200 + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-07T03:03:10.953Z\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/6e6103ba-2dfc-43f4-820b-254cc208d22c?monitor=true&api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGV1cm9wZS9hc3luY29wZXJhdGlvbnMvNmU2MTAzYmEtMmRmYy00M2Y0LTgyMGItMjU0Y2MyMDhkMjJjP21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Storage/storageAccounts/sqlcrudtest4885?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDQ4ODU/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"accessTier\": \"Cool\"\r\n }\r\n}", "RequestHeaders": { + "x-ms-client-request-id": [ + "f949f466-9cd0-42a0-baff-aa9a797bfc30" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ - "FxVersion/4.6.26201.01", + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" ], "Content-Type": [ - "text/plain; charset=utf-8" - ], - "Expires": [ - "-1" + "application/json; charset=utf-8" ], + "Content-Length": [ + "158" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:33 GMT" + "Mon, 07 Sep 2020 03:03:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/6e6103ba-2dfc-43f4-820b-254cc208d22c?monitor=true&api-version=2017-06-01" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/8878f03d-650c-4af9-a8c5-4803fedd5a66?monitor=true&api-version=2017-06-01" ], "Retry-After": [ "17" @@ -821,1117 +813,1823 @@ "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "2b90a225-58cd-457e-83c6-63d609409981" + "8878f03d-650c-4af9-a8c5-4803fedd5a66" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14999" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-correlation-request-id": [ - "d504d263-3cf2-42ec-b46a-c1bafa2fb431" + "7599d6f2-c825-4cd6-8ff0-8a260a0a38b6" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201533Z:d504d263-3cf2-42ec-b46a-c1bafa2fb431" + "BRAZILUS:20200907T030311Z:7599d6f2-c825-4cd6-8ff0-8a260a0a38b6" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "0" + ], + "Content-Type": [ + "text/plain; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/providers/Microsoft.Storage/locations/westeurope/asyncoperations/6e6103ba-2dfc-43f4-820b-254cc208d22c?monitor=true&api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGV1cm9wZS9hc3luY29wZXJhdGlvbnMvNmU2MTAzYmEtMmRmYy00M2Y0LTgyMGItMjU0Y2MyMDhkMjJjP21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/871e114a-29e6-4aca-91aa-477abfc661f9?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzg3MWUxMTRhLTI5ZTYtNGFjYS05MWFhLTQ3N2FiZmM2NjFmOT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Storage/storageAccounts/sqlcrudtest5639\",\r\n \"name\": \"sqlcrudtest5639\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"westeurope\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"trustedDirectories\": [\r\n \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n ],\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2018-03-28T20:15:15.2727682Z\"\r\n },\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2018-03-28T20:15:15.2727682Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Cool\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2018-03-28T20:15:15.225909Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sqlcrudtest5639.blob.core.windows.net/\",\r\n \"table\": \"https://sqlcrudtest5639.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"westeurope\",\r\n \"statusOfPrimary\": \"available\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:50 GMT" + "Mon, 07 Sep 2020 03:03:25 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ - "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" + "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "af788bd0-5841-4b8b-ab6d-31048b687ba8" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "802b0fb6-264d-4c93-bb42-a13e335c89a5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" + "11991" ], "x-ms-correlation-request-id": [ - "f66917a2-aa52-4b86-9a2f-4b9e2f1cb95f" + "2ff8b41d-381f-42ac-92da-cade8aef713b" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201550Z:f66917a2-aa52-4b86-9a2f-4b9e2f1cb95f" + "BRAZILUS:20200907T030326Z:2ff8b41d-381f-42ac-92da-cade8aef713b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"871e114a-29e6-4aca-91aa-477abfc661f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:03:10.953Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Storage/storageAccounts/sqlcrudtest5639/listKeys?api-version=2017-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDU2MzkvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", - "RequestMethod": "POST", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/871e114a-29e6-4aca-91aa-477abfc661f9?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzg3MWUxMTRhLTI5ZTYtNGFjYS05MWFhLTQ3N2FiZmM2NjFmOT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "d000665a-a095-4a21-9fb8-f5416abade59" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"/ecn75SYaOXflaEtrTpGvlrbvhR2F9mcr2hjHjiNN61n0i8/WENGspPZt8JBjz6cdDmkJtjuwwwtmiy28wKQ0Q==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"4CdSPmr1tr8YGaLr5yzpcYgtJmVMV055xGD01NcZAOcWHPrhEmAISd0iu8WRizwG/j/oh1xXWXr8WA/6EUvBMg==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:15:50 GMT" + "Mon, 07 Sep 2020 03:03:41 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ - "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" + "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "0e8e5cc6-ea50-438c-81ed-e38a7925267a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "f17db49a-5728-41c8-97ff-c0eab0d9515c" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" ], "x-ms-correlation-request-id": [ - "608945af-422e-4668-bd94-9f3d7af2768f" + "86a9ec61-677b-4ac8-93fb-e00a8e6c3066" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201551Z:608945af-422e-4668-bd94-9f3d7af2768f" + "BRAZILUS:20200907T030341Z:86a9ec61-677b-4ac8-93fb-e00a8e6c3066" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"871e114a-29e6-4aca-91aa-477abfc661f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:03:10.953Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200?api-version=2017-10-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/871e114a-29e6-4aca-91aa-477abfc661f9?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzg3MWUxMTRhLTI5ZTYtNGFjYS05MWFhLTQ3N2FiZmM2NjFmOT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 10\r\n },\r\n \"kind\": \"v12.0,user\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 268435456000,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"a8b3abb9-d8ae-408c-8cde-43b292a8e1b3\",\r\n \"creationDate\": \"2018-03-28T20:15:18.237Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"North Europe\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2018-03-28T20:45:53.003Z\",\r\n \"readScale\": \"Disabled\"\r\n },\r\n \"location\": \"westeurope\",\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200\",\r\n \"name\": \"sqlcrudtest-2200\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:16:02 GMT" + "Mon, 07 Sep 2020 03:03:55 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "d6e5d154-8f8d-4ba5-a6c0-467dcdce5c1f" + "111eb5df-8378-49b6-90ed-1f95f5261403" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "11988" ], "x-ms-correlation-request-id": [ - "d01834a8-ced0-4dcd-b353-a487c8df76d0" + "1c2a68eb-3c15-41c7-81bb-a889394ab466" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T201603Z:d01834a8-ced0-4dcd-b353-a487c8df76d0" + "BRAZILUS:20200907T030356Z:1c2a68eb-3c15-41c7-81bb-a889394ab466" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"871e114a-29e6-4aca-91aa-477abfc661f9\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T03:03:10.953Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/export?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwL2V4cG9ydD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"/ecn75SYaOXflaEtrTpGvlrbvhR2F9mcr2hjHjiNN61n0i8/WENGspPZt8JBjz6cdDmkJtjuwwwtmiy28wKQ0Q==\",\r\n \"storageUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\"\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/8878f03d-650c-4af9-a8c5-4803fedd5a66?monitor=true&api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGNlbnRyYWx1cy9hc3luY29wZXJhdGlvbnMvODg3OGYwM2QtNjUwYy00YWY5LWE4YzUtNDgwM2ZlZGQ1YTY2P21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "370" - ], - "x-ms-client-request-id": [ - "3612d820-fd1a-48f4-87ea-25755ec8f9a4" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"Export\",\r\n \"startTime\": \"2018-03-28T20:16:04.861Z\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "60" + "Cache-Control": [ + "no-cache" ], - "Content-Type": [ - "application/xml; charset=utf-8" + "Date": [ + "Mon, 07 Sep 2020 03:03:28 GMT" ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "93994221-73c0-4ee9-bebd-fafc013f081b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "fac86c14-3f8f-44fd-a99f-3c227a7b61c4" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030328Z:fac86c14-3f8f-44fd-a99f-3c227a7b61c4" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "980" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Storage/storageAccounts/sqlcrudtest4885\",\r\n \"name\": \"sqlcrudtest4885\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T03:03:11.0287163Z\"\r\n },\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T03:03:11.0287163Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Cool\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2020-09-07T03:03:10.997461Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sqlcrudtest4885.blob.core.windows.net/\",\r\n \"table\": \"https://sqlcrudtest4885.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"westcentralus\",\r\n \"statusOfPrimary\": \"available\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Storage/storageAccounts/sqlcrudtest4885/listKeys?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDQ4ODUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9ace3093-6e03-4266-b4fa-15265beaf134" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:03:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f42d71fe-8b8a-437c-a3c2-1b69a3a72910" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "3ed72273-1e31-4830-b527-f69477127c30" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030328Z:3ed72273-1e31-4830-b527-f69477127c30" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "288" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"MIoS2huFuDdw9f/1ZdnTRhfuDoG8ATd/YhcJacdCK1b1EAVykwg6uhwEN+epJqe7SkQMksUEz3vwCGdZy8QjoQ==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"+P7x5dQ9AaPZ8pW8HItmAy+fJrKmJTPVyQb+wiTyEzvGDvw0HAE44ieqCS2rgrSx4fxAcTxfjrv58OjVyuwbtw==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159/databases/sqlcrudtest-2439?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MTU5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDM5P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:03:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b366caab-28c0-481b-b32a-4f6aaefd3a25" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "aa6121c8-eaa8-46f5-b783-be5416fe57e8" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030356Z:aa6121c8-eaa8-46f5-b783-be5416fe57e8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1025" + ], + "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\": \"4e334a6d-e601-4732-aafc-3cfd1dddf968\",\r\n \"creationDate\": \"2020-09-07T03:03:46.173Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T03:33:46.173Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159/databases/sqlcrudtest-2439\",\r\n \"name\": \"sqlcrudtest-2439\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159/databases/sqlcrudtest-2439/export?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MTU5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yNDM5L2V4cG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"MIoS2huFuDdw9f/1ZdnTRhfuDoG8ATd/YhcJacdCK1b1EAVykwg6uhwEN+epJqe7SkQMksUEz3vwCGdZy8QjoQ==\",\r\n \"storageUri\": \"https://sqlcrudtest4885.blob.core.windows.net/container/sqlcrudtest-2439.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4ca480a2-e007-43e1-afc5-b7de64f261ed" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "370" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:03:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview" + ], + "x-ms-request-id": [ + "a2f88b18-7e45-464f-a637-63ced313af5d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "8e0e75ff-24df-4045-a50c-38e73539c74c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030358Z:8e0e75ff-24df-4045-a50c-38e73539c74c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"Export\",\r\n \"startTime\": \"2020-09-07T03:03:58.1565663Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2YzMDEyMjUtMzFkMS00Mjk4LTkyNWItZjVkNzFiOWZjYWNmLXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:04:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "0c6230b5-8753-4929-9f67-1fb34efe65da" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "291af886-ca12-4e55-b3f1-6c96f5bef12f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030413Z:291af886-ca12-4e55-b3f1-6c96f5bef12f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:03:57Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2YzMDEyMjUtMzFkMS00Mjk4LTkyNWItZjVkNzFiOWZjYWNmLXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:04:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "be32b676-d82b-4b59-8fce-51c8aa557e27" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "8fdd35c5-6e15-4819-bfd9-eb146cbde7c7" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030428Z:8fdd35c5-6e15-4819-bfd9-eb146cbde7c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:03:57Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2YzMDEyMjUtMzFkMS00Mjk4LTkyNWItZjVkNzFiOWZjYWNmLXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:04:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "68f92b0b-b38f-486e-a65d-62af1b91c7e3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "0fdc9577-db40-49f2-80de-708f0a078ec9" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030443Z:0fdc9577-db40-49f2-80de-708f0a078ec9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:03:57Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2YzMDEyMjUtMzFkMS00Mjk4LTkyNWItZjVkNzFiOWZjYWNmLXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:04:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "6cf9dbfe-21e5-458c-a655-e4a1aec7af82" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "284bb8c0-8734-4096-a761-2560c9eef3dd" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030459Z:284bb8c0-8734-4096-a761-2560c9eef3dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:04:57Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2YzMDEyMjUtMzFkMS00Mjk4LTkyNWItZjVkNzFiOWZjYWNmLXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:05:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "1b977e85-2776-4879-b421-08a7895619cf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "c6b84eb7-3e3f-4667-afbf-d1ad7ac77552" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030514Z:c6b84eb7-3e3f-4667-afbf-d1ad7ac77552" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T03:05:09Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/cf301225-31d1-4298-925b-f5d71b9fcacf-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvY2YzMDEyMjUtMzFkMS00Mjk4LTkyNWItZjVkNzFiOWZjYWNmLXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:05:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bb13ee73-51b7-4e37-a3bc-f74869bddeab" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "7652febe-da81-4b16-b59b-b5351411dd02" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030514Z:7652febe-da81-4b16-b59b-b5351411dd02" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "545" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"requestType\": \"ExportDatabase\",\r\n \"queuedTime\": \"9/7/2020 3:03:57 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 3:05:09 AM\",\r\n \"blobUri\": \"https://sqlcrudtest4885.blob.core.windows.net/container/sqlcrudtest-2439.bacpac\",\r\n \"serverName\": \"sqlcrudtest-6159\",\r\n \"databaseName\": \"sqlcrudtest-2439\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"name\": \"cf301225-31d1-4298-925b-f5d71b9fcacf\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-8893/providers/Microsoft.Sql/servers/sqlcrudtest-6159/import?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg4OTMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC02MTU5L2ltcG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"databaseName\": \"sqlcrudtest-4034\",\r\n \"edition\": \"Basic\",\r\n \"serviceObjectiveName\": \"Basic\",\r\n \"maxSizeBytes\": \"2147483648\",\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"MIoS2huFuDdw9f/1ZdnTRhfuDoG8ATd/YhcJacdCK1b1EAVykwg6uhwEN+epJqe7SkQMksUEz3vwCGdZy8QjoQ==\",\r\n \"storageUri\": \"https://sqlcrudtest4885.blob.core.windows.net/container/sqlcrudtest-2439.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "64052a62-85c3-4bd0-97cf-e4bd4405732d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "501" + ] + }, + "ResponseHeaders": { "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:16:05 GMT" + "Mon, 07 Sep 2020 03:05:14 GMT" + ], + "Pragma": [ + "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview" + ], "x-ms-request-id": [ - "0f5d9d96-23a3-4e63-b475-0d64ce209ac9" + "45e132b9-3565-4c79-9bf3-b6fb54fd1a09" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" ], - "Preference-Applied": [ - "return-content" + "x-ms-correlation-request-id": [ + "d69086b0-9369-4826-ac79-bf448ee8fad1" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030515Z:d69086b0-9369-4826-ac79-bf448ee8fad1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "ba9dd74f-4b81-4753-9df7-85eb5258334e" + "Content-Length": [ + "65" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201605Z:ba9dd74f-4b81-4753-9df7-85eb5258334e" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"operation\": \"Import\",\r\n \"startTime\": \"2020-09-07T03:05:15.5950643Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYjg5NDdlOGEtOTBlMS00YjNhLThkMzAtNDJlYmQwN2Q2MWI2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-2200\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:16:06 PM\",\r\n \"queuedTime\": \"3/28/2018 8:16:04 PM\",\r\n \"requestId\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "394" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:16:34 GMT" + "Mon, 07 Sep 2020 03:05:30 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "b3619d0d-e4fd-4f49-b492-67332edd6e6b" + "079045d9-93a5-4c38-aa8b-d1d3099dfc7e" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "643f21e6-2758-4d8b-8e93-dadb8111ca45" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030530Z:643f21e6-2758-4d8b-8e93-dadb8111ca45" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "0c07b8a4-0131-4b18-8b54-c4a9d9bb9890" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201635Z:0c07b8a4-0131-4b18-8b54-c4a9d9bb9890" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:05:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYjg5NDdlOGEtOTBlMS00YjNhLThkMzAtNDJlYmQwN2Q2MWI2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-2200\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:16:06 PM\",\r\n \"queuedTime\": \"3/28/2018 8:16:04 PM\",\r\n \"requestId\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "394" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:17:05 GMT" + "Mon, 07 Sep 2020 03:05:45 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "19fc6872-7128-4b32-a204-b0a633fd5da6" + "09524490-442f-411c-8c11-5060d03f3f6c" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "a22d4393-c73f-4027-bd97-33cd58d83299" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030545Z:a22d4393-c73f-4027-bd97-33cd58d83299" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "6bd48e81-846b-4f55-8e4f-ac596d69aa84" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201705Z:6bd48e81-846b-4f55-8e4f-ac596d69aa84" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:05:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYjg5NDdlOGEtOTBlMS00YjNhLThkMzAtNDJlYmQwN2Q2MWI2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-2200\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:16:06 PM\",\r\n \"queuedTime\": \"3/28/2018 8:16:04 PM\",\r\n \"requestId\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "394" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:17:35 GMT" + "Mon, 07 Sep 2020 03:06:01 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "3a864840-1378-4132-86b1-44808f960241" + "aed87098-19fa-41ed-a4a8-38e9957146bf" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "b6e9c9c4-6b68-4fad-906e-723144181b6f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030601Z:b6e9c9c4-6b68-4fad-906e-723144181b6f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "1af8d277-2045-4015-8e26-47a158972bd3" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201736Z:1af8d277-2045-4015-8e26-47a158972bd3" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:05:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYjg5NDdlOGEtOTBlMS00YjNhLThkMzAtNDJlYmQwN2Q2MWI2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-2200\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:16:06 PM\",\r\n \"queuedTime\": \"3/28/2018 8:16:04 PM\",\r\n \"requestId\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"requestType\": \"Export\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 0%\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 03:06:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "09a35a0e-193a-4598-bbd0-b49f2d8e83b5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "cd504c86-df59-4969-b668-0a387ff1d928" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030616Z:cd504c86-df59-4969-b668-0a387ff1d928" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "394" + "104" ], "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + "application/json; charset=utf-8" ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:06:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:18:05 GMT" + "Mon, 07 Sep 2020 03:06:31 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "fbd651eb-90aa-4603-ba0d-c77f8ed26762" + "aa1f906b-56d6-426f-9512-c89157b9bbb2" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "783fc918-b59d-441f-a1b4-b62c27ff8182" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030631Z:783fc918-b59d-441f-a1b4-b62c27ff8182" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "b80aceee-d41a-4304-ab88-f542c678197e" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201806Z:b80aceee-d41a-4304-ab88-f542c678197e" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:06:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYjg5NDdlOGEtOTBlMS00YjNhLThkMzAtNDJlYmQwN2Q2MWI2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"name\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\",\r\n \"properties\": {\r\n \"requestId\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"requestType\": \"Export\",\r\n \"queuedTime\": \"3/28/2018 8:16:04 PM\",\r\n \"lastModifiedTime\": \"3/28/2018 8:18:23 PM\",\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"serverName\": \"sqlcrudtest-7286\",\r\n \"databaseName\": \"sqlcrudtest-2200\",\r\n \"status\": \"Completed\",\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:18:36 GMT" + "Mon, 07 Sep 2020 03:06:46 GMT" + ], + "Pragma": [ + "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "b4efe153-432d-4760-8e2e-9939a5a40e17" + "5d7e701c-436a-4a91-9cf3-df7bef42c2cc" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "83d70fd7-66a7-4848-abc4-ed3abb88ec79" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030646Z:83d70fd7-66a7-4848-abc4-ed3abb88ec79" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "fe4aa672-aa2f-4427-a8fb-d5da86089406" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201836Z:fe4aa672-aa2f-4427-a8fb-d5da86089406" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:06:14Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC0yMjAwL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYjg5NDdlOGEtOTBlMS00YjNhLThkMzAtNDJlYmQwN2Q2MWI2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/databases/sqlcrudtest-2200/importExportOperationResults/b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"name\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\",\r\n \"properties\": {\r\n \"requestId\": \"b8947e8a-90e1-4b3a-8d30-42ebd07d61b6\",\r\n \"requestType\": \"Export\",\r\n \"queuedTime\": \"3/28/2018 8:16:04 PM\",\r\n \"lastModifiedTime\": \"3/28/2018 8:18:23 PM\",\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"serverName\": \"sqlcrudtest-7286\",\r\n \"databaseName\": \"sqlcrudtest-2200\",\r\n \"status\": \"Completed\",\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:18:36 GMT" + "Mon, 07 Sep 2020 03:07:01 GMT" + ], + "Pragma": [ + "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "a07bf0fd-6883-4979-9836-7ad7f92cd4c5" + "f457e3bf-8fdd-4704-8652-c4c8fd7cc5b9" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "dba158bb-c6d2-43c4-b0f7-7c59050e92e7" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030701Z:dba158bb-c6d2-43c4-b0f7-7c59050e92e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" ], - "x-ms-correlation-request-id": [ - "ae24b6ab-e2e8-4e1b-b399-05bd5be9be6e" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201836Z:ae24b6ab-e2e8-4e1b-b399-05bd5be9be6e" + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:06:14Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/import?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ltcG9ydD9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"databaseName\": \"sqlcrudtest-7251\",\r\n \"edition\": \"Basic\",\r\n \"serviceObjectiveName\": \"Basic\",\r\n \"maxSizeBytes\": \"2147483648\",\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"/ecn75SYaOXflaEtrTpGvlrbvhR2F9mcr2hjHjiNN61n0i8/WENGspPZt8JBjz6cdDmkJtjuwwwtmiy28wKQ0Q==\",\r\n \"storageUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\"\r\n}", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "501" - ], - "x-ms-client-request-id": [ - "5e268b14-4a14-4e1e-9587-6244ac53a3d0" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"Import\",\r\n \"startTime\": \"2018-03-28T20:18:37.565Z\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "60" - ], - "Content-Type": [ - "application/xml; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:18:37 GMT" + "Mon, 07 Sep 2020 03:07:16 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "0903adbd-c215-4d5d-976b-3c9e00f38fa6" + "3ce8cd42-11af-409c-9c9d-5c5dc2e7c819" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" ], - "Preference-Applied": [ - "return-content" + "x-ms-correlation-request-id": [ + "73a221f3-5b91-4ce9-bc35-e4ac66b06cf4" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030717Z:73a221f3-5b91-4ce9-bc35-e4ac66b06cf4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "2932dc37-cfee-47ca-b56a-a3222a0223d3" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201837Z:2932dc37-cfee-47ca-b56a-a3222a0223d3" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:07:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvZTgxMDVkMDgtNmFlZS00MjFiLWE1MTMtZmZhNDE2ZjA2ZDY2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-7251\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"queuedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"requestId\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:19:07 GMT" + "Mon, 07 Sep 2020 03:07:31 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "1c41dde6-c266-4aa0-9d10-57d3ebe625a4" + "ebdd2052-5b39-4708-b272-0d579c32bc7a" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "c43d4c4f-2d9d-4b2a-8063-038cb973dd28" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030732Z:c43d4c4f-2d9d-4b2a-8063-038cb973dd28" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "145f2faf-db65-4cfb-ace0-37d9abcaea0a" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201907Z:145f2faf-db65-4cfb-ace0-37d9abcaea0a" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:07:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvZTgxMDVkMDgtNmFlZS00MjFiLWE1MTMtZmZhNDE2ZjA2ZDY2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-7251\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"queuedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"requestId\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:19:37 GMT" + "Mon, 07 Sep 2020 03:07:47 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "76aef5d5-ce44-4220-96e1-5f2493d248d8" + "fe9341b2-a87b-4e8e-8778-b2666cd58cb5" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "3d8ed700-f38e-4a0c-b26e-38a6c52d1787" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030747Z:3d8ed700-f38e-4a0c-b26e-38a6c52d1787" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "b1c27bc7-8fd0-4111-b95c-cc7acf21b3f6" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T201938Z:b1c27bc7-8fd0-4111-b95c-cc7acf21b3f6" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:07:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvZTgxMDVkMDgtNmFlZS00MjFiLWE1MTMtZmZhNDE2ZjA2ZDY2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-7251\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"queuedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"requestId\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:20:07 GMT" + "Mon, 07 Sep 2020 03:08:02 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "9cbff77f-baad-4001-a54a-ad1e59f430be" + "dae8d9d4-486d-49d7-9471-2aa1ca85460e" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "e5819d63-05c5-49dc-b373-2dd226d58bcf" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030802Z:e5819d63-05c5-49dc-b373-2dd226d58bcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "92829051-1184-47d5-b3ea-705ecc0d19bc" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T202008Z:92829051-1184-47d5-b3ea-705ecc0d19bc" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:07:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvZTgxMDVkMDgtNmFlZS00MjFiLWE1MTMtZmZhNDE2ZjA2ZDY2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"databaseName\": \"sqlcrudtest-7251\",\r\n \"errorMessage\": null,\r\n \"lastModifiedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"queuedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"requestId\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"requestType\": \"Import\",\r\n \"serverName\": \"sqlcrudtest-7286.database.windows.net\",\r\n \"status\": \"Running, Progress = 5.00 %\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "398" - ], - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:20:38 GMT" + "Mon, 07 Sep 2020 03:08:17 GMT" ], - "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview" + "Pragma": [ + "no-cache" ], "Retry-After": [ - "30" + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "b3bc0002-0799-42fc-ad70-0be2d51f4e0b" + "a67d37b8-1f2e-4561-a818-2f0c9ae73a3d" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "e45bc135-28b1-43ab-9d41-fcc23fef291b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030817Z:e45bc135-28b1-43ab-9d41-fcc23fef291b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "89f5fcd9-ac81-4657-99e6-2e7269a382e5" + "Content-Length": [ + "104" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T202038Z:89f5fcd9-ac81-4657-99e6-2e7269a382e5" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T03:08:14Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvZTgxMDVkMDgtNmFlZS00MjFiLWE1MTMtZmZhNDE2ZjA2ZDY2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResult/e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"name\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"type\": \"Microsoft.Sql/servers/importExportOperationResults\",\r\n \"properties\": {\r\n \"requestId\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"requestType\": \"Import\",\r\n \"queuedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"lastModifiedTime\": \"3/28/2018 8:20:45 PM\",\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"serverName\": \"sqlcrudtest-7286\",\r\n \"databaseName\": \"sqlcrudtest-7251\",\r\n \"status\": \"Completed\",\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:21:08 GMT" + "Mon, 07 Sep 2020 03:08:33 GMT" + ], + "Pragma": [ + "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "18b71fdf-b9e1-4137-ad1a-586325b1f9f2" + "3a8fdab3-a147-483a-9459-788880a69d1b" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "608a7cfe-b1ee-47ef-abb6-739e63bb0fee" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030833Z:608a7cfe-b1ee-47ef-abb6-739e63bb0fee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "60ae0164-0035-4e13-9a8e-fb0c29e20ff8" + "Content-Length": [ + "103" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T202109Z:60ae0164-0035-4e13-9a8e-fb0c29e20ff8" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T03:08:27Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResults/e8105d08-6aee-421b-a513-ffa416f06d66?api-version=2014-04-01-Preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTg5NDMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC03Mjg2L2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvZTgxMDVkMDgtNmFlZS00MjFiLWE1MTMtZmZhNDE2ZjA2ZDY2P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtUHJldmlldw==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/ca2915dc-bee1-4fe4-ac50-1f45845f4e77-sqlcrudtest-6159?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvY2EyOTE1ZGMtYmVlMS00ZmU0LWFjNTAtMWY0NTg0NWY0ZTc3LXNxbGNydWR0ZXN0LTYxNTk/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.26201.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.13.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.2.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourceGroups/sqlcrudtest-8943/providers/Microsoft.Sql/servers/sqlcrudtest-7286/importExportOperationResult/e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"name\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"type\": \"Microsoft.Sql/servers/importExportOperationResults\",\r\n \"properties\": {\r\n \"requestId\": \"e8105d08-6aee-421b-a513-ffa416f06d66\",\r\n \"requestType\": \"Import\",\r\n \"queuedTime\": \"3/28/2018 8:18:37 PM\",\r\n \"lastModifiedTime\": \"3/28/2018 8:20:45 PM\",\r\n \"blobUri\": \"https://sqlcrudtest5639.blob.core.windows.net/container/sqlcrudtest-2200.bacpac\",\r\n \"serverName\": \"sqlcrudtest-7286\",\r\n \"databaseName\": \"sqlcrudtest-7251\",\r\n \"status\": \"Completed\",\r\n \"errorMessage\": null\r\n }\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" - ], "Cache-Control": [ - "no-store, no-cache" + "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:21:08 GMT" + "Mon, 07 Sep 2020 03:08:33 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "a16bc516-3ebb-40e6-9c60-32da6cd9fe06" + "4de4d617-b141-4f86-b876-cd385eca1ac7" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-correlation-request-id": [ + "ca1e2edb-01cb-496c-a364-fde53dedfae4" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T030833Z:ca1e2edb-01cb-496c-a364-fde53dedfae4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "7e0e0dd8-adb5-46e5-bf68-f699d990ccec" + "Content-Length": [ + "550" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180328T202109Z:7e0e0dd8-adb5-46e5-bf68-f699d990ccec" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"requestType\": \"ImportToNewDatabase\",\r\n \"queuedTime\": \"9/7/2020 3:05:14 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 3:08:27 AM\",\r\n \"blobUri\": \"https://sqlcrudtest4885.blob.core.windows.net/container/sqlcrudtest-2439.bacpac\",\r\n \"serverName\": \"sqlcrudtest-6159\",\r\n \"databaseName\": \"sqlcrudtest-4034\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"name\": \"ca2915dc-bee1-4fe4-ac50-1f45845f4e77\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/resourcegroups/sqlcrudtest-8943?api-version=2017-05-10", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZGY3YzA1NWMtNjMxMC00Mzc0LTk4NTItMTBlZjcxY2U1Zjg1L3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg5NDM/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-8893?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTg4OTM/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "02adb62a-dd44-4e77-aed5-d34da5ebb44f" + "7a1ed826-3b28-4a5b-bd21-36fc4954a864" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.26201.01", + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" ] }, - "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Wed, 28 Mar 2018 20:21:12 GMT" + "Mon, 07 Sep 2020 03:08:34 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/df7c055c-6310-4374-9852-10ef71ce5f85/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDg5NDMtV0VTVEVVUk9QRSIsImpvYkxvY2F0aW9uIjoid2VzdGV1cm9wZSJ9?api-version=2017-05-10" + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDg4OTMtV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2017-05-10" ], "Retry-After": [ "15" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" ], "x-ms-request-id": [ - "60ddea41-200f-4a20-90d0-2a98b5f33a33" + "77af39d9-7f44-491f-8e05-d745966bc12b" ], "x-ms-correlation-request-id": [ - "60ddea41-200f-4a20-90d0-2a98b5f33a33" + "77af39d9-7f44-491f-8e05-d745966bc12b" ], "x-ms-routing-request-id": [ - "WESTUS2:20180328T202113Z:60ddea41-200f-4a20-90d0-2a98b5f33a33" + "BRAZILUS:20200907T030834Z:77af39d9-7f44-491f-8e05-d745966bc12b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "", "StatusCode": 202 } ], "Names": { "CreateResourceGroup": [ - "sqlcrudtest-8943" + "sqlcrudtest-8893" ], "CreateServer": [ - "sqlcrudtest-7286" - ], - "CreateStorageContainer": [ - "sqlcrudtest5639" + "sqlcrudtest-6159" ], "TestImportExport": [ - "sqlcrudtest-2200", - "sqlcrudtest-7251", - "sqlcrudstorage3897", - "sqlcrudtest-9372" + "sqlcrudtest4885", + "sqlcrudtest-2439", + "sqlcrudtest-4034", + "sqlcrudtest-1321" ] }, "Variables": { - "SubscriptionId": "df7c055c-6310-4374-9852-10ef71ce5f85", - "DefaultLocation": "West Europe" + "SubscriptionId": "b75889fa-6661-44e0-a844-cd96ec938991", + "DefaultLocation": "West Central US" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportNewDatabase_NetworkIsolation.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportNewDatabase_NetworkIsolation.json new file mode 100644 index 000000000000..839c4fa7426a --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/ImportExportScenarioTests/TestImportNewDatabase_NetworkIsolation.json @@ -0,0 +1,4255 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-4169?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTQxNjk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West Central US\",\r\n \"tags\": {\r\n \"sqlcrudtest-4169\": \"2020-09-07 00:45:45Z\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "78511151-c4ef-43ce-b816-d0fec84f25a8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "104" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:45:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "021805ff-b8bf-4ad9-94da-ba780a3a49e1" + ], + "x-ms-correlation-request-id": [ + "021805ff-b8bf-4ad9-94da-ba780a3a49e1" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004547Z:021805ff-b8bf-4ad9-94da-ba780a3a49e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "243" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169\",\r\n \"name\": \"sqlcrudtest-4169\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {\r\n \"sqlcrudtest-4169\": \"2020-09-07 00:45:45Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0zNTgyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"West Central US\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8234f9e5-f26c-4453-b85f-1e76c07f1378" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "189" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:45:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverOperationResults/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "8f3ab1a3-2ec5-4107-b661-5f17f1102f73" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "e5af039f-d20b-4eb4-a7ce-03cafd807ed0" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004550Z:e5af039f-d20b-4eb4-a7ce-03cafd807ed0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "73" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi84ZjNhYjFhMy0yZWM1LTQxMDctYjY2MS01ZjE3ZjExMDJmNzM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:45:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f98ed61b-1c68-41ab-ac2f-5f564495b3c1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "9c40b4d7-c997-4c2e-a9dc-982cd75ba37b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004551Z:9c40b4d7-c997-4c2e-a9dc-982cd75ba37b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8f3ab1a3-2ec5-4107-b661-5f17f1102f73\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi84ZjNhYjFhMy0yZWM1LTQxMDctYjY2MS01ZjE3ZjExMDJmNzM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:45:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "6f5fc0df-1f88-495b-94ef-1367df91d891" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "4ebcf78b-8edf-490a-81bd-e02a2e62ca73" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004552Z:4ebcf78b-8edf-490a-81bd-e02a2e62ca73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8f3ab1a3-2ec5-4107-b661-5f17f1102f73\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi84ZjNhYjFhMy0yZWM1LTQxMDctYjY2MS01ZjE3ZjExMDJmNzM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:45:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "285cf151-38f6-4319-a811-86b13990d6bf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "94559bc9-3a14-4297-8926-1ba9def376e4" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004553Z:94559bc9-3a14-4297-8926-1ba9def376e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8f3ab1a3-2ec5-4107-b661-5f17f1102f73\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi84ZjNhYjFhMy0yZWM1LTQxMDctYjY2MS01ZjE3ZjExMDJmNzM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:45:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "cf2e8e14-b508-4d46-93f7-466431490efb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "692f4a5e-e295-4439-b8e0-f8e34f7dd9a7" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004554Z:692f4a5e-e295-4439-b8e0-f8e34f7dd9a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8f3ab1a3-2ec5-4107-b661-5f17f1102f73\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi84ZjNhYjFhMy0yZWM1LTQxMDctYjY2MS01ZjE3ZjExMDJmNzM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:45:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "80b4eb43-6283-4f82-8c91-d6c44fb14278" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "7bc8ca8f-b1c7-4e1a-bf8a-dfaf536b70f4" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004556Z:7bc8ca8f-b1c7-4e1a-bf8a-dfaf536b70f4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8f3ab1a3-2ec5-4107-b661-5f17f1102f73\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi84ZjNhYjFhMy0yZWM1LTQxMDctYjY2MS01ZjE3ZjExMDJmNzM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5839659c-48ae-428b-9953-d674d0f548bf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "d464a3fc-6793-4b59-8575-80e84787fd50" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004616Z:d464a3fc-6793-4b59-8575-80e84787fd50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8f3ab1a3-2ec5-4107-b661-5f17f1102f73\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/serverAzureAsyncOperation/8f3ab1a3-2ec5-4107-b661-5f17f1102f73?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvc2VydmVyQXp1cmVBc3luY09wZXJhdGlvbi84ZjNhYjFhMy0yZWM1LTQxMDctYjY2MS01ZjE3ZjExMDJmNzM/YXBpLXZlcnNpb249MjAxOS0wNi0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "86ba8334-ba0f-4602-b429-203adc4e8dac" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "f6f6e352-34c6-4c65-919b-96949bcf8a5a" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004636Z:f6f6e352-34c6-4c65-919b-96949bcf8a5a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "106" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"8f3ab1a3-2ec5-4107-b661-5f17f1102f73\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:45:50.26Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0zNTgyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "2ccc717c-11e6-45b2-8869-d96c5e077e50" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "bf9f3fe4-5622-438a-93d4-6af699e6807b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004636Z:bf9f3fe4-5622-438a-93d4-6af699e6807b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "463" + ], + "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-3582.database.windows.net\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582\",\r\n \"name\": \"sqlcrudtest-3582\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582/firewallRules/sqlcrudtest-7031?api-version=2014-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0zNTgyL2ZpcmV3YWxsUnVsZXMvc3FsY3J1ZHRlc3QtNzAzMT9hcGktdmVyc2lvbj0yMDE0LTA0LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "805a4bbd-4801-4653-868b-0d1b896d621c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "101" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:36 GMT" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "dbe302a1-4bd1-46ee-a5b4-4ee004607cb5" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Preference-Applied": [ + "return-content" + ], + "DataServiceVersion": [ + "3.0;" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "922537a4-c140-4992-8325-9a113c8e03e1" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004637Z:922537a4-c140-4992-8325-9a113c8e03e1" + ], + "Content-Length": [ + "362" + ], + "Content-Type": [ + "application/json; odata=minimalmetadata; streaming=true; charset=utf-8" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582/firewallRules/sqlcrudtest-7031\",\r\n \"name\": \"sqlcrudtest-7031\",\r\n \"type\": \"Microsoft.Sql/servers/firewallRules\",\r\n \"location\": \"West Central US\",\r\n \"kind\": \"v12.0\",\r\n \"properties\": {\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582/databases/sqlcrudtest-4745?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0zNTgyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00NzQ1P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westcentralus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e76e8464-12da-413f-a0b4-03187d89763c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/databaseOperationResults/15782179-1749-45d3-808c-10eb4cabbfe2?api-version=2019-06-01-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/15782179-1749-45d3-808c-10eb4cabbfe2?api-version=2019-06-01-preview" + ], + "x-ms-request-id": [ + "15782179-1749-45d3-808c-10eb4cabbfe2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "07555cb6-4525-4fcf-b53f-f191498abb77" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004637Z:07555cb6-4525-4fcf-b53f-f191498abb77" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "76" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2020-09-07T00:46:37.773Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Storage/storageAccounts/sqlcrudtest1656?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDE2NTY/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"location\": \"westcentralus\",\r\n \"properties\": {\r\n \"accessTier\": \"Cool\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "76175e13-208c-4630-87e4-5cc888940365" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "158" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/fbd24878-70d6-4652-8b78-086e022bf0e0?monitor=true&api-version=2017-06-01" + ], + "Retry-After": [ + "17" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "fbd24878-70d6-4652-8b78-086e022bf0e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "ba7c3043-7404-481e-8c64-1424a45df78d" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004638Z:ba7c3043-7404-481e-8c64-1424a45df78d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Content-Type": [ + "text/plain; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/15782179-1749-45d3-808c-10eb4cabbfe2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzE1NzgyMTc5LTE3NDktNDVkMy04MDhjLTEwZWI0Y2FiYmZlMj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "a01eed01-6b2f-48f5-a419-952f6e716f82" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "7b508448-f5a6-4273-b04e-0c30b0246d88" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004653Z:7b508448-f5a6-4273-b04e-0c30b0246d88" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"15782179-1749-45d3-808c-10eb4cabbfe2\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:46:37.773Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/15782179-1749-45d3-808c-10eb4cabbfe2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzE1NzgyMTc5LTE3NDktNDVkMy04MDhjLTEwZWI0Y2FiYmZlMj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:47:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "6ec80db6-3e3f-473a-a33e-746f1121c931" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "e0b98d07-c2e9-4771-b243-6b0ae5c56325" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004708Z:e0b98d07-c2e9-4771-b243-6b0ae5c56325" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "108" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"15782179-1749-45d3-808c-10eb4cabbfe2\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:46:37.773Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/locations/westcentralus/databaseAzureAsyncOperation/15782179-1749-45d3-808c-10eb4cabbfe2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvZGF0YWJhc2VBenVyZUFzeW5jT3BlcmF0aW9uLzE1NzgyMTc5LTE3NDktNDVkMy04MDhjLTEwZWI0Y2FiYmZlMj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:47:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "17e90049-a564-4abf-bc05-f9ef87c849bb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "35052b8d-17a6-4839-baff-eca61d3cf64f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004723Z:35052b8d-17a6-4839-baff-eca61d3cf64f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "107" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"15782179-1749-45d3-808c-10eb4cabbfe2\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:46:37.773Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/fbd24878-70d6-4652-8b78-086e022bf0e0?monitor=true&api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvd2VzdGNlbnRyYWx1cy9hc3luY29wZXJhdGlvbnMvZmJkMjQ4NzgtNzBkNi00NjUyLThiNzgtMDg2ZTAyMmJmMGUwP21vbml0b3I9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "2853662f-724b-4323-be12-7562ba0e005e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "9589b66e-4c43-4f5d-82f2-e521a5bdb76f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004655Z:9589b66e-4c43-4f5d-82f2-e521a5bdb76f" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "980" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_LRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"BlobStorage\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Storage/storageAccounts/sqlcrudtest1656\",\r\n \"name\": \"sqlcrudtest1656\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkAcls\": {\r\n \"bypass\": \"AzureServices\",\r\n \"virtualNetworkRules\": [],\r\n \"ipRules\": [],\r\n \"defaultAction\": \"Allow\"\r\n },\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"file\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T00:46:37.5809522Z\"\r\n },\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2020-09-07T00:46:37.5809522Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"accessTier\": \"Cool\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2020-09-07T00:46:37.5184947Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sqlcrudtest1656.blob.core.windows.net/\",\r\n \"table\": \"https://sqlcrudtest1656.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"westcentralus\",\r\n \"statusOfPrimary\": \"available\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Storage/storageAccounts/sqlcrudtest1656/listKeys?api-version=2017-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zcWxjcnVkdGVzdDE2NTYvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNi0wMQ==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7ce28ff6-e050-43e5-91c4-5df0182c24f7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.5.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:46:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "94f4dd93-fe47-4f56-8a56-5d9f0f1892b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "6d603242-8dbe-4b89-bcf6-0f15001abb19" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004655Z:6d603242-8dbe-4b89-bcf6-0f15001abb19" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "288" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"a6SCAMhZzhyyISD8zlbLjdWmIp5zCW3+XB5M2tBUdGgLW3o3xVL02+VksTqxv5BQw61Qnd7YqHoShuDKfZHkuQ==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"OW8n/cwcvk/n2yFUhlk2XOoSSV0xgaQ/G83UYZ4haXl9l1p/kQVTAbE53EnutI1y9vvwDewp9hePyQFAaPFVeA==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582/databases/sqlcrudtest-4745?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0zNTgyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00NzQ1P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:47:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8caabb8f-a303-4b1a-a565-0234ebfdbe2c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "0dd9c603-c77e-4a55-8c16-53b7dc7f3e19" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004723Z:0dd9c603-c77e-4a55-8c16-53b7dc7f3e19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "1025" + ], + "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\": \"5617d47b-ff98-43f1-af45-293399b533a8\",\r\n \"creationDate\": \"2020-09-07T00:47:15.133Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"westus2\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2020-09-07T01:17:15.133Z\",\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 \"storageAccountType\": \"GRS\"\r\n },\r\n \"location\": \"westcentralus\",\r\n \"id\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582/databases/sqlcrudtest-4745\",\r\n \"name\": \"sqlcrudtest-4745\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582/databases/sqlcrudtest-4745/export?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0zNTgyL2RhdGFiYXNlcy9zcWxjcnVkdGVzdC00NzQ1L2V4cG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"a6SCAMhZzhyyISD8zlbLjdWmIp5zCW3+XB5M2tBUdGgLW3o3xVL02+VksTqxv5BQw61Qnd7YqHoShuDKfZHkuQ==\",\r\n \"storageUri\": \"https://sqlcrudtest1656.blob.core.windows.net/container/sqlcrudtest-4745.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\",\r\n \"networkIsolation\": {\r\n \"storageAccountResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-4169/providers/Microsoft.Storage/storageAccounts/sqlcrudtest1656\",\r\n \"sqlServerResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4da87cee-f3bb-4d84-ad69-ab3295533376" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "744" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:47:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview" + ], + "x-ms-request-id": [ + "40045301-be44-4db6-a28c-863dc3779cd2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "119d4568-18c5-4b08-96f2-f3d85f98b0a9" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004724Z:119d4568-18c5-4b08-96f2-f3d85f98b0a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"Export\",\r\n \"startTime\": \"2020-09-07T00:47:24.8683605Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:47:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9d9e9b25-206d-4946-bdc4-e69ce12aea1d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "564e4bd8-fff8-42c4-81f5-44ccc3b794fd" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004740Z:564e4bd8-fff8-42c4-81f5-44ccc3b794fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:47:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:47:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "502c5542-4653-4480-95bb-ddf38f76f917" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "882a56cc-a840-415e-895d-5191672a15a6" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004755Z:882a56cc-a840-415e-895d-5191672a15a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:47:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:48:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "68ddca2d-399d-42bb-9a28-5d4e129b01bc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "bbda9030-5c3a-4bbb-9b80-9fed149da4e4" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004810Z:bbda9030-5c3a-4bbb-9b80-9fed149da4e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:47:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:48:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "dd7162b7-5d3a-4754-97a0-8c5c70fa4f31" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "a8960c59-6e6c-42ed-92a0-86b01cb0769e" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004825Z:a8960c59-6e6c-42ed-92a0-86b01cb0769e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:48:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:48:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "fbfad2df-07dc-4fe8-a758-0ad8ea036de6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "c02a8d4a-a1a3-4def-b655-f65b405e7a5c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004840Z:c02a8d4a-a1a3-4def-b655-f65b405e7a5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:48:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:48:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9f8024bf-1dbe-447f-be9a-619e08b56b7b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "f3778eb7-c483-4757-a4bf-2ac0d18966b6" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004856Z:f3778eb7-c483-4757-a4bf-2ac0d18966b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:48:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:49:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "6c3d2688-ef85-42ae-9fd5-192f4c4261e1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "9006df94-746e-4aad-913f-c908ec7fd69c" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004911Z:9006df94-746e-4aad-913f-c908ec7fd69c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:48:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:49:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8012efce-b224-417a-9521-7e96b728d96a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "eab8f1e5-3625-495d-9737-d5c8aeef4eeb" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004926Z:eab8f1e5-3625-495d-9737-d5c8aeef4eeb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:49:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:49:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8cb71c14-40e6-404e-9f0e-dd719811ee04" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "b9203b24-4164-48b8-a76c-095dcf6de1ae" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004941Z:b9203b24-4164-48b8-a76c-095dcf6de1ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:49:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:49:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d8c13297-5234-4515-9bd0-43590600ad39" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "4b8a3cf7-44d7-480b-9bbc-ca6668569caa" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T004956Z:4b8a3cf7-44d7-480b-9bbc-ca6668569caa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:49:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:50:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bcc6a8f6-acb8-4a40-9ed5-0bea84944f74" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "345b4ef3-e7af-4952-8c0e-6ab8d0634114" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005011Z:345b4ef3-e7af-4952-8c0e-6ab8d0634114" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:49:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:50:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "80e8a76a-088d-43c3-b59c-81b00483ccc9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "e9eafeef-2ae7-4876-9a83-d13ee6305ee0" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005027Z:e9eafeef-2ae7-4876-9a83-d13ee6305ee0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:50:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:50:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8bf6a96e-0290-40da-bf02-ff993695fb5f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "8e66d3d7-dd60-466d-a28a-14e3830dfe29" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005042Z:8e66d3d7-dd60-466d-a28a-14e3830dfe29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:50:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:50:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d62bb117-28e1-4d9e-b579-fd2be4fe0daf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "f30c1320-ee4e-42f1-8c95-e5986d122481" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005057Z:f30c1320-ee4e-42f1-8c95-e5986d122481" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:50:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:51:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "07084d21-9e5d-4620-a99b-d72686e0bce0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "56ec22db-1be5-4666-a06a-bc949f6c8814" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005112Z:56ec22db-1be5-4666-a06a-bc949f6c8814" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:50:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:51:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "e2fab974-88b7-46d5-8679-686a12d69f8c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "a4ec2abb-360f-43c1-8c77-a22f78bb2b49" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005127Z:a4ec2abb-360f-43c1-8c77-a22f78bb2b49" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:51:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:51:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bcfe163a-5dac-4e03-ada9-b375879e332b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "9f4b1f9b-9312-48a3-87e6-78a0d16ffd97" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005143Z:9f4b1f9b-9312-48a3-87e6-78a0d16ffd97" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:51:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:51:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f54dd26b-cf58-46ad-b309-121a9a464377" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "4be97e61-0b22-4b41-b6c6-a2a0c1437b98" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005158Z:4be97e61-0b22-4b41-b6c6-a2a0c1437b98" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:51:24Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:52:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "2c923af2-0142-4381-ae9d-2fdff8cdace8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-correlation-request-id": [ + "33c8c35a-368f-40e1-b390-107521c82b31" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005213Z:33c8c35a-368f-40e1-b390-107521c82b31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:52:12Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/453988ac-de14-4880-8081-6f3137acae22-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvNDUzOTg4YWMtZGUxNC00ODgwLTgwODEtNmYzMTM3YWNhZTIyLXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:52:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d363d541-955d-495d-abc1-7cda3e5901ee" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "03439044-d0b9-41af-b673-6d6257e7453e" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005213Z:03439044-d0b9-41af-b673-6d6257e7453e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "547" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"requestType\": \"ExportDatabase\",\r\n \"queuedTime\": \"9/7/2020 12:47:23 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 12:52:12 AM\",\r\n \"blobUri\": \"https://sqlcrudtest1656.blob.core.windows.net/container/sqlcrudtest-4745.bacpac\",\r\n \"serverName\": \"sqlcrudtest-3582\",\r\n \"databaseName\": \"sqlcrudtest-4745\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"name\": \"453988ac-de14-4880-8081-6f3137acae22\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582/import?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTQxNjkvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC0zNTgyL2ltcG9ydD9hcGktdmVyc2lvbj0yMDIwLTAyLTAyLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"databaseName\": \"sqlcrudtest-572\",\r\n \"edition\": \"Basic\",\r\n \"serviceObjectiveName\": \"Basic\",\r\n \"maxSizeBytes\": \"2147483648\",\r\n \"storageKeyType\": \"StorageAccessKey\",\r\n \"storageKey\": \"a6SCAMhZzhyyISD8zlbLjdWmIp5zCW3+XB5M2tBUdGgLW3o3xVL02+VksTqxv5BQw61Qnd7YqHoShuDKfZHkuQ==\",\r\n \"storageUri\": \"https://sqlcrudtest1656.blob.core.windows.net/container/sqlcrudtest-4745.bacpac\",\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"authenticationType\": \"SQL\",\r\n \"networkIsolation\": {\r\n \"storageAccountResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-4169/providers/Microsoft.Storage/storageAccounts/sqlcrudtest1656\",\r\n \"sqlServerResourceId\": \"/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourceGroups/sqlcrudtest-4169/providers/Microsoft.Sql/servers/sqlcrudtest-3582\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "38e29541-b1f9-4f1c-8e7c-5c8a836853cb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "874" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:52:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview" + ], + "x-ms-request-id": [ + "d4763906-7689-4768-bb1b-2f64b9db99e6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "4d17d66c-f980-4edf-b832-a438d1edbb55" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005215Z:4d17d66c-f980-4edf-b832-a438d1edbb55" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "65" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"Import\",\r\n \"startTime\": \"2020-09-07T00:52:14.9993308Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:52:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "a05ae278-2876-426c-a3c9-260e39d1eb83" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-correlation-request-id": [ + "f5e41e32-9ba3-472f-b001-5397763033e1" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005230Z:f5e41e32-9ba3-472f-b001-5397763033e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:52:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:52:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "88bdfe0d-869c-4d04-9adf-502fbc735545" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-correlation-request-id": [ + "3812eb47-2336-46e2-8b14-0bc68d96b783" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005245Z:3812eb47-2336-46e2-8b14-0bc68d96b783" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:52:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:53:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "de4ae339-3e72-45a5-8925-3a211b7dc293" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-correlation-request-id": [ + "437b0892-3308-40eb-9235-74ddefa957ca" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005300Z:437b0892-3308-40eb-9235-74ddefa957ca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:52:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:53:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "ce3f62a4-ea5d-4513-acc4-9735186982f1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-correlation-request-id": [ + "c38cdd45-0dcf-45f0-ab86-684f6bc1f36b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005315Z:c38cdd45-0dcf-45f0-ab86-684f6bc1f36b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:53:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:53:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "37a168b9-ed8b-4378-8473-2af24144ff78" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-correlation-request-id": [ + "07c8a6d0-f757-45b0-9bd5-ac5795e7e97d" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005330Z:07c8a6d0-f757-45b0-9bd5-ac5795e7e97d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:53:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:53:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "55ffb889-93c9-4154-ae55-929f79de1523" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-correlation-request-id": [ + "ab9cb929-eae4-458d-a0d1-fb738ac4c312" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005346Z:ab9cb929-eae4-458d-a0d1-fb738ac4c312" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:53:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:54:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f8c86642-d694-422e-aace-1461c8a0d156" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11960" + ], + "x-ms-correlation-request-id": [ + "7e42f901-78f5-46cc-80e6-d05ddd420273" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005401Z:7e42f901-78f5-46cc-80e6-d05ddd420273" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:53:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:54:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8081a6c4-3784-4f0c-ade4-7f70ba8bd682" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11959" + ], + "x-ms-correlation-request-id": [ + "e135bdfb-852d-4093-b7ff-d7c8ecb5d328" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005416Z:e135bdfb-852d-4093-b7ff-d7c8ecb5d328" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:54:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:54:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f1f88f7b-0e31-42e3-a053-8447962de9d7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11958" + ], + "x-ms-correlation-request-id": [ + "69c36b85-c54a-4f06-b3d2-9428d77c068f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005431Z:69c36b85-c54a-4f06-b3d2-9428d77c068f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:54:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:54:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "48ea008b-9897-46f8-802d-16da76984a7c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11957" + ], + "x-ms-correlation-request-id": [ + "2466306e-05a0-44dd-a25d-440c23760e3a" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005446Z:2466306e-05a0-44dd-a25d-440c23760e3a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:54:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:55:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "aba0bf70-bd49-4cbf-977e-cfdf5a151ad9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11956" + ], + "x-ms-correlation-request-id": [ + "ca6446c6-04f7-4de1-b16d-69cf0cae85aa" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005501Z:ca6446c6-04f7-4de1-b16d-69cf0cae85aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:54:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:55:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "813234fa-e6f2-47f6-b4f3-285b71f089e2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11955" + ], + "x-ms-correlation-request-id": [ + "43320190-5413-401e-a5cf-3588b4759917" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005517Z:43320190-5413-401e-a5cf-3588b4759917" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:55:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:55:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bc6f0dda-c42d-4987-80c5-d59dc11c839f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11954" + ], + "x-ms-correlation-request-id": [ + "b6160175-d631-4ecf-a532-56c1bae8303a" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005532Z:b6160175-d631-4ecf-a532-56c1bae8303a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:55:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:55:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b9ccd908-9dc3-4fc2-9e87-fbd472f7e1d2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11953" + ], + "x-ms-correlation-request-id": [ + "dfaf67ac-a9b2-4e50-a59d-d40093706282" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005547Z:dfaf67ac-a9b2-4e50-a59d-d40093706282" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:55:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:56:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "68d6ec4c-0aea-4cb9-9ae7-2a6b2cfc4d8d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11952" + ], + "x-ms-correlation-request-id": [ + "3f68097c-9b2a-4899-8ca0-b876dd3c2f82" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005602Z:3f68097c-9b2a-4899-8ca0-b876dd3c2f82" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:55:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:56:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "76eeb30e-ab91-4b0a-a476-e4c57ffd38a7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11951" + ], + "x-ms-correlation-request-id": [ + "022ce7f9-a409-41a9-aa0d-dcfea6111d85" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005617Z:022ce7f9-a409-41a9-aa0d-dcfea6111d85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:56:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:56:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "65f74b9f-b34e-4d97-a590-750b4630743c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11950" + ], + "x-ms-correlation-request-id": [ + "cf46eff6-d749-4303-8534-97b319e7ee36" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005633Z:cf46eff6-d749-4303-8534-97b319e7ee36" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:56:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:56:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "31918456-fea7-4168-ab07-a9173c8842c5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11949" + ], + "x-ms-correlation-request-id": [ + "1ef9ecfc-10df-47f1-a4d9-ea3eb1373393" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005648Z:1ef9ecfc-10df-47f1-a4d9-ea3eb1373393" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:56:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:57:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "2ab2a238-314a-4483-96e5-8357beeb5f3d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11948" + ], + "x-ms-correlation-request-id": [ + "0e071f24-9559-419e-b4ea-ee69148da9f5" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005703Z:0e071f24-9559-419e-b4ea-ee69148da9f5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:56:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:57:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "787dd4eb-82cc-4acf-bf8d-62a7a7319e47" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11947" + ], + "x-ms-correlation-request-id": [ + "61683e54-5078-4b8b-999f-7e17b2b2c7c5" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005718Z:61683e54-5078-4b8b-999f-7e17b2b2c7c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:57:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:57:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "40b9ba64-3771-45be-9820-1449fb7ab8a1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11946" + ], + "x-ms-correlation-request-id": [ + "84b13ea4-5268-4ff2-a72f-a6047988150b" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005733Z:84b13ea4-5268-4ff2-a72f-a6047988150b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:57:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:57:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bea62e05-d065-49a9-bb24-06e42c741d69" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11945" + ], + "x-ms-correlation-request-id": [ + "d7e2bd0a-8a97-43d9-b65a-34ad133c4958" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005749Z:d7e2bd0a-8a97-43d9-b65a-34ad133c4958" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:57:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:58:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "aa88afc6-ff06-4544-a7f9-d4b00dd7a990" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11944" + ], + "x-ms-correlation-request-id": [ + "88b11234-6ed1-4655-921f-f1716626307f" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005804Z:88b11234-6ed1-4655-921f-f1716626307f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:57:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:58:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "21e7dda1-2325-4798-bf4e-4208061955f0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11943" + ], + "x-ms-correlation-request-id": [ + "75bbe0f2-78c2-49c1-9f69-f6dba5bc6faf" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005819Z:75bbe0f2-78c2-49c1-9f69-f6dba5bc6faf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:58:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:58:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7d795803-4805-4ce2-b484-80c982b703af" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11942" + ], + "x-ms-correlation-request-id": [ + "77fd15bb-c0e0-4267-9e9e-4c7b7f5dc5a6" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005834Z:77fd15bb-c0e0-4267-9e9e-4c7b7f5dc5a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2020-09-07T00:58:14Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportAzureAsyncOperation/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydEF6dXJlQXN5bmNPcGVyYXRpb24vYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:58:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7aa081da-974e-4b3c-b460-1d39f7117330" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11941" + ], + "x-ms-correlation-request-id": [ + "319e1cf0-3b6e-499d-a1ac-43f7b1c57f75" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005849Z:319e1cf0-3b6e-499d-a1ac-43f7b1c57f75" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "103" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2020-09-07T00:58:34Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/providers/Microsoft.Sql/locations/westcentralus/importExportOperationResults/bbc93fb2-2334-4380-b368-38ae6f28fb44-sqlcrudtest-3582?api-version=2020-02-02-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2ltcG9ydEV4cG9ydE9wZXJhdGlvblJlc3VsdHMvYmJjOTNmYjItMjMzNC00MzgwLWIzNjgtMzhhZTZmMjhmYjQ0LXNxbGNydWR0ZXN0LTM1ODI/YXBpLXZlcnNpb249MjAyMC0wMi0wMi1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.44.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:58:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "05426ec6-b6ac-4563-b2a1-821d51ee1c67" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11940" + ], + "x-ms-correlation-request-id": [ + "b57422e3-9caf-4f54-bdb7-2ef4a3797879" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005849Z:b57422e3-9caf-4f54-bdb7-2ef4a3797879" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "551" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"requestId\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"requestType\": \"ImportToNewDatabase\",\r\n \"queuedTime\": \"9/7/2020 12:52:13 AM\",\r\n \"lastModifiedTime\": \"9/7/2020 12:58:34 AM\",\r\n \"blobUri\": \"https://sqlcrudtest1656.blob.core.windows.net/container/sqlcrudtest-4745.bacpac\",\r\n \"serverName\": \"sqlcrudtest-3582\",\r\n \"databaseName\": \"sqlcrudtest-572\",\r\n \"status\": \"Completed\",\r\n \"privateEndpointConnections\": []\r\n },\r\n \"id\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"name\": \"bbc93fb2-2334-4380-b368-38ae6f28fb44\",\r\n \"type\": \"Microsoft.Sql/servers/databases/importExportOperationResults\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/resourcegroups/sqlcrudtest-4169?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjc1ODg5ZmEtNjY2MS00NGUwLWE4NDQtY2Q5NmVjOTM4OTkxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTQxNjk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "27826ae5-3e40-487c-982c-c08b6b0866e5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19041.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 07 Sep 2020 00:58:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://brazilus.management.azure.com/subscriptions/b75889fa-6661-44e0-a844-cd96ec938991/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDQxNjktV0VTVENFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoid2VzdGNlbnRyYWx1cyJ9?api-version=2017-05-10" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "5229b344-c11f-4432-b859-6c776cda64b3" + ], + "x-ms-correlation-request-id": [ + "5229b344-c11f-4432-b859-6c776cda64b3" + ], + "x-ms-routing-request-id": [ + "BRAZILUS:20200907T005851Z:5229b344-c11f-4432-b859-6c776cda64b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + } + ], + "Names": { + "CreateResourceGroup": [ + "sqlcrudtest-4169" + ], + "CreateServer": [ + "sqlcrudtest-3582" + ], + "TestImportExport": [ + "sqlcrudtest1656", + "sqlcrudtest-4745", + "sqlcrudtest-572", + "sqlcrudtest-7031" + ] + }, + "Variables": { + "SubscriptionId": "b75889fa-6661-44e0-a844-cd96ec938991", + "DefaultLocation": "West Central US" + } +} \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SqlTestConstants.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SqlTestConstants.cs index 60dd3ffc0e6d..79a5df3cec64 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SqlTestConstants.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SqlTestConstants.cs @@ -11,7 +11,7 @@ public static class SqlTestConstants public const string DefaultCollation = "SQL_Latin1_General_CP1_CI_AS"; // Default database edition - public static readonly string DefaultDatabaseEdition = DatabaseEdition.Basic; + public static readonly string DefaultDatabaseEdition = "Basic"; // Default elastic pool edition public static readonly string DefaultElasticPoolEdition = ElasticPoolEdition.Basic; diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/Utilities/SqlManagementTestUtilities.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/Utilities/SqlManagementTestUtilities.cs index 8a5e7d1b0e8e..2c61370962f0 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/Utilities/SqlManagementTestUtilities.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/Utilities/SqlManagementTestUtilities.cs @@ -147,7 +147,7 @@ public static void ValidateManagedInstance(ManagedInstance actual, string name, // Location is being returned two different ways across different APIs. Assert.Equal(location.ToLower().Replace(" ", ""), actual.Location.ToLower().Replace(" ", "")); } - + public static void ValidateManagedInstanceOperation(ManagedInstanceOperation actual, string operationName, string operationFriendlyName, int percentComplete, string state, bool isCancellable) { Assert.NotNull(actual); @@ -222,6 +222,11 @@ public static void ValidateDatabase(dynamic expected, Database actual, string na { Assert.Equal(expected.ReadReplicaCount, actual.ReadReplicaCount); } + + if (!string.IsNullOrEmpty(expected.StorageAccountType)) + { + Assert.Equal(expected.StorageAccountType, actual.StorageAccountType); + } } public static void ValidateDatabaseEx(Database expected, Database actual)