From 9f2816cae3eb090622168b16ea0eafc5bc5cbc0b Mon Sep 17 00:00:00 2001 From: pixia Date: Thu, 18 Jul 2019 19:07:51 -0700 Subject: [PATCH] Add resource group based LTR APIs + tests to azure sdk (#6957) * Add resource group based LTR APIs + tests * Update change history * Bump Sql AssemblyInfo * remove unnecessary checks * remove unnecessary checks --- .../mgmtmetadata/sql_resource-manager.txt | 4 +- .../ILongTermRetentionBackupsOperations.cs | 282 ++ .../LongTermRetentionBackupsOperations.cs | 1679 +++++++- ...ermRetentionBackupsOperationsExtensions.cs | 462 +++ .../Generated/SdkInfo_SqlManagementClient.cs | 3 +- .../src/Generated/SqlManagementClient.cs | 40 + .../src/Microsoft.Azure.Management.Sql.csproj | 1 + .../tests/DatabaseRestoreScenarioTests.cs | 115 +- .../TestLongTermRetentionV2Crud.json | 3361 +++++++++++++++-- ...mRetentionV2ResourceGroupBasedBackups.json | 1150 ++++++ ...TermRetentionV2ResourceGroupBasedCrud.json | 2622 +++++++++++++ 11 files changed, 9248 insertions(+), 471 deletions(-) create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedBackups.json create mode 100644 sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedCrud.json diff --git a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt index ce83d075e00cd..cd9e9a585b36b 100644 --- a/eng/mgmt/mgmtmetadata/sql_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/sql_resource-manager.txt @@ -4,11 +4,11 @@ Commencing code generation Generating CSharp code Executing AutoRest command cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=. -2019-07-16 23:22:54 UTC +2019-07-16 21:28:54 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 6203666516223e8de80552d70c7157806a50f78b +Commit: 737110f8edd3689144c45d6fd34e7c6143171ab8 AutoRest information Requested version: latest Bootstrapper version: autorest@2.0.4283 diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ILongTermRetentionBackupsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ILongTermRetentionBackupsOperations.cs index d5f36dc448411..8a567523d58e4 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ILongTermRetentionBackupsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/ILongTermRetentionBackupsOperations.cs @@ -23,6 +23,189 @@ namespace Microsoft.Azure.Management.Sql /// public partial interface ILongTermRetentionBackupsOperations { + /// + /// Gets a long term retention backup. + /// + /// + /// 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 location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup 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> GetByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a long term retention backup. + /// + /// + /// 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// 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 DeleteByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all long term retention backups for 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted + /// databases, or all databases. Possible values include: 'All', + /// 'Live', 'Deleted' + /// + /// + /// 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>> ListByResourceGroupDatabaseWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// 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 location of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted + /// databases, or all databases. Possible values include: 'All', + /// 'Live', 'Deleted' + /// + /// + /// 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>> ListByResourceGroupLocationWithHttpMessagesAsync(string resourceGroupName, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists the long term retention backups for a given 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted + /// databases, or all databases. Possible values include: 'All', + /// 'Live', 'Deleted' + /// + /// + /// 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>> ListByResourceGroupServerWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets a long term retention backup. /// @@ -184,6 +367,39 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Deletes a long term retention backup. /// + /// + /// 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// 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 BeginDeleteByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes a long term retention backup. + /// /// /// The location of the database /// @@ -230,6 +446,72 @@ public partial interface ILongTermRetentionBackupsOperations /// /// Thrown when a required parameter is null /// + Task>> ListByResourceGroupDatabaseNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByResourceGroupLocationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists the long term retention backups for a given 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>> ListByResourceGroupServerNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all long term retention backups for 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)); /// /// Lists the long term retention backups for a given location. diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperations.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperations.cs index aef8b3b93efcf..d96ccd6e161bb 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperations.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperations.cs @@ -53,6 +53,10 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// Gets a long term retention backup. /// + /// + /// 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 location of the database. /// @@ -86,8 +90,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } if (locationName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); @@ -116,17 +124,19 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("locationName", locationName); tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); tracingParameters.Add("backupName", backupName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "GetByResourceGroup", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); _url = _url.Replace("{longTermRetentionServerName}", System.Uri.EscapeDataString(longTermRetentionServerName)); _url = _url.Replace("{longTermRetentionDatabaseName}", System.Uri.EscapeDataString(longTermRetentionDatabaseName)); @@ -265,6 +275,10 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// Deletes a long term retention backup. /// + /// + /// 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 location of the database /// @@ -283,16 +297,20 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// The cancellation token. /// - public async Task DeleteWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task DeleteByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send request - AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse _response = await BeginDeleteByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } /// /// Lists all long term retention backups for 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 location of the database /// @@ -330,8 +348,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByDatabaseWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupDatabaseWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } if (locationName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); @@ -356,6 +378,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("locationName", locationName); tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); @@ -363,11 +386,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) tracingParameters.Add("databaseState", databaseState); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByDatabase", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupDatabase", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); _url = _url.Replace("{longTermRetentionServerName}", System.Uri.EscapeDataString(longTermRetentionServerName)); _url = _url.Replace("{longTermRetentionDatabaseName}", System.Uri.EscapeDataString(longTermRetentionDatabaseName)); @@ -513,6 +537,10 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// Lists the long term retention backups for a given location. /// + /// + /// 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 location of the database /// @@ -544,8 +572,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByLocationWithHttpMessagesAsync(string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupLocationWithHttpMessagesAsync(string resourceGroupName, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } if (locationName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); @@ -562,16 +594,18 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("locationName", locationName); tracingParameters.Add("onlyLatestPerDatabase", onlyLatestPerDatabase); tracingParameters.Add("databaseState", databaseState); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByLocation", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupLocation", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); @@ -715,6 +749,10 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// Lists the long term retention backups for a given 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 location of the database /// @@ -749,8 +787,12 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByServerWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByResourceGroupServerWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } if (locationName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); @@ -771,17 +813,19 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("locationName", locationName); tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); tracingParameters.Add("onlyLatestPerDatabase", onlyLatestPerDatabase); tracingParameters.Add("databaseState", databaseState); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByServer", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupServer", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); _url = _url.Replace("{longTermRetentionServerName}", System.Uri.EscapeDataString(longTermRetentionServerName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); @@ -924,10 +968,10 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) } /// - /// Deletes a long term retention backup. + /// Gets a long term retention backup. /// /// - /// The location of the database + /// The location of the database. /// /// /// The name of the server @@ -947,6 +991,9 @@ internal LongTermRetentionBackupsOperations(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 /// @@ -956,7 +1003,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginDeleteWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (locationName == null) { @@ -992,7 +1039,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) tracingParameters.Add("backupName", backupName); tracingParameters.Add("apiVersion", apiVersion); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; @@ -1014,7 +1061,7 @@ internal LongTermRetentionBackupsOperations(SqlManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.Method = new HttpMethod("GET"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1065,7 +1112,7 @@ internal LongTermRetentionBackupsOperations(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 @@ -1100,13 +1147,1603 @@ internal LongTermRetentionBackupsOperations(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); + } + return _result; + } + + /// + /// Deletes a long term retention backup. + /// + /// + /// The location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task DeleteWithHttpMessagesAsync(string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Lists all long term retention backups for a database. + /// + /// + /// The location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// + /// 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 locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (locationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); + } + if (longTermRetentionServerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionServerName"); + } + if (longTermRetentionDatabaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionDatabaseName"); + } + 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("locationName", locationName); + tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); + tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); + tracingParameters.Add("onlyLatestPerDatabase", onlyLatestPerDatabase); + tracingParameters.Add("databaseState", databaseState); + 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}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups").ToString(); + _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); + _url = _url.Replace("{longTermRetentionServerName}", System.Uri.EscapeDataString(longTermRetentionServerName)); + _url = _url.Replace("{longTermRetentionDatabaseName}", System.Uri.EscapeDataString(longTermRetentionDatabaseName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (onlyLatestPerDatabase != null) + { + _queryParameters.Add(string.Format("onlyLatestPerDatabase={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(onlyLatestPerDatabase, Client.SerializationSettings).Trim('"')))); + } + if (databaseState != null) + { + _queryParameters.Add(string.Format("databaseState={0}", System.Uri.EscapeDataString(databaseState))); + } + 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 the long term retention backups for a given location. + /// + /// + /// The location of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// + /// 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>> ListByLocationWithHttpMessagesAsync(string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (locationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); + } + 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("locationName", locationName); + tracingParameters.Add("onlyLatestPerDatabase", onlyLatestPerDatabase); + tracingParameters.Add("databaseState", databaseState); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByLocation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups").ToString(); + _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (onlyLatestPerDatabase != null) + { + _queryParameters.Add(string.Format("onlyLatestPerDatabase={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(onlyLatestPerDatabase, Client.SerializationSettings).Trim('"')))); + } + if (databaseState != null) + { + _queryParameters.Add(string.Format("databaseState={0}", System.Uri.EscapeDataString(databaseState))); + } + 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 the long term retention backups for a given server. + /// + /// + /// The location of the database + /// + /// + /// The name of the server + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// + /// 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 locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (locationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); + } + if (longTermRetentionServerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionServerName"); + } + 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("locationName", locationName); + tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); + tracingParameters.Add("onlyLatestPerDatabase", onlyLatestPerDatabase); + tracingParameters.Add("databaseState", databaseState); + 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}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionBackups").ToString(); + _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); + _url = _url.Replace("{longTermRetentionServerName}", System.Uri.EscapeDataString(longTermRetentionServerName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (onlyLatestPerDatabase != null) + { + _queryParameters.Add(string.Format("onlyLatestPerDatabase={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(onlyLatestPerDatabase, Client.SerializationSettings).Trim('"')))); + } + if (databaseState != null) + { + _queryParameters.Add(string.Format("databaseState={0}", System.Uri.EscapeDataString(databaseState))); + } + 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; + } + + /// + /// Deletes a long term retention backup. + /// + /// + /// 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// 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 BeginDeleteByResourceGroupWithHttpMessagesAsync(string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (locationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); + } + if (longTermRetentionServerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionServerName"); + } + if (longTermRetentionDatabaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionDatabaseName"); + } + if (backupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "backupName"); + } + 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("locationName", locationName); + tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); + tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); + tracingParameters.Add("backupName", backupName); + tracingParameters.Add("apiVersion", apiVersion); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginDeleteByResourceGroup", 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/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); + _url = _url.Replace("{longTermRetentionServerName}", System.Uri.EscapeDataString(longTermRetentionServerName)); + _url = _url.Replace("{longTermRetentionDatabaseName}", System.Uri.EscapeDataString(longTermRetentionDatabaseName)); + _url = _url.Replace("{backupName}", System.Uri.EscapeDataString(backupName)); + _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) + { + 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; + } + + /// + /// Deletes a long term retention backup. + /// + /// + /// The location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// 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 locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (locationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "locationName"); + } + if (longTermRetentionServerName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionServerName"); + } + if (longTermRetentionDatabaseName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "longTermRetentionDatabaseName"); + } + if (backupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "backupName"); + } + 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("locationName", locationName); + tracingParameters.Add("longTermRetentionServerName", longTermRetentionServerName); + tracingParameters.Add("longTermRetentionDatabaseName", longTermRetentionDatabaseName); + tracingParameters.Add("backupName", backupName); + 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}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}").ToString(); + _url = _url.Replace("{locationName}", System.Uri.EscapeDataString(locationName)); + _url = _url.Replace("{longTermRetentionServerName}", System.Uri.EscapeDataString(longTermRetentionServerName)); + _url = _url.Replace("{longTermRetentionDatabaseName}", System.Uri.EscapeDataString(longTermRetentionDatabaseName)); + _url = _url.Replace("{backupName}", System.Uri.EscapeDataString(backupName)); + _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) + { + 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; + } + + /// + /// Lists all long term retention backups for 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>> ListByResourceGroupDatabaseNextWithHttpMessagesAsync(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, "ListByResourceGroupDatabaseNext", 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; + } + + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByResourceGroupLocationNextWithHttpMessagesAsync(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, "ListByResourceGroupLocationNext", 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; + } + + /// + /// Lists the long term retention backups for a given 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>> ListByResourceGroupServerNextWithHttpMessagesAsync(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, "ListByResourceGroupServerNext", 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); diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs index 85a478ff13510..5e6f4a0dda2b6 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/LongTermRetentionBackupsOperationsExtensions.cs @@ -21,6 +21,309 @@ namespace Microsoft.Azure.Management.Sql /// public static partial class LongTermRetentionBackupsOperationsExtensions { + /// + /// Gets a long term retention backup. + /// + /// + /// 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 location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + public static LongTermRetentionBackup GetByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + { + return operations.GetByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + } + + /// + /// Gets a long term retention backup. + /// + /// + /// 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 location of the database. + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The cancellation token. + /// + public static async Task GetByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes a long term retention backup. + /// + /// + /// 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + public static void DeleteByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + { + operations.DeleteByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a long term retention backup. + /// + /// + /// 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all long term retention backups for 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + public static IPage ListByResourceGroupDatabase(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + { + return operations.ListByResourceGroupDatabaseAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + } + + /// + /// Lists all long term retention backups for 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// + /// The cancellation token. + /// + public static async Task> ListByResourceGroupDatabaseAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByResourceGroupDatabaseWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, onlyLatestPerDatabase, databaseState, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// 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 location of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + public static IPage ListByResourceGroupLocation(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + { + return operations.ListByResourceGroupLocationAsync(resourceGroupName, locationName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + } + + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// 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 location of the database + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// + /// The cancellation token. + /// + public static async Task> ListByResourceGroupLocationAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByResourceGroupLocationWithHttpMessagesAsync(resourceGroupName, locationName, onlyLatestPerDatabase, databaseState, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists the long term retention backups for a given 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + public static IPage ListByResourceGroupServer(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string)) + { + return operations.ListByResourceGroupServerAsync(resourceGroupName, locationName, longTermRetentionServerName, onlyLatestPerDatabase, databaseState).GetAwaiter().GetResult(); + } + + /// + /// Lists the long term retention backups for a given 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// Whether or not to only get the latest backup for each database. + /// + /// + /// Whether to query against just live databases, just deleted databases, or + /// all databases. Possible values include: 'All', 'Live', 'Deleted' + /// + /// + /// The cancellation token. + /// + public static async Task> ListByResourceGroupServerAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default(bool?), string databaseState = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByResourceGroupServerWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, onlyLatestPerDatabase, databaseState, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets a long term retention backup. /// @@ -284,6 +587,63 @@ public static void Delete(this ILongTermRetentionBackupsOperations operations, s } } + /// + /// Deletes a long term retention backup. + /// + /// + /// 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + public static void BeginDeleteByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) + { + operations.BeginDeleteByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult(); + } + + /// + /// Deletes a long term retention backup. + /// + /// + /// 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 location of the database + /// + /// + /// The name of the server + /// + /// + /// The name of the database + /// + /// + /// The backup name. + /// + /// + /// The cancellation token. + /// + public static async Task BeginDeleteByResourceGroupAsync(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginDeleteByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Deletes a long term retention backup. /// @@ -333,6 +693,108 @@ public static void BeginDelete(this ILongTermRetentionBackupsOperations operatio (await operations.BeginDeleteWithHttpMessagesAsync(locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Lists all long term retention backups for a database. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByResourceGroupDatabaseNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + { + return operations.ListByResourceGroupDatabaseNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all long term retention backups for 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> ListByResourceGroupDatabaseNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByResourceGroupDatabaseNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByResourceGroupLocationNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + { + return operations.ListByResourceGroupLocationNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists the long term retention backups for a given location. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByResourceGroupLocationNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByResourceGroupLocationNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists the long term retention backups for a given server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByResourceGroupServerNext(this ILongTermRetentionBackupsOperations operations, string nextPageLink) + { + return operations.ListByResourceGroupServerNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists the long term retention backups for a given 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> ListByResourceGroupServerNextAsync(this ILongTermRetentionBackupsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByResourceGroupServerNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Lists all long term retention backups for a database. /// 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 87f1e88056924..8fd6deae69dd8 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 @@ -115,10 +115,9 @@ public static IEnumerable> ApiInfo_SqlManagementCl public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=."; public static readonly String GithubForkName = "Azure"; public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "6203666516223e8de80552d70c7157806a50f78b"; + public static readonly String GithubCommidId = "737110f8edd3689144c45d6fd34e7c6143171ab8"; 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/SqlManagementClient.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SqlManagementClient.cs index 93bab727da9ba..1cc3bd45f2da9 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SqlManagementClient.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Generated/SqlManagementClient.cs @@ -482,6 +482,19 @@ public partial class SqlManagementClient : ServiceClient, I /// public virtual IManagedInstancesOperations ManagedInstances { get; private set; } + /// + /// Initializes a new instance of the SqlManagementClient class. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling SqlManagementClient.Dispose(). False: will not dispose provided httpClient + protected SqlManagementClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) + { + Initialize(); + } + /// /// Initializes a new instance of the SqlManagementClient class. /// @@ -577,6 +590,33 @@ public SqlManagementClient(ServiceClientCredentials credentials, params Delegati } } + /// + /// Initializes a new instance of the SqlManagementClient class. + /// + /// + /// Required. Credentials needed for the client to connect to Azure. + /// + /// + /// HttpClient to be used + /// + /// + /// True: will dispose the provided httpClient on calling SqlManagementClient.Dispose(). False: will not dispose provided httpClient + /// + /// Thrown when a required parameter is null + /// + public SqlManagementClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) + { + if (credentials == null) + { + throw new System.ArgumentNullException("credentials"); + } + Credentials = credentials; + if (Credentials != null) + { + Credentials.InitializeServiceClient(this); + } + } + /// /// Initializes a new instance of the SqlManagementClient class. /// 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 0b2ced40cea76..61232e89661ec 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 @@ -12,6 +12,7 @@ diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseRestoreScenarioTests.cs b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseRestoreScenarioTests.cs index b6fa47249e302..1774e151ca500 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseRestoreScenarioTests.cs +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/DatabaseRestoreScenarioTests.cs @@ -214,13 +214,29 @@ public void TestLongTermRetentionV2Backups() // IPage backups = sqlClient.LongTermRetentionBackups.ListByLocation(server.Location); backups = sqlClient.LongTermRetentionBackups.ListByServer(server.Location, server.Name); - Assert.True(backups.Count() == 0); backups = sqlClient.LongTermRetentionBackups.ListByDatabase(server.Location, server.Name, database.Name); - Assert.True(backups.Count() == 0); Assert.Throws(typeof(CloudException), () => sqlClient.LongTermRetentionBackups.Get(server.Location, server.Name, database.Name, "backup")); } } + [Fact] + public void TestLongTermRetentionV2ResourceGroupBasedBackups() + { + using (SqlManagementTestContext context = new SqlManagementTestContext(this)) + { + ResourceGroup resourceGroup = context.CreateResourceGroup(); + Server server = context.CreateServer(resourceGroup); + SqlManagementClient sqlClient = context.GetClient(); + Database database = sqlClient.Databases.CreateOrUpdate(resourceGroup.Name, server.Name, SqlManagementTestUtilities.GenerateName(), new Database { Location = server.Location }); + + // Get the backups under the resource group, server and database. Assert there are no backups returned. + // + IPage backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupLocation(resourceGroup.Name, server.Location); + backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupServer(resourceGroup.Name, server.Location, server.Name); + backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupDatabase(resourceGroup.Name, server.Location, server.Name, database.Name); + Assert.Throws(typeof(CloudException), () => sqlClient.LongTermRetentionBackups.GetByResourceGroup(resourceGroup.Name, server.Location, server.Name, database.Name, "backup")); + } + } [Fact] public void TestShortTermRetentionPolicyOnPremium() @@ -293,32 +309,24 @@ public void TestShortTermRetentionPolicyOnBasic() [Fact(Skip = "Manual test due to long setup time required (over 18 hours).")] public void TestLongTermRetentionV2Crud() { - // MANUAL INSTRUCTIONS - // Create a server and database and fill in the appropriate information below - // Set the weekly retention on the database so that the first backup gets picked up - // Wait about 18 hours until it gets properly copied and you see the backup when run get backups + // MANUAL TEST INSTRUCTIONS + // PlayBack Mode: + // Remove skip flag + // Record Mode: + // Create a server and database and fill in the appropriate information below + // Set the weekly retention on the database so that the first backup gets picked up + // Wait about 18 hours until it gets properly copied and you see the backup when run get backups // - string locationName = ""; - string resourceGroupName = ""; - string serverName = ""; - string databaseName = ""; + string locationName = "brazilsouth"; + string resourceGroupName = "brrg"; + string serverName = "ltrtest3"; + string databaseName = "mydb"; using (SqlManagementTestContext context = new SqlManagementTestContext(this)) { SqlManagementClient sqlClient = context.GetClient(); Database database = sqlClient.Databases.Get(resourceGroupName, serverName, databaseName); - // Set the retention policy to two weeks for the weekly retention policy - // - Microsoft.Azure.Management.Sql.Models.BackupLongTermRetentionPolicy parameters = new Microsoft.Azure.Management.Sql.Models.BackupLongTermRetentionPolicy(weeklyRetention: "P2W"); - var policyResult = sqlClient.BackupLongTermRetentionPolicies.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters).Result; - sqlClient.GetPutOrPatchOperationResultAsync(policyResult, new Dictionary>(), CancellationToken.None).Wait(); - - // Get the policy and verify the weekly policy is two weeks - // - Microsoft.Azure.Management.Sql.Models.BackupLongTermRetentionPolicy policy = sqlClient.BackupLongTermRetentionPolicies.Get(resourceGroupName, serverName, databaseName); - Assert.Equal(parameters.WeeklyRetention, policy.WeeklyRetention); - // Get the backups under the location, server, and database. Assert there is at least one backup for each call. // IPage backups = sqlClient.LongTermRetentionBackups.ListByLocation(locationName); @@ -346,30 +354,59 @@ public void TestLongTermRetentionV2Crud() // Delete the backup. // - var deleteResult = sqlClient.LongTermRetentionBackups.BeginDeleteWithHttpMessagesAsync(locationName, serverName, databaseName, backup.Name).Result; - sqlClient.GetPutOrPatchOperationResultAsync(deleteResult, new Dictionary>(), CancellationToken.None).Wait(); + sqlClient.LongTermRetentionBackups.DeleteWithHttpMessagesAsync(locationName, serverName, databaseName, backup.Name); + } + } + + [Fact(Skip = "Manual test due to long setup time required (over 18 hours).")] + public void TestLongTermRetentionV2ResourceGroupBasedCrud() + { + // MANUAL TEST INSTRUCTIONS + // PlayBack Mode: + // Remove skip flag + // Record Mode: + // Create a server and database and fill in the appropriate information below + // Set the weekly retention on the database so that the first backup gets picked up + // Wait about 18 hours until it gets properly copied and you see the backup when run get backups + // + string locationName = "brazilsouth"; + string resourceGroupName = "brrg"; + string serverName = "ltrtest3"; + string databaseName = "mydb"; + + using (SqlManagementTestContext context = new SqlManagementTestContext(this)) + { + SqlManagementClient sqlClient = context.GetClient(); + Database database = sqlClient.Databases.Get(resourceGroupName, serverName, databaseName); + + // Get the backups under the location, server, and database. Assert there is at least one backup for each call. + // + IPage backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupLocation(resourceGroupName, locationName); + Assert.True(backups.Count() >= 1); + backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupServer(resourceGroupName, locationName, serverName); + Assert.True(backups.Count() >= 1); + backups = sqlClient.LongTermRetentionBackups.ListByResourceGroupDatabase(resourceGroupName, locationName, serverName, databaseName); + Assert.True(backups.Count() >= 1); - // Verify the backup is gone. + // Get a specific backup using the previous call // - try - { - sqlClient.LongTermRetentionBackups.Get(locationName, serverName, databaseName, backup.Name); - } - catch (CloudException e) - { - Assert.Contains(string.Format("'{0}' was not found.", backup.Name), e.Message); - } + LongTermRetentionBackup backup = sqlClient.LongTermRetentionBackups.GetByResourceGroup(resourceGroupName, locationName, serverName, databaseName, backups.First().Name); + Assert.NotNull(backup); - // Set the retention policy back to one week for the weekly retention policy + // Restore the backup // - parameters = new Microsoft.Azure.Management.Sql.Models.BackupLongTermRetentionPolicy(weeklyRetention: "P1W"); - policyResult = sqlClient.BackupLongTermRetentionPolicies.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serverName, databaseName, parameters).Result; - sqlClient.GetPutOrPatchOperationResultAsync(policyResult, new Dictionary>(), CancellationToken.None).Wait(); + Database restoredDatabase = sqlClient.Databases.CreateOrUpdate( + resourceGroupName, serverName, databaseName: SqlManagementTestUtilities.GenerateName(), + parameters: new Database + { + Location = locationName, + CreateMode = CreateMode.RestoreLongTermRetentionBackup, + LongTermRetentionBackupResourceId = backup.Id + }); - // Get the policy and verify the weekly policy is two weeks + // Delete the backup. // - policy = sqlClient.BackupLongTermRetentionPolicies.Get(resourceGroupName, serverName, databaseName); - Assert.Equal(parameters.WeeklyRetention, policy.WeeklyRetention); + sqlClient.LongTermRetentionBackups.DeleteByResourceGroupWithHttpMessagesAsync(resourceGroupName, locationName, serverName, databaseName, backup.Name); } } diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2Crud.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2Crud.json index 5ca02c99a4abf..00063a85a21b3 100644 --- a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2Crud.json +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2Crud.json @@ -1,187 +1,357 @@ { "Entries": [ { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb?api-version=2014-04-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9kYXRhYmFzZXMvdGVzdGRiP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDE=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/mydb?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9sdHJ0ZXN0My9kYXRhYmFzZXMvbXlkYj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9cf1fb18-0b68-45fb-acc4-2dfca785ce01" + "4f32960a-7d2a-4f20-ae48-f05b9458e594" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb\",\r\n \"name\": \"testdb\",\r\n \"type\": \"Microsoft.Sql/servers/databases\",\r\n \"location\": \"West Central US\",\r\n \"kind\": \"v12.0,user\",\r\n \"managedBy\": null,\r\n \"properties\": {\r\n \"databaseId\": \"5207340a-6969-423f-8fa7-896989981cbc\",\r\n \"edition\": \"Basic\",\r\n \"status\": \"Online\",\r\n \"serviceLevelObjective\": \"Basic\",\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": \"104857600\",\r\n \"creationDate\": \"2018-02-12T22:34:56.377Z\",\r\n \"currentServiceObjectiveId\": \"dd6d99bb-f193-4ec1-86f2-43d3bccbc49c\",\r\n \"requestedServiceObjectiveId\": \"dd6d99bb-f193-4ec1-86f2-43d3bccbc49c\",\r\n \"requestedServiceObjectiveName\": \"Basic\",\r\n \"sampleName\": null,\r\n \"defaultSecondaryLocation\": \"West US 2\",\r\n \"earliestRestoreDate\": \"2018-03-09T00:00:00Z\",\r\n \"elasticPoolName\": null,\r\n \"containmentState\": 2,\r\n \"readScale\": \"Disabled\",\r\n \"failoverGroupId\": null,\r\n \"zoneRedundant\": false,\r\n \"isUpgradeRequested\": false\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": [ - "Fri, 16 Mar 2018 05:37:10 GMT" + "Thu, 18 Jul 2019 05:51:46 GMT" ], - "Transfer-Encoding": [ - "chunked" + "Pragma": [ + "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "368393aa-4a1e-435f-ba29-01173e9a3447" + "0725675a-3fb6-4fea-bb6d-51bd6536edce" ], - "X-Content-Type-Options": [ - "nosniff" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "ab518ab9-3671-4b9a-8f3d-acd630e1fb10" ], - "DataServiceVersion": [ - "3.0;" + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055147Z:ab518ab9-3671-4b9a-8f3d-acd630e1fb10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "X-Content-Type-Options": [ + "nosniff" ], - "x-ms-correlation-request-id": [ - "4662cfab-204b-4a7f-a5ee-5c4993d3507d" + "Content-Length": [ + "848" ], - "x-ms-routing-request-id": [ - "WESTUS2:20180316T053711Z:4662cfab-204b-4a7f-a5ee-5c4993d3507d" + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-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\": \"68003d8d-4612-4baa-9528-37450a056614\",\r\n \"creationDate\": \"2019-07-17T00:09:59.413Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"southcentralus\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2019-07-17T00:19:23.867Z\",\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\": \"brazilsouth\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/mydb\",\r\n \"name\": \"mydb\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9kYXRhYmFzZXMvdGVzdGRiL2JhY2t1cExvbmdUZXJtUmV0ZW50aW9uUG9saWNpZXMvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"weeklyRetention\": \"P2W\"\r\n }\r\n}", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9icmF6aWxzb3V0aC9sb25nVGVybVJldGVudGlvbkJhY2t1cHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "58" - ], "x-ms-client-request-id": [ - "f96871c7-028c-4191-a017-d764f97c3e5e" + "a6203090-1af8-4806-b7ec-1e574a9d7b42" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertDatabaseBackupArchivalPolicyV2\",\r\n \"startTime\": \"2018-03-16T05:37:13.323Z\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:51:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "feb05c39-7211-4e41-9257-19c9caaa3cb8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "cb573ef8-872d-409f-a292-ecce7b20a09f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055147Z:cb573ef8-872d-409f-a292-ecce7b20a09f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "91" + "635" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9icmF6aWxzb3V0aC9sb25nVGVybVJldGVudGlvblNlcnZlcnMvbHRydGVzdDMvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a68c9ffd-9aa1-45af-8887-204cfe587584" + ], + "accept-language": [ + "en-US" ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:37:12 GMT" + "Thu, 18 Jul 2019 05:51:47 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionPolicyOperationResults/18022a3e-48cb-425e-90b2-716a1b3d2f7c?api-version=2017-03-01-preview" - ], - "Retry-After": [ - "15" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionPolicyAzureAsyncOperation/18022a3e-48cb-425e-90b2-716a1b3d2f7c?api-version=2017-03-01-preview" - ], "x-ms-request-id": [ - "18022a3e-48cb-425e-90b2-716a1b3d2f7c" + "45ec826d-f345-4ef9-a0c1-a4fecf0ad3ab" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" ], "x-ms-correlation-request-id": [ - "7b4d10c0-4496-4727-94b2-d0a0752f5b82" + "91fcbff3-977f-4a96-83ef-8d003fc20bcc" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053713Z:7b4d10c0-4496-4727-94b2-d0a0752f5b82" + "WESTUS2:20190718T055148Z:91fcbff3-977f-4a96-83ef-8d003fc20bcc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "635" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, - "StatusCode": 202 + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9kYXRhYmFzZXMvdGVzdGRiL2JhY2t1cExvbmdUZXJtUmV0ZW50aW9uUG9saWNpZXMvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"weeklyRetention\": \"P1W\"\r\n }\r\n}", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9icmF6aWxzb3V0aC9sb25nVGVybVJldGVudGlvblNlcnZlcnMvbHRydGVzdDMvbG9uZ1Rlcm1SZXRlbnRpb25EYXRhYmFzZXMvbXlkYi9sb25nVGVybVJldGVudGlvbkJhY2t1cHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "x-ms-client-request-id": [ + "f2ba58b6-a1c6-4594-aab1-633d7ea7acc3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:51:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "853de620-d147-4ae9-940d-9a106a21b4de" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "07cf51bb-ac51-431d-bf99-1a0a80b3ba8f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055148Z:07cf51bb-ac51-431d-bf99-1a0a80b3ba8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" ], "Content-Length": [ - "58" + "635" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614%3B132077963370000000?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy9icmF6aWxzb3V0aC9sb25nVGVybVJldGVudGlvblNlcnZlcnMvbHRydGVzdDMvbG9uZ1Rlcm1SZXRlbnRpb25EYXRhYmFzZXMvbXlkYi9sb25nVGVybVJldGVudGlvbkJhY2t1cHMvNjgwMDNkOGQtNDYxMi00YmFhLTk1MjgtMzc0NTBhMDU2NjE0JTNCMTMyMDc3OTYzMzcwMDAwMDAwP2FwaS12ZXJzaW9uPTIwMTctMDMtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { "x-ms-client-request-id": [ - "62617be3-9ac4-4225-91a2-9584432d096e" + "da8de0a8-e1dc-455e-b52a-579a13aa8697" ], "accept-language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"UpsertDatabaseBackupArchivalPolicyV2\",\r\n \"startTime\": \"2018-03-16T05:39:47.677Z\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:51:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "757e0e04-2495-4417-800a-1e1c48bdb6cd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "ae9dc7f0-8fbc-425e-9af2-b8843613b5ae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055148Z:ae9dc7f0-8fbc-425e-9af2-b8843613b5ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], "Content-Length": [ - "91" + "623" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/sqlcrudtest-2226?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9sdHJ0ZXN0My9kYXRhYmFzZXMvc3FsY3J1ZHRlc3QtMjIyNj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"createMode\": \"RestoreLongTermRetentionBackup\",\r\n \"longTermRetentionBackupResourceId\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "042f2508-1506-4b5c-8988-98c0d656658d" ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "400" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:39:47 GMT" + "Thu, 18 Jul 2019 05:51:54 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionPolicyOperationResults/133e2eae-725d-4828-b4c4-6e8daa2f63f7?api-version=2017-03-01-preview" + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseOperationResults/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview" ], "Retry-After": [ "15" @@ -190,846 +360,3223 @@ "Microsoft-HTTPAPI/2.0" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionPolicyAzureAsyncOperation/133e2eae-725d-4828-b4c4-6e8daa2f63f7?api-version=2017-03-01-preview" + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview" ], "x-ms-request-id": [ - "133e2eae-725d-4828-b4c4-6e8daa2f63f7" + "0e8d18ce-6757-4a69-8628-a81e620ebf49" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1199" ], "x-ms-correlation-request-id": [ - "5e5514a5-4712-4d03-83b1-a8bc4fe60b7e" + "a9c3c38b-45e7-42b3-b307-b81618823f7f" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053947Z:5e5514a5-4712-4d03-83b1-a8bc4fe60b7e" + "WESTUS2:20190718T055155Z:a9c3c38b-45e7-42b3-b307-b81618823f7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "87" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreFromLtrBackupRequest\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionPolicyAzureAsyncOperation/18022a3e-48cb-425e-90b2-716a1b3d2f7c?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvbG9uZ1Rlcm1SZXRlbnRpb25Qb2xpY3lBenVyZUFzeW5jT3BlcmF0aW9uLzE4MDIyYTNlLTQ4Y2ItNDI1ZS05MGIyLTcxNmExYjNkMmY3Yz9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"18022a3e-48cb-425e-90b2-716a1b3d2f7c\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-16T05:37:13.323Z\"\r\n}", "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:52:10 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7589c6a9-38f4-4346-8a61-724abf913d7c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "7395dd85-f569-4510-802d-01097d3ef266" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055210Z:7395dd85-f569-4510-802d-01097d3ef266" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:37:28 GMT" + "Thu, 18 Jul 2019 05:52:25 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "ab6996af-f15d-421e-ab37-bf11a3c2b3d1" + "fb9ae3e4-0d98-48dd-847e-425f7fb4155e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "11993" ], "x-ms-correlation-request-id": [ - "431f8fba-7dc6-489c-bf49-db3595f91b7e" + "37aedc70-c168-4d90-8c99-9704e9f354af" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053728Z:431f8fba-7dc6-489c-bf49-db3595f91b7e" + "WESTUS2:20190718T055226Z:37aedc70-c168-4d90-8c99-9704e9f354af" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:52:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7cb8a859-fccf-4959-9026-00de8ef4d777" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "7fdd1f39-3af0-4e4a-8a75-03747ea57401" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055241Z:7fdd1f39-3af0-4e4a-8a75-03747ea57401" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:52:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "fce6170b-f0eb-4ae6-8c2d-3f0d1313b501" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "c9684b78-df5c-4070-a01d-1a1a15e0ce5f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055256Z:c9684b78-df5c-4070-a01d-1a1a15e0ce5f" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:53:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "ecb40133-be74-4608-8ef9-af534009c597" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "d4af6368-8481-4033-83eb-06d078bddec6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055311Z:d4af6368-8481-4033-83eb-06d078bddec6" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:53:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bf1b914d-f2a1-4a95-85b5-7650a7cbbe5d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "70962963-c3b3-40d4-b16b-a35d154d264d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055327Z:70962963-c3b3-40d4-b16b-a35d154d264d" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:53:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "65e436f1-4434-48a5-8278-a8b662a0e404" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "4eae3a74-5d8c-4806-8014-3e457b8fd0c5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055342Z:4eae3a74-5d8c-4806-8014-3e457b8fd0c5" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:53:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3fe8a140-f53e-44d5-9475-627875082493" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "19afaf62-1ffb-4eeb-8c86-88a82a121829" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055358Z:19afaf62-1ffb-4eeb-8c86-88a82a121829" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:54:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7d3b6f56-e09f-4880-b16b-d9d35bb511e1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "e4d0837e-bd6c-441a-929e-2c6bf2eeca64" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055413Z:e4d0837e-bd6c-441a-929e-2c6bf2eeca64" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:54:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3dbe80b6-5df5-425c-a471-1bc0074aaa28" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "3578cbc9-8fad-4439-b4b0-6bcfcd9da793" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055428Z:3578cbc9-8fad-4439-b4b0-6bcfcd9da793" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:54:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3bcdd3d9-4dcc-4ffd-b673-63476e74e908" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "b90f3494-93d3-44db-a44b-36d61ff6a192" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055443Z:b90f3494-93d3-44db-a44b-36d61ff6a192" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:54:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "75fac61f-b3db-4b70-90e2-dbef7de5b8f2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "52ef9a4e-d91a-4d7a-89c4-4c5fc431ce15" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055459Z:52ef9a4e-d91a-4d7a-89c4-4c5fc431ce15" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:55:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "cf70112a-2da0-4101-a8ec-3815e7f799cc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "8dd48be5-4c7e-48f8-b328-43a12b1c7dfa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055514Z:8dd48be5-4c7e-48f8-b328-43a12b1c7dfa" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:55:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b8c2c5e4-4299-46bb-b2b5-d8d680ecbaa8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "d8e3b00d-5d78-4dac-9750-c8b35f901910" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055530Z:d8e3b00d-5d78-4dac-9750-c8b35f901910" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:55:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f5e0a603-1f74-46ff-ad48-6efa428dd48b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "6aac1705-96ab-48db-b4df-e3b80a07e619" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055545Z:6aac1705-96ab-48db-b4df-e3b80a07e619" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:55:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "86bbce7a-b06e-4137-b3f4-56b4e39f366c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "91230bca-04a2-48b9-87af-d58dadd5fd7f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055600Z:91230bca-04a2-48b9-87af-d58dadd5fd7f" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:56:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "588639dd-4c3f-4d61-8a28-ac03bcc8f5aa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "8051851e-0733-4d8c-98b4-dd3fbd8a5319" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055616Z:8051851e-0733-4d8c-98b4-dd3fbd8a5319" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:56:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "0a4c2c6e-8a5f-406e-bc32-3030adee31b9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "8f43ac7b-1984-497e-b0d1-f3243c895259" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055631Z:8f43ac7b-1984-497e-b0d1-f3243c895259" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:56:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "caf7376c-5ba3-4a47-b477-4d0e2b8cd11b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "af236d44-ed53-4cb9-8301-a320a366017a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055647Z:af236d44-ed53-4cb9-8301-a320a366017a" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:57:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "56911a8c-45cb-46cb-90cf-1efbe0d45454" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "2c16581f-0cfa-46e2-b77c-916f4c30aa5a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055702Z:2c16581f-0cfa-46e2-b77c-916f4c30aa5a" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:57:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "02375407-8e86-4788-85ca-35d976219232" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "0ce7c9ed-7064-4994-bebf-dd2a530b9bd2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055717Z:0ce7c9ed-7064-4994-bebf-dd2a530b9bd2" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:57:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f9f06da5-17df-49c0-83fc-da48d51699dd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "2433778e-b3ba-46bf-83ef-12f38a70af75" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055732Z:2433778e-b3ba-46bf-83ef-12f38a70af75" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:57:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "36b5755f-e21a-4ec3-8ab1-0decfbf8a907" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "61001134-fc3b-4bd2-a902-a2d6d11e8531" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055748Z:61001134-fc3b-4bd2-a902-a2d6d11e8531" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:58:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5c164944-867e-4509-a2cf-9e391dcdf89f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "72142f15-6fde-4da7-bec9-ea012d9bc3ba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055804Z:72142f15-6fde-4da7-bec9-ea012d9bc3ba" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:58:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "14acb623-fc59-4d89-9391-50f73889943e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "d765328f-5232-41e7-8f87-444495678ac3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055819Z:d765328f-5232-41e7-8f87-444495678ac3" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:58:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "c6812a7c-2b70-4a8e-a5a5-6285d303ac2f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "27e927f3-3184-4097-86c4-733e8e6b0cd9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055834Z:27e927f3-3184-4097-86c4-733e8e6b0cd9" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:58:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "37af8fa0-9970-4e8e-8536-d7ad116dc71e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-correlation-request-id": [ + "cae3b054-2397-4cbb-8dfc-2fccdbc8157d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055850Z:cae3b054-2397-4cbb-8dfc-2fccdbc8157d" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:59:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "da4a0c9d-c489-46bd-95f4-c423e53e5034" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "df70a3f4-c7a7-40f9-8121-f1645224b295" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055905Z:df70a3f4-c7a7-40f9-8121-f1645224b295" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:59:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "0f77c6be-de7c-4f47-a30b-40e6dd885f70" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-correlation-request-id": [ + "c60c1401-6fe3-477c-a79d-59fb88bfc681" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055920Z:c60c1401-6fe3-477c-a79d-59fb88bfc681" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:59:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5c8fa0e2-94cd-41b0-990e-c35e216b38e5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-correlation-request-id": [ + "8201acee-9ead-4289-8595-53750d148721" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055936Z:8201acee-9ead-4289-8595-53750d148721" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 05:59:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "e55aaf2c-d408-4149-bfcd-4c00d799cc4f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-correlation-request-id": [ + "1689cdbd-a534-42f1-93e6-488aed26b94a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T055951Z:1689cdbd-a534-42f1-93e6-488aed26b94a" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:00:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b5d44f01-dbc0-4694-ba87-1b8da77b860e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-correlation-request-id": [ + "5eaa08a6-ba91-4856-8801-5ed08aa249db" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060007Z:5eaa08a6-ba91-4856-8801-5ed08aa249db" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:00:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "faf77b23-ed48-45be-824d-73f0e2ebcf53" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-correlation-request-id": [ + "e274c553-3936-4bb6-b310-01f6b074d222" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060022Z:e274c553-3936-4bb6-b310-01f6b074d222" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:00:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "15b7428b-9ec3-440a-912a-9d33f570ff11" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-correlation-request-id": [ + "84af2652-8120-41db-8aaa-42820379f020" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060037Z:84af2652-8120-41db-8aaa-42820379f020" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:00:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "bb2798ab-5ef8-4600-a88a-5f97c69b589e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11960" + ], + "x-ms-correlation-request-id": [ + "05b36cd5-0a90-4337-96d8-c5bb53f106df" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060052Z:05b36cd5-0a90-4337-96d8-c5bb53f106df" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:01:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "fb606513-0b9b-4b97-bbc9-55d783f3798f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11959" + ], + "x-ms-correlation-request-id": [ + "d138c9a7-3c16-42db-acab-7ac949e6aa1d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060108Z:d138c9a7-3c16-42db-acab-7ac949e6aa1d" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:01:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d69de4c3-4263-4a9e-b484-21ae260b6206" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11958" + ], + "x-ms-correlation-request-id": [ + "a2819275-b160-44db-9a4a-4da6304e1c3a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060123Z:a2819275-b160-44db-9a4a-4da6304e1c3a" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:01:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "aa4d646b-1b7e-4f7e-81bb-860f323656ec" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11957" + ], + "x-ms-correlation-request-id": [ + "e9c4132a-c31c-46c8-8140-7fb7b797cf6c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060139Z:e9c4132a-c31c-46c8-8140-7fb7b797cf6c" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:01:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "534a2df4-40d3-44ba-840b-d5f8c78fd6b9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11956" + ], + "x-ms-correlation-request-id": [ + "53f94505-e5cd-4e5c-a7f8-8f9dc5688596" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060154Z:53f94505-e5cd-4e5c-a7f8-8f9dc5688596" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:02:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "306c511b-c507-4d52-851d-754e7927a6ce" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11955" + ], + "x-ms-correlation-request-id": [ + "834eb4f9-261e-4625-af0e-fb3043a4b02f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060209Z:834eb4f9-261e-4625-af0e-fb3043a4b02f" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:02:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "aab8f1d8-0533-4b29-ab76-76b18d5c46c5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11954" + ], + "x-ms-correlation-request-id": [ + "b087e579-d95b-4f9e-8b4a-c525dba7f217" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T060224Z:b087e579-d95b-4f9e-8b4a-c525dba7f217" + ], + "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9kYXRhYmFzZXMvdGVzdGRiL2JhY2t1cExvbmdUZXJtUmV0ZW50aW9uUG9saWNpZXMvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"weeklyRetention\": \"P2W\",\r\n \"monthlyRetention\": \"PT0S\",\r\n \"yearlyRetention\": \"PT0S\",\r\n \"weekOfYear\": 0\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:37:28 GMT" + "Thu, 18 Jul 2019 06:02:39 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "5f07cbfe-2796-4f98-b0c1-87bc36741112" + "b80866f6-23f2-4026-980f-8bbf42f23982" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "11953" ], "x-ms-correlation-request-id": [ - "48ed3555-ac32-4b48-9b19-9ca2e214ff62" + "3724af5b-1395-47f7-8f52-eaf46d91e99c" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053728Z:48ed3555-ac32-4b48-9b19-9ca2e214ff62" + "WESTUS2:20190718T060240Z:3724af5b-1395-47f7-8f52-eaf46d91e99c" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9kYXRhYmFzZXMvdGVzdGRiL2JhY2t1cExvbmdUZXJtUmV0ZW50aW9uUG9saWNpZXMvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "ba6bea26-3f60-4186-9a07-f7a74e42b7cd" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"weeklyRetention\": \"P2W\",\r\n \"monthlyRetention\": \"PT0S\",\r\n \"yearlyRetention\": \"PT0S\",\r\n \"weekOfYear\": 0\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:37:36 GMT" + "Thu, 18 Jul 2019 06:02:54 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "995ee919-f118-4111-8070-13fe365beba8" + "a9b60b16-81b6-4db8-92bd-951f0d6824a7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "11952" ], "x-ms-correlation-request-id": [ - "cc797a1c-5566-4e88-b03c-0fc460dc86ad" + "3f0dfb9d-a37b-4b85-b46b-e1757f1da2a5" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053736Z:cc797a1c-5566-4e88-b03c-0fc460dc86ad" + "WESTUS2:20190718T060255Z:3f0dfb9d-a37b-4b85-b46b-e1757f1da2a5" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9kYXRhYmFzZXMvdGVzdGRiL2JhY2t1cExvbmdUZXJtUmV0ZW50aW9uUG9saWNpZXMvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"weeklyRetention\": \"P1W\",\r\n \"monthlyRetention\": \"PT0S\",\r\n \"yearlyRetention\": \"PT0S\",\r\n \"weekOfYear\": 0\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:40:02 GMT" + "Thu, 18 Jul 2019 06:03:09 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "3ce2056b-4793-41bb-987f-aa68733d0171" + "269a1a16-cd0c-4a45-85fe-648ec06036a9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "11951" ], "x-ms-correlation-request-id": [ - "1c268ef0-b045-44fe-b01e-f98fdfe5e015" + "b87e90a9-4cd0-4b41-86fd-2b8d5ce32b09" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T054003Z:1c268ef0-b045-44fe-b01e-f98fdfe5e015" + "WESTUS2:20190718T060310Z:b87e90a9-4cd0-4b41-86fd-2b8d5ce32b09" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9kYXRhYmFzZXMvdGVzdGRiL2JhY2t1cExvbmdUZXJtUmV0ZW50aW9uUG9saWNpZXMvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "08699bfb-12e4-4e81-b76a-a085618ec646" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"weeklyRetention\": \"P1W\",\r\n \"monthlyRetention\": \"PT0S\",\r\n \"yearlyRetention\": \"PT0S\",\r\n \"weekOfYear\": 0\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/servers/trgrie-ltr-server/databases/testdb/backupLongTermRetentionPolicies/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:40:05 GMT" + "Thu, 18 Jul 2019 06:03:25 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "b25be37a-1e1a-46d3-8e4a-b738b930e0a0" + "0289d097-2e3e-4967-9642-b75416d3a7a7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "11950" ], "x-ms-correlation-request-id": [ - "b419b593-df8c-4eee-aaff-7e50945e3611" + "38a1a251-7b53-4342-977e-003f4f68adef" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T054005Z:b419b593-df8c-4eee-aaff-7e50945e3611" + "WESTUS2:20190718T060326Z:38a1a251-7b53-4342-977e-003f4f68adef" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionBackups?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "2217ef9e-136f-4fb5-815d-4805a6f049f3" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"trgrie-ltr-server\",\r\n \"serverCreateTime\": \"2018-02-12T22:29:54.033Z\",\r\n \"databaseName\": \"testdb\",\r\n \"backupTime\": \"2018-03-15T18:07:39Z\",\r\n \"backupExpirationTime\": \"2018-04-12T18:07:39Z\"\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups/5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"name\": \"5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:37:38 GMT" + "Thu, 18 Jul 2019 06:03:40 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "4668da23-f97c-4f65-90e9-dccb0e0c3e5b" + "7081abce-5d8f-49c9-895a-5ae5b8f605fd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "11949" ], "x-ms-correlation-request-id": [ - "fa1826ac-eea7-4b65-9c67-1d36b023da51" + "1cf63b50-4537-4311-a523-8fb13483f0b0" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053738Z:fa1826ac-eea7-4b65-9c67-1d36b023da51" + "WESTUS2:20190718T060341Z:1cf63b50-4537-4311-a523-8fb13483f0b0" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionBackups?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9sb25nVGVybVJldGVudGlvbkJhY2t1cHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "62f1b03a-0cec-4468-94dd-8ef55e47f4a8" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"trgrie-ltr-server\",\r\n \"serverCreateTime\": \"2018-02-12T22:29:54.033Z\",\r\n \"databaseName\": \"testdb\",\r\n \"backupTime\": \"2018-03-15T18:07:39Z\",\r\n \"backupExpirationTime\": \"2018-04-12T18:07:39Z\"\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups/5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"name\": \"5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:37:39 GMT" + "Thu, 18 Jul 2019 06:03:55 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "ba36b29e-ebd6-44ca-b7d8-6fd3b37c0986" + "899fe1e2-b0dc-451b-a6fb-012090a6ff31" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "11948" ], "x-ms-correlation-request-id": [ - "a8b33db6-a982-4d6b-bb3b-1d58895252e6" + "120fcc77-3541-43b4-b8d8-4f4c32d36c7b" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053740Z:a8b33db6-a982-4d6b-bb3b-1d58895252e6" + "WESTUS2:20190718T060356Z:120fcc77-3541-43b4-b8d8-4f4c32d36c7b" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy90ZXN0ZGIvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDEtcHJldmlldw==", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "4835d484-afc2-47ae-8426-4752a92dc463" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"trgrie-ltr-server\",\r\n \"serverCreateTime\": \"2018-02-12T22:29:54.033Z\",\r\n \"databaseName\": \"testdb\",\r\n \"backupTime\": \"2018-03-15T18:07:39Z\",\r\n \"backupExpirationTime\": \"2018-04-12T18:07:39Z\"\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups/5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"name\": \"5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:37:40 GMT" + "Thu, 18 Jul 2019 06:04:12 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "0debe55c-ff91-442e-9660-05bcd5563a99" + "ee1f4989-00c0-4f4f-873c-12913b986557" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "11947" ], "x-ms-correlation-request-id": [ - "a5c69d36-ac99-4c53-a9ed-478040c50fef" + "ebd929c7-1d90-48a1-aed4-f0e5865a2a13" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053741Z:a5c69d36-ac99-4c53-a9ed-478040c50fef" + "WESTUS2:20190718T060412Z:ebd929c7-1d90-48a1-aed4-f0e5865a2a13" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups/5207340a-6969-423f-8fa7-896989981cbc%3B131656108590000000?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy90ZXN0ZGIvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzLzUyMDczNDBhLTY5NjktNDIzZi04ZmE3LTg5Njk4OTk4MWNiYyUzQjEzMTY1NjEwODU5MDAwMDAwMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "e2e551e3-4c26-456e-a6f4-0cd1d9e3f056" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"serverName\": \"trgrie-ltr-server\",\r\n \"serverCreateTime\": \"2018-02-12T22:29:54.033Z\",\r\n \"databaseName\": \"testdb\",\r\n \"backupTime\": \"2018-03-15T18:07:39Z\",\r\n \"backupExpirationTime\": \"2018-04-12T18:07:39Z\"\r\n },\r\n \"id\": \"/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups/5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"name\": \"5207340a-6969-423f-8fa7-896989981cbc;131656108590000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:38:40 GMT" + "Thu, 18 Jul 2019 06:04:27 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Retry-After": [ + "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "72832c2c-0b30-4880-b012-efb0d3a89fd4" + "84d46d4b-16bd-44b9-a258-5b897066b29f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "11946" ], "x-ms-correlation-request-id": [ - "7e437ee9-7459-4a5d-a959-aee5cd33a8f9" + "29b728f9-5f31-4b2b-80cb-6db76880c75f" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053840Z:7e437ee9-7459-4a5d-a959-aee5cd33a8f9" + "WESTUS2:20190718T060427Z:29b728f9-5f31-4b2b-80cb-6db76880c75f" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups/5207340a-6969-423f-8fa7-896989981cbc%3B131656108590000000?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy90ZXN0ZGIvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzLzUyMDczNDBhLTY5NjktNDIzZi04ZmE3LTg5Njk4OTk4MWNiYyUzQjEzMTY1NjEwODU5MDAwMDAwMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "d10e44d1-dee5-4254-8e78-3aef80fba8b7" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The requested resource of type 'Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups' with name '5207340a-6969-423f-8fa7-896989981cbc;131656108590000000' was not found.\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "266" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:39:38 GMT" + "Thu, 18 Jul 2019 06:04:42 GMT" ], "Pragma": [ "no-cache" ], + "Retry-After": [ + "15" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "6e7fc338-650e-4cc9-b3a8-3104afb8c177" + "0c52f4e4-35af-46ea-92fb-3bc51edbe464" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "11945" ], "x-ms-correlation-request-id": [ - "bb877381-61ed-46c1-9023-ad1b1d12fc28" + "af25aa36-192a-4f49-96b2-b193bfb72999" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053939Z:bb877381-61ed-46c1-9023-ad1b1d12fc28" + "WESTUS2:20190718T060443Z:af25aa36-192a-4f49-96b2-b193bfb72999" ], "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": 404 + "ResponseBody": "{\r\n \"name\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionServers/trgrie-ltr-server/longTermRetentionDatabases/testdb/longTermRetentionBackups/5207340a-6969-423f-8fa7-896989981cbc%3B131656108590000000?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy90cmdyaWUtbHRyLXNlcnZlci9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy90ZXN0ZGIvbG9uZ1Rlcm1SZXRlbnRpb25CYWNrdXBzLzUyMDczNDBhLTY5NjktNDIzZi04ZmE3LTg5Njk4OTk4MWNiYyUzQjEzMTY1NjEwODU5MDAwMDAwMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "0695f2c5-e7ae-4564-b07d-c4d6c699f9f7" - ], - "accept-language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"operation\": \"DeleteLTRBackup\",\r\n \"startTime\": \"2018-03-16T05:39:19.163Z\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "70" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:39:18 GMT" + "Thu, 18 Jul 2019 06:04:57 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionBackupOperationResults/ba2e7a2a-41a4-4736-946c-d001ec9853d5?api-version=2017-03-01-preview" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionBackupAzureAsyncOperation/ba2e7a2a-41a4-4736-946c-d001ec9853d5?api-version=2017-03-01-preview" - ], "x-ms-request-id": [ - "ba2e7a2a-41a4-4736-946c-d001ec9853d5" + "d7038458-a733-49fa-9313-e52a5e2153ca" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "x-ms-ratelimit-remaining-subscription-reads": [ + "11944" ], "x-ms-correlation-request-id": [ - "25b4848a-3d8a-45f3-a572-58a073f79dfe" + "328650c3-4ac1-4426-b3a8-107058995f8e" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053919Z:25b4848a-3d8a-45f3-a572-58a073f79dfe" + "WESTUS2:20190718T060458Z:328650c3-4ac1-4426-b3a8-107058995f8e" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionBackupAzureAsyncOperation/ba2e7a2a-41a4-4736-946c-d001ec9853d5?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3FsL2xvY2F0aW9ucy93ZXN0Y2VudHJhbHVzL2xvbmdUZXJtUmV0ZW50aW9uQmFja3VwQXp1cmVBc3luY09wZXJhdGlvbi9iYTJlN2EyYS00MWE0LTQ3MzYtOTQ2Yy1kMDAxZWM5ODUzZDU/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/c97fff7d-c632-4834-85b5-d2ce43da76f9?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9jOTdmZmY3ZC1jNjMyLTQ4MzQtODViNS1kMmNlNDNkYTc2Zjk/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"ba2e7a2a-41a4-4736-946c-d001ec9853d5\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-16T05:39:19.163Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:39:34 GMT" + "Thu, 18 Jul 2019 06:05:13 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "Retry-After": [ "15" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "80aec4c5-a129-4df4-9873-60f1b7baf79c" + "09455ea2-3bc0-48dd-ab41-8c3512a14069" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "11943" ], "x-ms-correlation-request-id": [ - "74987101-062b-43a0-8aa4-60c92aed993e" + "60a404e3-88ea-4d63-a061-a2ea26287919" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T053935Z:74987101-062b-43a0-8aa4-60c92aed993e" + "WESTUS2:20190718T060513Z:60a404e3-88ea-4d63-a061-a2ea26287919" ], "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\": \"c97fff7d-c632-4834-85b5-d2ce43da76f9\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-18T05:51:54.92Z\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/a8f5abd6-ccbc-4801-89e3-cfc7219946ba/resourceGroups/Default-SQL-WestCentralUs/providers/Microsoft.Sql/locations/westcentralus/longTermRetentionPolicyAzureAsyncOperation/133e2eae-725d-4828-b4c4-6e8daa2f63f7?api-version=2017-03-01-preview", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThmNWFiZDYtY2NiYy00ODAxLTg5ZTMtY2ZjNzIxOTk0NmJhL3Jlc291cmNlR3JvdXBzL0RlZmF1bHQtU1FMLVdlc3RDZW50cmFsVXMvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL3dlc3RjZW50cmFsdXMvbG9uZ1Rlcm1SZXRlbnRpb25Qb2xpY3lBenVyZUFzeW5jT3BlcmF0aW9uLzEzM2UyZWFlLTcyNWQtNDgyOC1iNGM0LTZlOGRhYTJmNjNmNz9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/sqlcrudtest-2226?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9sdHJ0ZXN0My9kYXRhYmFzZXMvc3FsY3J1ZHRlc3QtMjIyNj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Sql.SqlManagementClient/1.11.0.0" + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"133e2eae-725d-4828-b4c4-6e8daa2f63f7\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2018-03-16T05:39:47.677Z\"\r\n}", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], "Cache-Control": [ "no-cache" ], "Date": [ - "Fri, 16 Mar 2018 05:40:02 GMT" + "Thu, 18 Jul 2019 06:05:13 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "Retry-After": [ - "15" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "x-ms-request-id": [ - "89641c03-7c20-45c5-a44b-ef6b5ccf8704" + "68a0e515-95e9-4fd2-9581-3a499d6981d8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "11942" ], "x-ms-correlation-request-id": [ - "707922d8-bbd5-4e65-91b6-55a09ec14285" + "27a16e42-137f-4ab4-a1f7-379cd705231c" ], "x-ms-routing-request-id": [ - "WESTUS2:20180316T054002Z:707922d8-bbd5-4e65-91b6-55a09ec14285" + "WESTUS2:20190718T060513Z:27a16e42-137f-4ab4-a1f7-379cd705231c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" + ], + "Content-Length": [ + "862" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-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\": \"336c0864-6147-4b9a-996b-13eebb5952ab\",\r\n \"creationDate\": \"2019-07-18T06:04:41.827Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"southcentralus\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2019-07-18T06:34:41.827Z\",\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\": \"brazilsouth\",\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/sqlcrudtest-2226\",\r\n \"name\": \"sqlcrudtest-2226\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", "StatusCode": 200 } ], - "Names": {}, + "Names": { + "TestLongTermRetentionV2Crud": [ + "sqlcrudtest-2226" + ] + }, "Variables": { - "SubscriptionId": "a8f5abd6-ccbc-4801-89e3-cfc7219946ba" + "SubscriptionId": "a8c9a924-06c0-4bde-9788-e7b1370969e1" } } \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedBackups.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedBackups.json new file mode 100644 index 0000000000000..2006530d321cc --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedBackups.json @@ -0,0 +1,1150 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourcegroups/sqlcrudtest-5091?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTUwOTE/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"japaneast\",\r\n \"tags\": {\r\n \"sqlcrudtest-5091\": \"2019-07-16 23:37:44Z\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb53977c-7ce7-433b-829c-829b5c9916c6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "98" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:37:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "e3098835-4797-4a5d-b1ab-f6343ec56cfb" + ], + "x-ms-correlation-request-id": [ + "e3098835-4797-4a5d-b1ab-f6343ec56cfb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233748Z:e3098835-4797-4a5d-b1ab-f6343ec56cfb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "239" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091\",\r\n \"name\": \"sqlcrudtest-5091\",\r\n \"location\": \"japaneast\",\r\n \"tags\": {\r\n \"sqlcrudtest-5091\": \"2019-07-16 23:37:44Z\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/servers/sqlcrudtest-9779?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05Nzc5P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"administratorLogin\": \"dummylogin\",\r\n \"administratorLoginPassword\": \"Un53cuRE!\",\r\n \"version\": \"12.0\"\r\n },\r\n \"location\": \"japaneast\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a768b5fd-0c76-4152-9b8a-cfdfa799cfd8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "183" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:37:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverOperationResults/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview" + ], + "x-ms-request-id": [ + "bb50f5a2-7109-48dd-b252-463cec4c4b98" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "f145195e-4baa-4343-88a7-257e7abd3ed2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233751Z:f145195e-4baa-4343-88a7-257e7abd3ed2" + ], + "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\": \"UpsertLogicalServer\",\r\n \"startTime\": \"2019-07-16T23:37:50.813Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9zZXJ2ZXJBenVyZUFzeW5jT3BlcmF0aW9uL2JiNTBmNWEyLTcxMDktNDhkZC1iMjUyLTQ2M2NlYzRjNGI5OD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:37:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "4f4708c7-d7aa-43be-b0cd-d496a4aeb2e0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "ba8d6e76-501c-471c-9edd-f590a3bff715" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233752Z:ba8d6e76-501c-471c-9edd-f590a3bff715" + ], + "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\": \"bb50f5a2-7109-48dd-b252-463cec4c4b98\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-16T23:37:50.813Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9zZXJ2ZXJBenVyZUFzeW5jT3BlcmF0aW9uL2JiNTBmNWEyLTcxMDktNDhkZC1iMjUyLTQ2M2NlYzRjNGI5OD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:37:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "cd27b0dc-b746-4051-9c53-b3a82242fe88" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "ff95f41f-9652-49eb-b63c-487eb8f2ef0e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233753Z:ff95f41f-9652-49eb-b63c-487eb8f2ef0e" + ], + "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\": \"bb50f5a2-7109-48dd-b252-463cec4c4b98\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-16T23:37:50.813Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9zZXJ2ZXJBenVyZUFzeW5jT3BlcmF0aW9uL2JiNTBmNWEyLTcxMDktNDhkZC1iMjUyLTQ2M2NlYzRjNGI5OD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:37:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "86c38e00-d4a1-4e53-9207-a34c22442da0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "58f6c4dd-6c78-43b0-8472-c482b6a2ce0b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233754Z:58f6c4dd-6c78-43b0-8472-c482b6a2ce0b" + ], + "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\": \"bb50f5a2-7109-48dd-b252-463cec4c4b98\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-16T23:37:50.813Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9zZXJ2ZXJBenVyZUFzeW5jT3BlcmF0aW9uL2JiNTBmNWEyLTcxMDktNDhkZC1iMjUyLTQ2M2NlYzRjNGI5OD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:37:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3d386403-68ed-4420-b80e-cf8ea06c1584" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "4d13098d-08ec-4d65-a263-5c2d35408867" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233755Z:4d13098d-08ec-4d65-a263-5c2d35408867" + ], + "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\": \"bb50f5a2-7109-48dd-b252-463cec4c4b98\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-16T23:37:50.813Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9zZXJ2ZXJBenVyZUFzeW5jT3BlcmF0aW9uL2JiNTBmNWEyLTcxMDktNDhkZC1iMjUyLTQ2M2NlYzRjNGI5OD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:38:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "20" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "2815e4a8-64d2-4273-a14f-97c2637d609c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "4fab24c4-f6b3-4b07-b0bf-3211431cf18a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233816Z:4fab24c4-f6b3-4b07-b0bf-3211431cf18a" + ], + "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\": \"bb50f5a2-7109-48dd-b252-463cec4c4b98\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-16T23:37:50.813Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/serverAzureAsyncOperation/bb50f5a2-7109-48dd-b252-463cec4c4b98?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9zZXJ2ZXJBenVyZUFzeW5jT3BlcmF0aW9uL2JiNTBmNWEyLTcxMDktNDhkZC1iMjUyLTQ2M2NlYzRjNGI5OD9hcGktdmVyc2lvbj0yMDE1LTA1LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:38:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "6901a1c0-c1f7-4c18-9e9e-75f67a5470e6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "a68e42f6-7eae-425e-b459-2e518c8af017" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233836Z:a68e42f6-7eae-425e-b459-2e518c8af017" + ], + "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\": \"bb50f5a2-7109-48dd-b252-463cec4c4b98\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-16T23:37:50.813Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/servers/sqlcrudtest-9779?api-version=2015-05-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05Nzc5P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:38:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "340450ec-e1ec-48a8-acee-7548877f707d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "6ca083b8-0c7e-4542-b9f7-12378af9dec7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233836Z:6ca083b8-0c7e-4542-b9f7-12378af9dec7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "395" + ], + "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-9779.database.windows.net\"\r\n },\r\n \"location\": \"japaneast\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/servers/sqlcrudtest-9779\",\r\n \"name\": \"sqlcrudtest-9779\",\r\n \"type\": \"Microsoft.Sql/servers\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/servers/sqlcrudtest-9779/databases/sqlcrudtest-8200?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05Nzc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04MjAwP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"japaneast\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "642dd328-1501-49e0-a5de-d1a8e50c2a49" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:38:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/databaseOperationResults/016c90c5-0320-4ed6-bc76-be3180a830ce?api-version=2017-10-01-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/databaseAzureAsyncOperation/016c90c5-0320-4ed6-bc76-be3180a830ce?api-version=2017-10-01-preview" + ], + "x-ms-request-id": [ + "016c90c5-0320-4ed6-bc76-be3180a830ce" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "9709d048-f787-4775-bc87-32c6d8e8b547" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233837Z:9709d048-f787-4775-bc87-32c6d8e8b547" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "75" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateLogicalDatabase\",\r\n \"startTime\": \"2019-07-16T23:38:37.41Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/databaseAzureAsyncOperation/016c90c5-0320-4ed6-bc76-be3180a830ce?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9kYXRhYmFzZUF6dXJlQXN5bmNPcGVyYXRpb24vMDE2YzkwYzUtMDMyMC00ZWQ2LWJjNzYtYmUzMTgwYTgzMGNlP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:38:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "23a69b14-6406-4d24-a74c-34346f15143c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "87cb29f3-56c3-4be9-8702-696eb609b7ee" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233852Z:87cb29f3-56c3-4be9-8702-696eb609b7ee" + ], + "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\": \"016c90c5-0320-4ed6-bc76-be3180a830ce\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-16T23:38:37.41Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/databaseAzureAsyncOperation/016c90c5-0320-4ed6-bc76-be3180a830ce?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9kYXRhYmFzZUF6dXJlQXN5bmNPcGVyYXRpb24vMDE2YzkwYzUtMDMyMC00ZWQ2LWJjNzYtYmUzMTgwYTgzMGNlP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:39:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "46349f8f-adc7-4410-82ea-1bf08c2fa260" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "9dcea7a4-1204-407b-9873-2f7c25c9ef47" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233908Z:9dcea7a4-1204-407b-9873-2f7c25c9ef47" + ], + "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\": \"016c90c5-0320-4ed6-bc76-be3180a830ce\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-16T23:38:37.41Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/servers/sqlcrudtest-9779/databases/sqlcrudtest-8200?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9zcWxjcnVkdGVzdC05Nzc5L2RhdGFiYXNlcy9zcWxjcnVkdGVzdC04MjAwP2FwaS12ZXJzaW9uPTIwMTctMTAtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:39:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "eeb8a753-42cd-4bd6-ab39-8ac291de208c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "f31e90d7-69d2-47c9-8dde-9ec6db493934" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233908Z:f31e90d7-69d2-47c9-8dde-9ec6db493934" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "994" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"GP_Gen5\",\r\n \"tier\": \"GeneralPurpose\",\r\n \"family\": \"Gen5\",\r\n \"capacity\": 2\r\n },\r\n \"kind\": \"v12.0,user,vcore\",\r\n \"properties\": {\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"maxSizeBytes\": 34359738368,\r\n \"status\": \"Online\",\r\n \"databaseId\": \"669ae5db-3aef-4e52-a636-ba6dafc7601e\",\r\n \"creationDate\": \"2019-07-16T23:39:06.35Z\",\r\n \"currentServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"requestedServiceObjectiveName\": \"GP_Gen5_2\",\r\n \"defaultSecondaryLocation\": \"japanwest\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"licenseType\": \"LicenseIncluded\",\r\n \"maxLogSizeBytes\": 10307502080,\r\n \"earliestRestoreDate\": \"2019-07-17T00:09:06.35Z\",\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\": \"japaneast\",\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/servers/sqlcrudtest-9779/databases/sqlcrudtest-8200\",\r\n \"name\": \"sqlcrudtest-8200\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9sb25nVGVybVJldGVudGlvbkJhY2t1cHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "06ee09a0-2d38-4ac6-b7f0-9ac53fea4c45" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:39:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d9870331-72b1-4ef8-a00b-907cbc29db2e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "9371a199-9511-453b-9f40-452116c4a9a3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233908Z:9371a199-9511-453b-9f40-452116c4a9a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/sqlcrudtest-9779/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9sb25nVGVybVJldGVudGlvblNlcnZlcnMvc3FsY3J1ZHRlc3QtOTc3OS9sb25nVGVybVJldGVudGlvbkJhY2t1cHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fe439755-1907-43fd-a67c-34a68bffba91" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:39:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "c99b10bf-1b53-454e-81a8-b6abe6f3d22c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "ab88b218-46dd-4930-9c09-509bc73c49bf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233909Z:ab88b218-46dd-4930-9c09-509bc73c49bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/sqlcrudtest-9779/longTermRetentionDatabases/sqlcrudtest-8200/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9sb25nVGVybVJldGVudGlvblNlcnZlcnMvc3FsY3J1ZHRlc3QtOTc3OS9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9zcWxjcnVkdGVzdC04MjAwL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6de06042-7e00-40e2-b2ee-e44159ae55aa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:39:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "051386ff-ab62-4308-8a9f-81d0cf4128ed" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "0c54eb3c-073d-47c1-969e-ed1f1651b651" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233909Z:0c54eb3c-073d-47c1-969e-ed1f1651b651" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/sqlcrudtest-5091/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/sqlcrudtest-9779/longTermRetentionDatabases/sqlcrudtest-8200/longTermRetentionBackups/backup?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL3NxbGNydWR0ZXN0LTUwOTEvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2phcGFuZWFzdC9sb25nVGVybVJldGVudGlvblNlcnZlcnMvc3FsY3J1ZHRlc3QtOTc3OS9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9zcWxjcnVkdGVzdC04MjAwL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcy9iYWNrdXA/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "33270dd8-92ca-4430-ab64-f8402d30b695" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.32.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:39:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "acb607f5-b7d4-4e2f-aa83-3ec0149095d8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "2fe1d6e5-61e3-43bb-9e6f-d93440394329" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233909Z:2fe1d6e5-61e3-43bb-9e6f-d93440394329" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "309" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidLongTermRetentionBackupId\",\r\n \"message\": \"Format of the longTermRetentionBackupId does not conform to /subscriptions/subscription-id/providers/Microsoft.Sql/Locations/location/servers/server-name/databases/database-name/longTermRetentionBakcup/database-guid,backup_time_in_file_format.\"\r\n }\r\n}", + "StatusCode": 400 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourcegroups/sqlcrudtest-5091?api-version=2017-05-10", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlZ3JvdXBzL3NxbGNydWR0ZXN0LTUwOTE/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dcb1c110-c8fc-4765-9322-af5fde5c203b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 16 Jul 2019 23:39:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1TUUxDUlVEVEVTVDoyRDUwOTEtSkFQQU5FQVNUIiwiam9iTG9jYXRpb24iOiJqYXBhbmVhc3QifQ?api-version=2017-05-10" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "554a34ee-b63d-4143-bba6-9b5eee195f9c" + ], + "x-ms-correlation-request-id": [ + "554a34ee-b63d-4143-bba6-9b5eee195f9c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20190716T233913Z:554a34ee-b63d-4143-bba6-9b5eee195f9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + } + ], + "Names": { + "CreateResourceGroup": [ + "sqlcrudtest-5091" + ], + "CreateServer": [ + "sqlcrudtest-9779" + ], + "TestLongTermRetentionV2ResourceGroupBasedBackups": [ + "sqlcrudtest-8200" + ] + }, + "Variables": { + "SubscriptionId": "a8c9a924-06c0-4bde-9788-e7b1370969e1", + "DefaultLocation": "japaneast" + } +} \ No newline at end of file diff --git a/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedCrud.json b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedCrud.json new file mode 100644 index 0000000000000..79da680f667d1 --- /dev/null +++ b/sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/tests/SessionRecords/Sql.Tests.DatabaseRestoreScenarioTests/TestLongTermRetentionV2ResourceGroupBasedCrud.json @@ -0,0 +1,2622 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/mydb?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9sdHJ0ZXN0My9kYXRhYmFzZXMvbXlkYj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2c92f7f8-446f-4347-88f9-3940dfbb5158" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:40:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "e020e125-a343-4a40-bc72-6d0c8b3f4e23" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "ac171f8b-e838-4c37-b105-a8777d16fd66" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064030Z:ac171f8b-e838-4c37-b105-a8777d16fd66" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "848" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-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\": \"68003d8d-4612-4baa-9528-37450a056614\",\r\n \"creationDate\": \"2019-07-17T00:09:59.413Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"southcentralus\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2019-07-17T00:19:23.867Z\",\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\": \"brazilsouth\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/mydb\",\r\n \"name\": \"mydb\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fa2f8a22-319a-4d69-903d-d2bf80925b9d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:40:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "dad254fa-a4ba-4c05-a99f-d2d0c6edc47c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "5ea85aa9-a0a8-4fe8-b77f-aaf0a55e6c46" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064031Z:5ea85aa9-a0a8-4fe8-b77f-aaf0a55e6c46" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy9sdHJ0ZXN0My9sb25nVGVybVJldGVudGlvbkJhY2t1cHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "24f7b639-2e01-430e-9c52-a3eb6f2bbbd1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:40:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "77eed0e4-9b92-4051-87b3-bd174e880fe6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "24bbc434-55a5-4b9a-b122-6a824de87fcf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064031Z:24bbc434-55a5-4b9a-b122-6a824de87fcf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy9sdHJ0ZXN0My9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9teWRiL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9b9cca23-3f7b-4d26-b721-cc0edca9abaf" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:40:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "37f6f8b3-3320-4ab4-8653-6bf298c71874" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "a021c7f7-3344-4695-9d4a-9c64fc1f6de9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064031Z:a021c7f7-3344-4695-9d4a-9c64fc1f6de9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614%3B132077963370000000?api-version=2017-03-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2xvbmdUZXJtUmV0ZW50aW9uU2VydmVycy9sdHJ0ZXN0My9sb25nVGVybVJldGVudGlvbkRhdGFiYXNlcy9teWRiL2xvbmdUZXJtUmV0ZW50aW9uQmFja3Vwcy82ODAwM2Q4ZC00NjEyLTRiYWEtOTUyOC0zNzQ1MGEwNTY2MTQlM0IxMzIwNzc5NjMzNzAwMDAwMDA/YXBpLXZlcnNpb249MjAxNy0wMy0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "94873cb5-3d31-458f-a0a7-f3ffa22bb0dc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:40:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5b43a50b-c26d-4f02-bd46-0df78c57fddd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "383ae9bd-f1b2-4ed0-b709-8596ca82957f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064031Z:383ae9bd-f1b2-4ed0-b709-8596ca82957f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "643" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"serverName\": \"ltrtest3\",\r\n \"serverCreateTime\": \"2019-05-09T23:22:26.83Z\",\r\n \"databaseName\": \"mydb\",\r\n \"backupTime\": \"2019-07-17T00:18:57Z\",\r\n \"backupExpirationTime\": \"2019-07-24T07:32:24.982672Z\"\r\n },\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"name\": \"68003d8d-4612-4baa-9528-37450a056614;132077963370000000\",\r\n \"type\": \"Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/sqlcrudtest-2912?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9sdHJ0ZXN0My9kYXRhYmFzZXMvc3FsY3J1ZHRlc3QtMjkxMj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"createMode\": \"RestoreLongTermRetentionBackup\",\r\n \"longTermRetentionBackupResourceId\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/longTermRetentionServers/ltrtest3/longTermRetentionDatabases/mydb/longTermRetentionBackups/68003d8d-4612-4baa-9528-37450a056614;132077963370000000\"\r\n },\r\n \"location\": \"brazilsouth\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "95250158-3816-45cb-9bc6-2fc00c272755" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "420" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:40:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseOperationResults/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview" + ], + "x-ms-request-id": [ + "98f74733-f8fd-426b-83dc-dc9828b54987" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "fbf162dc-3852-4d33-84c1-700b28d858bb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064033Z:fbf162dc-3852-4d33-84c1-700b28d858bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "88" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"operation\": \"CreateRestoreFromLtrBackupRequest\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:40:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d6a23cf9-6f97-4968-8e29-4316739cb2ac" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "25648a55-7f42-43df-9c48-b2baf8d354ea" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064048Z:25648a55-7f42-43df-9c48-b2baf8d354ea" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:41:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "46b8f9ef-2847-46b3-9743-c77086727012" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "e11502fd-2ef9-418b-8a2b-b20b64861a74" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064103Z:e11502fd-2ef9-418b-8a2b-b20b64861a74" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:41:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "63c05b0c-9b87-4f45-95a6-d3f3096f7c2c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "2a1b9e80-03b0-4d74-8a49-626b2b920944" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064119Z:2a1b9e80-03b0-4d74-8a49-626b2b920944" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:41:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9f50745d-fd8b-4bea-8a7c-a9d2eaa53814" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "dd87b6ef-2ed6-494b-bfe5-d49bc251be72" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064134Z:dd87b6ef-2ed6-494b-bfe5-d49bc251be72" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:41:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "95986956-c89c-4a58-824d-a659263b9117" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "6983b10b-71cf-4ee4-8bb7-684258858219" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064150Z:6983b10b-71cf-4ee4-8bb7-684258858219" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:42:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "949dc747-c601-49ba-bac8-3dbda9206885" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "fd27844f-9f44-4ea8-ada4-a93603532c9e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064205Z:fd27844f-9f44-4ea8-ada4-a93603532c9e" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:42:19 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "902f04f6-5658-48fe-8041-28365d29bd77" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "6fe7f509-ffdc-4aa1-804c-ff8191562895" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064220Z:6fe7f509-ffdc-4aa1-804c-ff8191562895" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:42:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b1acab8c-b944-45e1-9964-a571d1a3312a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "06e3866d-3e96-45e4-a555-4d42a2d26d99" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064236Z:06e3866d-3e96-45e4-a555-4d42a2d26d99" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:42:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "4f1c8fb6-0ea4-4294-8ad2-875a290250ea" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "9d6fa2f0-f14b-4edb-a13d-059508409528" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064251Z:9d6fa2f0-f14b-4edb-a13d-059508409528" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:43:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "7e39bf38-a962-48f2-b18f-0611d4ec611e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "5484ce99-f4dc-469a-9c4d-c8d63a60b58e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064306Z:5484ce99-f4dc-469a-9c4d-c8d63a60b58e" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:43:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f24b6fbd-8172-4274-88dd-7be55e6abe09" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "ef6e5025-55f5-4143-a77b-abbadb06653b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064322Z:ef6e5025-55f5-4143-a77b-abbadb06653b" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:43:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "32cab5b2-d855-489d-a3fe-853cca729314" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "9eb5c507-905d-480d-8aa7-25a0e736054e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064337Z:9eb5c507-905d-480d-8aa7-25a0e736054e" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:43:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "ff4d3b7e-0f79-4e09-b4fd-1f801e1207a2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "3e841cbd-f50d-424b-ac37-b4864c954ad3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064353Z:3e841cbd-f50d-424b-ac37-b4864c954ad3" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:44:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "fc55bab6-64c5-4b11-82cc-4a9bd1cadfa6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "58749006-2608-4202-bbcd-9f9da0acf127" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064408Z:58749006-2608-4202-bbcd-9f9da0acf127" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:44:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "907c1371-3918-4105-a866-c6be69c10af2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "843bc338-cdf9-4af8-a0d8-e023f5d5d07b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064423Z:843bc338-cdf9-4af8-a0d8-e023f5d5d07b" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:44:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "1337d38e-f7c9-489a-be46-0e2f889996e9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "183c9010-159e-46d9-ad29-c9f5d8b2091b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064439Z:183c9010-159e-46d9-ad29-c9f5d8b2091b" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:44:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "749c4f53-3c99-4660-8141-ff20b9184c7c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "c902f0dc-ee14-4c3e-930b-79a34d3301ac" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064454Z:c902f0dc-ee14-4c3e-930b-79a34d3301ac" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:45:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "a90eac30-f6af-46a1-98f0-b0188f4defd5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "5a6c84ff-2d87-445e-8758-3fbcc7223ee9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064509Z:5a6c84ff-2d87-445e-8758-3fbcc7223ee9" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:45:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "275eea42-9f1c-423c-ae9c-69ebd327f534" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "c0fcd4ff-fc54-4bf8-960a-3a2dd45eb745" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064525Z:c0fcd4ff-fc54-4bf8-960a-3a2dd45eb745" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:45:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "82c06834-4228-49af-8b8e-5529d23083b9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "77a83882-444c-43ef-9b73-9cc90fe42a24" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064540Z:77a83882-444c-43ef-9b73-9cc90fe42a24" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:45:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "c261e131-a25f-4a74-813f-4e8b1064b5bc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "ac9a1c45-5b8c-4d1d-af4a-d9b9a25f03f9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064556Z:ac9a1c45-5b8c-4d1d-af4a-d9b9a25f03f9" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:46:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8548dd83-1eda-425e-8452-2c1108750a34" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "62633b4a-5e9c-422b-912e-3114866f3bbb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064611Z:62633b4a-5e9c-422b-912e-3114866f3bbb" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:46:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "8aca9930-79c4-4d73-939e-7318ea5667cb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "2c47405c-9185-46c6-be59-4e9afd92cc46" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064626Z:2c47405c-9185-46c6-be59-4e9afd92cc46" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:46:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "5167cbf2-113e-49c3-8c1f-91d08c61cb71" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "3f13089d-4d39-48d6-9d61-c1d46c49edb3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064642Z:3f13089d-4d39-48d6-9d61-c1d46c49edb3" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:46:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "374ddaf7-f7b0-4a3b-9f98-e3a42e654249" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "f02efa44-f2ab-4bc8-8823-d26f60372516" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064657Z:f02efa44-f2ab-4bc8-8823-d26f60372516" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:47:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "49392f8a-5be7-4fbc-9b9e-822391a2e5d6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "933c9c98-4fa8-4c0c-a4de-c028157364c4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064713Z:933c9c98-4fa8-4c0c-a4de-c028157364c4" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:47:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "9c4b0700-fa0b-4b50-a822-3051632c85c4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-correlation-request-id": [ + "cb5e9449-2f3d-4984-8bd8-b0b8743f2cf1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064728Z:cb5e9449-2f3d-4984-8bd8-b0b8743f2cf1" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:47:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "229da2aa-7200-4a6f-bb97-6a3c5cb13ac7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "37e6cc09-8d5c-47c0-9da8-0c4b2e9bebdf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064744Z:37e6cc09-8d5c-47c0-9da8-0c4b2e9bebdf" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:47:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "e69c43f5-dda7-47a6-ac06-b71221ba9cd1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-correlation-request-id": [ + "c62fefd0-e732-48d3-bb5d-a09bdb8e99ce" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064759Z:c62fefd0-e732-48d3-bb5d-a09bdb8e99ce" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:48:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "f6440acc-8272-469f-9c90-5ec384d8aaaa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-correlation-request-id": [ + "9fe55570-99ea-4788-bb68-7a40f3e55a78" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064814Z:9fe55570-99ea-4788-bb68-7a40f3e55a78" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:48:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "e5ee8814-d0bb-4334-9608-208a75434686" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-correlation-request-id": [ + "b81128fc-c9a8-4b50-99ed-ea6e6daba100" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064829Z:b81128fc-c9a8-4b50-99ed-ea6e6daba100" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:48:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "d3239c49-6671-4b06-8153-dde0ab248646" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-correlation-request-id": [ + "d6be8953-168b-4cc6-b4a7-641739ec5d60" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064845Z:d6be8953-168b-4cc6-b4a7-641739ec5d60" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:48:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "45a1ae82-9447-4eaa-bac6-65dbffe27604" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-correlation-request-id": [ + "045fec4c-64b5-44c8-95dd-8ffd73f5514b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064900Z:045fec4c-64b5-44c8-95dd-8ffd73f5514b" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:49:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "c1bdf9ee-6b67-4310-bd08-174bd273311c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], + "x-ms-correlation-request-id": [ + "3eecdf4a-32bf-42eb-b9cb-c42c6cc7091b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064916Z:3eecdf4a-32bf-42eb-b9cb-c42c6cc7091b" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:49:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "fa9a17c4-ade7-4216-bb9b-9785f7d16fc0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11960" + ], + "x-ms-correlation-request-id": [ + "f5af9f4a-29bc-4147-81f7-37cdc7f8a233" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064931Z:f5af9f4a-29bc-4147-81f7-37cdc7f8a233" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"InProgress\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/locations/brazilsouth/databaseAzureAsyncOperation/da2187a8-e248-4b07-9c15-0181bd0b17a1?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvbG9jYXRpb25zL2JyYXppbHNvdXRoL2RhdGFiYXNlQXp1cmVBc3luY09wZXJhdGlvbi9kYTIxODdhOC1lMjQ4LTRiMDctOWMxNS0wMTgxYmQwYjE3YTE/YXBpLXZlcnNpb249MjAxNy0xMC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:49:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "71fa45ff-24a9-4710-9bdf-7d437d243dad" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11959" + ], + "x-ms-correlation-request-id": [ + "6a19482c-84ef-4fa3-9b36-b53e25f71df7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064947Z:6a19482c-84ef-4fa3-9b36-b53e25f71df7" + ], + "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\": \"da2187a8-e248-4b07-9c15-0181bd0b17a1\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2019-07-18T06:40:33.123Z\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/sqlcrudtest-2912?api-version=2017-10-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYThjOWE5MjQtMDZjMC00YmRlLTk3ODgtZTdiMTM3MDk2OWUxL3Jlc291cmNlR3JvdXBzL2JycmcvcHJvdmlkZXJzL01pY3Jvc29mdC5TcWwvc2VydmVycy9sdHJ0ZXN0My9kYXRhYmFzZXMvc3FsY3J1ZHRlc3QtMjkxMj9hcGktdmVyc2lvbj0yMDE3LTEwLTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.26614.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18362.", + "Microsoft.Azure.Management.Sql.SqlManagementClient/1.33.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 18 Jul 2019 06:49:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "b1701d5e-9dd3-4979-b79b-0a659b00d131" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11958" + ], + "x-ms-correlation-request-id": [ + "120f1233-2e84-477a-9af5-93aac0219775" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190718T064947Z:120f1233-2e84-477a-9af5-93aac0219775" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Content-Length": [ + "862" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-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\": \"ed3732d7-53fc-4594-8e22-8ee75a6aec0f\",\r\n \"creationDate\": \"2019-07-18T06:49:09.737Z\",\r\n \"currentServiceObjectiveName\": \"S0\",\r\n \"requestedServiceObjectiveName\": \"S0\",\r\n \"defaultSecondaryLocation\": \"southcentralus\",\r\n \"catalogCollation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"zoneRedundant\": false,\r\n \"earliestRestoreDate\": \"2019-07-18T07:19:09.737Z\",\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\": \"brazilsouth\",\r\n \"id\": \"/subscriptions/a8c9a924-06c0-4bde-9788-e7b1370969e1/resourceGroups/brrg/providers/Microsoft.Sql/servers/ltrtest3/databases/sqlcrudtest-2912\",\r\n \"name\": \"sqlcrudtest-2912\",\r\n \"type\": \"Microsoft.Sql/servers/databases\"\r\n}", + "StatusCode": 200 + } + ], + "Names": { + "TestLongTermRetentionV2ResourceGroupBasedCrud": [ + "sqlcrudtest-2912" + ] + }, + "Variables": { + "SubscriptionId": "a8c9a924-06c0-4bde-9788-e7b1370969e1" + } +} \ No newline at end of file